Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.5
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXpm 3.5.11.
      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='libXpm'
    573 PACKAGE_TARNAME='libXpm'
    574 PACKAGE_VERSION='3.5.11'
    575 PACKAGE_STRING='libXpm 3.5.11'
    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 USE_GETTEXT_FALSE
    621 USE_GETTEXT_TRUE
    622 LOCALEDIR
    623 BUILD_SXPM_FALSE
    624 BUILD_SXPM_TRUE
    625 SXPM_LIBS
    626 SXPM_CFLAGS
    627 XPM_LIBS
    628 XPM_CFLAGS
    629 MAN_SUBSTS
    630 XORG_MAN_PAGE
    631 ADMIN_MAN_DIR
    632 DRIVER_MAN_DIR
    633 MISC_MAN_DIR
    634 FILE_MAN_DIR
    635 LIB_MAN_DIR
    636 APP_MAN_DIR
    637 ADMIN_MAN_SUFFIX
    638 DRIVER_MAN_SUFFIX
    639 MISC_MAN_SUFFIX
    640 FILE_MAN_SUFFIX
    641 LIB_MAN_SUFFIX
    642 APP_MAN_SUFFIX
    643 INSTALL_CMD
    644 PKG_CONFIG
    645 CHANGELOG_CMD
    646 STRICT_CFLAGS
    647 CWARNFLAGS
    648 BASE_CFLAGS
    649 CPP
    650 OTOOL64
    651 OTOOL
    652 LIPO
    653 NMEDIT
    654 DSYMUTIL
    655 MANIFEST_TOOL
    656 RANLIB
    657 ac_ct_AR
    658 AR
    659 DLLTOOL
    660 OBJDUMP
    661 LN_S
    662 NM
    663 ac_ct_DUMPBIN
    664 DUMPBIN
    665 LD
    666 FGREP
    667 EGREP
    668 GREP
    669 SED
    670 am__fastdepCC_FALSE
    671 am__fastdepCC_TRUE
    672 CCDEPMODE
    673 am__nodep
    674 AMDEPBACKSLASH
    675 AMDEP_FALSE
    676 AMDEP_TRUE
    677 am__quote
    678 am__include
    679 DEPDIR
    680 OBJEXT
    681 EXEEXT
    682 ac_ct_CC
    683 CPPFLAGS
    684 LDFLAGS
    685 CFLAGS
    686 CC
    687 host_os
    688 host_vendor
    689 host_cpu
    690 host
    691 build_os
    692 build_vendor
    693 build_cpu
    694 build
    695 LIBTOOL
    696 AM_BACKSLASH
    697 AM_DEFAULT_VERBOSITY
    698 AM_DEFAULT_V
    699 AM_V
    700 am__untar
    701 am__tar
    702 AMTAR
    703 am__leading_dot
    704 SET_MAKE
    705 AWK
    706 mkdir_p
    707 MKDIR_P
    708 INSTALL_STRIP_PROGRAM
    709 STRIP
    710 install_sh
    711 MAKEINFO
    712 AUTOHEADER
    713 AUTOMAKE
    714 AUTOCONF
    715 ACLOCAL
    716 VERSION
    717 PACKAGE
    718 CYGPATH_W
    719 am__isrc
    720 INSTALL_DATA
    721 INSTALL_SCRIPT
    722 INSTALL_PROGRAM
    723 target_alias
    724 host_alias
    725 build_alias
    726 LIBS
    727 ECHO_T
    728 ECHO_N
    729 ECHO_C
    730 DEFS
    731 mandir
    732 localedir
    733 libdir
    734 psdir
    735 pdfdir
    736 dvidir
    737 htmldir
    738 infodir
    739 docdir
    740 oldincludedir
    741 includedir
    742 localstatedir
    743 sharedstatedir
    744 sysconfdir
    745 datadir
    746 datarootdir
    747 libexecdir
    748 sbindir
    749 bindir
    750 program_transform_name
    751 prefix
    752 exec_prefix
    753 PACKAGE_URL
    754 PACKAGE_BUGREPORT
    755 PACKAGE_STRING
    756 PACKAGE_VERSION
    757 PACKAGE_TARNAME
    758 PACKAGE_NAME
    759 PATH_SEPARATOR
    760 SHELL'
    761 ac_subst_files=''
    762 ac_user_opts='
    763 enable_option_checking
    764 enable_silent_rules
    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 with_localedir
    776 enable_stat_zfile
    777 '
    778       ac_precious_vars='build_alias
    779 host_alias
    780 target_alias
    781 CC
    782 CFLAGS
    783 LDFLAGS
    784 LIBS
    785 CPPFLAGS
    786 CPP
    787 PKG_CONFIG
    788 XPM_CFLAGS
    789 XPM_LIBS
    790 SXPM_CFLAGS
    791 SXPM_LIBS'
    792 
    793 
    794 # Initialize some variables set by options.
    795 ac_init_help=
    796 ac_init_version=false
    797 ac_unrecognized_opts=
    798 ac_unrecognized_sep=
    799 # The variables have the same names as the options, with
    800 # dashes changed to underlines.
    801 cache_file=/dev/null
    802 exec_prefix=NONE
    803 no_create=
    804 no_recursion=
    805 prefix=NONE
    806 program_prefix=NONE
    807 program_suffix=NONE
    808 program_transform_name=s,x,x,
    809 silent=
    810 site=
    811 srcdir=
    812 verbose=
    813 x_includes=NONE
    814 x_libraries=NONE
    815 
    816 # Installation directory options.
    817 # These are left unexpanded so users can "make install exec_prefix=/foo"
    818 # and all the variables that are supposed to be based on exec_prefix
    819 # by default will actually change.
    820 # Use braces instead of parens because sh, perl, etc. also accept them.
    821 # (The list follows the same order as the GNU Coding Standards.)
    822 bindir='${exec_prefix}/bin'
    823 sbindir='${exec_prefix}/sbin'
    824 libexecdir='${exec_prefix}/libexec'
    825 datarootdir='${prefix}/share'
    826 datadir='${datarootdir}'
    827 sysconfdir='${prefix}/etc'
    828 sharedstatedir='${prefix}/com'
    829 localstatedir='${prefix}/var'
    830 includedir='${prefix}/include'
    831 oldincludedir='/usr/include'
    832 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    833 infodir='${datarootdir}/info'
    834 htmldir='${docdir}'
    835 dvidir='${docdir}'
    836 pdfdir='${docdir}'
    837 psdir='${docdir}'
    838 libdir='${exec_prefix}/lib'
    839 localedir='${datarootdir}/locale'
    840 mandir='${datarootdir}/man'
    841 
    842 ac_prev=
    843 ac_dashdash=
    844 for ac_option
    845 do
    846   # If the previous option needs an argument, assign it.
    847   if test -n "$ac_prev"; then
    848     eval $ac_prev=\$ac_option
    849     ac_prev=
    850     continue
    851   fi
    852 
    853   case $ac_option in
    854   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    855   *=)   ac_optarg= ;;
    856   *)    ac_optarg=yes ;;
    857   esac
    858 
    859   # Accept the important Cygnus configure options, so we can diagnose typos.
    860 
    861   case $ac_dashdash$ac_option in
    862   --)
    863     ac_dashdash=yes ;;
    864 
    865   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    866     ac_prev=bindir ;;
    867   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    868     bindir=$ac_optarg ;;
    869 
    870   -build | --build | --buil | --bui | --bu)
    871     ac_prev=build_alias ;;
    872   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    873     build_alias=$ac_optarg ;;
    874 
    875   -cache-file | --cache-file | --cache-fil | --cache-fi \
    876   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    877     ac_prev=cache_file ;;
    878   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    879   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    880     cache_file=$ac_optarg ;;
    881 
    882   --config-cache | -C)
    883     cache_file=config.cache ;;
    884 
    885   -datadir | --datadir | --datadi | --datad)
    886     ac_prev=datadir ;;
    887   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    888     datadir=$ac_optarg ;;
    889 
    890   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    891   | --dataroo | --dataro | --datar)
    892     ac_prev=datarootdir ;;
    893   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    894   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    895     datarootdir=$ac_optarg ;;
    896 
    897   -disable-* | --disable-*)
    898     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    899     # Reject names that are not valid shell variable names.
    900     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    901       as_fn_error $? "invalid feature name: $ac_useropt"
    902     ac_useropt_orig=$ac_useropt
    903     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    904     case $ac_user_opts in
    905       *"
    906 "enable_$ac_useropt"
    907 "*) ;;
    908       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    909 	 ac_unrecognized_sep=', ';;
    910     esac
    911     eval enable_$ac_useropt=no ;;
    912 
    913   -docdir | --docdir | --docdi | --doc | --do)
    914     ac_prev=docdir ;;
    915   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    916     docdir=$ac_optarg ;;
    917 
    918   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    919     ac_prev=dvidir ;;
    920   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    921     dvidir=$ac_optarg ;;
    922 
    923   -enable-* | --enable-*)
    924     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    925     # Reject names that are not valid shell variable names.
    926     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    927       as_fn_error $? "invalid feature name: $ac_useropt"
    928     ac_useropt_orig=$ac_useropt
    929     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    930     case $ac_user_opts in
    931       *"
    932 "enable_$ac_useropt"
    933 "*) ;;
    934       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    935 	 ac_unrecognized_sep=', ';;
    936     esac
    937     eval enable_$ac_useropt=\$ac_optarg ;;
    938 
    939   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    940   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    941   | --exec | --exe | --ex)
    942     ac_prev=exec_prefix ;;
    943   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    944   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    945   | --exec=* | --exe=* | --ex=*)
    946     exec_prefix=$ac_optarg ;;
    947 
    948   -gas | --gas | --ga | --g)
    949     # Obsolete; use --with-gas.
    950     with_gas=yes ;;
    951 
    952   -help | --help | --hel | --he | -h)
    953     ac_init_help=long ;;
    954   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    955     ac_init_help=recursive ;;
    956   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    957     ac_init_help=short ;;
    958 
    959   -host | --host | --hos | --ho)
    960     ac_prev=host_alias ;;
    961   -host=* | --host=* | --hos=* | --ho=*)
    962     host_alias=$ac_optarg ;;
    963 
    964   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    965     ac_prev=htmldir ;;
    966   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    967   | --ht=*)
    968     htmldir=$ac_optarg ;;
    969 
    970   -includedir | --includedir | --includedi | --included | --include \
    971   | --includ | --inclu | --incl | --inc)
    972     ac_prev=includedir ;;
    973   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    974   | --includ=* | --inclu=* | --incl=* | --inc=*)
    975     includedir=$ac_optarg ;;
    976 
    977   -infodir | --infodir | --infodi | --infod | --info | --inf)
    978     ac_prev=infodir ;;
    979   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    980     infodir=$ac_optarg ;;
    981 
    982   -libdir | --libdir | --libdi | --libd)
    983     ac_prev=libdir ;;
    984   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    985     libdir=$ac_optarg ;;
    986 
    987   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    988   | --libexe | --libex | --libe)
    989     ac_prev=libexecdir ;;
    990   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    991   | --libexe=* | --libex=* | --libe=*)
    992     libexecdir=$ac_optarg ;;
    993 
    994   -localedir | --localedir | --localedi | --localed | --locale)
    995     ac_prev=localedir ;;
    996   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    997     localedir=$ac_optarg ;;
    998 
    999   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1000   | --localstate | --localstat | --localsta | --localst | --locals)
   1001     ac_prev=localstatedir ;;
   1002   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1003   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1004     localstatedir=$ac_optarg ;;
   1005 
   1006   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1007     ac_prev=mandir ;;
   1008   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1009     mandir=$ac_optarg ;;
   1010 
   1011   -nfp | --nfp | --nf)
   1012     # Obsolete; use --without-fp.
   1013     with_fp=no ;;
   1014 
   1015   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1016   | --no-cr | --no-c | -n)
   1017     no_create=yes ;;
   1018 
   1019   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1020   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1021     no_recursion=yes ;;
   1022 
   1023   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1024   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1025   | --oldin | --oldi | --old | --ol | --o)
   1026     ac_prev=oldincludedir ;;
   1027   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1028   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1029   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1030     oldincludedir=$ac_optarg ;;
   1031 
   1032   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1033     ac_prev=prefix ;;
   1034   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1035     prefix=$ac_optarg ;;
   1036 
   1037   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1038   | --program-pre | --program-pr | --program-p)
   1039     ac_prev=program_prefix ;;
   1040   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1041   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1042     program_prefix=$ac_optarg ;;
   1043 
   1044   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1045   | --program-suf | --program-su | --program-s)
   1046     ac_prev=program_suffix ;;
   1047   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1048   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1049     program_suffix=$ac_optarg ;;
   1050 
   1051   -program-transform-name | --program-transform-name \
   1052   | --program-transform-nam | --program-transform-na \
   1053   | --program-transform-n | --program-transform- \
   1054   | --program-transform | --program-transfor \
   1055   | --program-transfo | --program-transf \
   1056   | --program-trans | --program-tran \
   1057   | --progr-tra | --program-tr | --program-t)
   1058     ac_prev=program_transform_name ;;
   1059   -program-transform-name=* | --program-transform-name=* \
   1060   | --program-transform-nam=* | --program-transform-na=* \
   1061   | --program-transform-n=* | --program-transform-=* \
   1062   | --program-transform=* | --program-transfor=* \
   1063   | --program-transfo=* | --program-transf=* \
   1064   | --program-trans=* | --program-tran=* \
   1065   | --progr-tra=* | --program-tr=* | --program-t=*)
   1066     program_transform_name=$ac_optarg ;;
   1067 
   1068   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1069     ac_prev=pdfdir ;;
   1070   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1071     pdfdir=$ac_optarg ;;
   1072 
   1073   -psdir | --psdir | --psdi | --psd | --ps)
   1074     ac_prev=psdir ;;
   1075   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1076     psdir=$ac_optarg ;;
   1077 
   1078   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1079   | -silent | --silent | --silen | --sile | --sil)
   1080     silent=yes ;;
   1081 
   1082   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1083     ac_prev=sbindir ;;
   1084   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1085   | --sbi=* | --sb=*)
   1086     sbindir=$ac_optarg ;;
   1087 
   1088   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1089   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1090   | --sharedst | --shareds | --shared | --share | --shar \
   1091   | --sha | --sh)
   1092     ac_prev=sharedstatedir ;;
   1093   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1094   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1095   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1096   | --sha=* | --sh=*)
   1097     sharedstatedir=$ac_optarg ;;
   1098 
   1099   -site | --site | --sit)
   1100     ac_prev=site ;;
   1101   -site=* | --site=* | --sit=*)
   1102     site=$ac_optarg ;;
   1103 
   1104   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1105     ac_prev=srcdir ;;
   1106   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1107     srcdir=$ac_optarg ;;
   1108 
   1109   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1110   | --syscon | --sysco | --sysc | --sys | --sy)
   1111     ac_prev=sysconfdir ;;
   1112   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1113   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1114     sysconfdir=$ac_optarg ;;
   1115 
   1116   -target | --target | --targe | --targ | --tar | --ta | --t)
   1117     ac_prev=target_alias ;;
   1118   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1119     target_alias=$ac_optarg ;;
   1120 
   1121   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1122     verbose=yes ;;
   1123 
   1124   -version | --version | --versio | --versi | --vers | -V)
   1125     ac_init_version=: ;;
   1126 
   1127   -with-* | --with-*)
   1128     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1129     # Reject names that are not valid shell variable names.
   1130     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1131       as_fn_error $? "invalid package name: $ac_useropt"
   1132     ac_useropt_orig=$ac_useropt
   1133     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1134     case $ac_user_opts in
   1135       *"
   1136 "with_$ac_useropt"
   1137 "*) ;;
   1138       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1139 	 ac_unrecognized_sep=', ';;
   1140     esac
   1141     eval with_$ac_useropt=\$ac_optarg ;;
   1142 
   1143   -without-* | --without-*)
   1144     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1145     # Reject names that are not valid shell variable names.
   1146     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1147       as_fn_error $? "invalid package name: $ac_useropt"
   1148     ac_useropt_orig=$ac_useropt
   1149     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1150     case $ac_user_opts in
   1151       *"
   1152 "with_$ac_useropt"
   1153 "*) ;;
   1154       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1155 	 ac_unrecognized_sep=', ';;
   1156     esac
   1157     eval with_$ac_useropt=no ;;
   1158 
   1159   --x)
   1160     # Obsolete; use --with-x.
   1161     with_x=yes ;;
   1162 
   1163   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1164   | --x-incl | --x-inc | --x-in | --x-i)
   1165     ac_prev=x_includes ;;
   1166   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1167   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1168     x_includes=$ac_optarg ;;
   1169 
   1170   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1171   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1172     ac_prev=x_libraries ;;
   1173   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1174   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1175     x_libraries=$ac_optarg ;;
   1176 
   1177   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1178 Try \`$0 --help' for more information"
   1179     ;;
   1180 
   1181   *=*)
   1182     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1183     # Reject names that are not valid shell variable names.
   1184     case $ac_envvar in #(
   1185       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1186       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1187     esac
   1188     eval $ac_envvar=\$ac_optarg
   1189     export $ac_envvar ;;
   1190 
   1191   *)
   1192     # FIXME: should be removed in autoconf 3.0.
   1193     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1194     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1195       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1196     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1197     ;;
   1198 
   1199   esac
   1200 done
   1201 
   1202 if test -n "$ac_prev"; then
   1203   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1204   as_fn_error $? "missing argument to $ac_option"
   1205 fi
   1206 
   1207 if test -n "$ac_unrecognized_opts"; then
   1208   case $enable_option_checking in
   1209     no) ;;
   1210     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1211     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1212   esac
   1213 fi
   1214 
   1215 # Check all directory arguments for consistency.
   1216 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1217 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1218 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1219 		libdir localedir mandir
   1220 do
   1221   eval ac_val=\$$ac_var
   1222   # Remove trailing slashes.
   1223   case $ac_val in
   1224     */ )
   1225       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1226       eval $ac_var=\$ac_val;;
   1227   esac
   1228   # Be sure to have absolute directory names.
   1229   case $ac_val in
   1230     [\\/$]* | ?:[\\/]* )  continue;;
   1231     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1232   esac
   1233   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1234 done
   1235 
   1236 # There might be people who depend on the old broken behavior: `$host'
   1237 # used to hold the argument of --host etc.
   1238 # FIXME: To remove some day.
   1239 build=$build_alias
   1240 host=$host_alias
   1241 target=$target_alias
   1242 
   1243 # FIXME: To remove some day.
   1244 if test "x$host_alias" != x; then
   1245   if test "x$build_alias" = x; then
   1246     cross_compiling=maybe
   1247     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1248     If a cross compiler is detected then cross compile mode will be used" >&2
   1249   elif test "x$build_alias" != "x$host_alias"; then
   1250     cross_compiling=yes
   1251   fi
   1252 fi
   1253 
   1254 ac_tool_prefix=
   1255 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1256 
   1257 test "$silent" = yes && exec 6>/dev/null
   1258 
   1259 
   1260 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1261 ac_ls_di=`ls -di .` &&
   1262 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1263   as_fn_error $? "working directory cannot be determined"
   1264 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1265   as_fn_error $? "pwd does not report name of working directory"
   1266 
   1267 
   1268 # Find the source files, if location was not specified.
   1269 if test -z "$srcdir"; then
   1270   ac_srcdir_defaulted=yes
   1271   # Try the directory containing this script, then the parent directory.
   1272   ac_confdir=`$as_dirname -- "$as_myself" ||
   1273 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1274 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1275 	 X"$as_myself" : 'X\(//\)$' \| \
   1276 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1277 $as_echo X"$as_myself" |
   1278     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1279 	    s//\1/
   1280 	    q
   1281 	  }
   1282 	  /^X\(\/\/\)[^/].*/{
   1283 	    s//\1/
   1284 	    q
   1285 	  }
   1286 	  /^X\(\/\/\)$/{
   1287 	    s//\1/
   1288 	    q
   1289 	  }
   1290 	  /^X\(\/\).*/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  s/.*/./; q'`
   1295   srcdir=$ac_confdir
   1296   if test ! -r "$srcdir/$ac_unique_file"; then
   1297     srcdir=..
   1298   fi
   1299 else
   1300   ac_srcdir_defaulted=no
   1301 fi
   1302 if test ! -r "$srcdir/$ac_unique_file"; then
   1303   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1304   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1305 fi
   1306 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1307 ac_abs_confdir=`(
   1308 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1309 	pwd)`
   1310 # When building in place, set srcdir=.
   1311 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1312   srcdir=.
   1313 fi
   1314 # Remove unnecessary trailing slashes from srcdir.
   1315 # Double slashes in file names in object file debugging info
   1316 # mess up M-x gdb in Emacs.
   1317 case $srcdir in
   1318 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1319 esac
   1320 for ac_var in $ac_precious_vars; do
   1321   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1322   eval ac_env_${ac_var}_value=\$${ac_var}
   1323   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1324   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1325 done
   1326 
   1327 #
   1328 # Report the --help message.
   1329 #
   1330 if test "$ac_init_help" = "long"; then
   1331   # Omit some internal or obsolete options to make the list less imposing.
   1332   # This message is too long to be a string in the A/UX 3.1 sh.
   1333   cat <<_ACEOF
   1334 \`configure' configures libXpm 3.5.11 to adapt to many kinds of systems.
   1335 
   1336 Usage: $0 [OPTION]... [VAR=VALUE]...
   1337 
   1338 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1339 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1340 
   1341 Defaults for the options are specified in brackets.
   1342 
   1343 Configuration:
   1344   -h, --help              display this help and exit
   1345       --help=short        display options specific to this package
   1346       --help=recursive    display the short help of all the included packages
   1347   -V, --version           display version information and exit
   1348   -q, --quiet, --silent   do not print \`checking ...' messages
   1349       --cache-file=FILE   cache test results in FILE [disabled]
   1350   -C, --config-cache      alias for \`--cache-file=config.cache'
   1351   -n, --no-create         do not create output files
   1352       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1353 
   1354 Installation directories:
   1355   --prefix=PREFIX         install architecture-independent files in PREFIX
   1356                           [$ac_default_prefix]
   1357   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1358                           [PREFIX]
   1359 
   1360 By default, \`make install' will install all the files in
   1361 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1362 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1363 for instance \`--prefix=\$HOME'.
   1364 
   1365 For better control, use the options below.
   1366 
   1367 Fine tuning of the installation directories:
   1368   --bindir=DIR            user executables [EPREFIX/bin]
   1369   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1370   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1371   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1372   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1373   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1374   --libdir=DIR            object code libraries [EPREFIX/lib]
   1375   --includedir=DIR        C header files [PREFIX/include]
   1376   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1377   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1378   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1379   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1380   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1381   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1382   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXpm]
   1383   --htmldir=DIR           html documentation [DOCDIR]
   1384   --dvidir=DIR            dvi documentation [DOCDIR]
   1385   --pdfdir=DIR            pdf documentation [DOCDIR]
   1386   --psdir=DIR             ps documentation [DOCDIR]
   1387 _ACEOF
   1388 
   1389   cat <<\_ACEOF
   1390 
   1391 Program names:
   1392   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1393   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1394   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1395 
   1396 System types:
   1397   --build=BUILD     configure for building on BUILD [guessed]
   1398   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1399 _ACEOF
   1400 fi
   1401 
   1402 if test -n "$ac_init_help"; then
   1403   case $ac_init_help in
   1404      short | recursive ) echo "Configuration of libXpm 3.5.11:";;
   1405    esac
   1406   cat <<\_ACEOF
   1407 
   1408 Optional Features:
   1409   --disable-option-checking  ignore unrecognized --enable/--with options
   1410   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1411   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1412   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1413   --disable-silent-rules  verbose build output (undo: "make V=0")
   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-stat-zfile     Search for files with .Z & .gz extensions
   1430                           automatically [default=yes]
   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   --with-localedir=<path> Path to install message files in (default:
   1441                           datadir/locale)
   1442 
   1443 Some influential environment variables:
   1444   CC          C compiler command
   1445   CFLAGS      C compiler flags
   1446   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1447               nonstandard directory <lib dir>
   1448   LIBS        libraries to pass to the linker, e.g. -l<library>
   1449   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1450               you have headers in a nonstandard directory <include dir>
   1451   CPP         C preprocessor
   1452   PKG_CONFIG  path to pkg-config utility
   1453   XPM_CFLAGS  C compiler flags for XPM, overriding pkg-config
   1454   XPM_LIBS    linker flags for XPM, overriding pkg-config
   1455   SXPM_CFLAGS C compiler flags for SXPM, overriding pkg-config
   1456   SXPM_LIBS   linker flags for SXPM, overriding pkg-config
   1457 
   1458 Use these variables to override the choices made by `configure' or to help
   1459 it to find libraries and programs with nonstandard names/locations.
   1460 
   1461 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1462 _ACEOF
   1463 ac_status=$?
   1464 fi
   1465 
   1466 if test "$ac_init_help" = "recursive"; then
   1467   # If there are subdirs, report their specific --help.
   1468   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1469     test -d "$ac_dir" ||
   1470       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1471       continue
   1472     ac_builddir=.
   1473 
   1474 case "$ac_dir" in
   1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1476 *)
   1477   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1478   # A ".." for each directory in $ac_dir_suffix.
   1479   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1480   case $ac_top_builddir_sub in
   1481   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1482   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1483   esac ;;
   1484 esac
   1485 ac_abs_top_builddir=$ac_pwd
   1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1487 # for backward compatibility:
   1488 ac_top_builddir=$ac_top_build_prefix
   1489 
   1490 case $srcdir in
   1491   .)  # We are building in place.
   1492     ac_srcdir=.
   1493     ac_top_srcdir=$ac_top_builddir_sub
   1494     ac_abs_top_srcdir=$ac_pwd ;;
   1495   [\\/]* | ?:[\\/]* )  # Absolute name.
   1496     ac_srcdir=$srcdir$ac_dir_suffix;
   1497     ac_top_srcdir=$srcdir
   1498     ac_abs_top_srcdir=$srcdir ;;
   1499   *) # Relative name.
   1500     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1501     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1502     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1503 esac
   1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1505 
   1506     cd "$ac_dir" || { ac_status=$?; continue; }
   1507     # Check for guested configure.
   1508     if test -f "$ac_srcdir/configure.gnu"; then
   1509       echo &&
   1510       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1511     elif test -f "$ac_srcdir/configure"; then
   1512       echo &&
   1513       $SHELL "$ac_srcdir/configure" --help=recursive
   1514     else
   1515       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1516     fi || ac_status=$?
   1517     cd "$ac_pwd" || { ac_status=$?; break; }
   1518   done
   1519 fi
   1520 
   1521 test -n "$ac_init_help" && exit $ac_status
   1522 if $ac_init_version; then
   1523   cat <<\_ACEOF
   1524 libXpm configure 3.5.11
   1525 generated by GNU Autoconf 2.68
   1526 
   1527 Copyright (C) 2010 Free Software Foundation, Inc.
   1528 This configure script is free software; the Free Software Foundation
   1529 gives unlimited permission to copy, distribute and modify it.
   1530 _ACEOF
   1531   exit
   1532 fi
   1533 
   1534 ## ------------------------ ##
   1535 ## Autoconf initialization. ##
   1536 ## ------------------------ ##
   1537 
   1538 # ac_fn_c_try_compile LINENO
   1539 # --------------------------
   1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1541 ac_fn_c_try_compile ()
   1542 {
   1543   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1544   rm -f conftest.$ac_objext
   1545   if { { ac_try="$ac_compile"
   1546 case "(($ac_try" in
   1547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1548   *) ac_try_echo=$ac_try;;
   1549 esac
   1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1551 $as_echo "$ac_try_echo"; } >&5
   1552   (eval "$ac_compile") 2>conftest.err
   1553   ac_status=$?
   1554   if test -s conftest.err; then
   1555     grep -v '^ *+' conftest.err >conftest.er1
   1556     cat conftest.er1 >&5
   1557     mv -f conftest.er1 conftest.err
   1558   fi
   1559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1560   test $ac_status = 0; } && {
   1561 	 test -z "$ac_c_werror_flag" ||
   1562 	 test ! -s conftest.err
   1563        } && test -s conftest.$ac_objext; then :
   1564   ac_retval=0
   1565 else
   1566   $as_echo "$as_me: failed program was:" >&5
   1567 sed 's/^/| /' conftest.$ac_ext >&5
   1568 
   1569 	ac_retval=1
   1570 fi
   1571   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1572   as_fn_set_status $ac_retval
   1573 
   1574 } # ac_fn_c_try_compile
   1575 
   1576 # ac_fn_c_try_link LINENO
   1577 # -----------------------
   1578 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1579 ac_fn_c_try_link ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   rm -f conftest.$ac_objext conftest$ac_exeext
   1583   if { { ac_try="$ac_link"
   1584 case "(($ac_try" in
   1585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1586   *) ac_try_echo=$ac_try;;
   1587 esac
   1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1589 $as_echo "$ac_try_echo"; } >&5
   1590   (eval "$ac_link") 2>conftest.err
   1591   ac_status=$?
   1592   if test -s conftest.err; then
   1593     grep -v '^ *+' conftest.err >conftest.er1
   1594     cat conftest.er1 >&5
   1595     mv -f conftest.er1 conftest.err
   1596   fi
   1597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1598   test $ac_status = 0; } && {
   1599 	 test -z "$ac_c_werror_flag" ||
   1600 	 test ! -s conftest.err
   1601        } && test -s conftest$ac_exeext && {
   1602 	 test "$cross_compiling" = yes ||
   1603 	 $as_test_x conftest$ac_exeext
   1604        }; then :
   1605   ac_retval=0
   1606 else
   1607   $as_echo "$as_me: failed program was:" >&5
   1608 sed 's/^/| /' conftest.$ac_ext >&5
   1609 
   1610 	ac_retval=1
   1611 fi
   1612   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1613   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1614   # interfere with the next link command; also delete a directory that is
   1615   # left behind by Apple's compiler.  We do this before executing the actions.
   1616   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1617   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1618   as_fn_set_status $ac_retval
   1619 
   1620 } # ac_fn_c_try_link
   1621 
   1622 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1623 # -------------------------------------------------------
   1624 # Tests whether HEADER exists and can be compiled using the include files in
   1625 # INCLUDES, setting the cache variable VAR accordingly.
   1626 ac_fn_c_check_header_compile ()
   1627 {
   1628   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1630 $as_echo_n "checking for $2... " >&6; }
   1631 if eval \${$3+:} false; then :
   1632   $as_echo_n "(cached) " >&6
   1633 else
   1634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1635 /* end confdefs.h.  */
   1636 $4
   1637 #include <$2>
   1638 _ACEOF
   1639 if ac_fn_c_try_compile "$LINENO"; then :
   1640   eval "$3=yes"
   1641 else
   1642   eval "$3=no"
   1643 fi
   1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1645 fi
   1646 eval ac_res=\$$3
   1647 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1648 $as_echo "$ac_res" >&6; }
   1649   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1650 
   1651 } # ac_fn_c_check_header_compile
   1652 
   1653 # ac_fn_c_try_cpp LINENO
   1654 # ----------------------
   1655 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1656 ac_fn_c_try_cpp ()
   1657 {
   1658   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1659   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1660 case "(($ac_try" in
   1661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1662   *) ac_try_echo=$ac_try;;
   1663 esac
   1664 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1665 $as_echo "$ac_try_echo"; } >&5
   1666   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1667   ac_status=$?
   1668   if test -s conftest.err; then
   1669     grep -v '^ *+' conftest.err >conftest.er1
   1670     cat conftest.er1 >&5
   1671     mv -f conftest.er1 conftest.err
   1672   fi
   1673   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1674   test $ac_status = 0; } > conftest.i && {
   1675 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1676 	 test ! -s conftest.err
   1677        }; then :
   1678   ac_retval=0
   1679 else
   1680   $as_echo "$as_me: failed program was:" >&5
   1681 sed 's/^/| /' conftest.$ac_ext >&5
   1682 
   1683     ac_retval=1
   1684 fi
   1685   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1686   as_fn_set_status $ac_retval
   1687 
   1688 } # ac_fn_c_try_cpp
   1689 
   1690 # ac_fn_c_try_run LINENO
   1691 # ----------------------
   1692 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1693 # that executables *can* be run.
   1694 ac_fn_c_try_run ()
   1695 {
   1696   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1697   if { { ac_try="$ac_link"
   1698 case "(($ac_try" in
   1699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1700   *) ac_try_echo=$ac_try;;
   1701 esac
   1702 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1703 $as_echo "$ac_try_echo"; } >&5
   1704   (eval "$ac_link") 2>&5
   1705   ac_status=$?
   1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1708   { { case "(($ac_try" in
   1709   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1710   *) ac_try_echo=$ac_try;;
   1711 esac
   1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1713 $as_echo "$ac_try_echo"; } >&5
   1714   (eval "$ac_try") 2>&5
   1715   ac_status=$?
   1716   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1717   test $ac_status = 0; }; }; then :
   1718   ac_retval=0
   1719 else
   1720   $as_echo "$as_me: program exited with status $ac_status" >&5
   1721        $as_echo "$as_me: failed program was:" >&5
   1722 sed 's/^/| /' conftest.$ac_ext >&5
   1723 
   1724        ac_retval=$ac_status
   1725 fi
   1726   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1727   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1728   as_fn_set_status $ac_retval
   1729 
   1730 } # ac_fn_c_try_run
   1731 
   1732 # ac_fn_c_check_func LINENO FUNC VAR
   1733 # ----------------------------------
   1734 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1735 ac_fn_c_check_func ()
   1736 {
   1737   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1738   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1739 $as_echo_n "checking for $2... " >&6; }
   1740 if eval \${$3+:} false; then :
   1741   $as_echo_n "(cached) " >&6
   1742 else
   1743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1744 /* end confdefs.h.  */
   1745 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1746    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1747 #define $2 innocuous_$2
   1748 
   1749 /* System header to define __stub macros and hopefully few prototypes,
   1750     which can conflict with char $2 (); below.
   1751     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1752     <limits.h> exists even on freestanding compilers.  */
   1753 
   1754 #ifdef __STDC__
   1755 # include <limits.h>
   1756 #else
   1757 # include <assert.h>
   1758 #endif
   1759 
   1760 #undef $2
   1761 
   1762 /* Override any GCC internal prototype to avoid an error.
   1763    Use char because int might match the return type of a GCC
   1764    builtin and then its argument prototype would still apply.  */
   1765 #ifdef __cplusplus
   1766 extern "C"
   1767 #endif
   1768 char $2 ();
   1769 /* The GNU C library defines this for functions which it implements
   1770     to always fail with ENOSYS.  Some functions are actually named
   1771     something starting with __ and the normal name is an alias.  */
   1772 #if defined __stub_$2 || defined __stub___$2
   1773 choke me
   1774 #endif
   1775 
   1776 int
   1777 main ()
   1778 {
   1779 return $2 ();
   1780   ;
   1781   return 0;
   1782 }
   1783 _ACEOF
   1784 if ac_fn_c_try_link "$LINENO"; then :
   1785   eval "$3=yes"
   1786 else
   1787   eval "$3=no"
   1788 fi
   1789 rm -f core conftest.err conftest.$ac_objext \
   1790     conftest$ac_exeext conftest.$ac_ext
   1791 fi
   1792 eval ac_res=\$$3
   1793 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1794 $as_echo "$ac_res" >&6; }
   1795   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1796 
   1797 } # ac_fn_c_check_func
   1798 
   1799 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1800 # ---------------------------------------------
   1801 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1802 # accordingly.
   1803 ac_fn_c_check_decl ()
   1804 {
   1805   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1806   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1807   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1809 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1810 if eval \${$3+:} false; then :
   1811   $as_echo_n "(cached) " >&6
   1812 else
   1813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1814 /* end confdefs.h.  */
   1815 $4
   1816 int
   1817 main ()
   1818 {
   1819 #ifndef $as_decl_name
   1820 #ifdef __cplusplus
   1821   (void) $as_decl_use;
   1822 #else
   1823   (void) $as_decl_name;
   1824 #endif
   1825 #endif
   1826 
   1827   ;
   1828   return 0;
   1829 }
   1830 _ACEOF
   1831 if ac_fn_c_try_compile "$LINENO"; then :
   1832   eval "$3=yes"
   1833 else
   1834   eval "$3=no"
   1835 fi
   1836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1837 fi
   1838 eval ac_res=\$$3
   1839 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1840 $as_echo "$ac_res" >&6; }
   1841   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1842 
   1843 } # ac_fn_c_check_decl
   1844 cat >config.log <<_ACEOF
   1845 This file contains any messages produced by compilers while
   1846 running configure, to aid debugging if configure makes a mistake.
   1847 
   1848 It was created by libXpm $as_me 3.5.11, which was
   1849 generated by GNU Autoconf 2.68.  Invocation command line was
   1850 
   1851   $ $0 $@
   1852 
   1853 _ACEOF
   1854 exec 5>>config.log
   1855 {
   1856 cat <<_ASUNAME
   1857 ## --------- ##
   1858 ## Platform. ##
   1859 ## --------- ##
   1860 
   1861 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1862 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1863 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1864 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1865 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1866 
   1867 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1868 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1869 
   1870 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1871 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1872 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1873 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1874 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1875 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1876 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1877 
   1878 _ASUNAME
   1879 
   1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1881 for as_dir in $PATH
   1882 do
   1883   IFS=$as_save_IFS
   1884   test -z "$as_dir" && as_dir=.
   1885     $as_echo "PATH: $as_dir"
   1886   done
   1887 IFS=$as_save_IFS
   1888 
   1889 } >&5
   1890 
   1891 cat >&5 <<_ACEOF
   1892 
   1893 
   1894 ## ----------- ##
   1895 ## Core tests. ##
   1896 ## ----------- ##
   1897 
   1898 _ACEOF
   1899 
   1900 
   1901 # Keep a trace of the command line.
   1902 # Strip out --no-create and --no-recursion so they do not pile up.
   1903 # Strip out --silent because we don't want to record it for future runs.
   1904 # Also quote any args containing shell meta-characters.
   1905 # Make two passes to allow for proper duplicate-argument suppression.
   1906 ac_configure_args=
   1907 ac_configure_args0=
   1908 ac_configure_args1=
   1909 ac_must_keep_next=false
   1910 for ac_pass in 1 2
   1911 do
   1912   for ac_arg
   1913   do
   1914     case $ac_arg in
   1915     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1916     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1917     | -silent | --silent | --silen | --sile | --sil)
   1918       continue ;;
   1919     *\'*)
   1920       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1921     esac
   1922     case $ac_pass in
   1923     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1924     2)
   1925       as_fn_append ac_configure_args1 " '$ac_arg'"
   1926       if test $ac_must_keep_next = true; then
   1927 	ac_must_keep_next=false # Got value, back to normal.
   1928       else
   1929 	case $ac_arg in
   1930 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1931 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1932 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1933 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1934 	    case "$ac_configure_args0 " in
   1935 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1936 	    esac
   1937 	    ;;
   1938 	  -* ) ac_must_keep_next=true ;;
   1939 	esac
   1940       fi
   1941       as_fn_append ac_configure_args " '$ac_arg'"
   1942       ;;
   1943     esac
   1944   done
   1945 done
   1946 { ac_configure_args0=; unset ac_configure_args0;}
   1947 { ac_configure_args1=; unset ac_configure_args1;}
   1948 
   1949 # When interrupted or exit'd, cleanup temporary files, and complete
   1950 # config.log.  We remove comments because anyway the quotes in there
   1951 # would cause problems or look ugly.
   1952 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1953 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1954 trap 'exit_status=$?
   1955   # Save into config.log some information that might help in debugging.
   1956   {
   1957     echo
   1958 
   1959     $as_echo "## ---------------- ##
   1960 ## Cache variables. ##
   1961 ## ---------------- ##"
   1962     echo
   1963     # The following way of writing the cache mishandles newlines in values,
   1964 (
   1965   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1966     eval ac_val=\$$ac_var
   1967     case $ac_val in #(
   1968     *${as_nl}*)
   1969       case $ac_var in #(
   1970       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1971 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1972       esac
   1973       case $ac_var in #(
   1974       _ | IFS | as_nl) ;; #(
   1975       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1976       *) { eval $ac_var=; unset $ac_var;} ;;
   1977       esac ;;
   1978     esac
   1979   done
   1980   (set) 2>&1 |
   1981     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1982     *${as_nl}ac_space=\ *)
   1983       sed -n \
   1984 	"s/'\''/'\''\\\\'\'''\''/g;
   1985 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1986       ;; #(
   1987     *)
   1988       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1989       ;;
   1990     esac |
   1991     sort
   1992 )
   1993     echo
   1994 
   1995     $as_echo "## ----------------- ##
   1996 ## Output variables. ##
   1997 ## ----------------- ##"
   1998     echo
   1999     for ac_var in $ac_subst_vars
   2000     do
   2001       eval ac_val=\$$ac_var
   2002       case $ac_val in
   2003       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2004       esac
   2005       $as_echo "$ac_var='\''$ac_val'\''"
   2006     done | sort
   2007     echo
   2008 
   2009     if test -n "$ac_subst_files"; then
   2010       $as_echo "## ------------------- ##
   2011 ## File substitutions. ##
   2012 ## ------------------- ##"
   2013       echo
   2014       for ac_var in $ac_subst_files
   2015       do
   2016 	eval ac_val=\$$ac_var
   2017 	case $ac_val in
   2018 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2019 	esac
   2020 	$as_echo "$ac_var='\''$ac_val'\''"
   2021       done | sort
   2022       echo
   2023     fi
   2024 
   2025     if test -s confdefs.h; then
   2026       $as_echo "## ----------- ##
   2027 ## confdefs.h. ##
   2028 ## ----------- ##"
   2029       echo
   2030       cat confdefs.h
   2031       echo
   2032     fi
   2033     test "$ac_signal" != 0 &&
   2034       $as_echo "$as_me: caught signal $ac_signal"
   2035     $as_echo "$as_me: exit $exit_status"
   2036   } >&5
   2037   rm -f core *.core core.conftest.* &&
   2038     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2039     exit $exit_status
   2040 ' 0
   2041 for ac_signal in 1 2 13 15; do
   2042   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2043 done
   2044 ac_signal=0
   2045 
   2046 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2047 rm -f -r conftest* confdefs.h
   2048 
   2049 $as_echo "/* confdefs.h */" > confdefs.h
   2050 
   2051 # Predefined preprocessor variables.
   2052 
   2053 cat >>confdefs.h <<_ACEOF
   2054 #define PACKAGE_NAME "$PACKAGE_NAME"
   2055 _ACEOF
   2056 
   2057 cat >>confdefs.h <<_ACEOF
   2058 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2059 _ACEOF
   2060 
   2061 cat >>confdefs.h <<_ACEOF
   2062 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2063 _ACEOF
   2064 
   2065 cat >>confdefs.h <<_ACEOF
   2066 #define PACKAGE_STRING "$PACKAGE_STRING"
   2067 _ACEOF
   2068 
   2069 cat >>confdefs.h <<_ACEOF
   2070 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2071 _ACEOF
   2072 
   2073 cat >>confdefs.h <<_ACEOF
   2074 #define PACKAGE_URL "$PACKAGE_URL"
   2075 _ACEOF
   2076 
   2077 
   2078 # Let the site file select an alternate cache file if it wants to.
   2079 # Prefer an explicitly selected file to automatically selected ones.
   2080 ac_site_file1=NONE
   2081 ac_site_file2=NONE
   2082 if test -n "$CONFIG_SITE"; then
   2083   # We do not want a PATH search for config.site.
   2084   case $CONFIG_SITE in #((
   2085     -*)  ac_site_file1=./$CONFIG_SITE;;
   2086     */*) ac_site_file1=$CONFIG_SITE;;
   2087     *)   ac_site_file1=./$CONFIG_SITE;;
   2088   esac
   2089 elif test "x$prefix" != xNONE; then
   2090   ac_site_file1=$prefix/share/config.site
   2091   ac_site_file2=$prefix/etc/config.site
   2092 else
   2093   ac_site_file1=$ac_default_prefix/share/config.site
   2094   ac_site_file2=$ac_default_prefix/etc/config.site
   2095 fi
   2096 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2097 do
   2098   test "x$ac_site_file" = xNONE && continue
   2099   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2100     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2101 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2102     sed 's/^/| /' "$ac_site_file" >&5
   2103     . "$ac_site_file" \
   2104       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2106 as_fn_error $? "failed to load site script $ac_site_file
   2107 See \`config.log' for more details" "$LINENO" 5; }
   2108   fi
   2109 done
   2110 
   2111 if test -r "$cache_file"; then
   2112   # Some versions of bash will fail to source /dev/null (special files
   2113   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2114   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2115     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2116 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2117     case $cache_file in
   2118       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2119       *)                      . "./$cache_file";;
   2120     esac
   2121   fi
   2122 else
   2123   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2124 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2125   >$cache_file
   2126 fi
   2127 
   2128 # Check that the precious variables saved in the cache have kept the same
   2129 # value.
   2130 ac_cache_corrupted=false
   2131 for ac_var in $ac_precious_vars; do
   2132   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2133   eval ac_new_set=\$ac_env_${ac_var}_set
   2134   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2135   eval ac_new_val=\$ac_env_${ac_var}_value
   2136   case $ac_old_set,$ac_new_set in
   2137     set,)
   2138       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2139 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2140       ac_cache_corrupted=: ;;
   2141     ,set)
   2142       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2143 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2144       ac_cache_corrupted=: ;;
   2145     ,);;
   2146     *)
   2147       if test "x$ac_old_val" != "x$ac_new_val"; then
   2148 	# differences in whitespace do not lead to failure.
   2149 	ac_old_val_w=`echo x $ac_old_val`
   2150 	ac_new_val_w=`echo x $ac_new_val`
   2151 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2152 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2153 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2154 	  ac_cache_corrupted=:
   2155 	else
   2156 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2157 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2158 	  eval $ac_var=\$ac_old_val
   2159 	fi
   2160 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2161 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2162 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2163 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2164       fi;;
   2165   esac
   2166   # Pass precious variables to config.status.
   2167   if test "$ac_new_set" = set; then
   2168     case $ac_new_val in
   2169     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2170     *) ac_arg=$ac_var=$ac_new_val ;;
   2171     esac
   2172     case " $ac_configure_args " in
   2173       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2174       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2175     esac
   2176   fi
   2177 done
   2178 if $ac_cache_corrupted; then
   2179   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2181   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2182 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2183   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2184 fi
   2185 ## -------------------- ##
   2186 ## Main body of script. ##
   2187 ## -------------------- ##
   2188 
   2189 ac_ext=c
   2190 ac_cpp='$CPP $CPPFLAGS'
   2191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2194 
   2195 
   2196 
   2197 ac_config_headers="$ac_config_headers config.h"
   2198 
   2199 
   2200 
   2201 # Initialize Automake
   2202 am__api_version='1.14'
   2203 
   2204 ac_aux_dir=
   2205 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2206   if test -f "$ac_dir/install-sh"; then
   2207     ac_aux_dir=$ac_dir
   2208     ac_install_sh="$ac_aux_dir/install-sh -c"
   2209     break
   2210   elif test -f "$ac_dir/install.sh"; then
   2211     ac_aux_dir=$ac_dir
   2212     ac_install_sh="$ac_aux_dir/install.sh -c"
   2213     break
   2214   elif test -f "$ac_dir/shtool"; then
   2215     ac_aux_dir=$ac_dir
   2216     ac_install_sh="$ac_aux_dir/shtool install -c"
   2217     break
   2218   fi
   2219 done
   2220 if test -z "$ac_aux_dir"; then
   2221   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2222 fi
   2223 
   2224 # These three variables are undocumented and unsupported,
   2225 # and are intended to be withdrawn in a future Autoconf release.
   2226 # They can cause serious problems if a builder's source tree is in a directory
   2227 # whose full name contains unusual characters.
   2228 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2229 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2230 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2231 
   2232 
   2233 # Find a good install program.  We prefer a C program (faster),
   2234 # so one script is as good as another.  But avoid the broken or
   2235 # incompatible versions:
   2236 # SysV /etc/install, /usr/sbin/install
   2237 # SunOS /usr/etc/install
   2238 # IRIX /sbin/install
   2239 # AIX /bin/install
   2240 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2244 # OS/2's system install, which has a completely different semantic
   2245 # ./install, which can be erroneously created by make from ./install.sh.
   2246 # Reject install programs that cannot install multiple files.
   2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2248 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2249 if test -z "$INSTALL"; then
   2250 if ${ac_cv_path_install+:} false; then :
   2251   $as_echo_n "(cached) " >&6
   2252 else
   2253   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2254 for as_dir in $PATH
   2255 do
   2256   IFS=$as_save_IFS
   2257   test -z "$as_dir" && as_dir=.
   2258     # Account for people who put trailing slashes in PATH elements.
   2259 case $as_dir/ in #((
   2260   ./ | .// | /[cC]/* | \
   2261   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2262   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2263   /usr/ucb/* ) ;;
   2264   *)
   2265     # OSF1 and SCO ODT 3.0 have their own names for install.
   2266     # Don't use installbsd from OSF since it installs stuff as root
   2267     # by default.
   2268     for ac_prog in ginstall scoinst install; do
   2269       for ac_exec_ext in '' $ac_executable_extensions; do
   2270 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2271 	  if test $ac_prog = install &&
   2272 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2273 	    # AIX install.  It has an incompatible calling convention.
   2274 	    :
   2275 	  elif test $ac_prog = install &&
   2276 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2277 	    # program-specific install script used by HP pwplus--don't use.
   2278 	    :
   2279 	  else
   2280 	    rm -rf conftest.one conftest.two conftest.dir
   2281 	    echo one > conftest.one
   2282 	    echo two > conftest.two
   2283 	    mkdir conftest.dir
   2284 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2285 	      test -s conftest.one && test -s conftest.two &&
   2286 	      test -s conftest.dir/conftest.one &&
   2287 	      test -s conftest.dir/conftest.two
   2288 	    then
   2289 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2290 	      break 3
   2291 	    fi
   2292 	  fi
   2293 	fi
   2294       done
   2295     done
   2296     ;;
   2297 esac
   2298 
   2299   done
   2300 IFS=$as_save_IFS
   2301 
   2302 rm -rf conftest.one conftest.two conftest.dir
   2303 
   2304 fi
   2305   if test "${ac_cv_path_install+set}" = set; then
   2306     INSTALL=$ac_cv_path_install
   2307   else
   2308     # As a last resort, use the slow shell script.  Don't cache a
   2309     # value for INSTALL within a source directory, because that will
   2310     # break other packages using the cache if that directory is
   2311     # removed, or if the value is a relative name.
   2312     INSTALL=$ac_install_sh
   2313   fi
   2314 fi
   2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2316 $as_echo "$INSTALL" >&6; }
   2317 
   2318 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2319 # It thinks the first close brace ends the variable substitution.
   2320 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2321 
   2322 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2323 
   2324 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2325 
   2326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2327 $as_echo_n "checking whether build environment is sane... " >&6; }
   2328 # Reject unsafe characters in $srcdir or the absolute working directory
   2329 # name.  Accept space and tab only in the latter.
   2330 am_lf='
   2331 '
   2332 case `pwd` in
   2333   *[\\\"\#\$\&\'\`$am_lf]*)
   2334     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2335 esac
   2336 case $srcdir in
   2337   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2338     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2339 esac
   2340 
   2341 # Do 'set' in a subshell so we don't clobber the current shell's
   2342 # arguments.  Must try -L first in case configure is actually a
   2343 # symlink; some systems play weird games with the mod time of symlinks
   2344 # (eg FreeBSD returns the mod time of the symlink's containing
   2345 # directory).
   2346 if (
   2347    am_has_slept=no
   2348    for am_try in 1 2; do
   2349      echo "timestamp, slept: $am_has_slept" > conftest.file
   2350      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2351      if test "$*" = "X"; then
   2352 	# -L didn't work.
   2353 	set X `ls -t "$srcdir/configure" conftest.file`
   2354      fi
   2355      if test "$*" != "X $srcdir/configure conftest.file" \
   2356 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2357 
   2358 	# If neither matched, then we have a broken ls.  This can happen
   2359 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2360 	# broken ls alias from the environment.  This has actually
   2361 	# happened.  Such a system could not be considered "sane".
   2362 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2363   alias in your environment" "$LINENO" 5
   2364      fi
   2365      if test "$2" = conftest.file || test $am_try -eq 2; then
   2366        break
   2367      fi
   2368      # Just in case.
   2369      sleep 1
   2370      am_has_slept=yes
   2371    done
   2372    test "$2" = conftest.file
   2373    )
   2374 then
   2375    # Ok.
   2376    :
   2377 else
   2378    as_fn_error $? "newly created file is older than distributed files!
   2379 Check your system clock" "$LINENO" 5
   2380 fi
   2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2382 $as_echo "yes" >&6; }
   2383 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2384 # generated files are strictly newer.
   2385 am_sleep_pid=
   2386 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2387   ( sleep 1 ) &
   2388   am_sleep_pid=$!
   2389 fi
   2390 
   2391 rm -f conftest.file
   2392 
   2393 test "$program_prefix" != NONE &&
   2394   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2395 # Use a double $ so make ignores it.
   2396 test "$program_suffix" != NONE &&
   2397   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2398 # Double any \ or $.
   2399 # By default was `s,x,x', remove it if useless.
   2400 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2401 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2402 
   2403 # expand $ac_aux_dir to an absolute path
   2404 am_aux_dir=`cd $ac_aux_dir && pwd`
   2405 
   2406 if test x"${MISSING+set}" != xset; then
   2407   case $am_aux_dir in
   2408   *\ * | *\	*)
   2409     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2410   *)
   2411     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2412   esac
   2413 fi
   2414 # Use eval to expand $SHELL
   2415 if eval "$MISSING --is-lightweight"; then
   2416   am_missing_run="$MISSING "
   2417 else
   2418   am_missing_run=
   2419   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2420 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2421 fi
   2422 
   2423 if test x"${install_sh}" != xset; then
   2424   case $am_aux_dir in
   2425   *\ * | *\	*)
   2426     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2427   *)
   2428     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2429   esac
   2430 fi
   2431 
   2432 # Installed binaries are usually stripped using 'strip' when the user
   2433 # run "make install-strip".  However 'strip' might not be the right
   2434 # tool to use in cross-compilation environments, therefore Automake
   2435 # will honor the 'STRIP' environment variable to overrule this program.
   2436 if test "$cross_compiling" != no; then
   2437   if test -n "$ac_tool_prefix"; then
   2438   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2439 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2441 $as_echo_n "checking for $ac_word... " >&6; }
   2442 if ${ac_cv_prog_STRIP+:} false; then :
   2443   $as_echo_n "(cached) " >&6
   2444 else
   2445   if test -n "$STRIP"; then
   2446   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2447 else
   2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2449 for as_dir in $PATH
   2450 do
   2451   IFS=$as_save_IFS
   2452   test -z "$as_dir" && as_dir=.
   2453     for ac_exec_ext in '' $ac_executable_extensions; do
   2454   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2455     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2456     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2457     break 2
   2458   fi
   2459 done
   2460   done
   2461 IFS=$as_save_IFS
   2462 
   2463 fi
   2464 fi
   2465 STRIP=$ac_cv_prog_STRIP
   2466 if test -n "$STRIP"; then
   2467   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2468 $as_echo "$STRIP" >&6; }
   2469 else
   2470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2471 $as_echo "no" >&6; }
   2472 fi
   2473 
   2474 
   2475 fi
   2476 if test -z "$ac_cv_prog_STRIP"; then
   2477   ac_ct_STRIP=$STRIP
   2478   # Extract the first word of "strip", so it can be a program name with args.
   2479 set dummy strip; ac_word=$2
   2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2481 $as_echo_n "checking for $ac_word... " >&6; }
   2482 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2483   $as_echo_n "(cached) " >&6
   2484 else
   2485   if test -n "$ac_ct_STRIP"; then
   2486   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2487 else
   2488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2489 for as_dir in $PATH
   2490 do
   2491   IFS=$as_save_IFS
   2492   test -z "$as_dir" && as_dir=.
   2493     for ac_exec_ext in '' $ac_executable_extensions; do
   2494   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2495     ac_cv_prog_ac_ct_STRIP="strip"
   2496     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2497     break 2
   2498   fi
   2499 done
   2500   done
   2501 IFS=$as_save_IFS
   2502 
   2503 fi
   2504 fi
   2505 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2506 if test -n "$ac_ct_STRIP"; then
   2507   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2508 $as_echo "$ac_ct_STRIP" >&6; }
   2509 else
   2510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2511 $as_echo "no" >&6; }
   2512 fi
   2513 
   2514   if test "x$ac_ct_STRIP" = x; then
   2515     STRIP=":"
   2516   else
   2517     case $cross_compiling:$ac_tool_warned in
   2518 yes:)
   2519 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2520 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2521 ac_tool_warned=yes ;;
   2522 esac
   2523     STRIP=$ac_ct_STRIP
   2524   fi
   2525 else
   2526   STRIP="$ac_cv_prog_STRIP"
   2527 fi
   2528 
   2529 fi
   2530 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2531 
   2532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2533 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2534 if test -z "$MKDIR_P"; then
   2535   if ${ac_cv_path_mkdir+:} false; then :
   2536   $as_echo_n "(cached) " >&6
   2537 else
   2538   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2539 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2540 do
   2541   IFS=$as_save_IFS
   2542   test -z "$as_dir" && as_dir=.
   2543     for ac_prog in mkdir gmkdir; do
   2544 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2545 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2546 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2547 	     'mkdir (GNU coreutils) '* | \
   2548 	     'mkdir (coreutils) '* | \
   2549 	     'mkdir (fileutils) '4.1*)
   2550 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2551 	       break 3;;
   2552 	   esac
   2553 	 done
   2554        done
   2555   done
   2556 IFS=$as_save_IFS
   2557 
   2558 fi
   2559 
   2560   test -d ./--version && rmdir ./--version
   2561   if test "${ac_cv_path_mkdir+set}" = set; then
   2562     MKDIR_P="$ac_cv_path_mkdir -p"
   2563   else
   2564     # As a last resort, use the slow shell script.  Don't cache a
   2565     # value for MKDIR_P within a source directory, because that will
   2566     # break other packages using the cache if that directory is
   2567     # removed, or if the value is a relative name.
   2568     MKDIR_P="$ac_install_sh -d"
   2569   fi
   2570 fi
   2571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2572 $as_echo "$MKDIR_P" >&6; }
   2573 
   2574 for ac_prog in gawk mawk nawk awk
   2575 do
   2576   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2577 set dummy $ac_prog; ac_word=$2
   2578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2579 $as_echo_n "checking for $ac_word... " >&6; }
   2580 if ${ac_cv_prog_AWK+:} false; then :
   2581   $as_echo_n "(cached) " >&6
   2582 else
   2583   if test -n "$AWK"; then
   2584   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2585 else
   2586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2587 for as_dir in $PATH
   2588 do
   2589   IFS=$as_save_IFS
   2590   test -z "$as_dir" && as_dir=.
   2591     for ac_exec_ext in '' $ac_executable_extensions; do
   2592   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2593     ac_cv_prog_AWK="$ac_prog"
   2594     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2595     break 2
   2596   fi
   2597 done
   2598   done
   2599 IFS=$as_save_IFS
   2600 
   2601 fi
   2602 fi
   2603 AWK=$ac_cv_prog_AWK
   2604 if test -n "$AWK"; then
   2605   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2606 $as_echo "$AWK" >&6; }
   2607 else
   2608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2609 $as_echo "no" >&6; }
   2610 fi
   2611 
   2612 
   2613   test -n "$AWK" && break
   2614 done
   2615 
   2616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2617 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2618 set x ${MAKE-make}
   2619 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2620 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2621   $as_echo_n "(cached) " >&6
   2622 else
   2623   cat >conftest.make <<\_ACEOF
   2624 SHELL = /bin/sh
   2625 all:
   2626 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2627 _ACEOF
   2628 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2629 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2630   *@@@%%%=?*=@@@%%%*)
   2631     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2632   *)
   2633     eval ac_cv_prog_make_${ac_make}_set=no;;
   2634 esac
   2635 rm -f conftest.make
   2636 fi
   2637 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2639 $as_echo "yes" >&6; }
   2640   SET_MAKE=
   2641 else
   2642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2643 $as_echo "no" >&6; }
   2644   SET_MAKE="MAKE=${MAKE-make}"
   2645 fi
   2646 
   2647 rm -rf .tst 2>/dev/null
   2648 mkdir .tst 2>/dev/null
   2649 if test -d .tst; then
   2650   am__leading_dot=.
   2651 else
   2652   am__leading_dot=_
   2653 fi
   2654 rmdir .tst 2>/dev/null
   2655 
   2656 # Check whether --enable-silent-rules was given.
   2657 if test "${enable_silent_rules+set}" = set; then :
   2658   enableval=$enable_silent_rules;
   2659 fi
   2660 
   2661 case $enable_silent_rules in # (((
   2662   yes) AM_DEFAULT_VERBOSITY=0;;
   2663    no) AM_DEFAULT_VERBOSITY=1;;
   2664     *) AM_DEFAULT_VERBOSITY=1;;
   2665 esac
   2666 am_make=${MAKE-make}
   2667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2668 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2669 if ${am_cv_make_support_nested_variables+:} false; then :
   2670   $as_echo_n "(cached) " >&6
   2671 else
   2672   if $as_echo 'TRUE=$(BAR$(V))
   2673 BAR0=false
   2674 BAR1=true
   2675 V=1
   2676 am__doit:
   2677 	@$(TRUE)
   2678 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2679   am_cv_make_support_nested_variables=yes
   2680 else
   2681   am_cv_make_support_nested_variables=no
   2682 fi
   2683 fi
   2684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2685 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2686 if test $am_cv_make_support_nested_variables = yes; then
   2687     AM_V='$(V)'
   2688   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2689 else
   2690   AM_V=$AM_DEFAULT_VERBOSITY
   2691   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2692 fi
   2693 AM_BACKSLASH='\'
   2694 
   2695 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2696   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2697   # is not polluted with repeated "-I."
   2698   am__isrc=' -I$(srcdir)'
   2699   # test to see if srcdir already configured
   2700   if test -f $srcdir/config.status; then
   2701     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2702   fi
   2703 fi
   2704 
   2705 # test whether we have cygpath
   2706 if test -z "$CYGPATH_W"; then
   2707   if (cygpath --version) >/dev/null 2>/dev/null; then
   2708     CYGPATH_W='cygpath -w'
   2709   else
   2710     CYGPATH_W=echo
   2711   fi
   2712 fi
   2713 
   2714 
   2715 # Define the identity of the package.
   2716  PACKAGE='libXpm'
   2717  VERSION='3.5.11'
   2718 
   2719 
   2720 cat >>confdefs.h <<_ACEOF
   2721 #define PACKAGE "$PACKAGE"
   2722 _ACEOF
   2723 
   2724 
   2725 cat >>confdefs.h <<_ACEOF
   2726 #define VERSION "$VERSION"
   2727 _ACEOF
   2728 
   2729 # Some tools Automake needs.
   2730 
   2731 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2732 
   2733 
   2734 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2735 
   2736 
   2737 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2738 
   2739 
   2740 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2741 
   2742 
   2743 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2744 
   2745 # For better backward compatibility.  To be removed once Automake 1.9.x
   2746 # dies out for good.  For more background, see:
   2747 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2748 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2749 mkdir_p='$(MKDIR_P)'
   2750 
   2751 # We need awk for the "check" target.  The system "awk" is bad on
   2752 # some platforms.
   2753 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2754 # in the wild :-(  We should find a proper way to deprecate it ...
   2755 AMTAR='$${TAR-tar}'
   2756 
   2757 
   2758 # We'll loop over all known methods to create a tar archive until one works.
   2759 _am_tools='gnutar  pax cpio none'
   2760 
   2761 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2762 
   2763 
   2764 
   2765 
   2766 
   2767 
   2768 # POSIX will say in a future version that running "rm -f" with no argument
   2769 # is OK; and we want to be able to make that assumption in our Makefile
   2770 # recipes.  So use an aggressive probe to check that the usage we want is
   2771 # actually supported "in the wild" to an acceptable degree.
   2772 # See automake bug#10828.
   2773 # To make any issue more visible, cause the running configure to be aborted
   2774 # by default if the 'rm' program in use doesn't match our expectations; the
   2775 # user can still override this though.
   2776 if rm -f && rm -fr && rm -rf; then : OK; else
   2777   cat >&2 <<'END'
   2778 Oops!
   2779 
   2780 Your 'rm' program seems unable to run without file operands specified
   2781 on the command line, even when the '-f' option is present.  This is contrary
   2782 to the behaviour of most rm programs out there, and not conforming with
   2783 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2784 
   2785 Please tell bug-automake@gnu.org about your system, including the value
   2786 of your $PATH and any error possibly output before this message.  This
   2787 can help us improve future automake versions.
   2788 
   2789 END
   2790   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2791     echo 'Configuration will proceed anyway, since you have set the' >&2
   2792     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2793     echo >&2
   2794   else
   2795     cat >&2 <<'END'
   2796 Aborting the configuration process, to ensure you take notice of the issue.
   2797 
   2798 You can download and install GNU coreutils to get an 'rm' implementation
   2799 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2800 
   2801 If you want to complete the configuration process using your problematic
   2802 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2803 to "yes", and re-run configure.
   2804 
   2805 END
   2806     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2807   fi
   2808 fi
   2809 
   2810 # Initialize libtool
   2811 case `pwd` in
   2812   *\ * | *\	*)
   2813     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2814 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2815 esac
   2816 
   2817 
   2818 
   2819 macro_version='2.4.2'
   2820 macro_revision='1.3337'
   2821 
   2822 
   2823 
   2824 
   2825 
   2826 
   2827 
   2828 
   2829 
   2830 
   2831 
   2832 
   2833 
   2834 ltmain="$ac_aux_dir/ltmain.sh"
   2835 
   2836 # Make sure we can run config.sub.
   2837 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2838   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2839 
   2840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2841 $as_echo_n "checking build system type... " >&6; }
   2842 if ${ac_cv_build+:} false; then :
   2843   $as_echo_n "(cached) " >&6
   2844 else
   2845   ac_build_alias=$build_alias
   2846 test "x$ac_build_alias" = x &&
   2847   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2848 test "x$ac_build_alias" = x &&
   2849   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2850 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2851   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2852 
   2853 fi
   2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2855 $as_echo "$ac_cv_build" >&6; }
   2856 case $ac_cv_build in
   2857 *-*-*) ;;
   2858 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2859 esac
   2860 build=$ac_cv_build
   2861 ac_save_IFS=$IFS; IFS='-'
   2862 set x $ac_cv_build
   2863 shift
   2864 build_cpu=$1
   2865 build_vendor=$2
   2866 shift; shift
   2867 # Remember, the first character of IFS is used to create $*,
   2868 # except with old shells:
   2869 build_os=$*
   2870 IFS=$ac_save_IFS
   2871 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2872 
   2873 
   2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2875 $as_echo_n "checking host system type... " >&6; }
   2876 if ${ac_cv_host+:} false; then :
   2877   $as_echo_n "(cached) " >&6
   2878 else
   2879   if test "x$host_alias" = x; then
   2880   ac_cv_host=$ac_cv_build
   2881 else
   2882   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2883     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2884 fi
   2885 
   2886 fi
   2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2888 $as_echo "$ac_cv_host" >&6; }
   2889 case $ac_cv_host in
   2890 *-*-*) ;;
   2891 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2892 esac
   2893 host=$ac_cv_host
   2894 ac_save_IFS=$IFS; IFS='-'
   2895 set x $ac_cv_host
   2896 shift
   2897 host_cpu=$1
   2898 host_vendor=$2
   2899 shift; shift
   2900 # Remember, the first character of IFS is used to create $*,
   2901 # except with old shells:
   2902 host_os=$*
   2903 IFS=$ac_save_IFS
   2904 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2905 
   2906 
   2907 # Backslashify metacharacters that are still active within
   2908 # double-quoted strings.
   2909 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2910 
   2911 # Same as above, but do not quote variable references.
   2912 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2913 
   2914 # Sed substitution to delay expansion of an escaped shell variable in a
   2915 # double_quote_subst'ed string.
   2916 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2917 
   2918 # Sed substitution to delay expansion of an escaped single quote.
   2919 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2920 
   2921 # Sed substitution to avoid accidental globbing in evaled expressions
   2922 no_glob_subst='s/\*/\\\*/g'
   2923 
   2924 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2925 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2926 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2927 
   2928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2929 $as_echo_n "checking how to print strings... " >&6; }
   2930 # Test print first, because it will be a builtin if present.
   2931 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2932    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2933   ECHO='print -r --'
   2934 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2935   ECHO='printf %s\n'
   2936 else
   2937   # Use this function as a fallback that always works.
   2938   func_fallback_echo ()
   2939   {
   2940     eval 'cat <<_LTECHO_EOF
   2941 $1
   2942 _LTECHO_EOF'
   2943   }
   2944   ECHO='func_fallback_echo'
   2945 fi
   2946 
   2947 # func_echo_all arg...
   2948 # Invoke $ECHO with all args, space-separated.
   2949 func_echo_all ()
   2950 {
   2951     $ECHO ""
   2952 }
   2953 
   2954 case "$ECHO" in
   2955   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2956 $as_echo "printf" >&6; } ;;
   2957   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2958 $as_echo "print -r" >&6; } ;;
   2959   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2960 $as_echo "cat" >&6; } ;;
   2961 esac
   2962 
   2963 
   2964 
   2965 
   2966 
   2967 
   2968 
   2969 
   2970 
   2971 
   2972 
   2973 
   2974 
   2975 
   2976 DEPDIR="${am__leading_dot}deps"
   2977 
   2978 ac_config_commands="$ac_config_commands depfiles"
   2979 
   2980 
   2981 am_make=${MAKE-make}
   2982 cat > confinc << 'END'
   2983 am__doit:
   2984 	@echo this is the am__doit target
   2985 .PHONY: am__doit
   2986 END
   2987 # If we don't find an include directive, just comment out the code.
   2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2989 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2990 am__include="#"
   2991 am__quote=
   2992 _am_result=none
   2993 # First try GNU make style include.
   2994 echo "include confinc" > confmf
   2995 # Ignore all kinds of additional output from 'make'.
   2996 case `$am_make -s -f confmf 2> /dev/null` in #(
   2997 *the\ am__doit\ target*)
   2998   am__include=include
   2999   am__quote=
   3000   _am_result=GNU
   3001   ;;
   3002 esac
   3003 # Now try BSD make style include.
   3004 if test "$am__include" = "#"; then
   3005    echo '.include "confinc"' > confmf
   3006    case `$am_make -s -f confmf 2> /dev/null` in #(
   3007    *the\ am__doit\ target*)
   3008      am__include=.include
   3009      am__quote="\""
   3010      _am_result=BSD
   3011      ;;
   3012    esac
   3013 fi
   3014 
   3015 
   3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3017 $as_echo "$_am_result" >&6; }
   3018 rm -f confinc confmf
   3019 
   3020 # Check whether --enable-dependency-tracking was given.
   3021 if test "${enable_dependency_tracking+set}" = set; then :
   3022   enableval=$enable_dependency_tracking;
   3023 fi
   3024 
   3025 if test "x$enable_dependency_tracking" != xno; then
   3026   am_depcomp="$ac_aux_dir/depcomp"
   3027   AMDEPBACKSLASH='\'
   3028   am__nodep='_no'
   3029 fi
   3030  if test "x$enable_dependency_tracking" != xno; then
   3031   AMDEP_TRUE=
   3032   AMDEP_FALSE='#'
   3033 else
   3034   AMDEP_TRUE='#'
   3035   AMDEP_FALSE=
   3036 fi
   3037 
   3038 
   3039 ac_ext=c
   3040 ac_cpp='$CPP $CPPFLAGS'
   3041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3044 if test -n "$ac_tool_prefix"; then
   3045   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3046 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3048 $as_echo_n "checking for $ac_word... " >&6; }
   3049 if ${ac_cv_prog_CC+:} false; then :
   3050   $as_echo_n "(cached) " >&6
   3051 else
   3052   if test -n "$CC"; then
   3053   ac_cv_prog_CC="$CC" # Let the user override the test.
   3054 else
   3055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3056 for as_dir in $PATH
   3057 do
   3058   IFS=$as_save_IFS
   3059   test -z "$as_dir" && as_dir=.
   3060     for ac_exec_ext in '' $ac_executable_extensions; do
   3061   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3062     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3063     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3064     break 2
   3065   fi
   3066 done
   3067   done
   3068 IFS=$as_save_IFS
   3069 
   3070 fi
   3071 fi
   3072 CC=$ac_cv_prog_CC
   3073 if test -n "$CC"; then
   3074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3075 $as_echo "$CC" >&6; }
   3076 else
   3077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3078 $as_echo "no" >&6; }
   3079 fi
   3080 
   3081 
   3082 fi
   3083 if test -z "$ac_cv_prog_CC"; then
   3084   ac_ct_CC=$CC
   3085   # Extract the first word of "gcc", so it can be a program name with args.
   3086 set dummy gcc; ac_word=$2
   3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3088 $as_echo_n "checking for $ac_word... " >&6; }
   3089 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3090   $as_echo_n "(cached) " >&6
   3091 else
   3092   if test -n "$ac_ct_CC"; then
   3093   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3094 else
   3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3096 for as_dir in $PATH
   3097 do
   3098   IFS=$as_save_IFS
   3099   test -z "$as_dir" && as_dir=.
   3100     for ac_exec_ext in '' $ac_executable_extensions; do
   3101   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3102     ac_cv_prog_ac_ct_CC="gcc"
   3103     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3104     break 2
   3105   fi
   3106 done
   3107   done
   3108 IFS=$as_save_IFS
   3109 
   3110 fi
   3111 fi
   3112 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3113 if test -n "$ac_ct_CC"; then
   3114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3115 $as_echo "$ac_ct_CC" >&6; }
   3116 else
   3117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3118 $as_echo "no" >&6; }
   3119 fi
   3120 
   3121   if test "x$ac_ct_CC" = x; then
   3122     CC=""
   3123   else
   3124     case $cross_compiling:$ac_tool_warned in
   3125 yes:)
   3126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3127 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3128 ac_tool_warned=yes ;;
   3129 esac
   3130     CC=$ac_ct_CC
   3131   fi
   3132 else
   3133   CC="$ac_cv_prog_CC"
   3134 fi
   3135 
   3136 if test -z "$CC"; then
   3137           if test -n "$ac_tool_prefix"; then
   3138     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3139 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3141 $as_echo_n "checking for $ac_word... " >&6; }
   3142 if ${ac_cv_prog_CC+:} false; then :
   3143   $as_echo_n "(cached) " >&6
   3144 else
   3145   if test -n "$CC"; then
   3146   ac_cv_prog_CC="$CC" # Let the user override the test.
   3147 else
   3148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3149 for as_dir in $PATH
   3150 do
   3151   IFS=$as_save_IFS
   3152   test -z "$as_dir" && as_dir=.
   3153     for ac_exec_ext in '' $ac_executable_extensions; do
   3154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3155     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3157     break 2
   3158   fi
   3159 done
   3160   done
   3161 IFS=$as_save_IFS
   3162 
   3163 fi
   3164 fi
   3165 CC=$ac_cv_prog_CC
   3166 if test -n "$CC"; then
   3167   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3168 $as_echo "$CC" >&6; }
   3169 else
   3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3171 $as_echo "no" >&6; }
   3172 fi
   3173 
   3174 
   3175   fi
   3176 fi
   3177 if test -z "$CC"; then
   3178   # Extract the first word of "cc", so it can be a program name with args.
   3179 set dummy cc; ac_word=$2
   3180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3181 $as_echo_n "checking for $ac_word... " >&6; }
   3182 if ${ac_cv_prog_CC+:} false; then :
   3183   $as_echo_n "(cached) " >&6
   3184 else
   3185   if test -n "$CC"; then
   3186   ac_cv_prog_CC="$CC" # Let the user override the test.
   3187 else
   3188   ac_prog_rejected=no
   3189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3190 for as_dir in $PATH
   3191 do
   3192   IFS=$as_save_IFS
   3193   test -z "$as_dir" && as_dir=.
   3194     for ac_exec_ext in '' $ac_executable_extensions; do
   3195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3196     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3197        ac_prog_rejected=yes
   3198        continue
   3199      fi
   3200     ac_cv_prog_CC="cc"
   3201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3202     break 2
   3203   fi
   3204 done
   3205   done
   3206 IFS=$as_save_IFS
   3207 
   3208 if test $ac_prog_rejected = yes; then
   3209   # We found a bogon in the path, so make sure we never use it.
   3210   set dummy $ac_cv_prog_CC
   3211   shift
   3212   if test $# != 0; then
   3213     # We chose a different compiler from the bogus one.
   3214     # However, it has the same basename, so the bogon will be chosen
   3215     # first if we set CC to just the basename; use the full file name.
   3216     shift
   3217     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3218   fi
   3219 fi
   3220 fi
   3221 fi
   3222 CC=$ac_cv_prog_CC
   3223 if test -n "$CC"; then
   3224   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3225 $as_echo "$CC" >&6; }
   3226 else
   3227   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3228 $as_echo "no" >&6; }
   3229 fi
   3230 
   3231 
   3232 fi
   3233 if test -z "$CC"; then
   3234   if test -n "$ac_tool_prefix"; then
   3235   for ac_prog in cl.exe
   3236   do
   3237     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3238 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3240 $as_echo_n "checking for $ac_word... " >&6; }
   3241 if ${ac_cv_prog_CC+:} false; then :
   3242   $as_echo_n "(cached) " >&6
   3243 else
   3244   if test -n "$CC"; then
   3245   ac_cv_prog_CC="$CC" # Let the user override the test.
   3246 else
   3247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3248 for as_dir in $PATH
   3249 do
   3250   IFS=$as_save_IFS
   3251   test -z "$as_dir" && as_dir=.
   3252     for ac_exec_ext in '' $ac_executable_extensions; do
   3253   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3254     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3255     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3256     break 2
   3257   fi
   3258 done
   3259   done
   3260 IFS=$as_save_IFS
   3261 
   3262 fi
   3263 fi
   3264 CC=$ac_cv_prog_CC
   3265 if test -n "$CC"; then
   3266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3267 $as_echo "$CC" >&6; }
   3268 else
   3269   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3270 $as_echo "no" >&6; }
   3271 fi
   3272 
   3273 
   3274     test -n "$CC" && break
   3275   done
   3276 fi
   3277 if test -z "$CC"; then
   3278   ac_ct_CC=$CC
   3279   for ac_prog in cl.exe
   3280 do
   3281   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3282 set dummy $ac_prog; ac_word=$2
   3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3284 $as_echo_n "checking for $ac_word... " >&6; }
   3285 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3286   $as_echo_n "(cached) " >&6
   3287 else
   3288   if test -n "$ac_ct_CC"; then
   3289   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3290 else
   3291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3292 for as_dir in $PATH
   3293 do
   3294   IFS=$as_save_IFS
   3295   test -z "$as_dir" && as_dir=.
   3296     for ac_exec_ext in '' $ac_executable_extensions; do
   3297   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3298     ac_cv_prog_ac_ct_CC="$ac_prog"
   3299     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3300     break 2
   3301   fi
   3302 done
   3303   done
   3304 IFS=$as_save_IFS
   3305 
   3306 fi
   3307 fi
   3308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3309 if test -n "$ac_ct_CC"; then
   3310   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3311 $as_echo "$ac_ct_CC" >&6; }
   3312 else
   3313   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3314 $as_echo "no" >&6; }
   3315 fi
   3316 
   3317 
   3318   test -n "$ac_ct_CC" && break
   3319 done
   3320 
   3321   if test "x$ac_ct_CC" = x; then
   3322     CC=""
   3323   else
   3324     case $cross_compiling:$ac_tool_warned in
   3325 yes:)
   3326 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3327 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3328 ac_tool_warned=yes ;;
   3329 esac
   3330     CC=$ac_ct_CC
   3331   fi
   3332 fi
   3333 
   3334 fi
   3335 
   3336 
   3337 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3339 as_fn_error $? "no acceptable C compiler found in \$PATH
   3340 See \`config.log' for more details" "$LINENO" 5; }
   3341 
   3342 # Provide some information about the compiler.
   3343 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3344 set X $ac_compile
   3345 ac_compiler=$2
   3346 for ac_option in --version -v -V -qversion; do
   3347   { { ac_try="$ac_compiler $ac_option >&5"
   3348 case "(($ac_try" in
   3349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3350   *) ac_try_echo=$ac_try;;
   3351 esac
   3352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3353 $as_echo "$ac_try_echo"; } >&5
   3354   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3355   ac_status=$?
   3356   if test -s conftest.err; then
   3357     sed '10a\
   3358 ... rest of stderr output deleted ...
   3359          10q' conftest.err >conftest.er1
   3360     cat conftest.er1 >&5
   3361   fi
   3362   rm -f conftest.er1 conftest.err
   3363   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3364   test $ac_status = 0; }
   3365 done
   3366 
   3367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3368 /* end confdefs.h.  */
   3369 
   3370 int
   3371 main ()
   3372 {
   3373 
   3374   ;
   3375   return 0;
   3376 }
   3377 _ACEOF
   3378 ac_clean_files_save=$ac_clean_files
   3379 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3380 # Try to create an executable without -o first, disregard a.out.
   3381 # It will help us diagnose broken compilers, and finding out an intuition
   3382 # of exeext.
   3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3384 $as_echo_n "checking whether the C compiler works... " >&6; }
   3385 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3386 
   3387 # The possible output files:
   3388 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3389 
   3390 ac_rmfiles=
   3391 for ac_file in $ac_files
   3392 do
   3393   case $ac_file in
   3394     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3395     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3396   esac
   3397 done
   3398 rm -f $ac_rmfiles
   3399 
   3400 if { { ac_try="$ac_link_default"
   3401 case "(($ac_try" in
   3402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3403   *) ac_try_echo=$ac_try;;
   3404 esac
   3405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3406 $as_echo "$ac_try_echo"; } >&5
   3407   (eval "$ac_link_default") 2>&5
   3408   ac_status=$?
   3409   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3410   test $ac_status = 0; }; then :
   3411   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3412 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3413 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3414 # so that the user can short-circuit this test for compilers unknown to
   3415 # Autoconf.
   3416 for ac_file in $ac_files ''
   3417 do
   3418   test -f "$ac_file" || continue
   3419   case $ac_file in
   3420     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3421 	;;
   3422     [ab].out )
   3423 	# We found the default executable, but exeext='' is most
   3424 	# certainly right.
   3425 	break;;
   3426     *.* )
   3427 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3428 	then :; else
   3429 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3430 	fi
   3431 	# We set ac_cv_exeext here because the later test for it is not
   3432 	# safe: cross compilers may not add the suffix if given an `-o'
   3433 	# argument, so we may need to know it at that point already.
   3434 	# Even if this section looks crufty: it has the advantage of
   3435 	# actually working.
   3436 	break;;
   3437     * )
   3438 	break;;
   3439   esac
   3440 done
   3441 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3442 
   3443 else
   3444   ac_file=''
   3445 fi
   3446 if test -z "$ac_file"; then :
   3447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3448 $as_echo "no" >&6; }
   3449 $as_echo "$as_me: failed program was:" >&5
   3450 sed 's/^/| /' conftest.$ac_ext >&5
   3451 
   3452 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3454 as_fn_error 77 "C compiler cannot create executables
   3455 See \`config.log' for more details" "$LINENO" 5; }
   3456 else
   3457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3458 $as_echo "yes" >&6; }
   3459 fi
   3460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3461 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3463 $as_echo "$ac_file" >&6; }
   3464 ac_exeext=$ac_cv_exeext
   3465 
   3466 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3467 ac_clean_files=$ac_clean_files_save
   3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3469 $as_echo_n "checking for suffix of executables... " >&6; }
   3470 if { { ac_try="$ac_link"
   3471 case "(($ac_try" in
   3472   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3473   *) ac_try_echo=$ac_try;;
   3474 esac
   3475 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3476 $as_echo "$ac_try_echo"; } >&5
   3477   (eval "$ac_link") 2>&5
   3478   ac_status=$?
   3479   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3480   test $ac_status = 0; }; then :
   3481   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3482 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3483 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3484 # `rm'.
   3485 for ac_file in conftest.exe conftest conftest.*; do
   3486   test -f "$ac_file" || continue
   3487   case $ac_file in
   3488     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3489     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3490 	  break;;
   3491     * ) break;;
   3492   esac
   3493 done
   3494 else
   3495   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3497 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3498 See \`config.log' for more details" "$LINENO" 5; }
   3499 fi
   3500 rm -f conftest conftest$ac_cv_exeext
   3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3502 $as_echo "$ac_cv_exeext" >&6; }
   3503 
   3504 rm -f conftest.$ac_ext
   3505 EXEEXT=$ac_cv_exeext
   3506 ac_exeext=$EXEEXT
   3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3508 /* end confdefs.h.  */
   3509 #include <stdio.h>
   3510 int
   3511 main ()
   3512 {
   3513 FILE *f = fopen ("conftest.out", "w");
   3514  return ferror (f) || fclose (f) != 0;
   3515 
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 ac_clean_files="$ac_clean_files conftest.out"
   3521 # Check that the compiler produces executables we can run.  If not, either
   3522 # the compiler is broken, or we cross compile.
   3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3524 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3525 if test "$cross_compiling" != yes; then
   3526   { { ac_try="$ac_link"
   3527 case "(($ac_try" in
   3528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3529   *) ac_try_echo=$ac_try;;
   3530 esac
   3531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3532 $as_echo "$ac_try_echo"; } >&5
   3533   (eval "$ac_link") 2>&5
   3534   ac_status=$?
   3535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3536   test $ac_status = 0; }
   3537   if { ac_try='./conftest$ac_cv_exeext'
   3538   { { case "(($ac_try" in
   3539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3540   *) ac_try_echo=$ac_try;;
   3541 esac
   3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3543 $as_echo "$ac_try_echo"; } >&5
   3544   (eval "$ac_try") 2>&5
   3545   ac_status=$?
   3546   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3547   test $ac_status = 0; }; }; then
   3548     cross_compiling=no
   3549   else
   3550     if test "$cross_compiling" = maybe; then
   3551 	cross_compiling=yes
   3552     else
   3553 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3555 as_fn_error $? "cannot run C compiled programs.
   3556 If you meant to cross compile, use \`--host'.
   3557 See \`config.log' for more details" "$LINENO" 5; }
   3558     fi
   3559   fi
   3560 fi
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3562 $as_echo "$cross_compiling" >&6; }
   3563 
   3564 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3565 ac_clean_files=$ac_clean_files_save
   3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3567 $as_echo_n "checking for suffix of object files... " >&6; }
   3568 if ${ac_cv_objext+:} false; then :
   3569   $as_echo_n "(cached) " >&6
   3570 else
   3571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3572 /* end confdefs.h.  */
   3573 
   3574 int
   3575 main ()
   3576 {
   3577 
   3578   ;
   3579   return 0;
   3580 }
   3581 _ACEOF
   3582 rm -f conftest.o conftest.obj
   3583 if { { ac_try="$ac_compile"
   3584 case "(($ac_try" in
   3585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3586   *) ac_try_echo=$ac_try;;
   3587 esac
   3588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3589 $as_echo "$ac_try_echo"; } >&5
   3590   (eval "$ac_compile") 2>&5
   3591   ac_status=$?
   3592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3593   test $ac_status = 0; }; then :
   3594   for ac_file in conftest.o conftest.obj conftest.*; do
   3595   test -f "$ac_file" || continue;
   3596   case $ac_file in
   3597     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3598     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3599        break;;
   3600   esac
   3601 done
   3602 else
   3603   $as_echo "$as_me: failed program was:" >&5
   3604 sed 's/^/| /' conftest.$ac_ext >&5
   3605 
   3606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3608 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3609 See \`config.log' for more details" "$LINENO" 5; }
   3610 fi
   3611 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3612 fi
   3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3614 $as_echo "$ac_cv_objext" >&6; }
   3615 OBJEXT=$ac_cv_objext
   3616 ac_objext=$OBJEXT
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3618 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3619 if ${ac_cv_c_compiler_gnu+:} false; then :
   3620   $as_echo_n "(cached) " >&6
   3621 else
   3622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3623 /* end confdefs.h.  */
   3624 
   3625 int
   3626 main ()
   3627 {
   3628 #ifndef __GNUC__
   3629        choke me
   3630 #endif
   3631 
   3632   ;
   3633   return 0;
   3634 }
   3635 _ACEOF
   3636 if ac_fn_c_try_compile "$LINENO"; then :
   3637   ac_compiler_gnu=yes
   3638 else
   3639   ac_compiler_gnu=no
   3640 fi
   3641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3642 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3643 
   3644 fi
   3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3646 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3647 if test $ac_compiler_gnu = yes; then
   3648   GCC=yes
   3649 else
   3650   GCC=
   3651 fi
   3652 ac_test_CFLAGS=${CFLAGS+set}
   3653 ac_save_CFLAGS=$CFLAGS
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3655 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3656 if ${ac_cv_prog_cc_g+:} false; then :
   3657   $as_echo_n "(cached) " >&6
   3658 else
   3659   ac_save_c_werror_flag=$ac_c_werror_flag
   3660    ac_c_werror_flag=yes
   3661    ac_cv_prog_cc_g=no
   3662    CFLAGS="-g"
   3663    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3664 /* end confdefs.h.  */
   3665 
   3666 int
   3667 main ()
   3668 {
   3669 
   3670   ;
   3671   return 0;
   3672 }
   3673 _ACEOF
   3674 if ac_fn_c_try_compile "$LINENO"; then :
   3675   ac_cv_prog_cc_g=yes
   3676 else
   3677   CFLAGS=""
   3678       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3679 /* end confdefs.h.  */
   3680 
   3681 int
   3682 main ()
   3683 {
   3684 
   3685   ;
   3686   return 0;
   3687 }
   3688 _ACEOF
   3689 if ac_fn_c_try_compile "$LINENO"; then :
   3690 
   3691 else
   3692   ac_c_werror_flag=$ac_save_c_werror_flag
   3693 	 CFLAGS="-g"
   3694 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3695 /* end confdefs.h.  */
   3696 
   3697 int
   3698 main ()
   3699 {
   3700 
   3701   ;
   3702   return 0;
   3703 }
   3704 _ACEOF
   3705 if ac_fn_c_try_compile "$LINENO"; then :
   3706   ac_cv_prog_cc_g=yes
   3707 fi
   3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3709 fi
   3710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3711 fi
   3712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3713    ac_c_werror_flag=$ac_save_c_werror_flag
   3714 fi
   3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3716 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3717 if test "$ac_test_CFLAGS" = set; then
   3718   CFLAGS=$ac_save_CFLAGS
   3719 elif test $ac_cv_prog_cc_g = yes; then
   3720   if test "$GCC" = yes; then
   3721     CFLAGS="-g -O2"
   3722   else
   3723     CFLAGS="-g"
   3724   fi
   3725 else
   3726   if test "$GCC" = yes; then
   3727     CFLAGS="-O2"
   3728   else
   3729     CFLAGS=
   3730   fi
   3731 fi
   3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3733 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3734 if ${ac_cv_prog_cc_c89+:} false; then :
   3735   $as_echo_n "(cached) " >&6
   3736 else
   3737   ac_cv_prog_cc_c89=no
   3738 ac_save_CC=$CC
   3739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3740 /* end confdefs.h.  */
   3741 #include <stdarg.h>
   3742 #include <stdio.h>
   3743 #include <sys/types.h>
   3744 #include <sys/stat.h>
   3745 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3746 struct buf { int x; };
   3747 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3748 static char *e (p, i)
   3749      char **p;
   3750      int i;
   3751 {
   3752   return p[i];
   3753 }
   3754 static char *f (char * (*g) (char **, int), char **p, ...)
   3755 {
   3756   char *s;
   3757   va_list v;
   3758   va_start (v,p);
   3759   s = g (p, va_arg (v,int));
   3760   va_end (v);
   3761   return s;
   3762 }
   3763 
   3764 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3765    function prototypes and stuff, but not '\xHH' hex character constants.
   3766    These don't provoke an error unfortunately, instead are silently treated
   3767    as 'x'.  The following induces an error, until -std is added to get
   3768    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3769    array size at least.  It's necessary to write '\x00'==0 to get something
   3770    that's true only with -std.  */
   3771 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3772 
   3773 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3774    inside strings and character constants.  */
   3775 #define FOO(x) 'x'
   3776 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3777 
   3778 int test (int i, double x);
   3779 struct s1 {int (*f) (int a);};
   3780 struct s2 {int (*f) (double a);};
   3781 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3782 int argc;
   3783 char **argv;
   3784 int
   3785 main ()
   3786 {
   3787 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3788   ;
   3789   return 0;
   3790 }
   3791 _ACEOF
   3792 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3793 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3794 do
   3795   CC="$ac_save_CC $ac_arg"
   3796   if ac_fn_c_try_compile "$LINENO"; then :
   3797   ac_cv_prog_cc_c89=$ac_arg
   3798 fi
   3799 rm -f core conftest.err conftest.$ac_objext
   3800   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3801 done
   3802 rm -f conftest.$ac_ext
   3803 CC=$ac_save_CC
   3804 
   3805 fi
   3806 # AC_CACHE_VAL
   3807 case "x$ac_cv_prog_cc_c89" in
   3808   x)
   3809     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3810 $as_echo "none needed" >&6; } ;;
   3811   xno)
   3812     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3813 $as_echo "unsupported" >&6; } ;;
   3814   *)
   3815     CC="$CC $ac_cv_prog_cc_c89"
   3816     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3817 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3818 esac
   3819 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3820 
   3821 fi
   3822 
   3823 ac_ext=c
   3824 ac_cpp='$CPP $CPPFLAGS'
   3825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3828 
   3829 ac_ext=c
   3830 ac_cpp='$CPP $CPPFLAGS'
   3831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3835 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3836 if ${am_cv_prog_cc_c_o+:} false; then :
   3837   $as_echo_n "(cached) " >&6
   3838 else
   3839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3840 /* end confdefs.h.  */
   3841 
   3842 int
   3843 main ()
   3844 {
   3845 
   3846   ;
   3847   return 0;
   3848 }
   3849 _ACEOF
   3850   # Make sure it works both with $CC and with simple cc.
   3851   # Following AC_PROG_CC_C_O, we do the test twice because some
   3852   # compilers refuse to overwrite an existing .o file with -o,
   3853   # though they will create one.
   3854   am_cv_prog_cc_c_o=yes
   3855   for am_i in 1 2; do
   3856     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3857    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3858    ac_status=$?
   3859    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3860    (exit $ac_status); } \
   3861          && test -f conftest2.$ac_objext; then
   3862       : OK
   3863     else
   3864       am_cv_prog_cc_c_o=no
   3865       break
   3866     fi
   3867   done
   3868   rm -f core conftest*
   3869   unset am_i
   3870 fi
   3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3872 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3873 if test "$am_cv_prog_cc_c_o" != yes; then
   3874    # Losing compiler, so override with the script.
   3875    # FIXME: It is wrong to rewrite CC.
   3876    # But if we don't then we get into trouble of one sort or another.
   3877    # A longer-term fix would be to have automake use am__CC in this case,
   3878    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3879    CC="$am_aux_dir/compile $CC"
   3880 fi
   3881 ac_ext=c
   3882 ac_cpp='$CPP $CPPFLAGS'
   3883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3886 
   3887 
   3888 depcc="$CC"   am_compiler_list=
   3889 
   3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3891 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3892 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3893   $as_echo_n "(cached) " >&6
   3894 else
   3895   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3896   # We make a subdir and do the tests there.  Otherwise we can end up
   3897   # making bogus files that we don't know about and never remove.  For
   3898   # instance it was reported that on HP-UX the gcc test will end up
   3899   # making a dummy file named 'D' -- because '-MD' means "put the output
   3900   # in D".
   3901   rm -rf conftest.dir
   3902   mkdir conftest.dir
   3903   # Copy depcomp to subdir because otherwise we won't find it if we're
   3904   # using a relative directory.
   3905   cp "$am_depcomp" conftest.dir
   3906   cd conftest.dir
   3907   # We will build objects and dependencies in a subdirectory because
   3908   # it helps to detect inapplicable dependency modes.  For instance
   3909   # both Tru64's cc and ICC support -MD to output dependencies as a
   3910   # side effect of compilation, but ICC will put the dependencies in
   3911   # the current directory while Tru64 will put them in the object
   3912   # directory.
   3913   mkdir sub
   3914 
   3915   am_cv_CC_dependencies_compiler_type=none
   3916   if test "$am_compiler_list" = ""; then
   3917      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3918   fi
   3919   am__universal=false
   3920   case " $depcc " in #(
   3921      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3922      esac
   3923 
   3924   for depmode in $am_compiler_list; do
   3925     # Setup a source with many dependencies, because some compilers
   3926     # like to wrap large dependency lists on column 80 (with \), and
   3927     # we should not choose a depcomp mode which is confused by this.
   3928     #
   3929     # We need to recreate these files for each test, as the compiler may
   3930     # overwrite some of them when testing with obscure command lines.
   3931     # This happens at least with the AIX C compiler.
   3932     : > sub/conftest.c
   3933     for i in 1 2 3 4 5 6; do
   3934       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3935       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3936       # Solaris 10 /bin/sh.
   3937       echo '/* dummy */' > sub/conftst$i.h
   3938     done
   3939     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3940 
   3941     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3942     # mode.  It turns out that the SunPro C++ compiler does not properly
   3943     # handle '-M -o', and we need to detect this.  Also, some Intel
   3944     # versions had trouble with output in subdirs.
   3945     am__obj=sub/conftest.${OBJEXT-o}
   3946     am__minus_obj="-o $am__obj"
   3947     case $depmode in
   3948     gcc)
   3949       # This depmode causes a compiler race in universal mode.
   3950       test "$am__universal" = false || continue
   3951       ;;
   3952     nosideeffect)
   3953       # After this tag, mechanisms are not by side-effect, so they'll
   3954       # only be used when explicitly requested.
   3955       if test "x$enable_dependency_tracking" = xyes; then
   3956 	continue
   3957       else
   3958 	break
   3959       fi
   3960       ;;
   3961     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3962       # This compiler won't grok '-c -o', but also, the minuso test has
   3963       # not run yet.  These depmodes are late enough in the game, and
   3964       # so weak that their functioning should not be impacted.
   3965       am__obj=conftest.${OBJEXT-o}
   3966       am__minus_obj=
   3967       ;;
   3968     none) break ;;
   3969     esac
   3970     if depmode=$depmode \
   3971        source=sub/conftest.c object=$am__obj \
   3972        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3973        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3974          >/dev/null 2>conftest.err &&
   3975        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3976        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3977        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3978        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3979       # icc doesn't choke on unknown options, it will just issue warnings
   3980       # or remarks (even with -Werror).  So we grep stderr for any message
   3981       # that says an option was ignored or not supported.
   3982       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3983       #   icc: Command line warning: ignoring option '-M'; no argument required
   3984       # The diagnosis changed in icc 8.0:
   3985       #   icc: Command line remark: option '-MP' not supported
   3986       if (grep 'ignoring option' conftest.err ||
   3987           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3988         am_cv_CC_dependencies_compiler_type=$depmode
   3989         break
   3990       fi
   3991     fi
   3992   done
   3993 
   3994   cd ..
   3995   rm -rf conftest.dir
   3996 else
   3997   am_cv_CC_dependencies_compiler_type=none
   3998 fi
   3999 
   4000 fi
   4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4002 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4003 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4004 
   4005  if
   4006   test "x$enable_dependency_tracking" != xno \
   4007   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4008   am__fastdepCC_TRUE=
   4009   am__fastdepCC_FALSE='#'
   4010 else
   4011   am__fastdepCC_TRUE='#'
   4012   am__fastdepCC_FALSE=
   4013 fi
   4014 
   4015 
   4016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4017 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4018 if ${ac_cv_path_SED+:} false; then :
   4019   $as_echo_n "(cached) " >&6
   4020 else
   4021             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4022      for ac_i in 1 2 3 4 5 6 7; do
   4023        ac_script="$ac_script$as_nl$ac_script"
   4024      done
   4025      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4026      { ac_script=; unset ac_script;}
   4027      if test -z "$SED"; then
   4028   ac_path_SED_found=false
   4029   # Loop through the user's path and test for each of PROGNAME-LIST
   4030   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4031 for as_dir in $PATH
   4032 do
   4033   IFS=$as_save_IFS
   4034   test -z "$as_dir" && as_dir=.
   4035     for ac_prog in sed gsed; do
   4036     for ac_exec_ext in '' $ac_executable_extensions; do
   4037       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4038       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4039 # Check for GNU ac_path_SED and select it if it is found.
   4040   # Check for GNU $ac_path_SED
   4041 case `"$ac_path_SED" --version 2>&1` in
   4042 *GNU*)
   4043   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4044 *)
   4045   ac_count=0
   4046   $as_echo_n 0123456789 >"conftest.in"
   4047   while :
   4048   do
   4049     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4050     mv "conftest.tmp" "conftest.in"
   4051     cp "conftest.in" "conftest.nl"
   4052     $as_echo '' >> "conftest.nl"
   4053     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4054     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4055     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4056     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4057       # Best one so far, save it but keep looking for a better one
   4058       ac_cv_path_SED="$ac_path_SED"
   4059       ac_path_SED_max=$ac_count
   4060     fi
   4061     # 10*(2^10) chars as input seems more than enough
   4062     test $ac_count -gt 10 && break
   4063   done
   4064   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4065 esac
   4066 
   4067       $ac_path_SED_found && break 3
   4068     done
   4069   done
   4070   done
   4071 IFS=$as_save_IFS
   4072   if test -z "$ac_cv_path_SED"; then
   4073     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4074   fi
   4075 else
   4076   ac_cv_path_SED=$SED
   4077 fi
   4078 
   4079 fi
   4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4081 $as_echo "$ac_cv_path_SED" >&6; }
   4082  SED="$ac_cv_path_SED"
   4083   rm -f conftest.sed
   4084 
   4085 test -z "$SED" && SED=sed
   4086 Xsed="$SED -e 1s/^X//"
   4087 
   4088 
   4089 
   4090 
   4091 
   4092 
   4093 
   4094 
   4095 
   4096 
   4097 
   4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4099 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4100 if ${ac_cv_path_GREP+:} false; then :
   4101   $as_echo_n "(cached) " >&6
   4102 else
   4103   if test -z "$GREP"; then
   4104   ac_path_GREP_found=false
   4105   # Loop through the user's path and test for each of PROGNAME-LIST
   4106   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4107 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4108 do
   4109   IFS=$as_save_IFS
   4110   test -z "$as_dir" && as_dir=.
   4111     for ac_prog in grep ggrep; do
   4112     for ac_exec_ext in '' $ac_executable_extensions; do
   4113       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4114       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4115 # Check for GNU ac_path_GREP and select it if it is found.
   4116   # Check for GNU $ac_path_GREP
   4117 case `"$ac_path_GREP" --version 2>&1` in
   4118 *GNU*)
   4119   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4120 *)
   4121   ac_count=0
   4122   $as_echo_n 0123456789 >"conftest.in"
   4123   while :
   4124   do
   4125     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4126     mv "conftest.tmp" "conftest.in"
   4127     cp "conftest.in" "conftest.nl"
   4128     $as_echo 'GREP' >> "conftest.nl"
   4129     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4130     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4131     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4132     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4133       # Best one so far, save it but keep looking for a better one
   4134       ac_cv_path_GREP="$ac_path_GREP"
   4135       ac_path_GREP_max=$ac_count
   4136     fi
   4137     # 10*(2^10) chars as input seems more than enough
   4138     test $ac_count -gt 10 && break
   4139   done
   4140   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4141 esac
   4142 
   4143       $ac_path_GREP_found && break 3
   4144     done
   4145   done
   4146   done
   4147 IFS=$as_save_IFS
   4148   if test -z "$ac_cv_path_GREP"; then
   4149     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4150   fi
   4151 else
   4152   ac_cv_path_GREP=$GREP
   4153 fi
   4154 
   4155 fi
   4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4157 $as_echo "$ac_cv_path_GREP" >&6; }
   4158  GREP="$ac_cv_path_GREP"
   4159 
   4160 
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4162 $as_echo_n "checking for egrep... " >&6; }
   4163 if ${ac_cv_path_EGREP+:} false; then :
   4164   $as_echo_n "(cached) " >&6
   4165 else
   4166   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4167    then ac_cv_path_EGREP="$GREP -E"
   4168    else
   4169      if test -z "$EGREP"; then
   4170   ac_path_EGREP_found=false
   4171   # Loop through the user's path and test for each of PROGNAME-LIST
   4172   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4173 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4174 do
   4175   IFS=$as_save_IFS
   4176   test -z "$as_dir" && as_dir=.
   4177     for ac_prog in egrep; do
   4178     for ac_exec_ext in '' $ac_executable_extensions; do
   4179       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4180       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4181 # Check for GNU ac_path_EGREP and select it if it is found.
   4182   # Check for GNU $ac_path_EGREP
   4183 case `"$ac_path_EGREP" --version 2>&1` in
   4184 *GNU*)
   4185   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4186 *)
   4187   ac_count=0
   4188   $as_echo_n 0123456789 >"conftest.in"
   4189   while :
   4190   do
   4191     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4192     mv "conftest.tmp" "conftest.in"
   4193     cp "conftest.in" "conftest.nl"
   4194     $as_echo 'EGREP' >> "conftest.nl"
   4195     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4196     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4197     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4198     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4199       # Best one so far, save it but keep looking for a better one
   4200       ac_cv_path_EGREP="$ac_path_EGREP"
   4201       ac_path_EGREP_max=$ac_count
   4202     fi
   4203     # 10*(2^10) chars as input seems more than enough
   4204     test $ac_count -gt 10 && break
   4205   done
   4206   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4207 esac
   4208 
   4209       $ac_path_EGREP_found && break 3
   4210     done
   4211   done
   4212   done
   4213 IFS=$as_save_IFS
   4214   if test -z "$ac_cv_path_EGREP"; then
   4215     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4216   fi
   4217 else
   4218   ac_cv_path_EGREP=$EGREP
   4219 fi
   4220 
   4221    fi
   4222 fi
   4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4224 $as_echo "$ac_cv_path_EGREP" >&6; }
   4225  EGREP="$ac_cv_path_EGREP"
   4226 
   4227 
   4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4229 $as_echo_n "checking for fgrep... " >&6; }
   4230 if ${ac_cv_path_FGREP+:} false; then :
   4231   $as_echo_n "(cached) " >&6
   4232 else
   4233   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4234    then ac_cv_path_FGREP="$GREP -F"
   4235    else
   4236      if test -z "$FGREP"; then
   4237   ac_path_FGREP_found=false
   4238   # Loop through the user's path and test for each of PROGNAME-LIST
   4239   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4240 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4241 do
   4242   IFS=$as_save_IFS
   4243   test -z "$as_dir" && as_dir=.
   4244     for ac_prog in fgrep; do
   4245     for ac_exec_ext in '' $ac_executable_extensions; do
   4246       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4247       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4248 # Check for GNU ac_path_FGREP and select it if it is found.
   4249   # Check for GNU $ac_path_FGREP
   4250 case `"$ac_path_FGREP" --version 2>&1` in
   4251 *GNU*)
   4252   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4253 *)
   4254   ac_count=0
   4255   $as_echo_n 0123456789 >"conftest.in"
   4256   while :
   4257   do
   4258     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4259     mv "conftest.tmp" "conftest.in"
   4260     cp "conftest.in" "conftest.nl"
   4261     $as_echo 'FGREP' >> "conftest.nl"
   4262     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4263     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4264     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4265     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4266       # Best one so far, save it but keep looking for a better one
   4267       ac_cv_path_FGREP="$ac_path_FGREP"
   4268       ac_path_FGREP_max=$ac_count
   4269     fi
   4270     # 10*(2^10) chars as input seems more than enough
   4271     test $ac_count -gt 10 && break
   4272   done
   4273   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4274 esac
   4275 
   4276       $ac_path_FGREP_found && break 3
   4277     done
   4278   done
   4279   done
   4280 IFS=$as_save_IFS
   4281   if test -z "$ac_cv_path_FGREP"; then
   4282     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4283   fi
   4284 else
   4285   ac_cv_path_FGREP=$FGREP
   4286 fi
   4287 
   4288    fi
   4289 fi
   4290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4291 $as_echo "$ac_cv_path_FGREP" >&6; }
   4292  FGREP="$ac_cv_path_FGREP"
   4293 
   4294 
   4295 test -z "$GREP" && GREP=grep
   4296 
   4297 
   4298 
   4299 
   4300 
   4301 
   4302 
   4303 
   4304 
   4305 
   4306 
   4307 
   4308 
   4309 
   4310 
   4311 
   4312 
   4313 
   4314 
   4315 # Check whether --with-gnu-ld was given.
   4316 if test "${with_gnu_ld+set}" = set; then :
   4317   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4318 else
   4319   with_gnu_ld=no
   4320 fi
   4321 
   4322 ac_prog=ld
   4323 if test "$GCC" = yes; then
   4324   # Check if gcc -print-prog-name=ld gives a path.
   4325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4326 $as_echo_n "checking for ld used by $CC... " >&6; }
   4327   case $host in
   4328   *-*-mingw*)
   4329     # gcc leaves a trailing carriage return which upsets mingw
   4330     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4331   *)
   4332     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4333   esac
   4334   case $ac_prog in
   4335     # Accept absolute paths.
   4336     [\\/]* | ?:[\\/]*)
   4337       re_direlt='/[^/][^/]*/\.\./'
   4338       # Canonicalize the pathname of ld
   4339       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4340       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4341 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4342       done
   4343       test -z "$LD" && LD="$ac_prog"
   4344       ;;
   4345   "")
   4346     # If it fails, then pretend we aren't using GCC.
   4347     ac_prog=ld
   4348     ;;
   4349   *)
   4350     # If it is relative, then search for the first ld in PATH.
   4351     with_gnu_ld=unknown
   4352     ;;
   4353   esac
   4354 elif test "$with_gnu_ld" = yes; then
   4355   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4356 $as_echo_n "checking for GNU ld... " >&6; }
   4357 else
   4358   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4359 $as_echo_n "checking for non-GNU ld... " >&6; }
   4360 fi
   4361 if ${lt_cv_path_LD+:} false; then :
   4362   $as_echo_n "(cached) " >&6
   4363 else
   4364   if test -z "$LD"; then
   4365   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4366   for ac_dir in $PATH; do
   4367     IFS="$lt_save_ifs"
   4368     test -z "$ac_dir" && ac_dir=.
   4369     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4370       lt_cv_path_LD="$ac_dir/$ac_prog"
   4371       # Check to see if the program is GNU ld.  I'd rather use --version,
   4372       # but apparently some variants of GNU ld only accept -v.
   4373       # Break only if it was the GNU/non-GNU ld that we prefer.
   4374       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4375       *GNU* | *'with BFD'*)
   4376 	test "$with_gnu_ld" != no && break
   4377 	;;
   4378       *)
   4379 	test "$with_gnu_ld" != yes && break
   4380 	;;
   4381       esac
   4382     fi
   4383   done
   4384   IFS="$lt_save_ifs"
   4385 else
   4386   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4387 fi
   4388 fi
   4389 
   4390 LD="$lt_cv_path_LD"
   4391 if test -n "$LD"; then
   4392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4393 $as_echo "$LD" >&6; }
   4394 else
   4395   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4396 $as_echo "no" >&6; }
   4397 fi
   4398 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4400 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4401 if ${lt_cv_prog_gnu_ld+:} false; then :
   4402   $as_echo_n "(cached) " >&6
   4403 else
   4404   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4405 case `$LD -v 2>&1 </dev/null` in
   4406 *GNU* | *'with BFD'*)
   4407   lt_cv_prog_gnu_ld=yes
   4408   ;;
   4409 *)
   4410   lt_cv_prog_gnu_ld=no
   4411   ;;
   4412 esac
   4413 fi
   4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4415 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4416 with_gnu_ld=$lt_cv_prog_gnu_ld
   4417 
   4418 
   4419 
   4420 
   4421 
   4422 
   4423 
   4424 
   4425 
   4426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4427 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4428 if ${lt_cv_path_NM+:} false; then :
   4429   $as_echo_n "(cached) " >&6
   4430 else
   4431   if test -n "$NM"; then
   4432   # Let the user override the test.
   4433   lt_cv_path_NM="$NM"
   4434 else
   4435   lt_nm_to_check="${ac_tool_prefix}nm"
   4436   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4437     lt_nm_to_check="$lt_nm_to_check nm"
   4438   fi
   4439   for lt_tmp_nm in $lt_nm_to_check; do
   4440     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4441     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4442       IFS="$lt_save_ifs"
   4443       test -z "$ac_dir" && ac_dir=.
   4444       tmp_nm="$ac_dir/$lt_tmp_nm"
   4445       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4446 	# Check to see if the nm accepts a BSD-compat flag.
   4447 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4448 	#   nm: unknown option "B" ignored
   4449 	# Tru64's nm complains that /dev/null is an invalid object file
   4450 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4451 	*/dev/null* | *'Invalid file or object type'*)
   4452 	  lt_cv_path_NM="$tmp_nm -B"
   4453 	  break
   4454 	  ;;
   4455 	*)
   4456 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4457 	  */dev/null*)
   4458 	    lt_cv_path_NM="$tmp_nm -p"
   4459 	    break
   4460 	    ;;
   4461 	  *)
   4462 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4463 	    continue # so that we can try to find one that supports BSD flags
   4464 	    ;;
   4465 	  esac
   4466 	  ;;
   4467 	esac
   4468       fi
   4469     done
   4470     IFS="$lt_save_ifs"
   4471   done
   4472   : ${lt_cv_path_NM=no}
   4473 fi
   4474 fi
   4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4476 $as_echo "$lt_cv_path_NM" >&6; }
   4477 if test "$lt_cv_path_NM" != "no"; then
   4478   NM="$lt_cv_path_NM"
   4479 else
   4480   # Didn't find any BSD compatible name lister, look for dumpbin.
   4481   if test -n "$DUMPBIN"; then :
   4482     # Let the user override the test.
   4483   else
   4484     if test -n "$ac_tool_prefix"; then
   4485   for ac_prog in dumpbin "link -dump"
   4486   do
   4487     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4488 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4490 $as_echo_n "checking for $ac_word... " >&6; }
   4491 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4492   $as_echo_n "(cached) " >&6
   4493 else
   4494   if test -n "$DUMPBIN"; then
   4495   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4496 else
   4497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4498 for as_dir in $PATH
   4499 do
   4500   IFS=$as_save_IFS
   4501   test -z "$as_dir" && as_dir=.
   4502     for ac_exec_ext in '' $ac_executable_extensions; do
   4503   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4504     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4506     break 2
   4507   fi
   4508 done
   4509   done
   4510 IFS=$as_save_IFS
   4511 
   4512 fi
   4513 fi
   4514 DUMPBIN=$ac_cv_prog_DUMPBIN
   4515 if test -n "$DUMPBIN"; then
   4516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4517 $as_echo "$DUMPBIN" >&6; }
   4518 else
   4519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4520 $as_echo "no" >&6; }
   4521 fi
   4522 
   4523 
   4524     test -n "$DUMPBIN" && break
   4525   done
   4526 fi
   4527 if test -z "$DUMPBIN"; then
   4528   ac_ct_DUMPBIN=$DUMPBIN
   4529   for ac_prog in dumpbin "link -dump"
   4530 do
   4531   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4532 set dummy $ac_prog; ac_word=$2
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4534 $as_echo_n "checking for $ac_word... " >&6; }
   4535 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4536   $as_echo_n "(cached) " >&6
   4537 else
   4538   if test -n "$ac_ct_DUMPBIN"; then
   4539   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4540 else
   4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4542 for as_dir in $PATH
   4543 do
   4544   IFS=$as_save_IFS
   4545   test -z "$as_dir" && as_dir=.
   4546     for ac_exec_ext in '' $ac_executable_extensions; do
   4547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4548     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4549     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4550     break 2
   4551   fi
   4552 done
   4553   done
   4554 IFS=$as_save_IFS
   4555 
   4556 fi
   4557 fi
   4558 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4559 if test -n "$ac_ct_DUMPBIN"; then
   4560   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4561 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4562 else
   4563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4564 $as_echo "no" >&6; }
   4565 fi
   4566 
   4567 
   4568   test -n "$ac_ct_DUMPBIN" && break
   4569 done
   4570 
   4571   if test "x$ac_ct_DUMPBIN" = x; then
   4572     DUMPBIN=":"
   4573   else
   4574     case $cross_compiling:$ac_tool_warned in
   4575 yes:)
   4576 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4577 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4578 ac_tool_warned=yes ;;
   4579 esac
   4580     DUMPBIN=$ac_ct_DUMPBIN
   4581   fi
   4582 fi
   4583 
   4584     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4585     *COFF*)
   4586       DUMPBIN="$DUMPBIN -symbols"
   4587       ;;
   4588     *)
   4589       DUMPBIN=:
   4590       ;;
   4591     esac
   4592   fi
   4593 
   4594   if test "$DUMPBIN" != ":"; then
   4595     NM="$DUMPBIN"
   4596   fi
   4597 fi
   4598 test -z "$NM" && NM=nm
   4599 
   4600 
   4601 
   4602 
   4603 
   4604 
   4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4606 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4607 if ${lt_cv_nm_interface+:} false; then :
   4608   $as_echo_n "(cached) " >&6
   4609 else
   4610   lt_cv_nm_interface="BSD nm"
   4611   echo "int some_variable = 0;" > conftest.$ac_ext
   4612   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4613   (eval "$ac_compile" 2>conftest.err)
   4614   cat conftest.err >&5
   4615   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4616   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4617   cat conftest.err >&5
   4618   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4619   cat conftest.out >&5
   4620   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4621     lt_cv_nm_interface="MS dumpbin"
   4622   fi
   4623   rm -f conftest*
   4624 fi
   4625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4626 $as_echo "$lt_cv_nm_interface" >&6; }
   4627 
   4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4629 $as_echo_n "checking whether ln -s works... " >&6; }
   4630 LN_S=$as_ln_s
   4631 if test "$LN_S" = "ln -s"; then
   4632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4633 $as_echo "yes" >&6; }
   4634 else
   4635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4636 $as_echo "no, using $LN_S" >&6; }
   4637 fi
   4638 
   4639 # find the maximum length of command line arguments
   4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4641 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4642 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4643   $as_echo_n "(cached) " >&6
   4644 else
   4645     i=0
   4646   teststring="ABCD"
   4647 
   4648   case $build_os in
   4649   msdosdjgpp*)
   4650     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4651     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4652     # during glob expansion).  Even if it were fixed, the result of this
   4653     # check would be larger than it should be.
   4654     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4655     ;;
   4656 
   4657   gnu*)
   4658     # Under GNU Hurd, this test is not required because there is
   4659     # no limit to the length of command line arguments.
   4660     # Libtool will interpret -1 as no limit whatsoever
   4661     lt_cv_sys_max_cmd_len=-1;
   4662     ;;
   4663 
   4664   cygwin* | mingw* | cegcc*)
   4665     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4666     # about 5 minutes as the teststring grows exponentially.
   4667     # Worse, since 9x/ME are not pre-emptively multitasking,
   4668     # you end up with a "frozen" computer, even though with patience
   4669     # the test eventually succeeds (with a max line length of 256k).
   4670     # Instead, let's just punt: use the minimum linelength reported by
   4671     # all of the supported platforms: 8192 (on NT/2K/XP).
   4672     lt_cv_sys_max_cmd_len=8192;
   4673     ;;
   4674 
   4675   mint*)
   4676     # On MiNT this can take a long time and run out of memory.
   4677     lt_cv_sys_max_cmd_len=8192;
   4678     ;;
   4679 
   4680   amigaos*)
   4681     # On AmigaOS with pdksh, this test takes hours, literally.
   4682     # So we just punt and use a minimum line length of 8192.
   4683     lt_cv_sys_max_cmd_len=8192;
   4684     ;;
   4685 
   4686   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4687     # This has been around since 386BSD, at least.  Likely further.
   4688     if test -x /sbin/sysctl; then
   4689       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4690     elif test -x /usr/sbin/sysctl; then
   4691       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4692     else
   4693       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4694     fi
   4695     # And add a safety zone
   4696     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4697     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4698     ;;
   4699 
   4700   interix*)
   4701     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4702     lt_cv_sys_max_cmd_len=196608
   4703     ;;
   4704 
   4705   os2*)
   4706     # The test takes a long time on OS/2.
   4707     lt_cv_sys_max_cmd_len=8192
   4708     ;;
   4709 
   4710   osf*)
   4711     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4712     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4713     # nice to cause kernel panics so lets avoid the loop below.
   4714     # First set a reasonable default.
   4715     lt_cv_sys_max_cmd_len=16384
   4716     #
   4717     if test -x /sbin/sysconfig; then
   4718       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4719         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4720       esac
   4721     fi
   4722     ;;
   4723   sco3.2v5*)
   4724     lt_cv_sys_max_cmd_len=102400
   4725     ;;
   4726   sysv5* | sco5v6* | sysv4.2uw2*)
   4727     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4728     if test -n "$kargmax"; then
   4729       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4730     else
   4731       lt_cv_sys_max_cmd_len=32768
   4732     fi
   4733     ;;
   4734   *)
   4735     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4736     if test -n "$lt_cv_sys_max_cmd_len"; then
   4737       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4738       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4739     else
   4740       # Make teststring a little bigger before we do anything with it.
   4741       # a 1K string should be a reasonable start.
   4742       for i in 1 2 3 4 5 6 7 8 ; do
   4743         teststring=$teststring$teststring
   4744       done
   4745       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4746       # If test is not a shell built-in, we'll probably end up computing a
   4747       # maximum length that is only half of the actual maximum length, but
   4748       # we can't tell.
   4749       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4750 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4751 	      test $i != 17 # 1/2 MB should be enough
   4752       do
   4753         i=`expr $i + 1`
   4754         teststring=$teststring$teststring
   4755       done
   4756       # Only check the string length outside the loop.
   4757       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4758       teststring=
   4759       # Add a significant safety factor because C++ compilers can tack on
   4760       # massive amounts of additional arguments before passing them to the
   4761       # linker.  It appears as though 1/2 is a usable value.
   4762       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4763     fi
   4764     ;;
   4765   esac
   4766 
   4767 fi
   4768 
   4769 if test -n $lt_cv_sys_max_cmd_len ; then
   4770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4771 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4772 else
   4773   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4774 $as_echo "none" >&6; }
   4775 fi
   4776 max_cmd_len=$lt_cv_sys_max_cmd_len
   4777 
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 : ${CP="cp -f"}
   4784 : ${MV="mv -f"}
   4785 : ${RM="rm -f"}
   4786 
   4787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4788 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4789 # Try some XSI features
   4790 xsi_shell=no
   4791 ( _lt_dummy="a/b/c"
   4792   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4793       = c,a/b,b/c, \
   4794     && eval 'test $(( 1 + 1 )) -eq 2 \
   4795     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4796   && xsi_shell=yes
   4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4798 $as_echo "$xsi_shell" >&6; }
   4799 
   4800 
   4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4802 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4803 lt_shell_append=no
   4804 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4805     >/dev/null 2>&1 \
   4806   && lt_shell_append=yes
   4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4808 $as_echo "$lt_shell_append" >&6; }
   4809 
   4810 
   4811 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4812   lt_unset=unset
   4813 else
   4814   lt_unset=false
   4815 fi
   4816 
   4817 
   4818 
   4819 
   4820 
   4821 # test EBCDIC or ASCII
   4822 case `echo X|tr X '\101'` in
   4823  A) # ASCII based system
   4824     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4825   lt_SP2NL='tr \040 \012'
   4826   lt_NL2SP='tr \015\012 \040\040'
   4827   ;;
   4828  *) # EBCDIC based system
   4829   lt_SP2NL='tr \100 \n'
   4830   lt_NL2SP='tr \r\n \100\100'
   4831   ;;
   4832 esac
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4843 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4844 if ${lt_cv_to_host_file_cmd+:} false; then :
   4845   $as_echo_n "(cached) " >&6
   4846 else
   4847   case $host in
   4848   *-*-mingw* )
   4849     case $build in
   4850       *-*-mingw* ) # actually msys
   4851         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4852         ;;
   4853       *-*-cygwin* )
   4854         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4855         ;;
   4856       * ) # otherwise, assume *nix
   4857         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4858         ;;
   4859     esac
   4860     ;;
   4861   *-*-cygwin* )
   4862     case $build in
   4863       *-*-mingw* ) # actually msys
   4864         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4865         ;;
   4866       *-*-cygwin* )
   4867         lt_cv_to_host_file_cmd=func_convert_file_noop
   4868         ;;
   4869       * ) # otherwise, assume *nix
   4870         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4871         ;;
   4872     esac
   4873     ;;
   4874   * ) # unhandled hosts (and "normal" native builds)
   4875     lt_cv_to_host_file_cmd=func_convert_file_noop
   4876     ;;
   4877 esac
   4878 
   4879 fi
   4880 
   4881 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4883 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4890 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4891 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4892   $as_echo_n "(cached) " >&6
   4893 else
   4894   #assume ordinary cross tools, or native build.
   4895 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4896 case $host in
   4897   *-*-mingw* )
   4898     case $build in
   4899       *-*-mingw* ) # actually msys
   4900         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4901         ;;
   4902     esac
   4903     ;;
   4904 esac
   4905 
   4906 fi
   4907 
   4908 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4910 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4917 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4918 if ${lt_cv_ld_reload_flag+:} false; then :
   4919   $as_echo_n "(cached) " >&6
   4920 else
   4921   lt_cv_ld_reload_flag='-r'
   4922 fi
   4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4924 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4925 reload_flag=$lt_cv_ld_reload_flag
   4926 case $reload_flag in
   4927 "" | " "*) ;;
   4928 *) reload_flag=" $reload_flag" ;;
   4929 esac
   4930 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4931 case $host_os in
   4932   cygwin* | mingw* | pw32* | cegcc*)
   4933     if test "$GCC" != yes; then
   4934       reload_cmds=false
   4935     fi
   4936     ;;
   4937   darwin*)
   4938     if test "$GCC" = yes; then
   4939       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4940     else
   4941       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4942     fi
   4943     ;;
   4944 esac
   4945 
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 if test -n "$ac_tool_prefix"; then
   4955   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4956 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4958 $as_echo_n "checking for $ac_word... " >&6; }
   4959 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4960   $as_echo_n "(cached) " >&6
   4961 else
   4962   if test -n "$OBJDUMP"; then
   4963   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4964 else
   4965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4966 for as_dir in $PATH
   4967 do
   4968   IFS=$as_save_IFS
   4969   test -z "$as_dir" && as_dir=.
   4970     for ac_exec_ext in '' $ac_executable_extensions; do
   4971   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4972     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4973     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4974     break 2
   4975   fi
   4976 done
   4977   done
   4978 IFS=$as_save_IFS
   4979 
   4980 fi
   4981 fi
   4982 OBJDUMP=$ac_cv_prog_OBJDUMP
   4983 if test -n "$OBJDUMP"; then
   4984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4985 $as_echo "$OBJDUMP" >&6; }
   4986 else
   4987   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4988 $as_echo "no" >&6; }
   4989 fi
   4990 
   4991 
   4992 fi
   4993 if test -z "$ac_cv_prog_OBJDUMP"; then
   4994   ac_ct_OBJDUMP=$OBJDUMP
   4995   # Extract the first word of "objdump", so it can be a program name with args.
   4996 set dummy objdump; ac_word=$2
   4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4998 $as_echo_n "checking for $ac_word... " >&6; }
   4999 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5000   $as_echo_n "(cached) " >&6
   5001 else
   5002   if test -n "$ac_ct_OBJDUMP"; then
   5003   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5004 else
   5005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5006 for as_dir in $PATH
   5007 do
   5008   IFS=$as_save_IFS
   5009   test -z "$as_dir" && as_dir=.
   5010     for ac_exec_ext in '' $ac_executable_extensions; do
   5011   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5012     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5013     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5014     break 2
   5015   fi
   5016 done
   5017   done
   5018 IFS=$as_save_IFS
   5019 
   5020 fi
   5021 fi
   5022 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5023 if test -n "$ac_ct_OBJDUMP"; then
   5024   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5025 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5026 else
   5027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5028 $as_echo "no" >&6; }
   5029 fi
   5030 
   5031   if test "x$ac_ct_OBJDUMP" = x; then
   5032     OBJDUMP="false"
   5033   else
   5034     case $cross_compiling:$ac_tool_warned in
   5035 yes:)
   5036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5037 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5038 ac_tool_warned=yes ;;
   5039 esac
   5040     OBJDUMP=$ac_ct_OBJDUMP
   5041   fi
   5042 else
   5043   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5044 fi
   5045 
   5046 test -z "$OBJDUMP" && OBJDUMP=objdump
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5057 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5058 if ${lt_cv_deplibs_check_method+:} false; then :
   5059   $as_echo_n "(cached) " >&6
   5060 else
   5061   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5062 lt_cv_file_magic_test_file=
   5063 lt_cv_deplibs_check_method='unknown'
   5064 # Need to set the preceding variable on all platforms that support
   5065 # interlibrary dependencies.
   5066 # 'none' -- dependencies not supported.
   5067 # `unknown' -- same as none, but documents that we really don't know.
   5068 # 'pass_all' -- all dependencies passed with no checks.
   5069 # 'test_compile' -- check by making test program.
   5070 # 'file_magic [[regex]]' -- check by looking for files in library path
   5071 # which responds to the $file_magic_cmd with a given extended regex.
   5072 # If you have `file' or equivalent on your system and you're not sure
   5073 # whether `pass_all' will *always* work, you probably want this one.
   5074 
   5075 case $host_os in
   5076 aix[4-9]*)
   5077   lt_cv_deplibs_check_method=pass_all
   5078   ;;
   5079 
   5080 beos*)
   5081   lt_cv_deplibs_check_method=pass_all
   5082   ;;
   5083 
   5084 bsdi[45]*)
   5085   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5086   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5087   lt_cv_file_magic_test_file=/shlib/libc.so
   5088   ;;
   5089 
   5090 cygwin*)
   5091   # func_win32_libid is a shell function defined in ltmain.sh
   5092   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5093   lt_cv_file_magic_cmd='func_win32_libid'
   5094   ;;
   5095 
   5096 mingw* | pw32*)
   5097   # Base MSYS/MinGW do not provide the 'file' command needed by
   5098   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5099   # unless we find 'file', for example because we are cross-compiling.
   5100   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5101   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5102     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5103     lt_cv_file_magic_cmd='func_win32_libid'
   5104   else
   5105     # Keep this pattern in sync with the one in func_win32_libid.
   5106     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5107     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5108   fi
   5109   ;;
   5110 
   5111 cegcc*)
   5112   # use the weaker test based on 'objdump'. See mingw*.
   5113   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5114   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5115   ;;
   5116 
   5117 darwin* | rhapsody*)
   5118   lt_cv_deplibs_check_method=pass_all
   5119   ;;
   5120 
   5121 freebsd* | dragonfly*)
   5122   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5123     case $host_cpu in
   5124     i*86 )
   5125       # Not sure whether the presence of OpenBSD here was a mistake.
   5126       # Let's accept both of them until this is cleared up.
   5127       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5128       lt_cv_file_magic_cmd=/usr/bin/file
   5129       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5130       ;;
   5131     esac
   5132   else
   5133     lt_cv_deplibs_check_method=pass_all
   5134   fi
   5135   ;;
   5136 
   5137 gnu*)
   5138   lt_cv_deplibs_check_method=pass_all
   5139   ;;
   5140 
   5141 haiku*)
   5142   lt_cv_deplibs_check_method=pass_all
   5143   ;;
   5144 
   5145 hpux10.20* | hpux11*)
   5146   lt_cv_file_magic_cmd=/usr/bin/file
   5147   case $host_cpu in
   5148   ia64*)
   5149     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5150     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5151     ;;
   5152   hppa*64*)
   5153     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]'
   5154     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5155     ;;
   5156   *)
   5157     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5158     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5159     ;;
   5160   esac
   5161   ;;
   5162 
   5163 interix[3-9]*)
   5164   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5165   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5166   ;;
   5167 
   5168 irix5* | irix6* | nonstopux*)
   5169   case $LD in
   5170   *-32|*"-32 ") libmagic=32-bit;;
   5171   *-n32|*"-n32 ") libmagic=N32;;
   5172   *-64|*"-64 ") libmagic=64-bit;;
   5173   *) libmagic=never-match;;
   5174   esac
   5175   lt_cv_deplibs_check_method=pass_all
   5176   ;;
   5177 
   5178 # This must be glibc/ELF.
   5179 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5180   lt_cv_deplibs_check_method=pass_all
   5181   ;;
   5182 
   5183 netbsd*)
   5184   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5185     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5186   else
   5187     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5188   fi
   5189   ;;
   5190 
   5191 newos6*)
   5192   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5193   lt_cv_file_magic_cmd=/usr/bin/file
   5194   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5195   ;;
   5196 
   5197 *nto* | *qnx*)
   5198   lt_cv_deplibs_check_method=pass_all
   5199   ;;
   5200 
   5201 openbsd*)
   5202   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5203     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5204   else
   5205     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5206   fi
   5207   ;;
   5208 
   5209 osf3* | osf4* | osf5*)
   5210   lt_cv_deplibs_check_method=pass_all
   5211   ;;
   5212 
   5213 rdos*)
   5214   lt_cv_deplibs_check_method=pass_all
   5215   ;;
   5216 
   5217 solaris*)
   5218   lt_cv_deplibs_check_method=pass_all
   5219   ;;
   5220 
   5221 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5222   lt_cv_deplibs_check_method=pass_all
   5223   ;;
   5224 
   5225 sysv4 | sysv4.3*)
   5226   case $host_vendor in
   5227   motorola)
   5228     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]'
   5229     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5230     ;;
   5231   ncr)
   5232     lt_cv_deplibs_check_method=pass_all
   5233     ;;
   5234   sequent)
   5235     lt_cv_file_magic_cmd='/bin/file'
   5236     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5237     ;;
   5238   sni)
   5239     lt_cv_file_magic_cmd='/bin/file'
   5240     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5241     lt_cv_file_magic_test_file=/lib/libc.so
   5242     ;;
   5243   siemens)
   5244     lt_cv_deplibs_check_method=pass_all
   5245     ;;
   5246   pc)
   5247     lt_cv_deplibs_check_method=pass_all
   5248     ;;
   5249   esac
   5250   ;;
   5251 
   5252 tpf*)
   5253   lt_cv_deplibs_check_method=pass_all
   5254   ;;
   5255 esac
   5256 
   5257 fi
   5258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5259 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5260 
   5261 file_magic_glob=
   5262 want_nocaseglob=no
   5263 if test "$build" = "$host"; then
   5264   case $host_os in
   5265   mingw* | pw32*)
   5266     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5267       want_nocaseglob=yes
   5268     else
   5269       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5270     fi
   5271     ;;
   5272   esac
   5273 fi
   5274 
   5275 file_magic_cmd=$lt_cv_file_magic_cmd
   5276 deplibs_check_method=$lt_cv_deplibs_check_method
   5277 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 if test -n "$ac_tool_prefix"; then
   5301   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5302 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5304 $as_echo_n "checking for $ac_word... " >&6; }
   5305 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5306   $as_echo_n "(cached) " >&6
   5307 else
   5308   if test -n "$DLLTOOL"; then
   5309   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5310 else
   5311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5312 for as_dir in $PATH
   5313 do
   5314   IFS=$as_save_IFS
   5315   test -z "$as_dir" && as_dir=.
   5316     for ac_exec_ext in '' $ac_executable_extensions; do
   5317   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5318     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5320     break 2
   5321   fi
   5322 done
   5323   done
   5324 IFS=$as_save_IFS
   5325 
   5326 fi
   5327 fi
   5328 DLLTOOL=$ac_cv_prog_DLLTOOL
   5329 if test -n "$DLLTOOL"; then
   5330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5331 $as_echo "$DLLTOOL" >&6; }
   5332 else
   5333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5334 $as_echo "no" >&6; }
   5335 fi
   5336 
   5337 
   5338 fi
   5339 if test -z "$ac_cv_prog_DLLTOOL"; then
   5340   ac_ct_DLLTOOL=$DLLTOOL
   5341   # Extract the first word of "dlltool", so it can be a program name with args.
   5342 set dummy dlltool; ac_word=$2
   5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5344 $as_echo_n "checking for $ac_word... " >&6; }
   5345 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5346   $as_echo_n "(cached) " >&6
   5347 else
   5348   if test -n "$ac_ct_DLLTOOL"; then
   5349   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5350 else
   5351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5352 for as_dir in $PATH
   5353 do
   5354   IFS=$as_save_IFS
   5355   test -z "$as_dir" && as_dir=.
   5356     for ac_exec_ext in '' $ac_executable_extensions; do
   5357   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5358     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5359     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5360     break 2
   5361   fi
   5362 done
   5363   done
   5364 IFS=$as_save_IFS
   5365 
   5366 fi
   5367 fi
   5368 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5369 if test -n "$ac_ct_DLLTOOL"; then
   5370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5371 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5372 else
   5373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5374 $as_echo "no" >&6; }
   5375 fi
   5376 
   5377   if test "x$ac_ct_DLLTOOL" = x; then
   5378     DLLTOOL="false"
   5379   else
   5380     case $cross_compiling:$ac_tool_warned in
   5381 yes:)
   5382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5384 ac_tool_warned=yes ;;
   5385 esac
   5386     DLLTOOL=$ac_ct_DLLTOOL
   5387   fi
   5388 else
   5389   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5390 fi
   5391 
   5392 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5393 
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5404 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5405 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5406   $as_echo_n "(cached) " >&6
   5407 else
   5408   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5409 
   5410 case $host_os in
   5411 cygwin* | mingw* | pw32* | cegcc*)
   5412   # two different shell functions defined in ltmain.sh
   5413   # decide which to use based on capabilities of $DLLTOOL
   5414   case `$DLLTOOL --help 2>&1` in
   5415   *--identify-strict*)
   5416     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5417     ;;
   5418   *)
   5419     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5420     ;;
   5421   esac
   5422   ;;
   5423 *)
   5424   # fallback: assume linklib IS sharedlib
   5425   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5426   ;;
   5427 esac
   5428 
   5429 fi
   5430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5431 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5432 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5433 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 if test -n "$ac_tool_prefix"; then
   5443   for ac_prog in ar
   5444   do
   5445     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5446 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5448 $as_echo_n "checking for $ac_word... " >&6; }
   5449 if ${ac_cv_prog_AR+:} false; then :
   5450   $as_echo_n "(cached) " >&6
   5451 else
   5452   if test -n "$AR"; then
   5453   ac_cv_prog_AR="$AR" # Let the user override the test.
   5454 else
   5455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5456 for as_dir in $PATH
   5457 do
   5458   IFS=$as_save_IFS
   5459   test -z "$as_dir" && as_dir=.
   5460     for ac_exec_ext in '' $ac_executable_extensions; do
   5461   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5462     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5463     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5464     break 2
   5465   fi
   5466 done
   5467   done
   5468 IFS=$as_save_IFS
   5469 
   5470 fi
   5471 fi
   5472 AR=$ac_cv_prog_AR
   5473 if test -n "$AR"; then
   5474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5475 $as_echo "$AR" >&6; }
   5476 else
   5477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5478 $as_echo "no" >&6; }
   5479 fi
   5480 
   5481 
   5482     test -n "$AR" && break
   5483   done
   5484 fi
   5485 if test -z "$AR"; then
   5486   ac_ct_AR=$AR
   5487   for ac_prog in ar
   5488 do
   5489   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5490 set dummy $ac_prog; ac_word=$2
   5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5492 $as_echo_n "checking for $ac_word... " >&6; }
   5493 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5494   $as_echo_n "(cached) " >&6
   5495 else
   5496   if test -n "$ac_ct_AR"; then
   5497   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5498 else
   5499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5500 for as_dir in $PATH
   5501 do
   5502   IFS=$as_save_IFS
   5503   test -z "$as_dir" && as_dir=.
   5504     for ac_exec_ext in '' $ac_executable_extensions; do
   5505   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5506     ac_cv_prog_ac_ct_AR="$ac_prog"
   5507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5508     break 2
   5509   fi
   5510 done
   5511   done
   5512 IFS=$as_save_IFS
   5513 
   5514 fi
   5515 fi
   5516 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5517 if test -n "$ac_ct_AR"; then
   5518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5519 $as_echo "$ac_ct_AR" >&6; }
   5520 else
   5521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5522 $as_echo "no" >&6; }
   5523 fi
   5524 
   5525 
   5526   test -n "$ac_ct_AR" && break
   5527 done
   5528 
   5529   if test "x$ac_ct_AR" = x; then
   5530     AR="false"
   5531   else
   5532     case $cross_compiling:$ac_tool_warned in
   5533 yes:)
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5535 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5536 ac_tool_warned=yes ;;
   5537 esac
   5538     AR=$ac_ct_AR
   5539   fi
   5540 fi
   5541 
   5542 : ${AR=ar}
   5543 : ${AR_FLAGS=cru}
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5556 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5557 if ${lt_cv_ar_at_file+:} false; then :
   5558   $as_echo_n "(cached) " >&6
   5559 else
   5560   lt_cv_ar_at_file=no
   5561    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5562 /* end confdefs.h.  */
   5563 
   5564 int
   5565 main ()
   5566 {
   5567 
   5568   ;
   5569   return 0;
   5570 }
   5571 _ACEOF
   5572 if ac_fn_c_try_compile "$LINENO"; then :
   5573   echo conftest.$ac_objext > conftest.lst
   5574       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5575       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5576   (eval $lt_ar_try) 2>&5
   5577   ac_status=$?
   5578   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5579   test $ac_status = 0; }
   5580       if test "$ac_status" -eq 0; then
   5581 	# Ensure the archiver fails upon bogus file names.
   5582 	rm -f conftest.$ac_objext libconftest.a
   5583 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5584   (eval $lt_ar_try) 2>&5
   5585   ac_status=$?
   5586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5587   test $ac_status = 0; }
   5588 	if test "$ac_status" -ne 0; then
   5589           lt_cv_ar_at_file=@
   5590         fi
   5591       fi
   5592       rm -f conftest.* libconftest.a
   5593 
   5594 fi
   5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5596 
   5597 fi
   5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5599 $as_echo "$lt_cv_ar_at_file" >&6; }
   5600 
   5601 if test "x$lt_cv_ar_at_file" = xno; then
   5602   archiver_list_spec=
   5603 else
   5604   archiver_list_spec=$lt_cv_ar_at_file
   5605 fi
   5606 
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 if test -n "$ac_tool_prefix"; then
   5614   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5615 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5617 $as_echo_n "checking for $ac_word... " >&6; }
   5618 if ${ac_cv_prog_STRIP+:} false; then :
   5619   $as_echo_n "(cached) " >&6
   5620 else
   5621   if test -n "$STRIP"; then
   5622   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5623 else
   5624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5625 for as_dir in $PATH
   5626 do
   5627   IFS=$as_save_IFS
   5628   test -z "$as_dir" && as_dir=.
   5629     for ac_exec_ext in '' $ac_executable_extensions; do
   5630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5631     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5633     break 2
   5634   fi
   5635 done
   5636   done
   5637 IFS=$as_save_IFS
   5638 
   5639 fi
   5640 fi
   5641 STRIP=$ac_cv_prog_STRIP
   5642 if test -n "$STRIP"; then
   5643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5644 $as_echo "$STRIP" >&6; }
   5645 else
   5646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5647 $as_echo "no" >&6; }
   5648 fi
   5649 
   5650 
   5651 fi
   5652 if test -z "$ac_cv_prog_STRIP"; then
   5653   ac_ct_STRIP=$STRIP
   5654   # Extract the first word of "strip", so it can be a program name with args.
   5655 set dummy strip; ac_word=$2
   5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5657 $as_echo_n "checking for $ac_word... " >&6; }
   5658 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5659   $as_echo_n "(cached) " >&6
   5660 else
   5661   if test -n "$ac_ct_STRIP"; then
   5662   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5663 else
   5664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5665 for as_dir in $PATH
   5666 do
   5667   IFS=$as_save_IFS
   5668   test -z "$as_dir" && as_dir=.
   5669     for ac_exec_ext in '' $ac_executable_extensions; do
   5670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5671     ac_cv_prog_ac_ct_STRIP="strip"
   5672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5673     break 2
   5674   fi
   5675 done
   5676   done
   5677 IFS=$as_save_IFS
   5678 
   5679 fi
   5680 fi
   5681 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5682 if test -n "$ac_ct_STRIP"; then
   5683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5684 $as_echo "$ac_ct_STRIP" >&6; }
   5685 else
   5686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5687 $as_echo "no" >&6; }
   5688 fi
   5689 
   5690   if test "x$ac_ct_STRIP" = x; then
   5691     STRIP=":"
   5692   else
   5693     case $cross_compiling:$ac_tool_warned in
   5694 yes:)
   5695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5697 ac_tool_warned=yes ;;
   5698 esac
   5699     STRIP=$ac_ct_STRIP
   5700   fi
   5701 else
   5702   STRIP="$ac_cv_prog_STRIP"
   5703 fi
   5704 
   5705 test -z "$STRIP" && STRIP=:
   5706 
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 if test -n "$ac_tool_prefix"; then
   5713   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5714 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5716 $as_echo_n "checking for $ac_word... " >&6; }
   5717 if ${ac_cv_prog_RANLIB+:} false; then :
   5718   $as_echo_n "(cached) " >&6
   5719 else
   5720   if test -n "$RANLIB"; then
   5721   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5722 else
   5723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5724 for as_dir in $PATH
   5725 do
   5726   IFS=$as_save_IFS
   5727   test -z "$as_dir" && as_dir=.
   5728     for ac_exec_ext in '' $ac_executable_extensions; do
   5729   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5730     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5731     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5732     break 2
   5733   fi
   5734 done
   5735   done
   5736 IFS=$as_save_IFS
   5737 
   5738 fi
   5739 fi
   5740 RANLIB=$ac_cv_prog_RANLIB
   5741 if test -n "$RANLIB"; then
   5742   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5743 $as_echo "$RANLIB" >&6; }
   5744 else
   5745   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5746 $as_echo "no" >&6; }
   5747 fi
   5748 
   5749 
   5750 fi
   5751 if test -z "$ac_cv_prog_RANLIB"; then
   5752   ac_ct_RANLIB=$RANLIB
   5753   # Extract the first word of "ranlib", so it can be a program name with args.
   5754 set dummy ranlib; ac_word=$2
   5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5756 $as_echo_n "checking for $ac_word... " >&6; }
   5757 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5758   $as_echo_n "(cached) " >&6
   5759 else
   5760   if test -n "$ac_ct_RANLIB"; then
   5761   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5762 else
   5763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5764 for as_dir in $PATH
   5765 do
   5766   IFS=$as_save_IFS
   5767   test -z "$as_dir" && as_dir=.
   5768     for ac_exec_ext in '' $ac_executable_extensions; do
   5769   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5770     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5771     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5772     break 2
   5773   fi
   5774 done
   5775   done
   5776 IFS=$as_save_IFS
   5777 
   5778 fi
   5779 fi
   5780 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5781 if test -n "$ac_ct_RANLIB"; then
   5782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5783 $as_echo "$ac_ct_RANLIB" >&6; }
   5784 else
   5785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5786 $as_echo "no" >&6; }
   5787 fi
   5788 
   5789   if test "x$ac_ct_RANLIB" = x; then
   5790     RANLIB=":"
   5791   else
   5792     case $cross_compiling:$ac_tool_warned in
   5793 yes:)
   5794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5796 ac_tool_warned=yes ;;
   5797 esac
   5798     RANLIB=$ac_ct_RANLIB
   5799   fi
   5800 else
   5801   RANLIB="$ac_cv_prog_RANLIB"
   5802 fi
   5803 
   5804 test -z "$RANLIB" && RANLIB=:
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 # Determine commands to create old-style static archives.
   5812 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5813 old_postinstall_cmds='chmod 644 $oldlib'
   5814 old_postuninstall_cmds=
   5815 
   5816 if test -n "$RANLIB"; then
   5817   case $host_os in
   5818   openbsd*)
   5819     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5820     ;;
   5821   *)
   5822     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5823     ;;
   5824   esac
   5825   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5826 fi
   5827 
   5828 case $host_os in
   5829   darwin*)
   5830     lock_old_archive_extraction=yes ;;
   5831   *)
   5832     lock_old_archive_extraction=no ;;
   5833 esac
   5834 
   5835 
   5836 
   5837 
   5838 
   5839 
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 # If no C compiler was specified, use CC.
   5874 LTCC=${LTCC-"$CC"}
   5875 
   5876 # If no C compiler flags were specified, use CFLAGS.
   5877 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5878 
   5879 # Allow CC to be a program name with arguments.
   5880 compiler=$CC
   5881 
   5882 
   5883 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5885 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5886 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5887   $as_echo_n "(cached) " >&6
   5888 else
   5889 
   5890 # These are sane defaults that work on at least a few old systems.
   5891 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5892 
   5893 # Character class describing NM global symbol codes.
   5894 symcode='[BCDEGRST]'
   5895 
   5896 # Regexp to match symbols that can be accessed directly from C.
   5897 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5898 
   5899 # Define system-specific variables.
   5900 case $host_os in
   5901 aix*)
   5902   symcode='[BCDT]'
   5903   ;;
   5904 cygwin* | mingw* | pw32* | cegcc*)
   5905   symcode='[ABCDGISTW]'
   5906   ;;
   5907 hpux*)
   5908   if test "$host_cpu" = ia64; then
   5909     symcode='[ABCDEGRST]'
   5910   fi
   5911   ;;
   5912 irix* | nonstopux*)
   5913   symcode='[BCDEGRST]'
   5914   ;;
   5915 osf*)
   5916   symcode='[BCDEGQRST]'
   5917   ;;
   5918 solaris*)
   5919   symcode='[BDRT]'
   5920   ;;
   5921 sco3.2v5*)
   5922   symcode='[DT]'
   5923   ;;
   5924 sysv4.2uw2*)
   5925   symcode='[DT]'
   5926   ;;
   5927 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5928   symcode='[ABDT]'
   5929   ;;
   5930 sysv4)
   5931   symcode='[DFNSTU]'
   5932   ;;
   5933 esac
   5934 
   5935 # If we're using GNU nm, then use its standard symbol codes.
   5936 case `$NM -V 2>&1` in
   5937 *GNU* | *'with BFD'*)
   5938   symcode='[ABCDGIRSTW]' ;;
   5939 esac
   5940 
   5941 # Transform an extracted symbol line into a proper C declaration.
   5942 # Some systems (esp. on ia64) link data and code symbols differently,
   5943 # so use this general approach.
   5944 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5945 
   5946 # Transform an extracted symbol line into symbol name and symbol address
   5947 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5948 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'"
   5949 
   5950 # Handle CRLF in mingw tool chain
   5951 opt_cr=
   5952 case $build_os in
   5953 mingw*)
   5954   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5955   ;;
   5956 esac
   5957 
   5958 # Try without a prefix underscore, then with it.
   5959 for ac_symprfx in "" "_"; do
   5960 
   5961   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5962   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5963 
   5964   # Write the raw and C identifiers.
   5965   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5966     # Fake it for dumpbin and say T for any non-static function
   5967     # and D for any global variable.
   5968     # Also find C++ and __fastcall symbols from MSVC++,
   5969     # which start with @ or ?.
   5970     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5971 "     {last_section=section; section=\$ 3};"\
   5972 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5973 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5974 "     \$ 0!~/External *\|/{next};"\
   5975 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5976 "     {if(hide[section]) next};"\
   5977 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5978 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5979 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5980 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5981 "     ' prfx=^$ac_symprfx"
   5982   else
   5983     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5984   fi
   5985   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5986 
   5987   # Check to see that the pipe works correctly.
   5988   pipe_works=no
   5989 
   5990   rm -f conftest*
   5991   cat > conftest.$ac_ext <<_LT_EOF
   5992 #ifdef __cplusplus
   5993 extern "C" {
   5994 #endif
   5995 char nm_test_var;
   5996 void nm_test_func(void);
   5997 void nm_test_func(void){}
   5998 #ifdef __cplusplus
   5999 }
   6000 #endif
   6001 int main(){nm_test_var='a';nm_test_func();return(0);}
   6002 _LT_EOF
   6003 
   6004   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6005   (eval $ac_compile) 2>&5
   6006   ac_status=$?
   6007   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6008   test $ac_status = 0; }; then
   6009     # Now try to grab the symbols.
   6010     nlist=conftest.nm
   6011     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6012   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6013   ac_status=$?
   6014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6015   test $ac_status = 0; } && test -s "$nlist"; then
   6016       # Try sorting and uniquifying the output.
   6017       if sort "$nlist" | uniq > "$nlist"T; then
   6018 	mv -f "$nlist"T "$nlist"
   6019       else
   6020 	rm -f "$nlist"T
   6021       fi
   6022 
   6023       # Make sure that we snagged all the symbols we need.
   6024       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6025 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6026 	  cat <<_LT_EOF > conftest.$ac_ext
   6027 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6028 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6029 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6030    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6031 # define LT_DLSYM_CONST
   6032 #elif defined(__osf__)
   6033 /* This system does not cope well with relocations in const data.  */
   6034 # define LT_DLSYM_CONST
   6035 #else
   6036 # define LT_DLSYM_CONST const
   6037 #endif
   6038 
   6039 #ifdef __cplusplus
   6040 extern "C" {
   6041 #endif
   6042 
   6043 _LT_EOF
   6044 	  # Now generate the symbol file.
   6045 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6046 
   6047 	  cat <<_LT_EOF >> conftest.$ac_ext
   6048 
   6049 /* The mapping between symbol names and symbols.  */
   6050 LT_DLSYM_CONST struct {
   6051   const char *name;
   6052   void       *address;
   6053 }
   6054 lt__PROGRAM__LTX_preloaded_symbols[] =
   6055 {
   6056   { "@PROGRAM@", (void *) 0 },
   6057 _LT_EOF
   6058 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6059 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6060   {0, (void *) 0}
   6061 };
   6062 
   6063 /* This works around a problem in FreeBSD linker */
   6064 #ifdef FREEBSD_WORKAROUND
   6065 static const void *lt_preloaded_setup() {
   6066   return lt__PROGRAM__LTX_preloaded_symbols;
   6067 }
   6068 #endif
   6069 
   6070 #ifdef __cplusplus
   6071 }
   6072 #endif
   6073 _LT_EOF
   6074 	  # Now try linking the two files.
   6075 	  mv conftest.$ac_objext conftstm.$ac_objext
   6076 	  lt_globsym_save_LIBS=$LIBS
   6077 	  lt_globsym_save_CFLAGS=$CFLAGS
   6078 	  LIBS="conftstm.$ac_objext"
   6079 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6080 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6081   (eval $ac_link) 2>&5
   6082   ac_status=$?
   6083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6084   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6085 	    pipe_works=yes
   6086 	  fi
   6087 	  LIBS=$lt_globsym_save_LIBS
   6088 	  CFLAGS=$lt_globsym_save_CFLAGS
   6089 	else
   6090 	  echo "cannot find nm_test_func in $nlist" >&5
   6091 	fi
   6092       else
   6093 	echo "cannot find nm_test_var in $nlist" >&5
   6094       fi
   6095     else
   6096       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6097     fi
   6098   else
   6099     echo "$progname: failed program was:" >&5
   6100     cat conftest.$ac_ext >&5
   6101   fi
   6102   rm -rf conftest* conftst*
   6103 
   6104   # Do not use the global_symbol_pipe unless it works.
   6105   if test "$pipe_works" = yes; then
   6106     break
   6107   else
   6108     lt_cv_sys_global_symbol_pipe=
   6109   fi
   6110 done
   6111 
   6112 fi
   6113 
   6114 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6115   lt_cv_sys_global_symbol_to_cdecl=
   6116 fi
   6117 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6119 $as_echo "failed" >&6; }
   6120 else
   6121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6122 $as_echo "ok" >&6; }
   6123 fi
   6124 
   6125 # Response file support.
   6126 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6127   nm_file_list_spec='@'
   6128 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6129   nm_file_list_spec='@'
   6130 fi
   6131 
   6132 
   6133 
   6134 
   6135 
   6136 
   6137 
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6159 $as_echo_n "checking for sysroot... " >&6; }
   6160 
   6161 # Check whether --with-sysroot was given.
   6162 if test "${with_sysroot+set}" = set; then :
   6163   withval=$with_sysroot;
   6164 else
   6165   with_sysroot=no
   6166 fi
   6167 
   6168 
   6169 lt_sysroot=
   6170 case ${with_sysroot} in #(
   6171  yes)
   6172    if test "$GCC" = yes; then
   6173      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6174    fi
   6175    ;; #(
   6176  /*)
   6177    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6178    ;; #(
   6179  no|'')
   6180    ;; #(
   6181  *)
   6182    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6183 $as_echo "${with_sysroot}" >&6; }
   6184    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6185    ;;
   6186 esac
   6187 
   6188  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6189 $as_echo "${lt_sysroot:-no}" >&6; }
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 # Check whether --enable-libtool-lock was given.
   6196 if test "${enable_libtool_lock+set}" = set; then :
   6197   enableval=$enable_libtool_lock;
   6198 fi
   6199 
   6200 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6201 
   6202 # Some flags need to be propagated to the compiler or linker for good
   6203 # libtool support.
   6204 case $host in
   6205 ia64-*-hpux*)
   6206   # Find out which ABI we are using.
   6207   echo 'int i;' > conftest.$ac_ext
   6208   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6209   (eval $ac_compile) 2>&5
   6210   ac_status=$?
   6211   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6212   test $ac_status = 0; }; then
   6213     case `/usr/bin/file conftest.$ac_objext` in
   6214       *ELF-32*)
   6215 	HPUX_IA64_MODE="32"
   6216 	;;
   6217       *ELF-64*)
   6218 	HPUX_IA64_MODE="64"
   6219 	;;
   6220     esac
   6221   fi
   6222   rm -rf conftest*
   6223   ;;
   6224 *-*-irix6*)
   6225   # Find out which ABI we are using.
   6226   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6227   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6228   (eval $ac_compile) 2>&5
   6229   ac_status=$?
   6230   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6231   test $ac_status = 0; }; then
   6232     if test "$lt_cv_prog_gnu_ld" = yes; then
   6233       case `/usr/bin/file conftest.$ac_objext` in
   6234 	*32-bit*)
   6235 	  LD="${LD-ld} -melf32bsmip"
   6236 	  ;;
   6237 	*N32*)
   6238 	  LD="${LD-ld} -melf32bmipn32"
   6239 	  ;;
   6240 	*64-bit*)
   6241 	  LD="${LD-ld} -melf64bmip"
   6242 	;;
   6243       esac
   6244     else
   6245       case `/usr/bin/file conftest.$ac_objext` in
   6246 	*32-bit*)
   6247 	  LD="${LD-ld} -32"
   6248 	  ;;
   6249 	*N32*)
   6250 	  LD="${LD-ld} -n32"
   6251 	  ;;
   6252 	*64-bit*)
   6253 	  LD="${LD-ld} -64"
   6254 	  ;;
   6255       esac
   6256     fi
   6257   fi
   6258   rm -rf conftest*
   6259   ;;
   6260 
   6261 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6262 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6263   # Find out which ABI we are using.
   6264   echo 'int i;' > conftest.$ac_ext
   6265   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6266   (eval $ac_compile) 2>&5
   6267   ac_status=$?
   6268   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6269   test $ac_status = 0; }; then
   6270     case `/usr/bin/file conftest.o` in
   6271       *32-bit*)
   6272 	case $host in
   6273 	  x86_64-*kfreebsd*-gnu)
   6274 	    LD="${LD-ld} -m elf_i386_fbsd"
   6275 	    ;;
   6276 	  x86_64-*linux*)
   6277 	    LD="${LD-ld} -m elf_i386"
   6278 	    ;;
   6279 	  ppc64-*linux*|powerpc64-*linux*)
   6280 	    LD="${LD-ld} -m elf32ppclinux"
   6281 	    ;;
   6282 	  s390x-*linux*)
   6283 	    LD="${LD-ld} -m elf_s390"
   6284 	    ;;
   6285 	  sparc64-*linux*)
   6286 	    LD="${LD-ld} -m elf32_sparc"
   6287 	    ;;
   6288 	esac
   6289 	;;
   6290       *64-bit*)
   6291 	case $host in
   6292 	  x86_64-*kfreebsd*-gnu)
   6293 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6294 	    ;;
   6295 	  x86_64-*linux*)
   6296 	    LD="${LD-ld} -m elf_x86_64"
   6297 	    ;;
   6298 	  ppc*-*linux*|powerpc*-*linux*)
   6299 	    LD="${LD-ld} -m elf64ppc"
   6300 	    ;;
   6301 	  s390*-*linux*|s390*-*tpf*)
   6302 	    LD="${LD-ld} -m elf64_s390"
   6303 	    ;;
   6304 	  sparc*-*linux*)
   6305 	    LD="${LD-ld} -m elf64_sparc"
   6306 	    ;;
   6307 	esac
   6308 	;;
   6309     esac
   6310   fi
   6311   rm -rf conftest*
   6312   ;;
   6313 
   6314 *-*-sco3.2v5*)
   6315   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6316   SAVE_CFLAGS="$CFLAGS"
   6317   CFLAGS="$CFLAGS -belf"
   6318   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6319 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6320 if ${lt_cv_cc_needs_belf+:} false; then :
   6321   $as_echo_n "(cached) " >&6
   6322 else
   6323   ac_ext=c
   6324 ac_cpp='$CPP $CPPFLAGS'
   6325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6328 
   6329      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6330 /* end confdefs.h.  */
   6331 
   6332 int
   6333 main ()
   6334 {
   6335 
   6336   ;
   6337   return 0;
   6338 }
   6339 _ACEOF
   6340 if ac_fn_c_try_link "$LINENO"; then :
   6341   lt_cv_cc_needs_belf=yes
   6342 else
   6343   lt_cv_cc_needs_belf=no
   6344 fi
   6345 rm -f core conftest.err conftest.$ac_objext \
   6346     conftest$ac_exeext conftest.$ac_ext
   6347      ac_ext=c
   6348 ac_cpp='$CPP $CPPFLAGS'
   6349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6352 
   6353 fi
   6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6355 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6356   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6357     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6358     CFLAGS="$SAVE_CFLAGS"
   6359   fi
   6360   ;;
   6361 *-*solaris*)
   6362   # Find out which ABI we are using.
   6363   echo 'int i;' > conftest.$ac_ext
   6364   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6365   (eval $ac_compile) 2>&5
   6366   ac_status=$?
   6367   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6368   test $ac_status = 0; }; then
   6369     case `/usr/bin/file conftest.o` in
   6370     *64-bit*)
   6371       case $lt_cv_prog_gnu_ld in
   6372       yes*)
   6373         case $host in
   6374         i?86-*-solaris*)
   6375           LD="${LD-ld} -m elf_x86_64"
   6376           ;;
   6377         sparc*-*-solaris*)
   6378           LD="${LD-ld} -m elf64_sparc"
   6379           ;;
   6380         esac
   6381         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6382         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6383           LD="${LD-ld}_sol2"
   6384         fi
   6385         ;;
   6386       *)
   6387 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6388 	  LD="${LD-ld} -64"
   6389 	fi
   6390 	;;
   6391       esac
   6392       ;;
   6393     esac
   6394   fi
   6395   rm -rf conftest*
   6396   ;;
   6397 esac
   6398 
   6399 need_locks="$enable_libtool_lock"
   6400 
   6401 if test -n "$ac_tool_prefix"; then
   6402   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6403 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6405 $as_echo_n "checking for $ac_word... " >&6; }
   6406 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6407   $as_echo_n "(cached) " >&6
   6408 else
   6409   if test -n "$MANIFEST_TOOL"; then
   6410   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6411 else
   6412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6413 for as_dir in $PATH
   6414 do
   6415   IFS=$as_save_IFS
   6416   test -z "$as_dir" && as_dir=.
   6417     for ac_exec_ext in '' $ac_executable_extensions; do
   6418   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6419     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6420     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6421     break 2
   6422   fi
   6423 done
   6424   done
   6425 IFS=$as_save_IFS
   6426 
   6427 fi
   6428 fi
   6429 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6430 if test -n "$MANIFEST_TOOL"; then
   6431   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6432 $as_echo "$MANIFEST_TOOL" >&6; }
   6433 else
   6434   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6435 $as_echo "no" >&6; }
   6436 fi
   6437 
   6438 
   6439 fi
   6440 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6441   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6442   # Extract the first word of "mt", so it can be a program name with args.
   6443 set dummy mt; ac_word=$2
   6444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6445 $as_echo_n "checking for $ac_word... " >&6; }
   6446 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6447   $as_echo_n "(cached) " >&6
   6448 else
   6449   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6450   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6451 else
   6452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6453 for as_dir in $PATH
   6454 do
   6455   IFS=$as_save_IFS
   6456   test -z "$as_dir" && as_dir=.
   6457     for ac_exec_ext in '' $ac_executable_extensions; do
   6458   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6459     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6461     break 2
   6462   fi
   6463 done
   6464   done
   6465 IFS=$as_save_IFS
   6466 
   6467 fi
   6468 fi
   6469 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6470 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6472 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6473 else
   6474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6475 $as_echo "no" >&6; }
   6476 fi
   6477 
   6478   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6479     MANIFEST_TOOL=":"
   6480   else
   6481     case $cross_compiling:$ac_tool_warned in
   6482 yes:)
   6483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6485 ac_tool_warned=yes ;;
   6486 esac
   6487     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6488   fi
   6489 else
   6490   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6491 fi
   6492 
   6493 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6495 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6496 if ${lt_cv_path_mainfest_tool+:} false; then :
   6497   $as_echo_n "(cached) " >&6
   6498 else
   6499   lt_cv_path_mainfest_tool=no
   6500   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6501   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6502   cat conftest.err >&5
   6503   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6504     lt_cv_path_mainfest_tool=yes
   6505   fi
   6506   rm -f conftest*
   6507 fi
   6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6509 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6510 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6511   MANIFEST_TOOL=:
   6512 fi
   6513 
   6514 
   6515 
   6516 
   6517 
   6518 
   6519   case $host_os in
   6520     rhapsody* | darwin*)
   6521     if test -n "$ac_tool_prefix"; then
   6522   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6523 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6525 $as_echo_n "checking for $ac_word... " >&6; }
   6526 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6527   $as_echo_n "(cached) " >&6
   6528 else
   6529   if test -n "$DSYMUTIL"; then
   6530   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6531 else
   6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6533 for as_dir in $PATH
   6534 do
   6535   IFS=$as_save_IFS
   6536   test -z "$as_dir" && as_dir=.
   6537     for ac_exec_ext in '' $ac_executable_extensions; do
   6538   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6539     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6540     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6541     break 2
   6542   fi
   6543 done
   6544   done
   6545 IFS=$as_save_IFS
   6546 
   6547 fi
   6548 fi
   6549 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6550 if test -n "$DSYMUTIL"; then
   6551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6552 $as_echo "$DSYMUTIL" >&6; }
   6553 else
   6554   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6555 $as_echo "no" >&6; }
   6556 fi
   6557 
   6558 
   6559 fi
   6560 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6561   ac_ct_DSYMUTIL=$DSYMUTIL
   6562   # Extract the first word of "dsymutil", so it can be a program name with args.
   6563 set dummy dsymutil; ac_word=$2
   6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6565 $as_echo_n "checking for $ac_word... " >&6; }
   6566 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6567   $as_echo_n "(cached) " >&6
   6568 else
   6569   if test -n "$ac_ct_DSYMUTIL"; then
   6570   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6571 else
   6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6573 for as_dir in $PATH
   6574 do
   6575   IFS=$as_save_IFS
   6576   test -z "$as_dir" && as_dir=.
   6577     for ac_exec_ext in '' $ac_executable_extensions; do
   6578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6579     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6580     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6581     break 2
   6582   fi
   6583 done
   6584   done
   6585 IFS=$as_save_IFS
   6586 
   6587 fi
   6588 fi
   6589 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6590 if test -n "$ac_ct_DSYMUTIL"; then
   6591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6592 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6593 else
   6594   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6595 $as_echo "no" >&6; }
   6596 fi
   6597 
   6598   if test "x$ac_ct_DSYMUTIL" = x; then
   6599     DSYMUTIL=":"
   6600   else
   6601     case $cross_compiling:$ac_tool_warned in
   6602 yes:)
   6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6605 ac_tool_warned=yes ;;
   6606 esac
   6607     DSYMUTIL=$ac_ct_DSYMUTIL
   6608   fi
   6609 else
   6610   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6611 fi
   6612 
   6613     if test -n "$ac_tool_prefix"; then
   6614   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6615 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6617 $as_echo_n "checking for $ac_word... " >&6; }
   6618 if ${ac_cv_prog_NMEDIT+:} false; then :
   6619   $as_echo_n "(cached) " >&6
   6620 else
   6621   if test -n "$NMEDIT"; then
   6622   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6623 else
   6624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6625 for as_dir in $PATH
   6626 do
   6627   IFS=$as_save_IFS
   6628   test -z "$as_dir" && as_dir=.
   6629     for ac_exec_ext in '' $ac_executable_extensions; do
   6630   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6631     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6632     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6633     break 2
   6634   fi
   6635 done
   6636   done
   6637 IFS=$as_save_IFS
   6638 
   6639 fi
   6640 fi
   6641 NMEDIT=$ac_cv_prog_NMEDIT
   6642 if test -n "$NMEDIT"; then
   6643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6644 $as_echo "$NMEDIT" >&6; }
   6645 else
   6646   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6647 $as_echo "no" >&6; }
   6648 fi
   6649 
   6650 
   6651 fi
   6652 if test -z "$ac_cv_prog_NMEDIT"; then
   6653   ac_ct_NMEDIT=$NMEDIT
   6654   # Extract the first word of "nmedit", so it can be a program name with args.
   6655 set dummy nmedit; ac_word=$2
   6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6657 $as_echo_n "checking for $ac_word... " >&6; }
   6658 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6659   $as_echo_n "(cached) " >&6
   6660 else
   6661   if test -n "$ac_ct_NMEDIT"; then
   6662   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6663 else
   6664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6665 for as_dir in $PATH
   6666 do
   6667   IFS=$as_save_IFS
   6668   test -z "$as_dir" && as_dir=.
   6669     for ac_exec_ext in '' $ac_executable_extensions; do
   6670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6671     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6672     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6673     break 2
   6674   fi
   6675 done
   6676   done
   6677 IFS=$as_save_IFS
   6678 
   6679 fi
   6680 fi
   6681 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6682 if test -n "$ac_ct_NMEDIT"; then
   6683   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6684 $as_echo "$ac_ct_NMEDIT" >&6; }
   6685 else
   6686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6687 $as_echo "no" >&6; }
   6688 fi
   6689 
   6690   if test "x$ac_ct_NMEDIT" = x; then
   6691     NMEDIT=":"
   6692   else
   6693     case $cross_compiling:$ac_tool_warned in
   6694 yes:)
   6695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6697 ac_tool_warned=yes ;;
   6698 esac
   6699     NMEDIT=$ac_ct_NMEDIT
   6700   fi
   6701 else
   6702   NMEDIT="$ac_cv_prog_NMEDIT"
   6703 fi
   6704 
   6705     if test -n "$ac_tool_prefix"; then
   6706   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6707 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6709 $as_echo_n "checking for $ac_word... " >&6; }
   6710 if ${ac_cv_prog_LIPO+:} false; then :
   6711   $as_echo_n "(cached) " >&6
   6712 else
   6713   if test -n "$LIPO"; then
   6714   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6715 else
   6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6717 for as_dir in $PATH
   6718 do
   6719   IFS=$as_save_IFS
   6720   test -z "$as_dir" && as_dir=.
   6721     for ac_exec_ext in '' $ac_executable_extensions; do
   6722   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6723     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6724     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6725     break 2
   6726   fi
   6727 done
   6728   done
   6729 IFS=$as_save_IFS
   6730 
   6731 fi
   6732 fi
   6733 LIPO=$ac_cv_prog_LIPO
   6734 if test -n "$LIPO"; then
   6735   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6736 $as_echo "$LIPO" >&6; }
   6737 else
   6738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6739 $as_echo "no" >&6; }
   6740 fi
   6741 
   6742 
   6743 fi
   6744 if test -z "$ac_cv_prog_LIPO"; then
   6745   ac_ct_LIPO=$LIPO
   6746   # Extract the first word of "lipo", so it can be a program name with args.
   6747 set dummy lipo; ac_word=$2
   6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6749 $as_echo_n "checking for $ac_word... " >&6; }
   6750 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6751   $as_echo_n "(cached) " >&6
   6752 else
   6753   if test -n "$ac_ct_LIPO"; then
   6754   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6755 else
   6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6757 for as_dir in $PATH
   6758 do
   6759   IFS=$as_save_IFS
   6760   test -z "$as_dir" && as_dir=.
   6761     for ac_exec_ext in '' $ac_executable_extensions; do
   6762   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6763     ac_cv_prog_ac_ct_LIPO="lipo"
   6764     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6765     break 2
   6766   fi
   6767 done
   6768   done
   6769 IFS=$as_save_IFS
   6770 
   6771 fi
   6772 fi
   6773 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6774 if test -n "$ac_ct_LIPO"; then
   6775   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6776 $as_echo "$ac_ct_LIPO" >&6; }
   6777 else
   6778   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6779 $as_echo "no" >&6; }
   6780 fi
   6781 
   6782   if test "x$ac_ct_LIPO" = x; then
   6783     LIPO=":"
   6784   else
   6785     case $cross_compiling:$ac_tool_warned in
   6786 yes:)
   6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6789 ac_tool_warned=yes ;;
   6790 esac
   6791     LIPO=$ac_ct_LIPO
   6792   fi
   6793 else
   6794   LIPO="$ac_cv_prog_LIPO"
   6795 fi
   6796 
   6797     if test -n "$ac_tool_prefix"; then
   6798   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6799 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6801 $as_echo_n "checking for $ac_word... " >&6; }
   6802 if ${ac_cv_prog_OTOOL+:} false; then :
   6803   $as_echo_n "(cached) " >&6
   6804 else
   6805   if test -n "$OTOOL"; then
   6806   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6807 else
   6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6809 for as_dir in $PATH
   6810 do
   6811   IFS=$as_save_IFS
   6812   test -z "$as_dir" && as_dir=.
   6813     for ac_exec_ext in '' $ac_executable_extensions; do
   6814   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6815     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6816     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6817     break 2
   6818   fi
   6819 done
   6820   done
   6821 IFS=$as_save_IFS
   6822 
   6823 fi
   6824 fi
   6825 OTOOL=$ac_cv_prog_OTOOL
   6826 if test -n "$OTOOL"; then
   6827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6828 $as_echo "$OTOOL" >&6; }
   6829 else
   6830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6831 $as_echo "no" >&6; }
   6832 fi
   6833 
   6834 
   6835 fi
   6836 if test -z "$ac_cv_prog_OTOOL"; then
   6837   ac_ct_OTOOL=$OTOOL
   6838   # Extract the first word of "otool", so it can be a program name with args.
   6839 set dummy otool; ac_word=$2
   6840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6841 $as_echo_n "checking for $ac_word... " >&6; }
   6842 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6843   $as_echo_n "(cached) " >&6
   6844 else
   6845   if test -n "$ac_ct_OTOOL"; then
   6846   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6847 else
   6848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6849 for as_dir in $PATH
   6850 do
   6851   IFS=$as_save_IFS
   6852   test -z "$as_dir" && as_dir=.
   6853     for ac_exec_ext in '' $ac_executable_extensions; do
   6854   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6855     ac_cv_prog_ac_ct_OTOOL="otool"
   6856     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6857     break 2
   6858   fi
   6859 done
   6860   done
   6861 IFS=$as_save_IFS
   6862 
   6863 fi
   6864 fi
   6865 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6866 if test -n "$ac_ct_OTOOL"; then
   6867   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6868 $as_echo "$ac_ct_OTOOL" >&6; }
   6869 else
   6870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6871 $as_echo "no" >&6; }
   6872 fi
   6873 
   6874   if test "x$ac_ct_OTOOL" = x; then
   6875     OTOOL=":"
   6876   else
   6877     case $cross_compiling:$ac_tool_warned in
   6878 yes:)
   6879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6880 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6881 ac_tool_warned=yes ;;
   6882 esac
   6883     OTOOL=$ac_ct_OTOOL
   6884   fi
   6885 else
   6886   OTOOL="$ac_cv_prog_OTOOL"
   6887 fi
   6888 
   6889     if test -n "$ac_tool_prefix"; then
   6890   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6891 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6893 $as_echo_n "checking for $ac_word... " >&6; }
   6894 if ${ac_cv_prog_OTOOL64+:} false; then :
   6895   $as_echo_n "(cached) " >&6
   6896 else
   6897   if test -n "$OTOOL64"; then
   6898   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6899 else
   6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6901 for as_dir in $PATH
   6902 do
   6903   IFS=$as_save_IFS
   6904   test -z "$as_dir" && as_dir=.
   6905     for ac_exec_ext in '' $ac_executable_extensions; do
   6906   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6907     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6908     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6909     break 2
   6910   fi
   6911 done
   6912   done
   6913 IFS=$as_save_IFS
   6914 
   6915 fi
   6916 fi
   6917 OTOOL64=$ac_cv_prog_OTOOL64
   6918 if test -n "$OTOOL64"; then
   6919   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6920 $as_echo "$OTOOL64" >&6; }
   6921 else
   6922   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6923 $as_echo "no" >&6; }
   6924 fi
   6925 
   6926 
   6927 fi
   6928 if test -z "$ac_cv_prog_OTOOL64"; then
   6929   ac_ct_OTOOL64=$OTOOL64
   6930   # Extract the first word of "otool64", so it can be a program name with args.
   6931 set dummy otool64; ac_word=$2
   6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6933 $as_echo_n "checking for $ac_word... " >&6; }
   6934 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6935   $as_echo_n "(cached) " >&6
   6936 else
   6937   if test -n "$ac_ct_OTOOL64"; then
   6938   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6939 else
   6940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6941 for as_dir in $PATH
   6942 do
   6943   IFS=$as_save_IFS
   6944   test -z "$as_dir" && as_dir=.
   6945     for ac_exec_ext in '' $ac_executable_extensions; do
   6946   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6947     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6948     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6949     break 2
   6950   fi
   6951 done
   6952   done
   6953 IFS=$as_save_IFS
   6954 
   6955 fi
   6956 fi
   6957 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6958 if test -n "$ac_ct_OTOOL64"; then
   6959   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6960 $as_echo "$ac_ct_OTOOL64" >&6; }
   6961 else
   6962   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6963 $as_echo "no" >&6; }
   6964 fi
   6965 
   6966   if test "x$ac_ct_OTOOL64" = x; then
   6967     OTOOL64=":"
   6968   else
   6969     case $cross_compiling:$ac_tool_warned in
   6970 yes:)
   6971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6972 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6973 ac_tool_warned=yes ;;
   6974 esac
   6975     OTOOL64=$ac_ct_OTOOL64
   6976   fi
   6977 else
   6978   OTOOL64="$ac_cv_prog_OTOOL64"
   6979 fi
   6980 
   6981 
   6982 
   6983 
   6984 
   6985 
   6986 
   6987 
   6988 
   6989 
   6990 
   6991 
   6992 
   6993 
   6994 
   6995 
   6996 
   6997 
   6998 
   6999 
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7008 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7009 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7010   $as_echo_n "(cached) " >&6
   7011 else
   7012   lt_cv_apple_cc_single_mod=no
   7013       if test -z "${LT_MULTI_MODULE}"; then
   7014 	# By default we will add the -single_module flag. You can override
   7015 	# by either setting the environment variable LT_MULTI_MODULE
   7016 	# non-empty at configure time, or by adding -multi_module to the
   7017 	# link flags.
   7018 	rm -rf libconftest.dylib*
   7019 	echo "int foo(void){return 1;}" > conftest.c
   7020 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7021 -dynamiclib -Wl,-single_module conftest.c" >&5
   7022 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7023 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7024         _lt_result=$?
   7025 	# If there is a non-empty error log, and "single_module"
   7026 	# appears in it, assume the flag caused a linker warning
   7027         if test -s conftest.err && $GREP single_module conftest.err; then
   7028 	  cat conftest.err >&5
   7029 	# Otherwise, if the output was created with a 0 exit code from
   7030 	# the compiler, it worked.
   7031 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7032 	  lt_cv_apple_cc_single_mod=yes
   7033 	else
   7034 	  cat conftest.err >&5
   7035 	fi
   7036 	rm -rf libconftest.dylib*
   7037 	rm -f conftest.*
   7038       fi
   7039 fi
   7040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7041 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7042 
   7043     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7044 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7045 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7046   $as_echo_n "(cached) " >&6
   7047 else
   7048   lt_cv_ld_exported_symbols_list=no
   7049       save_LDFLAGS=$LDFLAGS
   7050       echo "_main" > conftest.sym
   7051       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7052       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7053 /* end confdefs.h.  */
   7054 
   7055 int
   7056 main ()
   7057 {
   7058 
   7059   ;
   7060   return 0;
   7061 }
   7062 _ACEOF
   7063 if ac_fn_c_try_link "$LINENO"; then :
   7064   lt_cv_ld_exported_symbols_list=yes
   7065 else
   7066   lt_cv_ld_exported_symbols_list=no
   7067 fi
   7068 rm -f core conftest.err conftest.$ac_objext \
   7069     conftest$ac_exeext conftest.$ac_ext
   7070 	LDFLAGS="$save_LDFLAGS"
   7071 
   7072 fi
   7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7074 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7075 
   7076     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7077 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7078 if ${lt_cv_ld_force_load+:} false; then :
   7079   $as_echo_n "(cached) " >&6
   7080 else
   7081   lt_cv_ld_force_load=no
   7082       cat > conftest.c << _LT_EOF
   7083 int forced_loaded() { return 2;}
   7084 _LT_EOF
   7085       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7086       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7087       echo "$AR cru libconftest.a conftest.o" >&5
   7088       $AR cru libconftest.a conftest.o 2>&5
   7089       echo "$RANLIB libconftest.a" >&5
   7090       $RANLIB libconftest.a 2>&5
   7091       cat > conftest.c << _LT_EOF
   7092 int main() { return 0;}
   7093 _LT_EOF
   7094       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7095       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7096       _lt_result=$?
   7097       if test -s conftest.err && $GREP force_load conftest.err; then
   7098 	cat conftest.err >&5
   7099       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7100 	lt_cv_ld_force_load=yes
   7101       else
   7102 	cat conftest.err >&5
   7103       fi
   7104         rm -f conftest.err libconftest.a conftest conftest.c
   7105         rm -rf conftest.dSYM
   7106 
   7107 fi
   7108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7109 $as_echo "$lt_cv_ld_force_load" >&6; }
   7110     case $host_os in
   7111     rhapsody* | darwin1.[012])
   7112       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7113     darwin1.*)
   7114       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7115     darwin*) # darwin 5.x on
   7116       # if running on 10.5 or later, the deployment target defaults
   7117       # to the OS version, if on x86, and 10.4, the deployment
   7118       # target defaults to 10.4. Don't you love it?
   7119       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7120 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7121 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7122 	10.[012]*)
   7123 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7124 	10.*)
   7125 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7126       esac
   7127     ;;
   7128   esac
   7129     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7130       _lt_dar_single_mod='$single_module'
   7131     fi
   7132     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7133       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7134     else
   7135       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7136     fi
   7137     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7138       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7139     else
   7140       _lt_dsymutil=
   7141     fi
   7142     ;;
   7143   esac
   7144 
   7145 ac_ext=c
   7146 ac_cpp='$CPP $CPPFLAGS'
   7147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7151 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7152 # On Suns, sometimes $CPP names a directory.
   7153 if test -n "$CPP" && test -d "$CPP"; then
   7154   CPP=
   7155 fi
   7156 if test -z "$CPP"; then
   7157   if ${ac_cv_prog_CPP+:} false; then :
   7158   $as_echo_n "(cached) " >&6
   7159 else
   7160       # Double quotes because CPP needs to be expanded
   7161     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7162     do
   7163       ac_preproc_ok=false
   7164 for ac_c_preproc_warn_flag in '' yes
   7165 do
   7166   # Use a header file that comes with gcc, so configuring glibc
   7167   # with a fresh cross-compiler works.
   7168   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7169   # <limits.h> exists even on freestanding compilers.
   7170   # On the NeXT, cc -E runs the code through the compiler's parser,
   7171   # not just through cpp. "Syntax error" is here to catch this case.
   7172   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7173 /* end confdefs.h.  */
   7174 #ifdef __STDC__
   7175 # include <limits.h>
   7176 #else
   7177 # include <assert.h>
   7178 #endif
   7179 		     Syntax error
   7180 _ACEOF
   7181 if ac_fn_c_try_cpp "$LINENO"; then :
   7182 
   7183 else
   7184   # Broken: fails on valid input.
   7185 continue
   7186 fi
   7187 rm -f conftest.err conftest.i conftest.$ac_ext
   7188 
   7189   # OK, works on sane cases.  Now check whether nonexistent headers
   7190   # can be detected and how.
   7191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7192 /* end confdefs.h.  */
   7193 #include <ac_nonexistent.h>
   7194 _ACEOF
   7195 if ac_fn_c_try_cpp "$LINENO"; then :
   7196   # Broken: success on invalid input.
   7197 continue
   7198 else
   7199   # Passes both tests.
   7200 ac_preproc_ok=:
   7201 break
   7202 fi
   7203 rm -f conftest.err conftest.i conftest.$ac_ext
   7204 
   7205 done
   7206 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7207 rm -f conftest.i conftest.err conftest.$ac_ext
   7208 if $ac_preproc_ok; then :
   7209   break
   7210 fi
   7211 
   7212     done
   7213     ac_cv_prog_CPP=$CPP
   7214 
   7215 fi
   7216   CPP=$ac_cv_prog_CPP
   7217 else
   7218   ac_cv_prog_CPP=$CPP
   7219 fi
   7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7221 $as_echo "$CPP" >&6; }
   7222 ac_preproc_ok=false
   7223 for ac_c_preproc_warn_flag in '' yes
   7224 do
   7225   # Use a header file that comes with gcc, so configuring glibc
   7226   # with a fresh cross-compiler works.
   7227   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7228   # <limits.h> exists even on freestanding compilers.
   7229   # On the NeXT, cc -E runs the code through the compiler's parser,
   7230   # not just through cpp. "Syntax error" is here to catch this case.
   7231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7232 /* end confdefs.h.  */
   7233 #ifdef __STDC__
   7234 # include <limits.h>
   7235 #else
   7236 # include <assert.h>
   7237 #endif
   7238 		     Syntax error
   7239 _ACEOF
   7240 if ac_fn_c_try_cpp "$LINENO"; then :
   7241 
   7242 else
   7243   # Broken: fails on valid input.
   7244 continue
   7245 fi
   7246 rm -f conftest.err conftest.i conftest.$ac_ext
   7247 
   7248   # OK, works on sane cases.  Now check whether nonexistent headers
   7249   # can be detected and how.
   7250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7251 /* end confdefs.h.  */
   7252 #include <ac_nonexistent.h>
   7253 _ACEOF
   7254 if ac_fn_c_try_cpp "$LINENO"; then :
   7255   # Broken: success on invalid input.
   7256 continue
   7257 else
   7258   # Passes both tests.
   7259 ac_preproc_ok=:
   7260 break
   7261 fi
   7262 rm -f conftest.err conftest.i conftest.$ac_ext
   7263 
   7264 done
   7265 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7266 rm -f conftest.i conftest.err conftest.$ac_ext
   7267 if $ac_preproc_ok; then :
   7268 
   7269 else
   7270   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7271 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7272 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7273 See \`config.log' for more details" "$LINENO" 5; }
   7274 fi
   7275 
   7276 ac_ext=c
   7277 ac_cpp='$CPP $CPPFLAGS'
   7278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7281 
   7282 
   7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7284 $as_echo_n "checking for ANSI C header files... " >&6; }
   7285 if ${ac_cv_header_stdc+:} false; then :
   7286   $as_echo_n "(cached) " >&6
   7287 else
   7288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7289 /* end confdefs.h.  */
   7290 #include <stdlib.h>
   7291 #include <stdarg.h>
   7292 #include <string.h>
   7293 #include <float.h>
   7294 
   7295 int
   7296 main ()
   7297 {
   7298 
   7299   ;
   7300   return 0;
   7301 }
   7302 _ACEOF
   7303 if ac_fn_c_try_compile "$LINENO"; then :
   7304   ac_cv_header_stdc=yes
   7305 else
   7306   ac_cv_header_stdc=no
   7307 fi
   7308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7309 
   7310 if test $ac_cv_header_stdc = yes; then
   7311   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7313 /* end confdefs.h.  */
   7314 #include <string.h>
   7315 
   7316 _ACEOF
   7317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7318   $EGREP "memchr" >/dev/null 2>&1; then :
   7319 
   7320 else
   7321   ac_cv_header_stdc=no
   7322 fi
   7323 rm -f conftest*
   7324 
   7325 fi
   7326 
   7327 if test $ac_cv_header_stdc = yes; then
   7328   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7330 /* end confdefs.h.  */
   7331 #include <stdlib.h>
   7332 
   7333 _ACEOF
   7334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7335   $EGREP "free" >/dev/null 2>&1; then :
   7336 
   7337 else
   7338   ac_cv_header_stdc=no
   7339 fi
   7340 rm -f conftest*
   7341 
   7342 fi
   7343 
   7344 if test $ac_cv_header_stdc = yes; then
   7345   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7346   if test "$cross_compiling" = yes; then :
   7347   :
   7348 else
   7349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7350 /* end confdefs.h.  */
   7351 #include <ctype.h>
   7352 #include <stdlib.h>
   7353 #if ((' ' & 0x0FF) == 0x020)
   7354 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7355 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7356 #else
   7357 # define ISLOWER(c) \
   7358 		   (('a' <= (c) && (c) <= 'i') \
   7359 		     || ('j' <= (c) && (c) <= 'r') \
   7360 		     || ('s' <= (c) && (c) <= 'z'))
   7361 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7362 #endif
   7363 
   7364 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7365 int
   7366 main ()
   7367 {
   7368   int i;
   7369   for (i = 0; i < 256; i++)
   7370     if (XOR (islower (i), ISLOWER (i))
   7371 	|| toupper (i) != TOUPPER (i))
   7372       return 2;
   7373   return 0;
   7374 }
   7375 _ACEOF
   7376 if ac_fn_c_try_run "$LINENO"; then :
   7377 
   7378 else
   7379   ac_cv_header_stdc=no
   7380 fi
   7381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7382   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7383 fi
   7384 
   7385 fi
   7386 fi
   7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7388 $as_echo "$ac_cv_header_stdc" >&6; }
   7389 if test $ac_cv_header_stdc = yes; then
   7390 
   7391 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7392 
   7393 fi
   7394 
   7395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7396 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7397 		  inttypes.h stdint.h unistd.h
   7398 do :
   7399   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7401 "
   7402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7403   cat >>confdefs.h <<_ACEOF
   7404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7405 _ACEOF
   7406 
   7407 fi
   7408 
   7409 done
   7410 
   7411 
   7412 for ac_header in dlfcn.h
   7413 do :
   7414   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7415 "
   7416 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7417   cat >>confdefs.h <<_ACEOF
   7418 #define HAVE_DLFCN_H 1
   7419 _ACEOF
   7420 
   7421 fi
   7422 
   7423 done
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 # Set options
   7430 
   7431 
   7432 
   7433         enable_dlopen=no
   7434 
   7435 
   7436   enable_win32_dll=no
   7437 
   7438 
   7439             # Check whether --enable-shared was given.
   7440 if test "${enable_shared+set}" = set; then :
   7441   enableval=$enable_shared; p=${PACKAGE-default}
   7442     case $enableval in
   7443     yes) enable_shared=yes ;;
   7444     no) enable_shared=no ;;
   7445     *)
   7446       enable_shared=no
   7447       # Look at the argument we got.  We use all the common list separators.
   7448       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7449       for pkg in $enableval; do
   7450 	IFS="$lt_save_ifs"
   7451 	if test "X$pkg" = "X$p"; then
   7452 	  enable_shared=yes
   7453 	fi
   7454       done
   7455       IFS="$lt_save_ifs"
   7456       ;;
   7457     esac
   7458 else
   7459   enable_shared=yes
   7460 fi
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470   # Check whether --enable-static was given.
   7471 if test "${enable_static+set}" = set; then :
   7472   enableval=$enable_static; p=${PACKAGE-default}
   7473     case $enableval in
   7474     yes) enable_static=yes ;;
   7475     no) enable_static=no ;;
   7476     *)
   7477      enable_static=no
   7478       # Look at the argument we got.  We use all the common list separators.
   7479       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7480       for pkg in $enableval; do
   7481 	IFS="$lt_save_ifs"
   7482 	if test "X$pkg" = "X$p"; then
   7483 	  enable_static=yes
   7484 	fi
   7485       done
   7486       IFS="$lt_save_ifs"
   7487       ;;
   7488     esac
   7489 else
   7490   enable_static=yes
   7491 fi
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 # Check whether --with-pic was given.
   7503 if test "${with_pic+set}" = set; then :
   7504   withval=$with_pic; lt_p=${PACKAGE-default}
   7505     case $withval in
   7506     yes|no) pic_mode=$withval ;;
   7507     *)
   7508       pic_mode=default
   7509       # Look at the argument we got.  We use all the common list separators.
   7510       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7511       for lt_pkg in $withval; do
   7512 	IFS="$lt_save_ifs"
   7513 	if test "X$lt_pkg" = "X$lt_p"; then
   7514 	  pic_mode=yes
   7515 	fi
   7516       done
   7517       IFS="$lt_save_ifs"
   7518       ;;
   7519     esac
   7520 else
   7521   pic_mode=default
   7522 fi
   7523 
   7524 
   7525 test -z "$pic_mode" && pic_mode=default
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533   # Check whether --enable-fast-install was given.
   7534 if test "${enable_fast_install+set}" = set; then :
   7535   enableval=$enable_fast_install; p=${PACKAGE-default}
   7536     case $enableval in
   7537     yes) enable_fast_install=yes ;;
   7538     no) enable_fast_install=no ;;
   7539     *)
   7540       enable_fast_install=no
   7541       # Look at the argument we got.  We use all the common list separators.
   7542       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7543       for pkg in $enableval; do
   7544 	IFS="$lt_save_ifs"
   7545 	if test "X$pkg" = "X$p"; then
   7546 	  enable_fast_install=yes
   7547 	fi
   7548       done
   7549       IFS="$lt_save_ifs"
   7550       ;;
   7551     esac
   7552 else
   7553   enable_fast_install=yes
   7554 fi
   7555 
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 # This can be used to rebuild libtool when needed
   7567 LIBTOOL_DEPS="$ltmain"
   7568 
   7569 # Always use our own libtool.
   7570 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 test -z "$LN_S" && LN_S="ln -s"
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 if test -n "${ZSH_VERSION+set}" ; then
   7617    setopt NO_GLOB_SUBST
   7618 fi
   7619 
   7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7621 $as_echo_n "checking for objdir... " >&6; }
   7622 if ${lt_cv_objdir+:} false; then :
   7623   $as_echo_n "(cached) " >&6
   7624 else
   7625   rm -f .libs 2>/dev/null
   7626 mkdir .libs 2>/dev/null
   7627 if test -d .libs; then
   7628   lt_cv_objdir=.libs
   7629 else
   7630   # MS-DOS does not allow filenames that begin with a dot.
   7631   lt_cv_objdir=_libs
   7632 fi
   7633 rmdir .libs 2>/dev/null
   7634 fi
   7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7636 $as_echo "$lt_cv_objdir" >&6; }
   7637 objdir=$lt_cv_objdir
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 cat >>confdefs.h <<_ACEOF
   7644 #define LT_OBJDIR "$lt_cv_objdir/"
   7645 _ACEOF
   7646 
   7647 
   7648 
   7649 
   7650 case $host_os in
   7651 aix3*)
   7652   # AIX sometimes has problems with the GCC collect2 program.  For some
   7653   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7654   # vanish in a puff of smoke.
   7655   if test "X${COLLECT_NAMES+set}" != Xset; then
   7656     COLLECT_NAMES=
   7657     export COLLECT_NAMES
   7658   fi
   7659   ;;
   7660 esac
   7661 
   7662 # Global variables:
   7663 ofile=libtool
   7664 can_build_shared=yes
   7665 
   7666 # All known linkers require a `.a' archive for static linking (except MSVC,
   7667 # which needs '.lib').
   7668 libext=a
   7669 
   7670 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7671 
   7672 old_CC="$CC"
   7673 old_CFLAGS="$CFLAGS"
   7674 
   7675 # Set sane defaults for various variables
   7676 test -z "$CC" && CC=cc
   7677 test -z "$LTCC" && LTCC=$CC
   7678 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7679 test -z "$LD" && LD=ld
   7680 test -z "$ac_objext" && ac_objext=o
   7681 
   7682 for cc_temp in $compiler""; do
   7683   case $cc_temp in
   7684     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7685     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7686     \-*) ;;
   7687     *) break;;
   7688   esac
   7689 done
   7690 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7691 
   7692 
   7693 # Only perform the check for file, if the check method requires it
   7694 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7695 case $deplibs_check_method in
   7696 file_magic*)
   7697   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7698     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7699 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7700 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7701   $as_echo_n "(cached) " >&6
   7702 else
   7703   case $MAGIC_CMD in
   7704 [\\/*] |  ?:[\\/]*)
   7705   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7706   ;;
   7707 *)
   7708   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7709   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7710   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7711   for ac_dir in $ac_dummy; do
   7712     IFS="$lt_save_ifs"
   7713     test -z "$ac_dir" && ac_dir=.
   7714     if test -f $ac_dir/${ac_tool_prefix}file; then
   7715       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7716       if test -n "$file_magic_test_file"; then
   7717 	case $deplibs_check_method in
   7718 	"file_magic "*)
   7719 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7720 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7721 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7722 	    $EGREP "$file_magic_regex" > /dev/null; then
   7723 	    :
   7724 	  else
   7725 	    cat <<_LT_EOF 1>&2
   7726 
   7727 *** Warning: the command libtool uses to detect shared libraries,
   7728 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7729 *** The result is that libtool may fail to recognize shared libraries
   7730 *** as such.  This will affect the creation of libtool libraries that
   7731 *** depend on shared libraries, but programs linked with such libtool
   7732 *** libraries will work regardless of this problem.  Nevertheless, you
   7733 *** may want to report the problem to your system manager and/or to
   7734 *** bug-libtool@gnu.org
   7735 
   7736 _LT_EOF
   7737 	  fi ;;
   7738 	esac
   7739       fi
   7740       break
   7741     fi
   7742   done
   7743   IFS="$lt_save_ifs"
   7744   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7745   ;;
   7746 esac
   7747 fi
   7748 
   7749 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7750 if test -n "$MAGIC_CMD"; then
   7751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7752 $as_echo "$MAGIC_CMD" >&6; }
   7753 else
   7754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7755 $as_echo "no" >&6; }
   7756 fi
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7763   if test -n "$ac_tool_prefix"; then
   7764     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7765 $as_echo_n "checking for file... " >&6; }
   7766 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7767   $as_echo_n "(cached) " >&6
   7768 else
   7769   case $MAGIC_CMD in
   7770 [\\/*] |  ?:[\\/]*)
   7771   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7772   ;;
   7773 *)
   7774   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7775   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7776   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7777   for ac_dir in $ac_dummy; do
   7778     IFS="$lt_save_ifs"
   7779     test -z "$ac_dir" && ac_dir=.
   7780     if test -f $ac_dir/file; then
   7781       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7782       if test -n "$file_magic_test_file"; then
   7783 	case $deplibs_check_method in
   7784 	"file_magic "*)
   7785 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7786 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7787 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7788 	    $EGREP "$file_magic_regex" > /dev/null; then
   7789 	    :
   7790 	  else
   7791 	    cat <<_LT_EOF 1>&2
   7792 
   7793 *** Warning: the command libtool uses to detect shared libraries,
   7794 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7795 *** The result is that libtool may fail to recognize shared libraries
   7796 *** as such.  This will affect the creation of libtool libraries that
   7797 *** depend on shared libraries, but programs linked with such libtool
   7798 *** libraries will work regardless of this problem.  Nevertheless, you
   7799 *** may want to report the problem to your system manager and/or to
   7800 *** bug-libtool@gnu.org
   7801 
   7802 _LT_EOF
   7803 	  fi ;;
   7804 	esac
   7805       fi
   7806       break
   7807     fi
   7808   done
   7809   IFS="$lt_save_ifs"
   7810   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7811   ;;
   7812 esac
   7813 fi
   7814 
   7815 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7816 if test -n "$MAGIC_CMD"; then
   7817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7818 $as_echo "$MAGIC_CMD" >&6; }
   7819 else
   7820   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7821 $as_echo "no" >&6; }
   7822 fi
   7823 
   7824 
   7825   else
   7826     MAGIC_CMD=:
   7827   fi
   7828 fi
   7829 
   7830   fi
   7831   ;;
   7832 esac
   7833 
   7834 # Use C for the default configuration in the libtool script
   7835 
   7836 lt_save_CC="$CC"
   7837 ac_ext=c
   7838 ac_cpp='$CPP $CPPFLAGS'
   7839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7842 
   7843 
   7844 # Source file extension for C test sources.
   7845 ac_ext=c
   7846 
   7847 # Object file extension for compiled C test sources.
   7848 objext=o
   7849 objext=$objext
   7850 
   7851 # Code to be used in simple compile tests
   7852 lt_simple_compile_test_code="int some_variable = 0;"
   7853 
   7854 # Code to be used in simple link tests
   7855 lt_simple_link_test_code='int main(){return(0);}'
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 # If no C compiler was specified, use CC.
   7864 LTCC=${LTCC-"$CC"}
   7865 
   7866 # If no C compiler flags were specified, use CFLAGS.
   7867 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7868 
   7869 # Allow CC to be a program name with arguments.
   7870 compiler=$CC
   7871 
   7872 # Save the default compiler, since it gets overwritten when the other
   7873 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7874 compiler_DEFAULT=$CC
   7875 
   7876 # save warnings/boilerplate of simple test code
   7877 ac_outfile=conftest.$ac_objext
   7878 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7879 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7880 _lt_compiler_boilerplate=`cat conftest.err`
   7881 $RM conftest*
   7882 
   7883 ac_outfile=conftest.$ac_objext
   7884 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7885 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7886 _lt_linker_boilerplate=`cat conftest.err`
   7887 $RM -r conftest*
   7888 
   7889 
   7890 if test -n "$compiler"; then
   7891 
   7892 lt_prog_compiler_no_builtin_flag=
   7893 
   7894 if test "$GCC" = yes; then
   7895   case $cc_basename in
   7896   nvcc*)
   7897     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7898   *)
   7899     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7900   esac
   7901 
   7902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7903 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7904 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7905   $as_echo_n "(cached) " >&6
   7906 else
   7907   lt_cv_prog_compiler_rtti_exceptions=no
   7908    ac_outfile=conftest.$ac_objext
   7909    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7910    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7911    # Insert the option either (1) after the last *FLAGS variable, or
   7912    # (2) before a word containing "conftest.", or (3) at the end.
   7913    # Note that $ac_compile itself does not contain backslashes and begins
   7914    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7915    # The option is referenced via a variable to avoid confusing sed.
   7916    lt_compile=`echo "$ac_compile" | $SED \
   7917    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7918    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7919    -e 's:$: $lt_compiler_flag:'`
   7920    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7921    (eval "$lt_compile" 2>conftest.err)
   7922    ac_status=$?
   7923    cat conftest.err >&5
   7924    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7925    if (exit $ac_status) && test -s "$ac_outfile"; then
   7926      # The compiler can only warn and ignore the option if not recognized
   7927      # So say no if there are warnings other than the usual output.
   7928      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7929      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7930      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7931        lt_cv_prog_compiler_rtti_exceptions=yes
   7932      fi
   7933    fi
   7934    $RM conftest*
   7935 
   7936 fi
   7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7938 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7939 
   7940 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7941     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7942 else
   7943     :
   7944 fi
   7945 
   7946 fi
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953   lt_prog_compiler_wl=
   7954 lt_prog_compiler_pic=
   7955 lt_prog_compiler_static=
   7956 
   7957 
   7958   if test "$GCC" = yes; then
   7959     lt_prog_compiler_wl='-Wl,'
   7960     lt_prog_compiler_static='-static'
   7961 
   7962     case $host_os in
   7963       aix*)
   7964       # All AIX code is PIC.
   7965       if test "$host_cpu" = ia64; then
   7966 	# AIX 5 now supports IA64 processor
   7967 	lt_prog_compiler_static='-Bstatic'
   7968       fi
   7969       ;;
   7970 
   7971     amigaos*)
   7972       case $host_cpu in
   7973       powerpc)
   7974             # see comment about AmigaOS4 .so support
   7975             lt_prog_compiler_pic='-fPIC'
   7976         ;;
   7977       m68k)
   7978             # FIXME: we need at least 68020 code to build shared libraries, but
   7979             # adding the `-m68020' flag to GCC prevents building anything better,
   7980             # like `-m68040'.
   7981             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7982         ;;
   7983       esac
   7984       ;;
   7985 
   7986     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7987       # PIC is the default for these OSes.
   7988       ;;
   7989 
   7990     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7991       # This hack is so that the source file can tell whether it is being
   7992       # built for inclusion in a dll (and should export symbols for example).
   7993       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7994       # (--disable-auto-import) libraries
   7995       lt_prog_compiler_pic='-DDLL_EXPORT'
   7996       ;;
   7997 
   7998     darwin* | rhapsody*)
   7999       # PIC is the default on this platform
   8000       # Common symbols not allowed in MH_DYLIB files
   8001       lt_prog_compiler_pic='-fno-common'
   8002       ;;
   8003 
   8004     haiku*)
   8005       # PIC is the default for Haiku.
   8006       # The "-static" flag exists, but is broken.
   8007       lt_prog_compiler_static=
   8008       ;;
   8009 
   8010     hpux*)
   8011       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8012       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8013       # sets the default TLS model and affects inlining.
   8014       case $host_cpu in
   8015       hppa*64*)
   8016 	# +Z the default
   8017 	;;
   8018       *)
   8019 	lt_prog_compiler_pic='-fPIC'
   8020 	;;
   8021       esac
   8022       ;;
   8023 
   8024     interix[3-9]*)
   8025       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8026       # Instead, we relocate shared libraries at runtime.
   8027       ;;
   8028 
   8029     msdosdjgpp*)
   8030       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8031       # on systems that don't support them.
   8032       lt_prog_compiler_can_build_shared=no
   8033       enable_shared=no
   8034       ;;
   8035 
   8036     *nto* | *qnx*)
   8037       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8038       # it will coredump.
   8039       lt_prog_compiler_pic='-fPIC -shared'
   8040       ;;
   8041 
   8042     sysv4*MP*)
   8043       if test -d /usr/nec; then
   8044 	lt_prog_compiler_pic=-Kconform_pic
   8045       fi
   8046       ;;
   8047 
   8048     *)
   8049       lt_prog_compiler_pic='-fPIC'
   8050       ;;
   8051     esac
   8052 
   8053     case $cc_basename in
   8054     nvcc*) # Cuda Compiler Driver 2.2
   8055       lt_prog_compiler_wl='-Xlinker '
   8056       if test -n "$lt_prog_compiler_pic"; then
   8057         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8058       fi
   8059       ;;
   8060     esac
   8061   else
   8062     # PORTME Check for flag to pass linker flags through the system compiler.
   8063     case $host_os in
   8064     aix*)
   8065       lt_prog_compiler_wl='-Wl,'
   8066       if test "$host_cpu" = ia64; then
   8067 	# AIX 5 now supports IA64 processor
   8068 	lt_prog_compiler_static='-Bstatic'
   8069       else
   8070 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8071       fi
   8072       ;;
   8073 
   8074     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8075       # This hack is so that the source file can tell whether it is being
   8076       # built for inclusion in a dll (and should export symbols for example).
   8077       lt_prog_compiler_pic='-DDLL_EXPORT'
   8078       ;;
   8079 
   8080     hpux9* | hpux10* | hpux11*)
   8081       lt_prog_compiler_wl='-Wl,'
   8082       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8083       # not for PA HP-UX.
   8084       case $host_cpu in
   8085       hppa*64*|ia64*)
   8086 	# +Z the default
   8087 	;;
   8088       *)
   8089 	lt_prog_compiler_pic='+Z'
   8090 	;;
   8091       esac
   8092       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8093       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8094       ;;
   8095 
   8096     irix5* | irix6* | nonstopux*)
   8097       lt_prog_compiler_wl='-Wl,'
   8098       # PIC (with -KPIC) is the default.
   8099       lt_prog_compiler_static='-non_shared'
   8100       ;;
   8101 
   8102     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8103       case $cc_basename in
   8104       # old Intel for x86_64 which still supported -KPIC.
   8105       ecc*)
   8106 	lt_prog_compiler_wl='-Wl,'
   8107 	lt_prog_compiler_pic='-KPIC'
   8108 	lt_prog_compiler_static='-static'
   8109         ;;
   8110       # icc used to be incompatible with GCC.
   8111       # ICC 10 doesn't accept -KPIC any more.
   8112       icc* | ifort*)
   8113 	lt_prog_compiler_wl='-Wl,'
   8114 	lt_prog_compiler_pic='-fPIC'
   8115 	lt_prog_compiler_static='-static'
   8116         ;;
   8117       # Lahey Fortran 8.1.
   8118       lf95*)
   8119 	lt_prog_compiler_wl='-Wl,'
   8120 	lt_prog_compiler_pic='--shared'
   8121 	lt_prog_compiler_static='--static'
   8122 	;;
   8123       nagfor*)
   8124 	# NAG Fortran compiler
   8125 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8126 	lt_prog_compiler_pic='-PIC'
   8127 	lt_prog_compiler_static='-Bstatic'
   8128 	;;
   8129       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8130         # Portland Group compilers (*not* the Pentium gcc compiler,
   8131 	# which looks to be a dead project)
   8132 	lt_prog_compiler_wl='-Wl,'
   8133 	lt_prog_compiler_pic='-fpic'
   8134 	lt_prog_compiler_static='-Bstatic'
   8135         ;;
   8136       ccc*)
   8137         lt_prog_compiler_wl='-Wl,'
   8138         # All Alpha code is PIC.
   8139         lt_prog_compiler_static='-non_shared'
   8140         ;;
   8141       xl* | bgxl* | bgf* | mpixl*)
   8142 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8143 	lt_prog_compiler_wl='-Wl,'
   8144 	lt_prog_compiler_pic='-qpic'
   8145 	lt_prog_compiler_static='-qstaticlink'
   8146 	;;
   8147       *)
   8148 	case `$CC -V 2>&1 | sed 5q` in
   8149 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8150 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8151 	  lt_prog_compiler_pic='-KPIC'
   8152 	  lt_prog_compiler_static='-Bstatic'
   8153 	  lt_prog_compiler_wl=''
   8154 	  ;;
   8155 	*Sun\ F* | *Sun*Fortran*)
   8156 	  lt_prog_compiler_pic='-KPIC'
   8157 	  lt_prog_compiler_static='-Bstatic'
   8158 	  lt_prog_compiler_wl='-Qoption ld '
   8159 	  ;;
   8160 	*Sun\ C*)
   8161 	  # Sun C 5.9
   8162 	  lt_prog_compiler_pic='-KPIC'
   8163 	  lt_prog_compiler_static='-Bstatic'
   8164 	  lt_prog_compiler_wl='-Wl,'
   8165 	  ;;
   8166         *Intel*\ [CF]*Compiler*)
   8167 	  lt_prog_compiler_wl='-Wl,'
   8168 	  lt_prog_compiler_pic='-fPIC'
   8169 	  lt_prog_compiler_static='-static'
   8170 	  ;;
   8171 	*Portland\ Group*)
   8172 	  lt_prog_compiler_wl='-Wl,'
   8173 	  lt_prog_compiler_pic='-fpic'
   8174 	  lt_prog_compiler_static='-Bstatic'
   8175 	  ;;
   8176 	esac
   8177 	;;
   8178       esac
   8179       ;;
   8180 
   8181     newsos6)
   8182       lt_prog_compiler_pic='-KPIC'
   8183       lt_prog_compiler_static='-Bstatic'
   8184       ;;
   8185 
   8186     *nto* | *qnx*)
   8187       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8188       # it will coredump.
   8189       lt_prog_compiler_pic='-fPIC -shared'
   8190       ;;
   8191 
   8192     osf3* | osf4* | osf5*)
   8193       lt_prog_compiler_wl='-Wl,'
   8194       # All OSF/1 code is PIC.
   8195       lt_prog_compiler_static='-non_shared'
   8196       ;;
   8197 
   8198     rdos*)
   8199       lt_prog_compiler_static='-non_shared'
   8200       ;;
   8201 
   8202     solaris*)
   8203       lt_prog_compiler_pic='-KPIC'
   8204       lt_prog_compiler_static='-Bstatic'
   8205       case $cc_basename in
   8206       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8207 	lt_prog_compiler_wl='-Qoption ld ';;
   8208       *)
   8209 	lt_prog_compiler_wl='-Wl,';;
   8210       esac
   8211       ;;
   8212 
   8213     sunos4*)
   8214       lt_prog_compiler_wl='-Qoption ld '
   8215       lt_prog_compiler_pic='-PIC'
   8216       lt_prog_compiler_static='-Bstatic'
   8217       ;;
   8218 
   8219     sysv4 | sysv4.2uw2* | sysv4.3*)
   8220       lt_prog_compiler_wl='-Wl,'
   8221       lt_prog_compiler_pic='-KPIC'
   8222       lt_prog_compiler_static='-Bstatic'
   8223       ;;
   8224 
   8225     sysv4*MP*)
   8226       if test -d /usr/nec ;then
   8227 	lt_prog_compiler_pic='-Kconform_pic'
   8228 	lt_prog_compiler_static='-Bstatic'
   8229       fi
   8230       ;;
   8231 
   8232     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8233       lt_prog_compiler_wl='-Wl,'
   8234       lt_prog_compiler_pic='-KPIC'
   8235       lt_prog_compiler_static='-Bstatic'
   8236       ;;
   8237 
   8238     unicos*)
   8239       lt_prog_compiler_wl='-Wl,'
   8240       lt_prog_compiler_can_build_shared=no
   8241       ;;
   8242 
   8243     uts4*)
   8244       lt_prog_compiler_pic='-pic'
   8245       lt_prog_compiler_static='-Bstatic'
   8246       ;;
   8247 
   8248     *)
   8249       lt_prog_compiler_can_build_shared=no
   8250       ;;
   8251     esac
   8252   fi
   8253 
   8254 case $host_os in
   8255   # For platforms which do not support PIC, -DPIC is meaningless:
   8256   *djgpp*)
   8257     lt_prog_compiler_pic=
   8258     ;;
   8259   *)
   8260     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8261     ;;
   8262 esac
   8263 
   8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8265 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8266 if ${lt_cv_prog_compiler_pic+:} false; then :
   8267   $as_echo_n "(cached) " >&6
   8268 else
   8269   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8270 fi
   8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8272 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8273 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8274 
   8275 #
   8276 # Check to make sure the PIC flag actually works.
   8277 #
   8278 if test -n "$lt_prog_compiler_pic"; then
   8279   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8280 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8281 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8282   $as_echo_n "(cached) " >&6
   8283 else
   8284   lt_cv_prog_compiler_pic_works=no
   8285    ac_outfile=conftest.$ac_objext
   8286    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8287    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8288    # Insert the option either (1) after the last *FLAGS variable, or
   8289    # (2) before a word containing "conftest.", or (3) at the end.
   8290    # Note that $ac_compile itself does not contain backslashes and begins
   8291    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8292    # The option is referenced via a variable to avoid confusing sed.
   8293    lt_compile=`echo "$ac_compile" | $SED \
   8294    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8295    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8296    -e 's:$: $lt_compiler_flag:'`
   8297    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8298    (eval "$lt_compile" 2>conftest.err)
   8299    ac_status=$?
   8300    cat conftest.err >&5
   8301    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8302    if (exit $ac_status) && test -s "$ac_outfile"; then
   8303      # The compiler can only warn and ignore the option if not recognized
   8304      # So say no if there are warnings other than the usual output.
   8305      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8306      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8307      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8308        lt_cv_prog_compiler_pic_works=yes
   8309      fi
   8310    fi
   8311    $RM conftest*
   8312 
   8313 fi
   8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8315 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8316 
   8317 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8318     case $lt_prog_compiler_pic in
   8319      "" | " "*) ;;
   8320      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8321      esac
   8322 else
   8323     lt_prog_compiler_pic=
   8324      lt_prog_compiler_can_build_shared=no
   8325 fi
   8326 
   8327 fi
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 #
   8340 # Check to make sure the static flag actually works.
   8341 #
   8342 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8344 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8345 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8346   $as_echo_n "(cached) " >&6
   8347 else
   8348   lt_cv_prog_compiler_static_works=no
   8349    save_LDFLAGS="$LDFLAGS"
   8350    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8351    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8352    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8353      # The linker can only warn and ignore the option if not recognized
   8354      # So say no if there are warnings
   8355      if test -s conftest.err; then
   8356        # Append any errors to the config.log.
   8357        cat conftest.err 1>&5
   8358        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8359        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8360        if diff conftest.exp conftest.er2 >/dev/null; then
   8361          lt_cv_prog_compiler_static_works=yes
   8362        fi
   8363      else
   8364        lt_cv_prog_compiler_static_works=yes
   8365      fi
   8366    fi
   8367    $RM -r conftest*
   8368    LDFLAGS="$save_LDFLAGS"
   8369 
   8370 fi
   8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8372 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8373 
   8374 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8375     :
   8376 else
   8377     lt_prog_compiler_static=
   8378 fi
   8379 
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8387 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8388 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8389   $as_echo_n "(cached) " >&6
   8390 else
   8391   lt_cv_prog_compiler_c_o=no
   8392    $RM -r conftest 2>/dev/null
   8393    mkdir conftest
   8394    cd conftest
   8395    mkdir out
   8396    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8397 
   8398    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8399    # Insert the option either (1) after the last *FLAGS variable, or
   8400    # (2) before a word containing "conftest.", or (3) at the end.
   8401    # Note that $ac_compile itself does not contain backslashes and begins
   8402    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8403    lt_compile=`echo "$ac_compile" | $SED \
   8404    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8405    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8406    -e 's:$: $lt_compiler_flag:'`
   8407    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8408    (eval "$lt_compile" 2>out/conftest.err)
   8409    ac_status=$?
   8410    cat out/conftest.err >&5
   8411    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8412    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8413    then
   8414      # The compiler can only warn and ignore the option if not recognized
   8415      # So say no if there are warnings
   8416      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8417      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8418      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8419        lt_cv_prog_compiler_c_o=yes
   8420      fi
   8421    fi
   8422    chmod u+w . 2>&5
   8423    $RM conftest*
   8424    # SGI C++ compiler will create directory out/ii_files/ for
   8425    # template instantiation
   8426    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8427    $RM out/* && rmdir out
   8428    cd ..
   8429    $RM -r conftest
   8430    $RM conftest*
   8431 
   8432 fi
   8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8434 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8442 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8443 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8444   $as_echo_n "(cached) " >&6
   8445 else
   8446   lt_cv_prog_compiler_c_o=no
   8447    $RM -r conftest 2>/dev/null
   8448    mkdir conftest
   8449    cd conftest
   8450    mkdir out
   8451    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8452 
   8453    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8454    # Insert the option either (1) after the last *FLAGS variable, or
   8455    # (2) before a word containing "conftest.", or (3) at the end.
   8456    # Note that $ac_compile itself does not contain backslashes and begins
   8457    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8458    lt_compile=`echo "$ac_compile" | $SED \
   8459    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8460    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8461    -e 's:$: $lt_compiler_flag:'`
   8462    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8463    (eval "$lt_compile" 2>out/conftest.err)
   8464    ac_status=$?
   8465    cat out/conftest.err >&5
   8466    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8467    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8468    then
   8469      # The compiler can only warn and ignore the option if not recognized
   8470      # So say no if there are warnings
   8471      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8472      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8473      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8474        lt_cv_prog_compiler_c_o=yes
   8475      fi
   8476    fi
   8477    chmod u+w . 2>&5
   8478    $RM conftest*
   8479    # SGI C++ compiler will create directory out/ii_files/ for
   8480    # template instantiation
   8481    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8482    $RM out/* && rmdir out
   8483    cd ..
   8484    $RM -r conftest
   8485    $RM conftest*
   8486 
   8487 fi
   8488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8489 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8490 
   8491 
   8492 
   8493 
   8494 hard_links="nottested"
   8495 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8496   # do not overwrite the value of need_locks provided by the user
   8497   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8498 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8499   hard_links=yes
   8500   $RM conftest*
   8501   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8502   touch conftest.a
   8503   ln conftest.a conftest.b 2>&5 || hard_links=no
   8504   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8505   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8506 $as_echo "$hard_links" >&6; }
   8507   if test "$hard_links" = no; then
   8508     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8509 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8510     need_locks=warn
   8511   fi
   8512 else
   8513   need_locks=no
   8514 fi
   8515 
   8516 
   8517 
   8518 
   8519 
   8520 
   8521   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8522 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8523 
   8524   runpath_var=
   8525   allow_undefined_flag=
   8526   always_export_symbols=no
   8527   archive_cmds=
   8528   archive_expsym_cmds=
   8529   compiler_needs_object=no
   8530   enable_shared_with_static_runtimes=no
   8531   export_dynamic_flag_spec=
   8532   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8533   hardcode_automatic=no
   8534   hardcode_direct=no
   8535   hardcode_direct_absolute=no
   8536   hardcode_libdir_flag_spec=
   8537   hardcode_libdir_separator=
   8538   hardcode_minus_L=no
   8539   hardcode_shlibpath_var=unsupported
   8540   inherit_rpath=no
   8541   link_all_deplibs=unknown
   8542   module_cmds=
   8543   module_expsym_cmds=
   8544   old_archive_from_new_cmds=
   8545   old_archive_from_expsyms_cmds=
   8546   thread_safe_flag_spec=
   8547   whole_archive_flag_spec=
   8548   # include_expsyms should be a list of space-separated symbols to be *always*
   8549   # included in the symbol list
   8550   include_expsyms=
   8551   # exclude_expsyms can be an extended regexp of symbols to exclude
   8552   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8553   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8554   # as well as any symbol that contains `d'.
   8555   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8556   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8557   # platforms (ab)use it in PIC code, but their linkers get confused if
   8558   # the symbol is explicitly referenced.  Since portable code cannot
   8559   # rely on this symbol name, it's probably fine to never include it in
   8560   # preloaded symbol tables.
   8561   # Exclude shared library initialization/finalization symbols.
   8562   extract_expsyms_cmds=
   8563 
   8564   case $host_os in
   8565   cygwin* | mingw* | pw32* | cegcc*)
   8566     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8567     # When not using gcc, we currently assume that we are using
   8568     # Microsoft Visual C++.
   8569     if test "$GCC" != yes; then
   8570       with_gnu_ld=no
   8571     fi
   8572     ;;
   8573   interix*)
   8574     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8575     with_gnu_ld=yes
   8576     ;;
   8577   openbsd*)
   8578     with_gnu_ld=no
   8579     ;;
   8580   esac
   8581 
   8582   ld_shlibs=yes
   8583 
   8584   # On some targets, GNU ld is compatible enough with the native linker
   8585   # that we're better off using the native interface for both.
   8586   lt_use_gnu_ld_interface=no
   8587   if test "$with_gnu_ld" = yes; then
   8588     case $host_os in
   8589       aix*)
   8590 	# The AIX port of GNU ld has always aspired to compatibility
   8591 	# with the native linker.  However, as the warning in the GNU ld
   8592 	# block says, versions before 2.19.5* couldn't really create working
   8593 	# shared libraries, regardless of the interface used.
   8594 	case `$LD -v 2>&1` in
   8595 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8596 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8597 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8598 	  *)
   8599 	    lt_use_gnu_ld_interface=yes
   8600 	    ;;
   8601 	esac
   8602 	;;
   8603       *)
   8604 	lt_use_gnu_ld_interface=yes
   8605 	;;
   8606     esac
   8607   fi
   8608 
   8609   if test "$lt_use_gnu_ld_interface" = yes; then
   8610     # If archive_cmds runs LD, not CC, wlarc should be empty
   8611     wlarc='${wl}'
   8612 
   8613     # Set some defaults for GNU ld with shared library support. These
   8614     # are reset later if shared libraries are not supported. Putting them
   8615     # here allows them to be overridden if necessary.
   8616     runpath_var=LD_RUN_PATH
   8617     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8618     export_dynamic_flag_spec='${wl}--export-dynamic'
   8619     # ancient GNU ld didn't support --whole-archive et. al.
   8620     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8621       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8622     else
   8623       whole_archive_flag_spec=
   8624     fi
   8625     supports_anon_versioning=no
   8626     case `$LD -v 2>&1` in
   8627       *GNU\ gold*) supports_anon_versioning=yes ;;
   8628       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8629       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8630       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8631       *\ 2.11.*) ;; # other 2.11 versions
   8632       *) supports_anon_versioning=yes ;;
   8633     esac
   8634 
   8635     # See if GNU ld supports shared libraries.
   8636     case $host_os in
   8637     aix[3-9]*)
   8638       # On AIX/PPC, the GNU linker is very broken
   8639       if test "$host_cpu" != ia64; then
   8640 	ld_shlibs=no
   8641 	cat <<_LT_EOF 1>&2
   8642 
   8643 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8644 *** to be unable to reliably create shared libraries on AIX.
   8645 *** Therefore, libtool is disabling shared libraries support.  If you
   8646 *** really care for shared libraries, you may want to install binutils
   8647 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8648 *** You will then need to restart the configuration process.
   8649 
   8650 _LT_EOF
   8651       fi
   8652       ;;
   8653 
   8654     amigaos*)
   8655       case $host_cpu in
   8656       powerpc)
   8657             # see comment about AmigaOS4 .so support
   8658             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8659             archive_expsym_cmds=''
   8660         ;;
   8661       m68k)
   8662             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)'
   8663             hardcode_libdir_flag_spec='-L$libdir'
   8664             hardcode_minus_L=yes
   8665         ;;
   8666       esac
   8667       ;;
   8668 
   8669     beos*)
   8670       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8671 	allow_undefined_flag=unsupported
   8672 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8673 	# support --undefined.  This deserves some investigation.  FIXME
   8674 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8675       else
   8676 	ld_shlibs=no
   8677       fi
   8678       ;;
   8679 
   8680     cygwin* | mingw* | pw32* | cegcc*)
   8681       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8682       # as there is no search path for DLLs.
   8683       hardcode_libdir_flag_spec='-L$libdir'
   8684       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8685       allow_undefined_flag=unsupported
   8686       always_export_symbols=no
   8687       enable_shared_with_static_runtimes=yes
   8688       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'
   8689       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8690 
   8691       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8692         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8693 	# If the export-symbols file already is a .def file (1st line
   8694 	# is EXPORTS), use it as is; otherwise, prepend...
   8695 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8696 	  cp $export_symbols $output_objdir/$soname.def;
   8697 	else
   8698 	  echo EXPORTS > $output_objdir/$soname.def;
   8699 	  cat $export_symbols >> $output_objdir/$soname.def;
   8700 	fi~
   8701 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8702       else
   8703 	ld_shlibs=no
   8704       fi
   8705       ;;
   8706 
   8707     haiku*)
   8708       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8709       link_all_deplibs=yes
   8710       ;;
   8711 
   8712     interix[3-9]*)
   8713       hardcode_direct=no
   8714       hardcode_shlibpath_var=no
   8715       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8716       export_dynamic_flag_spec='${wl}-E'
   8717       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8718       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8719       # default) and relocated if they conflict, which is a slow very memory
   8720       # consuming and fragmenting process.  To avoid this, we pick a random,
   8721       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8722       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8723       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8724       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'
   8725       ;;
   8726 
   8727     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8728       tmp_diet=no
   8729       if test "$host_os" = linux-dietlibc; then
   8730 	case $cc_basename in
   8731 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8732 	esac
   8733       fi
   8734       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8735 	 && test "$tmp_diet" = no
   8736       then
   8737 	tmp_addflag=' $pic_flag'
   8738 	tmp_sharedflag='-shared'
   8739 	case $cc_basename,$host_cpu in
   8740         pgcc*)				# Portland Group C compiler
   8741 	  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'
   8742 	  tmp_addflag=' $pic_flag'
   8743 	  ;;
   8744 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8745 					# Portland Group f77 and f90 compilers
   8746 	  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'
   8747 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8748 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8749 	  tmp_addflag=' -i_dynamic' ;;
   8750 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8751 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8752 	ifc* | ifort*)			# Intel Fortran compiler
   8753 	  tmp_addflag=' -nofor_main' ;;
   8754 	lf95*)				# Lahey Fortran 8.1
   8755 	  whole_archive_flag_spec=
   8756 	  tmp_sharedflag='--shared' ;;
   8757 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8758 	  tmp_sharedflag='-qmkshrobj'
   8759 	  tmp_addflag= ;;
   8760 	nvcc*)	# Cuda Compiler Driver 2.2
   8761 	  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'
   8762 	  compiler_needs_object=yes
   8763 	  ;;
   8764 	esac
   8765 	case `$CC -V 2>&1 | sed 5q` in
   8766 	*Sun\ C*)			# Sun C 5.9
   8767 	  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'
   8768 	  compiler_needs_object=yes
   8769 	  tmp_sharedflag='-G' ;;
   8770 	*Sun\ F*)			# Sun Fortran 8.3
   8771 	  tmp_sharedflag='-G' ;;
   8772 	esac
   8773 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8774 
   8775         if test "x$supports_anon_versioning" = xyes; then
   8776           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8777 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8778 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8779 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8780         fi
   8781 
   8782 	case $cc_basename in
   8783 	xlf* | bgf* | bgxlf* | mpixlf*)
   8784 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8785 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8786 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8787 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8788 	  if test "x$supports_anon_versioning" = xyes; then
   8789 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8790 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8791 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8792 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8793 	  fi
   8794 	  ;;
   8795 	esac
   8796       else
   8797         ld_shlibs=no
   8798       fi
   8799       ;;
   8800 
   8801     netbsd*)
   8802       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8803 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8804 	wlarc=
   8805       else
   8806 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8807 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8808       fi
   8809       ;;
   8810 
   8811     solaris*)
   8812       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8813 	ld_shlibs=no
   8814 	cat <<_LT_EOF 1>&2
   8815 
   8816 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8817 *** create shared libraries on Solaris systems.  Therefore, libtool
   8818 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8819 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8820 *** your PATH or compiler configuration so that the native linker is
   8821 *** used, and then restart.
   8822 
   8823 _LT_EOF
   8824       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8825 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8826 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8827       else
   8828 	ld_shlibs=no
   8829       fi
   8830       ;;
   8831 
   8832     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8833       case `$LD -v 2>&1` in
   8834         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8835 	ld_shlibs=no
   8836 	cat <<_LT_EOF 1>&2
   8837 
   8838 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8839 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8840 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8841 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8842 *** your PATH or compiler configuration so that the native linker is
   8843 *** used, and then restart.
   8844 
   8845 _LT_EOF
   8846 	;;
   8847 	*)
   8848 	  # For security reasons, it is highly recommended that you always
   8849 	  # use absolute paths for naming shared libraries, and exclude the
   8850 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8851 	  # requires that you compile everything twice, which is a pain.
   8852 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8853 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8854 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8855 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8856 	  else
   8857 	    ld_shlibs=no
   8858 	  fi
   8859 	;;
   8860       esac
   8861       ;;
   8862 
   8863     sunos4*)
   8864       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8865       wlarc=
   8866       hardcode_direct=yes
   8867       hardcode_shlibpath_var=no
   8868       ;;
   8869 
   8870     *)
   8871       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8872 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8873 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8874       else
   8875 	ld_shlibs=no
   8876       fi
   8877       ;;
   8878     esac
   8879 
   8880     if test "$ld_shlibs" = no; then
   8881       runpath_var=
   8882       hardcode_libdir_flag_spec=
   8883       export_dynamic_flag_spec=
   8884       whole_archive_flag_spec=
   8885     fi
   8886   else
   8887     # PORTME fill in a description of your system's linker (not GNU ld)
   8888     case $host_os in
   8889     aix3*)
   8890       allow_undefined_flag=unsupported
   8891       always_export_symbols=yes
   8892       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'
   8893       # Note: this linker hardcodes the directories in LIBPATH if there
   8894       # are no directories specified by -L.
   8895       hardcode_minus_L=yes
   8896       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8897 	# Neither direct hardcoding nor static linking is supported with a
   8898 	# broken collect2.
   8899 	hardcode_direct=unsupported
   8900       fi
   8901       ;;
   8902 
   8903     aix[4-9]*)
   8904       if test "$host_cpu" = ia64; then
   8905 	# On IA64, the linker does run time linking by default, so we don't
   8906 	# have to do anything special.
   8907 	aix_use_runtimelinking=no
   8908 	exp_sym_flag='-Bexport'
   8909 	no_entry_flag=""
   8910       else
   8911 	# If we're using GNU nm, then we don't want the "-C" option.
   8912 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8913 	# Also, AIX nm treats weak defined symbols like other global
   8914 	# defined symbols, whereas GNU nm marks them as "W".
   8915 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8916 	  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'
   8917 	else
   8918 	  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'
   8919 	fi
   8920 	aix_use_runtimelinking=no
   8921 
   8922 	# Test if we are trying to use run time linking or normal
   8923 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8924 	# need to do runtime linking.
   8925 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8926 	  for ld_flag in $LDFLAGS; do
   8927 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8928 	    aix_use_runtimelinking=yes
   8929 	    break
   8930 	  fi
   8931 	  done
   8932 	  ;;
   8933 	esac
   8934 
   8935 	exp_sym_flag='-bexport'
   8936 	no_entry_flag='-bnoentry'
   8937       fi
   8938 
   8939       # When large executables or shared objects are built, AIX ld can
   8940       # have problems creating the table of contents.  If linking a library
   8941       # or program results in "error TOC overflow" add -mminimal-toc to
   8942       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8943       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8944 
   8945       archive_cmds=''
   8946       hardcode_direct=yes
   8947       hardcode_direct_absolute=yes
   8948       hardcode_libdir_separator=':'
   8949       link_all_deplibs=yes
   8950       file_list_spec='${wl}-f,'
   8951 
   8952       if test "$GCC" = yes; then
   8953 	case $host_os in aix4.[012]|aix4.[012].*)
   8954 	# We only want to do this on AIX 4.2 and lower, the check
   8955 	# below for broken collect2 doesn't work under 4.3+
   8956 	  collect2name=`${CC} -print-prog-name=collect2`
   8957 	  if test -f "$collect2name" &&
   8958 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8959 	  then
   8960 	  # We have reworked collect2
   8961 	  :
   8962 	  else
   8963 	  # We have old collect2
   8964 	  hardcode_direct=unsupported
   8965 	  # It fails to find uninstalled libraries when the uninstalled
   8966 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8967 	  # to unsupported forces relinking
   8968 	  hardcode_minus_L=yes
   8969 	  hardcode_libdir_flag_spec='-L$libdir'
   8970 	  hardcode_libdir_separator=
   8971 	  fi
   8972 	  ;;
   8973 	esac
   8974 	shared_flag='-shared'
   8975 	if test "$aix_use_runtimelinking" = yes; then
   8976 	  shared_flag="$shared_flag "'${wl}-G'
   8977 	fi
   8978       else
   8979 	# not using gcc
   8980 	if test "$host_cpu" = ia64; then
   8981 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8982 	# chokes on -Wl,-G. The following line is correct:
   8983 	  shared_flag='-G'
   8984 	else
   8985 	  if test "$aix_use_runtimelinking" = yes; then
   8986 	    shared_flag='${wl}-G'
   8987 	  else
   8988 	    shared_flag='${wl}-bM:SRE'
   8989 	  fi
   8990 	fi
   8991       fi
   8992 
   8993       export_dynamic_flag_spec='${wl}-bexpall'
   8994       # It seems that -bexpall does not export symbols beginning with
   8995       # underscore (_), so it is better to generate a list of symbols to export.
   8996       always_export_symbols=yes
   8997       if test "$aix_use_runtimelinking" = yes; then
   8998 	# Warning - without using the other runtime loading flags (-brtl),
   8999 	# -berok will link without error, but may produce a broken library.
   9000 	allow_undefined_flag='-berok'
   9001         # Determine the default libpath from the value encoded in an
   9002         # empty executable.
   9003         if test "${lt_cv_aix_libpath+set}" = set; then
   9004   aix_libpath=$lt_cv_aix_libpath
   9005 else
   9006   if ${lt_cv_aix_libpath_+:} false; then :
   9007   $as_echo_n "(cached) " >&6
   9008 else
   9009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9010 /* end confdefs.h.  */
   9011 
   9012 int
   9013 main ()
   9014 {
   9015 
   9016   ;
   9017   return 0;
   9018 }
   9019 _ACEOF
   9020 if ac_fn_c_try_link "$LINENO"; then :
   9021 
   9022   lt_aix_libpath_sed='
   9023       /Import File Strings/,/^$/ {
   9024 	  /^0/ {
   9025 	      s/^0  *\([^ ]*\) *$/\1/
   9026 	      p
   9027 	  }
   9028       }'
   9029   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9030   # Check for a 64-bit object if we didn't find anything.
   9031   if test -z "$lt_cv_aix_libpath_"; then
   9032     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9033   fi
   9034 fi
   9035 rm -f core conftest.err conftest.$ac_objext \
   9036     conftest$ac_exeext conftest.$ac_ext
   9037   if test -z "$lt_cv_aix_libpath_"; then
   9038     lt_cv_aix_libpath_="/usr/lib:/lib"
   9039   fi
   9040 
   9041 fi
   9042 
   9043   aix_libpath=$lt_cv_aix_libpath_
   9044 fi
   9045 
   9046         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9047         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"
   9048       else
   9049 	if test "$host_cpu" = ia64; then
   9050 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9051 	  allow_undefined_flag="-z nodefs"
   9052 	  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"
   9053 	else
   9054 	 # Determine the default libpath from the value encoded in an
   9055 	 # empty executable.
   9056 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9057   aix_libpath=$lt_cv_aix_libpath
   9058 else
   9059   if ${lt_cv_aix_libpath_+:} false; then :
   9060   $as_echo_n "(cached) " >&6
   9061 else
   9062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9063 /* end confdefs.h.  */
   9064 
   9065 int
   9066 main ()
   9067 {
   9068 
   9069   ;
   9070   return 0;
   9071 }
   9072 _ACEOF
   9073 if ac_fn_c_try_link "$LINENO"; then :
   9074 
   9075   lt_aix_libpath_sed='
   9076       /Import File Strings/,/^$/ {
   9077 	  /^0/ {
   9078 	      s/^0  *\([^ ]*\) *$/\1/
   9079 	      p
   9080 	  }
   9081       }'
   9082   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9083   # Check for a 64-bit object if we didn't find anything.
   9084   if test -z "$lt_cv_aix_libpath_"; then
   9085     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9086   fi
   9087 fi
   9088 rm -f core conftest.err conftest.$ac_objext \
   9089     conftest$ac_exeext conftest.$ac_ext
   9090   if test -z "$lt_cv_aix_libpath_"; then
   9091     lt_cv_aix_libpath_="/usr/lib:/lib"
   9092   fi
   9093 
   9094 fi
   9095 
   9096   aix_libpath=$lt_cv_aix_libpath_
   9097 fi
   9098 
   9099 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9100 	  # Warning - without using the other run time loading flags,
   9101 	  # -berok will link without error, but may produce a broken library.
   9102 	  no_undefined_flag=' ${wl}-bernotok'
   9103 	  allow_undefined_flag=' ${wl}-berok'
   9104 	  if test "$with_gnu_ld" = yes; then
   9105 	    # We only use this code for GNU lds that support --whole-archive.
   9106 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9107 	  else
   9108 	    # Exported symbols can be pulled into shared objects from archives
   9109 	    whole_archive_flag_spec='$convenience'
   9110 	  fi
   9111 	  archive_cmds_need_lc=yes
   9112 	  # This is similar to how AIX traditionally builds its shared libraries.
   9113 	  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'
   9114 	fi
   9115       fi
   9116       ;;
   9117 
   9118     amigaos*)
   9119       case $host_cpu in
   9120       powerpc)
   9121             # see comment about AmigaOS4 .so support
   9122             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9123             archive_expsym_cmds=''
   9124         ;;
   9125       m68k)
   9126             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)'
   9127             hardcode_libdir_flag_spec='-L$libdir'
   9128             hardcode_minus_L=yes
   9129         ;;
   9130       esac
   9131       ;;
   9132 
   9133     bsdi[45]*)
   9134       export_dynamic_flag_spec=-rdynamic
   9135       ;;
   9136 
   9137     cygwin* | mingw* | pw32* | cegcc*)
   9138       # When not using gcc, we currently assume that we are using
   9139       # Microsoft Visual C++.
   9140       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9141       # no search path for DLLs.
   9142       case $cc_basename in
   9143       cl*)
   9144 	# Native MSVC
   9145 	hardcode_libdir_flag_spec=' '
   9146 	allow_undefined_flag=unsupported
   9147 	always_export_symbols=yes
   9148 	file_list_spec='@'
   9149 	# Tell ltmain to make .lib files, not .a files.
   9150 	libext=lib
   9151 	# Tell ltmain to make .dll files, not .so files.
   9152 	shrext_cmds=".dll"
   9153 	# FIXME: Setting linknames here is a bad hack.
   9154 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9155 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9156 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9157 	  else
   9158 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9159 	  fi~
   9160 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9161 	  linknames='
   9162 	# The linker will not automatically build a static lib if we build a DLL.
   9163 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9164 	enable_shared_with_static_runtimes=yes
   9165 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9166 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9167 	# Don't use ranlib
   9168 	old_postinstall_cmds='chmod 644 $oldlib'
   9169 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9170 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9171 	  case $lt_outputfile in
   9172 	    *.exe|*.EXE) ;;
   9173 	    *)
   9174 	      lt_outputfile="$lt_outputfile.exe"
   9175 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9176 	      ;;
   9177 	  esac~
   9178 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9179 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9180 	    $RM "$lt_outputfile.manifest";
   9181 	  fi'
   9182 	;;
   9183       *)
   9184 	# Assume MSVC wrapper
   9185 	hardcode_libdir_flag_spec=' '
   9186 	allow_undefined_flag=unsupported
   9187 	# Tell ltmain to make .lib files, not .a files.
   9188 	libext=lib
   9189 	# Tell ltmain to make .dll files, not .so files.
   9190 	shrext_cmds=".dll"
   9191 	# FIXME: Setting linknames here is a bad hack.
   9192 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9193 	# The linker will automatically build a .lib file if we build a DLL.
   9194 	old_archive_from_new_cmds='true'
   9195 	# FIXME: Should let the user specify the lib program.
   9196 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9197 	enable_shared_with_static_runtimes=yes
   9198 	;;
   9199       esac
   9200       ;;
   9201 
   9202     darwin* | rhapsody*)
   9203 
   9204 
   9205   archive_cmds_need_lc=no
   9206   hardcode_direct=no
   9207   hardcode_automatic=yes
   9208   hardcode_shlibpath_var=unsupported
   9209   if test "$lt_cv_ld_force_load" = "yes"; then
   9210     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\"`'
   9211 
   9212   else
   9213     whole_archive_flag_spec=''
   9214   fi
   9215   link_all_deplibs=yes
   9216   allow_undefined_flag="$_lt_dar_allow_undefined"
   9217   case $cc_basename in
   9218      ifort*) _lt_dar_can_shared=yes ;;
   9219      *) _lt_dar_can_shared=$GCC ;;
   9220   esac
   9221   if test "$_lt_dar_can_shared" = "yes"; then
   9222     output_verbose_link_cmd=func_echo_all
   9223     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9224     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9225     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}"
   9226     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}"
   9227 
   9228   else
   9229   ld_shlibs=no
   9230   fi
   9231 
   9232       ;;
   9233 
   9234     dgux*)
   9235       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9236       hardcode_libdir_flag_spec='-L$libdir'
   9237       hardcode_shlibpath_var=no
   9238       ;;
   9239 
   9240     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9241     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9242     # does not break anything, and helps significantly (at the cost of a little
   9243     # extra space).
   9244     freebsd2.2*)
   9245       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9246       hardcode_libdir_flag_spec='-R$libdir'
   9247       hardcode_direct=yes
   9248       hardcode_shlibpath_var=no
   9249       ;;
   9250 
   9251     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9252     freebsd2.*)
   9253       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9254       hardcode_direct=yes
   9255       hardcode_minus_L=yes
   9256       hardcode_shlibpath_var=no
   9257       ;;
   9258 
   9259     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9260     freebsd* | dragonfly*)
   9261       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9262       hardcode_libdir_flag_spec='-R$libdir'
   9263       hardcode_direct=yes
   9264       hardcode_shlibpath_var=no
   9265       ;;
   9266 
   9267     hpux9*)
   9268       if test "$GCC" = yes; then
   9269 	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'
   9270       else
   9271 	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'
   9272       fi
   9273       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9274       hardcode_libdir_separator=:
   9275       hardcode_direct=yes
   9276 
   9277       # hardcode_minus_L: Not really in the search PATH,
   9278       # but as the default location of the library.
   9279       hardcode_minus_L=yes
   9280       export_dynamic_flag_spec='${wl}-E'
   9281       ;;
   9282 
   9283     hpux10*)
   9284       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9285 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9286       else
   9287 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9288       fi
   9289       if test "$with_gnu_ld" = no; then
   9290 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9291 	hardcode_libdir_separator=:
   9292 	hardcode_direct=yes
   9293 	hardcode_direct_absolute=yes
   9294 	export_dynamic_flag_spec='${wl}-E'
   9295 	# hardcode_minus_L: Not really in the search PATH,
   9296 	# but as the default location of the library.
   9297 	hardcode_minus_L=yes
   9298       fi
   9299       ;;
   9300 
   9301     hpux11*)
   9302       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9303 	case $host_cpu in
   9304 	hppa*64*)
   9305 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9306 	  ;;
   9307 	ia64*)
   9308 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9309 	  ;;
   9310 	*)
   9311 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9312 	  ;;
   9313 	esac
   9314       else
   9315 	case $host_cpu in
   9316 	hppa*64*)
   9317 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9318 	  ;;
   9319 	ia64*)
   9320 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9321 	  ;;
   9322 	*)
   9323 
   9324 	  # Older versions of the 11.00 compiler do not understand -b yet
   9325 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9326 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9327 $as_echo_n "checking if $CC understands -b... " >&6; }
   9328 if ${lt_cv_prog_compiler__b+:} false; then :
   9329   $as_echo_n "(cached) " >&6
   9330 else
   9331   lt_cv_prog_compiler__b=no
   9332    save_LDFLAGS="$LDFLAGS"
   9333    LDFLAGS="$LDFLAGS -b"
   9334    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9335    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9336      # The linker can only warn and ignore the option if not recognized
   9337      # So say no if there are warnings
   9338      if test -s conftest.err; then
   9339        # Append any errors to the config.log.
   9340        cat conftest.err 1>&5
   9341        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9342        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9343        if diff conftest.exp conftest.er2 >/dev/null; then
   9344          lt_cv_prog_compiler__b=yes
   9345        fi
   9346      else
   9347        lt_cv_prog_compiler__b=yes
   9348      fi
   9349    fi
   9350    $RM -r conftest*
   9351    LDFLAGS="$save_LDFLAGS"
   9352 
   9353 fi
   9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9355 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9356 
   9357 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9358     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9359 else
   9360     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9361 fi
   9362 
   9363 	  ;;
   9364 	esac
   9365       fi
   9366       if test "$with_gnu_ld" = no; then
   9367 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9368 	hardcode_libdir_separator=:
   9369 
   9370 	case $host_cpu in
   9371 	hppa*64*|ia64*)
   9372 	  hardcode_direct=no
   9373 	  hardcode_shlibpath_var=no
   9374 	  ;;
   9375 	*)
   9376 	  hardcode_direct=yes
   9377 	  hardcode_direct_absolute=yes
   9378 	  export_dynamic_flag_spec='${wl}-E'
   9379 
   9380 	  # hardcode_minus_L: Not really in the search PATH,
   9381 	  # but as the default location of the library.
   9382 	  hardcode_minus_L=yes
   9383 	  ;;
   9384 	esac
   9385       fi
   9386       ;;
   9387 
   9388     irix5* | irix6* | nonstopux*)
   9389       if test "$GCC" = yes; then
   9390 	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'
   9391 	# Try to use the -exported_symbol ld option, if it does not
   9392 	# work, assume that -exports_file does not work either and
   9393 	# implicitly export all symbols.
   9394 	# This should be the same for all languages, so no per-tag cache variable.
   9395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9396 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9397 if ${lt_cv_irix_exported_symbol+:} false; then :
   9398   $as_echo_n "(cached) " >&6
   9399 else
   9400   save_LDFLAGS="$LDFLAGS"
   9401 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9402 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9403 /* end confdefs.h.  */
   9404 int foo (void) { return 0; }
   9405 _ACEOF
   9406 if ac_fn_c_try_link "$LINENO"; then :
   9407   lt_cv_irix_exported_symbol=yes
   9408 else
   9409   lt_cv_irix_exported_symbol=no
   9410 fi
   9411 rm -f core conftest.err conftest.$ac_objext \
   9412     conftest$ac_exeext conftest.$ac_ext
   9413            LDFLAGS="$save_LDFLAGS"
   9414 fi
   9415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9416 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9417 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9418           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'
   9419 	fi
   9420       else
   9421 	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'
   9422 	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'
   9423       fi
   9424       archive_cmds_need_lc='no'
   9425       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9426       hardcode_libdir_separator=:
   9427       inherit_rpath=yes
   9428       link_all_deplibs=yes
   9429       ;;
   9430 
   9431     netbsd*)
   9432       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9433 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9434       else
   9435 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9436       fi
   9437       hardcode_libdir_flag_spec='-R$libdir'
   9438       hardcode_direct=yes
   9439       hardcode_shlibpath_var=no
   9440       ;;
   9441 
   9442     newsos6)
   9443       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9444       hardcode_direct=yes
   9445       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9446       hardcode_libdir_separator=:
   9447       hardcode_shlibpath_var=no
   9448       ;;
   9449 
   9450     *nto* | *qnx*)
   9451       ;;
   9452 
   9453     openbsd*)
   9454       if test -f /usr/libexec/ld.so; then
   9455 	hardcode_direct=yes
   9456 	hardcode_shlibpath_var=no
   9457 	hardcode_direct_absolute=yes
   9458 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9459 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9460 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9461 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9462 	  export_dynamic_flag_spec='${wl}-E'
   9463 	else
   9464 	  case $host_os in
   9465 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9466 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9467 	     hardcode_libdir_flag_spec='-R$libdir'
   9468 	     ;;
   9469 	   *)
   9470 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9471 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9472 	     ;;
   9473 	  esac
   9474 	fi
   9475       else
   9476 	ld_shlibs=no
   9477       fi
   9478       ;;
   9479 
   9480     os2*)
   9481       hardcode_libdir_flag_spec='-L$libdir'
   9482       hardcode_minus_L=yes
   9483       allow_undefined_flag=unsupported
   9484       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'
   9485       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9486       ;;
   9487 
   9488     osf3*)
   9489       if test "$GCC" = yes; then
   9490 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9491 	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'
   9492       else
   9493 	allow_undefined_flag=' -expect_unresolved \*'
   9494 	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'
   9495       fi
   9496       archive_cmds_need_lc='no'
   9497       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9498       hardcode_libdir_separator=:
   9499       ;;
   9500 
   9501     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9502       if test "$GCC" = yes; then
   9503 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9504 	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'
   9505 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9506       else
   9507 	allow_undefined_flag=' -expect_unresolved \*'
   9508 	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'
   9509 	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~
   9510 	$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'
   9511 
   9512 	# Both c and cxx compiler support -rpath directly
   9513 	hardcode_libdir_flag_spec='-rpath $libdir'
   9514       fi
   9515       archive_cmds_need_lc='no'
   9516       hardcode_libdir_separator=:
   9517       ;;
   9518 
   9519     solaris*)
   9520       no_undefined_flag=' -z defs'
   9521       if test "$GCC" = yes; then
   9522 	wlarc='${wl}'
   9523 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9524 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9525 	  $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'
   9526       else
   9527 	case `$CC -V 2>&1` in
   9528 	*"Compilers 5.0"*)
   9529 	  wlarc=''
   9530 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9531 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9532 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9533 	  ;;
   9534 	*)
   9535 	  wlarc='${wl}'
   9536 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9537 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9538 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9539 	  ;;
   9540 	esac
   9541       fi
   9542       hardcode_libdir_flag_spec='-R$libdir'
   9543       hardcode_shlibpath_var=no
   9544       case $host_os in
   9545       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9546       *)
   9547 	# The compiler driver will combine and reorder linker options,
   9548 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9549 	# but is careful enough not to reorder.
   9550 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9551 	if test "$GCC" = yes; then
   9552 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9553 	else
   9554 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9555 	fi
   9556 	;;
   9557       esac
   9558       link_all_deplibs=yes
   9559       ;;
   9560 
   9561     sunos4*)
   9562       if test "x$host_vendor" = xsequent; then
   9563 	# Use $CC to link under sequent, because it throws in some extra .o
   9564 	# files that make .init and .fini sections work.
   9565 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9566       else
   9567 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9568       fi
   9569       hardcode_libdir_flag_spec='-L$libdir'
   9570       hardcode_direct=yes
   9571       hardcode_minus_L=yes
   9572       hardcode_shlibpath_var=no
   9573       ;;
   9574 
   9575     sysv4)
   9576       case $host_vendor in
   9577 	sni)
   9578 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9579 	  hardcode_direct=yes # is this really true???
   9580 	;;
   9581 	siemens)
   9582 	  ## LD is ld it makes a PLAMLIB
   9583 	  ## CC just makes a GrossModule.
   9584 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9585 	  reload_cmds='$CC -r -o $output$reload_objs'
   9586 	  hardcode_direct=no
   9587         ;;
   9588 	motorola)
   9589 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9590 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9591 	;;
   9592       esac
   9593       runpath_var='LD_RUN_PATH'
   9594       hardcode_shlibpath_var=no
   9595       ;;
   9596 
   9597     sysv4.3*)
   9598       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9599       hardcode_shlibpath_var=no
   9600       export_dynamic_flag_spec='-Bexport'
   9601       ;;
   9602 
   9603     sysv4*MP*)
   9604       if test -d /usr/nec; then
   9605 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9606 	hardcode_shlibpath_var=no
   9607 	runpath_var=LD_RUN_PATH
   9608 	hardcode_runpath_var=yes
   9609 	ld_shlibs=yes
   9610       fi
   9611       ;;
   9612 
   9613     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9614       no_undefined_flag='${wl}-z,text'
   9615       archive_cmds_need_lc=no
   9616       hardcode_shlibpath_var=no
   9617       runpath_var='LD_RUN_PATH'
   9618 
   9619       if test "$GCC" = yes; then
   9620 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9621 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9622       else
   9623 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9624 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9625       fi
   9626       ;;
   9627 
   9628     sysv5* | sco3.2v5* | sco5v6*)
   9629       # Note: We can NOT use -z defs as we might desire, because we do not
   9630       # link with -lc, and that would cause any symbols used from libc to
   9631       # always be unresolved, which means just about no library would
   9632       # ever link correctly.  If we're not using GNU ld we use -z text
   9633       # though, which does catch some bad symbols but isn't as heavy-handed
   9634       # as -z defs.
   9635       no_undefined_flag='${wl}-z,text'
   9636       allow_undefined_flag='${wl}-z,nodefs'
   9637       archive_cmds_need_lc=no
   9638       hardcode_shlibpath_var=no
   9639       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9640       hardcode_libdir_separator=':'
   9641       link_all_deplibs=yes
   9642       export_dynamic_flag_spec='${wl}-Bexport'
   9643       runpath_var='LD_RUN_PATH'
   9644 
   9645       if test "$GCC" = yes; then
   9646 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9647 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9648       else
   9649 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9650 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9651       fi
   9652       ;;
   9653 
   9654     uts4*)
   9655       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9656       hardcode_libdir_flag_spec='-L$libdir'
   9657       hardcode_shlibpath_var=no
   9658       ;;
   9659 
   9660     *)
   9661       ld_shlibs=no
   9662       ;;
   9663     esac
   9664 
   9665     if test x$host_vendor = xsni; then
   9666       case $host in
   9667       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9668 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9669 	;;
   9670       esac
   9671     fi
   9672   fi
   9673 
   9674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9675 $as_echo "$ld_shlibs" >&6; }
   9676 test "$ld_shlibs" = no && can_build_shared=no
   9677 
   9678 with_gnu_ld=$with_gnu_ld
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 #
   9695 # Do we need to explicitly link libc?
   9696 #
   9697 case "x$archive_cmds_need_lc" in
   9698 x|xyes)
   9699   # Assume -lc should be added
   9700   archive_cmds_need_lc=yes
   9701 
   9702   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9703     case $archive_cmds in
   9704     *'~'*)
   9705       # FIXME: we may have to deal with multi-command sequences.
   9706       ;;
   9707     '$CC '*)
   9708       # Test whether the compiler implicitly links with -lc since on some
   9709       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9710       # to ld, don't add -lc before -lgcc.
   9711       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9712 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9713 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9714   $as_echo_n "(cached) " >&6
   9715 else
   9716   $RM conftest*
   9717 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9718 
   9719 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9720   (eval $ac_compile) 2>&5
   9721   ac_status=$?
   9722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9723   test $ac_status = 0; } 2>conftest.err; then
   9724 	  soname=conftest
   9725 	  lib=conftest
   9726 	  libobjs=conftest.$ac_objext
   9727 	  deplibs=
   9728 	  wl=$lt_prog_compiler_wl
   9729 	  pic_flag=$lt_prog_compiler_pic
   9730 	  compiler_flags=-v
   9731 	  linker_flags=-v
   9732 	  verstring=
   9733 	  output_objdir=.
   9734 	  libname=conftest
   9735 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9736 	  allow_undefined_flag=
   9737 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9738   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9739   ac_status=$?
   9740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9741   test $ac_status = 0; }
   9742 	  then
   9743 	    lt_cv_archive_cmds_need_lc=no
   9744 	  else
   9745 	    lt_cv_archive_cmds_need_lc=yes
   9746 	  fi
   9747 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9748 	else
   9749 	  cat conftest.err 1>&5
   9750 	fi
   9751 	$RM conftest*
   9752 
   9753 fi
   9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9755 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9756       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9757       ;;
   9758     esac
   9759   fi
   9760   ;;
   9761 esac
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9915 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9916 
   9917 if test "$GCC" = yes; then
   9918   case $host_os in
   9919     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9920     *) lt_awk_arg="/^libraries:/" ;;
   9921   esac
   9922   case $host_os in
   9923     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9924     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9925   esac
   9926   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9927   case $lt_search_path_spec in
   9928   *\;*)
   9929     # if the path contains ";" then we assume it to be the separator
   9930     # otherwise default to the standard path separator (i.e. ":") - it is
   9931     # assumed that no part of a normal pathname contains ";" but that should
   9932     # okay in the real world where ";" in dirpaths is itself problematic.
   9933     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9934     ;;
   9935   *)
   9936     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9937     ;;
   9938   esac
   9939   # Ok, now we have the path, separated by spaces, we can step through it
   9940   # and add multilib dir if necessary.
   9941   lt_tmp_lt_search_path_spec=
   9942   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9943   for lt_sys_path in $lt_search_path_spec; do
   9944     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9945       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9946     else
   9947       test -d "$lt_sys_path" && \
   9948 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9949     fi
   9950   done
   9951   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9952 BEGIN {RS=" "; FS="/|\n";} {
   9953   lt_foo="";
   9954   lt_count=0;
   9955   for (lt_i = NF; lt_i > 0; lt_i--) {
   9956     if ($lt_i != "" && $lt_i != ".") {
   9957       if ($lt_i == "..") {
   9958         lt_count++;
   9959       } else {
   9960         if (lt_count == 0) {
   9961           lt_foo="/" $lt_i lt_foo;
   9962         } else {
   9963           lt_count--;
   9964         }
   9965       }
   9966     }
   9967   }
   9968   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9969   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9970 }'`
   9971   # AWK program above erroneously prepends '/' to C:/dos/paths
   9972   # for these hosts.
   9973   case $host_os in
   9974     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9975       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9976   esac
   9977   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9978 else
   9979   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9980 fi
   9981 library_names_spec=
   9982 libname_spec='lib$name'
   9983 soname_spec=
   9984 shrext_cmds=".so"
   9985 postinstall_cmds=
   9986 postuninstall_cmds=
   9987 finish_cmds=
   9988 finish_eval=
   9989 shlibpath_var=
   9990 shlibpath_overrides_runpath=unknown
   9991 version_type=none
   9992 dynamic_linker="$host_os ld.so"
   9993 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9994 need_lib_prefix=unknown
   9995 hardcode_into_libs=no
   9996 
   9997 # when you set need_version to no, make sure it does not cause -set_version
   9998 # flags to be left without arguments
   9999 need_version=unknown
   10000 
   10001 case $host_os in
   10002 aix3*)
   10003   version_type=linux # correct to gnu/linux during the next big refactor
   10004   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10005   shlibpath_var=LIBPATH
   10006 
   10007   # AIX 3 has no versioning support, so we append a major version to the name.
   10008   soname_spec='${libname}${release}${shared_ext}$major'
   10009   ;;
   10010 
   10011 aix[4-9]*)
   10012   version_type=linux # correct to gnu/linux during the next big refactor
   10013   need_lib_prefix=no
   10014   need_version=no
   10015   hardcode_into_libs=yes
   10016   if test "$host_cpu" = ia64; then
   10017     # AIX 5 supports IA64
   10018     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10019     shlibpath_var=LD_LIBRARY_PATH
   10020   else
   10021     # With GCC up to 2.95.x, collect2 would create an import file
   10022     # for dependence libraries.  The import file would start with
   10023     # the line `#! .'.  This would cause the generated library to
   10024     # depend on `.', always an invalid library.  This was fixed in
   10025     # development snapshots of GCC prior to 3.0.
   10026     case $host_os in
   10027       aix4 | aix4.[01] | aix4.[01].*)
   10028       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10029 	   echo ' yes '
   10030 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10031 	:
   10032       else
   10033 	can_build_shared=no
   10034       fi
   10035       ;;
   10036     esac
   10037     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10038     # soname into executable. Probably we can add versioning support to
   10039     # collect2, so additional links can be useful in future.
   10040     if test "$aix_use_runtimelinking" = yes; then
   10041       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10042       # instead of lib<name>.a to let people know that these are not
   10043       # typical AIX shared libraries.
   10044       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10045     else
   10046       # We preserve .a as extension for shared libraries through AIX4.2
   10047       # and later when we are not doing run time linking.
   10048       library_names_spec='${libname}${release}.a $libname.a'
   10049       soname_spec='${libname}${release}${shared_ext}$major'
   10050     fi
   10051     shlibpath_var=LIBPATH
   10052   fi
   10053   ;;
   10054 
   10055 amigaos*)
   10056   case $host_cpu in
   10057   powerpc)
   10058     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10059     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10060     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10061     ;;
   10062   m68k)
   10063     library_names_spec='$libname.ixlibrary $libname.a'
   10064     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10065     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'
   10066     ;;
   10067   esac
   10068   ;;
   10069 
   10070 beos*)
   10071   library_names_spec='${libname}${shared_ext}'
   10072   dynamic_linker="$host_os ld.so"
   10073   shlibpath_var=LIBRARY_PATH
   10074   ;;
   10075 
   10076 bsdi[45]*)
   10077   version_type=linux # correct to gnu/linux during the next big refactor
   10078   need_version=no
   10079   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10080   soname_spec='${libname}${release}${shared_ext}$major'
   10081   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10082   shlibpath_var=LD_LIBRARY_PATH
   10083   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10084   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10085   # the default ld.so.conf also contains /usr/contrib/lib and
   10086   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10087   # libtool to hard-code these into programs
   10088   ;;
   10089 
   10090 cygwin* | mingw* | pw32* | cegcc*)
   10091   version_type=windows
   10092   shrext_cmds=".dll"
   10093   need_version=no
   10094   need_lib_prefix=no
   10095 
   10096   case $GCC,$cc_basename in
   10097   yes,*)
   10098     # gcc
   10099     library_names_spec='$libname.dll.a'
   10100     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10101     postinstall_cmds='base_file=`basename \${file}`~
   10102       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10103       dldir=$destdir/`dirname \$dlpath`~
   10104       test -d \$dldir || mkdir -p \$dldir~
   10105       $install_prog $dir/$dlname \$dldir/$dlname~
   10106       chmod a+x \$dldir/$dlname~
   10107       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10108         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10109       fi'
   10110     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10111       dlpath=$dir/\$dldll~
   10112        $RM \$dlpath'
   10113     shlibpath_overrides_runpath=yes
   10114 
   10115     case $host_os in
   10116     cygwin*)
   10117       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10118       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10119 
   10120       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10121       ;;
   10122     mingw* | cegcc*)
   10123       # MinGW DLLs use traditional 'lib' prefix
   10124       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10125       ;;
   10126     pw32*)
   10127       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10128       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10129       ;;
   10130     esac
   10131     dynamic_linker='Win32 ld.exe'
   10132     ;;
   10133 
   10134   *,cl*)
   10135     # Native MSVC
   10136     libname_spec='$name'
   10137     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10138     library_names_spec='${libname}.dll.lib'
   10139 
   10140     case $build_os in
   10141     mingw*)
   10142       sys_lib_search_path_spec=
   10143       lt_save_ifs=$IFS
   10144       IFS=';'
   10145       for lt_path in $LIB
   10146       do
   10147         IFS=$lt_save_ifs
   10148         # Let DOS variable expansion print the short 8.3 style file name.
   10149         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10150         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10151       done
   10152       IFS=$lt_save_ifs
   10153       # Convert to MSYS style.
   10154       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10155       ;;
   10156     cygwin*)
   10157       # Convert to unix form, then to dos form, then back to unix form
   10158       # but this time dos style (no spaces!) so that the unix form looks
   10159       # like /cygdrive/c/PROGRA~1:/cygdr...
   10160       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10161       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10162       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10163       ;;
   10164     *)
   10165       sys_lib_search_path_spec="$LIB"
   10166       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10167         # It is most probably a Windows format PATH.
   10168         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10169       else
   10170         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10171       fi
   10172       # FIXME: find the short name or the path components, as spaces are
   10173       # common. (e.g. "Program Files" -> "PROGRA~1")
   10174       ;;
   10175     esac
   10176 
   10177     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10178     postinstall_cmds='base_file=`basename \${file}`~
   10179       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10180       dldir=$destdir/`dirname \$dlpath`~
   10181       test -d \$dldir || mkdir -p \$dldir~
   10182       $install_prog $dir/$dlname \$dldir/$dlname'
   10183     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10184       dlpath=$dir/\$dldll~
   10185        $RM \$dlpath'
   10186     shlibpath_overrides_runpath=yes
   10187     dynamic_linker='Win32 link.exe'
   10188     ;;
   10189 
   10190   *)
   10191     # Assume MSVC wrapper
   10192     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10193     dynamic_linker='Win32 ld.exe'
   10194     ;;
   10195   esac
   10196   # FIXME: first we should search . and the directory the executable is in
   10197   shlibpath_var=PATH
   10198   ;;
   10199 
   10200 darwin* | rhapsody*)
   10201   dynamic_linker="$host_os dyld"
   10202   version_type=darwin
   10203   need_lib_prefix=no
   10204   need_version=no
   10205   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10206   soname_spec='${libname}${release}${major}$shared_ext'
   10207   shlibpath_overrides_runpath=yes
   10208   shlibpath_var=DYLD_LIBRARY_PATH
   10209   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10210 
   10211   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10212   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10213   ;;
   10214 
   10215 dgux*)
   10216   version_type=linux # correct to gnu/linux during the next big refactor
   10217   need_lib_prefix=no
   10218   need_version=no
   10219   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10220   soname_spec='${libname}${release}${shared_ext}$major'
   10221   shlibpath_var=LD_LIBRARY_PATH
   10222   ;;
   10223 
   10224 freebsd* | dragonfly*)
   10225   # DragonFly does not have aout.  When/if they implement a new
   10226   # versioning mechanism, adjust this.
   10227   if test -x /usr/bin/objformat; then
   10228     objformat=`/usr/bin/objformat`
   10229   else
   10230     case $host_os in
   10231     freebsd[23].*) objformat=aout ;;
   10232     *) objformat=elf ;;
   10233     esac
   10234   fi
   10235   version_type=freebsd-$objformat
   10236   case $version_type in
   10237     freebsd-elf*)
   10238       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10239       need_version=no
   10240       need_lib_prefix=no
   10241       ;;
   10242     freebsd-*)
   10243       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10244       need_version=yes
   10245       ;;
   10246   esac
   10247   shlibpath_var=LD_LIBRARY_PATH
   10248   case $host_os in
   10249   freebsd2.*)
   10250     shlibpath_overrides_runpath=yes
   10251     ;;
   10252   freebsd3.[01]* | freebsdelf3.[01]*)
   10253     shlibpath_overrides_runpath=yes
   10254     hardcode_into_libs=yes
   10255     ;;
   10256   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10257   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10258     shlibpath_overrides_runpath=no
   10259     hardcode_into_libs=yes
   10260     ;;
   10261   *) # from 4.6 on, and DragonFly
   10262     shlibpath_overrides_runpath=yes
   10263     hardcode_into_libs=yes
   10264     ;;
   10265   esac
   10266   ;;
   10267 
   10268 gnu*)
   10269   version_type=linux # correct to gnu/linux during the next big refactor
   10270   need_lib_prefix=no
   10271   need_version=no
   10272   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10273   soname_spec='${libname}${release}${shared_ext}$major'
   10274   shlibpath_var=LD_LIBRARY_PATH
   10275   shlibpath_overrides_runpath=no
   10276   hardcode_into_libs=yes
   10277   ;;
   10278 
   10279 haiku*)
   10280   version_type=linux # correct to gnu/linux during the next big refactor
   10281   need_lib_prefix=no
   10282   need_version=no
   10283   dynamic_linker="$host_os runtime_loader"
   10284   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10285   soname_spec='${libname}${release}${shared_ext}$major'
   10286   shlibpath_var=LIBRARY_PATH
   10287   shlibpath_overrides_runpath=yes
   10288   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10289   hardcode_into_libs=yes
   10290   ;;
   10291 
   10292 hpux9* | hpux10* | hpux11*)
   10293   # Give a soname corresponding to the major version so that dld.sl refuses to
   10294   # link against other versions.
   10295   version_type=sunos
   10296   need_lib_prefix=no
   10297   need_version=no
   10298   case $host_cpu in
   10299   ia64*)
   10300     shrext_cmds='.so'
   10301     hardcode_into_libs=yes
   10302     dynamic_linker="$host_os dld.so"
   10303     shlibpath_var=LD_LIBRARY_PATH
   10304     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10305     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10306     soname_spec='${libname}${release}${shared_ext}$major'
   10307     if test "X$HPUX_IA64_MODE" = X32; then
   10308       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10309     else
   10310       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10311     fi
   10312     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10313     ;;
   10314   hppa*64*)
   10315     shrext_cmds='.sl'
   10316     hardcode_into_libs=yes
   10317     dynamic_linker="$host_os dld.sl"
   10318     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10319     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10320     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10321     soname_spec='${libname}${release}${shared_ext}$major'
   10322     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10323     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10324     ;;
   10325   *)
   10326     shrext_cmds='.sl'
   10327     dynamic_linker="$host_os dld.sl"
   10328     shlibpath_var=SHLIB_PATH
   10329     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10330     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10331     soname_spec='${libname}${release}${shared_ext}$major'
   10332     ;;
   10333   esac
   10334   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10335   postinstall_cmds='chmod 555 $lib'
   10336   # or fails outright, so override atomically:
   10337   install_override_mode=555
   10338   ;;
   10339 
   10340 interix[3-9]*)
   10341   version_type=linux # correct to gnu/linux during the next big refactor
   10342   need_lib_prefix=no
   10343   need_version=no
   10344   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10345   soname_spec='${libname}${release}${shared_ext}$major'
   10346   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10347   shlibpath_var=LD_LIBRARY_PATH
   10348   shlibpath_overrides_runpath=no
   10349   hardcode_into_libs=yes
   10350   ;;
   10351 
   10352 irix5* | irix6* | nonstopux*)
   10353   case $host_os in
   10354     nonstopux*) version_type=nonstopux ;;
   10355     *)
   10356 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10357 		version_type=linux # correct to gnu/linux during the next big refactor
   10358 	else
   10359 		version_type=irix
   10360 	fi ;;
   10361   esac
   10362   need_lib_prefix=no
   10363   need_version=no
   10364   soname_spec='${libname}${release}${shared_ext}$major'
   10365   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10366   case $host_os in
   10367   irix5* | nonstopux*)
   10368     libsuff= shlibsuff=
   10369     ;;
   10370   *)
   10371     case $LD in # libtool.m4 will add one of these switches to LD
   10372     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10373       libsuff= shlibsuff= libmagic=32-bit;;
   10374     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10375       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10376     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10377       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10378     *) libsuff= shlibsuff= libmagic=never-match;;
   10379     esac
   10380     ;;
   10381   esac
   10382   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10383   shlibpath_overrides_runpath=no
   10384   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10385   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10386   hardcode_into_libs=yes
   10387   ;;
   10388 
   10389 # No shared lib support for Linux oldld, aout, or coff.
   10390 linux*oldld* | linux*aout* | linux*coff*)
   10391   dynamic_linker=no
   10392   ;;
   10393 
   10394 # This must be glibc/ELF.
   10395 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10396   version_type=linux # correct to gnu/linux during the next big refactor
   10397   need_lib_prefix=no
   10398   need_version=no
   10399   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10400   soname_spec='${libname}${release}${shared_ext}$major'
   10401   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10402   shlibpath_var=LD_LIBRARY_PATH
   10403   shlibpath_overrides_runpath=no
   10404 
   10405   # Some binutils ld are patched to set DT_RUNPATH
   10406   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10407   $as_echo_n "(cached) " >&6
   10408 else
   10409   lt_cv_shlibpath_overrides_runpath=no
   10410     save_LDFLAGS=$LDFLAGS
   10411     save_libdir=$libdir
   10412     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10413 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10414     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10415 /* end confdefs.h.  */
   10416 
   10417 int
   10418 main ()
   10419 {
   10420 
   10421   ;
   10422   return 0;
   10423 }
   10424 _ACEOF
   10425 if ac_fn_c_try_link "$LINENO"; then :
   10426   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10427   lt_cv_shlibpath_overrides_runpath=yes
   10428 fi
   10429 fi
   10430 rm -f core conftest.err conftest.$ac_objext \
   10431     conftest$ac_exeext conftest.$ac_ext
   10432     LDFLAGS=$save_LDFLAGS
   10433     libdir=$save_libdir
   10434 
   10435 fi
   10436 
   10437   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10438 
   10439   # This implies no fast_install, which is unacceptable.
   10440   # Some rework will be needed to allow for fast_install
   10441   # before this can be enabled.
   10442   hardcode_into_libs=yes
   10443 
   10444   # Append ld.so.conf contents to the search path
   10445   if test -f /etc/ld.so.conf; then
   10446     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' ' '`
   10447     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10448   fi
   10449 
   10450   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10451   # powerpc, because MkLinux only supported shared libraries with the
   10452   # GNU dynamic linker.  Since this was broken with cross compilers,
   10453   # most powerpc-linux boxes support dynamic linking these days and
   10454   # people can always --disable-shared, the test was removed, and we
   10455   # assume the GNU/Linux dynamic linker is in use.
   10456   dynamic_linker='GNU/Linux ld.so'
   10457   ;;
   10458 
   10459 netbsd*)
   10460   version_type=sunos
   10461   need_lib_prefix=no
   10462   need_version=no
   10463   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10464     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10465     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10466     dynamic_linker='NetBSD (a.out) ld.so'
   10467   else
   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     dynamic_linker='NetBSD ld.elf_so'
   10471   fi
   10472   shlibpath_var=LD_LIBRARY_PATH
   10473   shlibpath_overrides_runpath=yes
   10474   hardcode_into_libs=yes
   10475   ;;
   10476 
   10477 newsos6)
   10478   version_type=linux # correct to gnu/linux during the next big refactor
   10479   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10480   shlibpath_var=LD_LIBRARY_PATH
   10481   shlibpath_overrides_runpath=yes
   10482   ;;
   10483 
   10484 *nto* | *qnx*)
   10485   version_type=qnx
   10486   need_lib_prefix=no
   10487   need_version=no
   10488   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10489   soname_spec='${libname}${release}${shared_ext}$major'
   10490   shlibpath_var=LD_LIBRARY_PATH
   10491   shlibpath_overrides_runpath=no
   10492   hardcode_into_libs=yes
   10493   dynamic_linker='ldqnx.so'
   10494   ;;
   10495 
   10496 openbsd*)
   10497   version_type=sunos
   10498   sys_lib_dlsearch_path_spec="/usr/lib"
   10499   need_lib_prefix=no
   10500   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10501   case $host_os in
   10502     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10503     *)				need_version=no  ;;
   10504   esac
   10505   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10506   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10507   shlibpath_var=LD_LIBRARY_PATH
   10508   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10509     case $host_os in
   10510       openbsd2.[89] | openbsd2.[89].*)
   10511 	shlibpath_overrides_runpath=no
   10512 	;;
   10513       *)
   10514 	shlibpath_overrides_runpath=yes
   10515 	;;
   10516       esac
   10517   else
   10518     shlibpath_overrides_runpath=yes
   10519   fi
   10520   ;;
   10521 
   10522 os2*)
   10523   libname_spec='$name'
   10524   shrext_cmds=".dll"
   10525   need_lib_prefix=no
   10526   library_names_spec='$libname${shared_ext} $libname.a'
   10527   dynamic_linker='OS/2 ld.exe'
   10528   shlibpath_var=LIBPATH
   10529   ;;
   10530 
   10531 osf3* | osf4* | osf5*)
   10532   version_type=osf
   10533   need_lib_prefix=no
   10534   need_version=no
   10535   soname_spec='${libname}${release}${shared_ext}$major'
   10536   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10537   shlibpath_var=LD_LIBRARY_PATH
   10538   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10539   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10540   ;;
   10541 
   10542 rdos*)
   10543   dynamic_linker=no
   10544   ;;
   10545 
   10546 solaris*)
   10547   version_type=linux # correct to gnu/linux during the next big refactor
   10548   need_lib_prefix=no
   10549   need_version=no
   10550   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10551   soname_spec='${libname}${release}${shared_ext}$major'
   10552   shlibpath_var=LD_LIBRARY_PATH
   10553   shlibpath_overrides_runpath=yes
   10554   hardcode_into_libs=yes
   10555   # ldd complains unless libraries are executable
   10556   postinstall_cmds='chmod +x $lib'
   10557   ;;
   10558 
   10559 sunos4*)
   10560   version_type=sunos
   10561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10562   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10563   shlibpath_var=LD_LIBRARY_PATH
   10564   shlibpath_overrides_runpath=yes
   10565   if test "$with_gnu_ld" = yes; then
   10566     need_lib_prefix=no
   10567   fi
   10568   need_version=yes
   10569   ;;
   10570 
   10571 sysv4 | sysv4.3*)
   10572   version_type=linux # correct to gnu/linux during the next big refactor
   10573   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10574   soname_spec='${libname}${release}${shared_ext}$major'
   10575   shlibpath_var=LD_LIBRARY_PATH
   10576   case $host_vendor in
   10577     sni)
   10578       shlibpath_overrides_runpath=no
   10579       need_lib_prefix=no
   10580       runpath_var=LD_RUN_PATH
   10581       ;;
   10582     siemens)
   10583       need_lib_prefix=no
   10584       ;;
   10585     motorola)
   10586       need_lib_prefix=no
   10587       need_version=no
   10588       shlibpath_overrides_runpath=no
   10589       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10590       ;;
   10591   esac
   10592   ;;
   10593 
   10594 sysv4*MP*)
   10595   if test -d /usr/nec ;then
   10596     version_type=linux # correct to gnu/linux during the next big refactor
   10597     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10598     soname_spec='$libname${shared_ext}.$major'
   10599     shlibpath_var=LD_LIBRARY_PATH
   10600   fi
   10601   ;;
   10602 
   10603 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10604   version_type=freebsd-elf
   10605   need_lib_prefix=no
   10606   need_version=no
   10607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10608   soname_spec='${libname}${release}${shared_ext}$major'
   10609   shlibpath_var=LD_LIBRARY_PATH
   10610   shlibpath_overrides_runpath=yes
   10611   hardcode_into_libs=yes
   10612   if test "$with_gnu_ld" = yes; then
   10613     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10614   else
   10615     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10616     case $host_os in
   10617       sco3.2v5*)
   10618         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10619 	;;
   10620     esac
   10621   fi
   10622   sys_lib_dlsearch_path_spec='/usr/lib'
   10623   ;;
   10624 
   10625 tpf*)
   10626   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10627   version_type=linux # correct to gnu/linux during the next big refactor
   10628   need_lib_prefix=no
   10629   need_version=no
   10630   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10631   shlibpath_var=LD_LIBRARY_PATH
   10632   shlibpath_overrides_runpath=no
   10633   hardcode_into_libs=yes
   10634   ;;
   10635 
   10636 uts4*)
   10637   version_type=linux # correct to gnu/linux during the next big refactor
   10638   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10639   soname_spec='${libname}${release}${shared_ext}$major'
   10640   shlibpath_var=LD_LIBRARY_PATH
   10641   ;;
   10642 
   10643 *)
   10644   dynamic_linker=no
   10645   ;;
   10646 esac
   10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10648 $as_echo "$dynamic_linker" >&6; }
   10649 test "$dynamic_linker" = no && can_build_shared=no
   10650 
   10651 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10652 if test "$GCC" = yes; then
   10653   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10654 fi
   10655 
   10656 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10657   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10658 fi
   10659 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10660   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10661 fi
   10662 
   10663 
   10664 
   10665 
   10666 
   10667 
   10668 
   10669 
   10670 
   10671 
   10672 
   10673 
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680 
   10681 
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10755 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10756 hardcode_action=
   10757 if test -n "$hardcode_libdir_flag_spec" ||
   10758    test -n "$runpath_var" ||
   10759    test "X$hardcode_automatic" = "Xyes" ; then
   10760 
   10761   # We can hardcode non-existent directories.
   10762   if test "$hardcode_direct" != no &&
   10763      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10764      # have to relink, otherwise we might link with an installed library
   10765      # when we should be linking with a yet-to-be-installed one
   10766      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10767      test "$hardcode_minus_L" != no; then
   10768     # Linking always hardcodes the temporary library directory.
   10769     hardcode_action=relink
   10770   else
   10771     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10772     hardcode_action=immediate
   10773   fi
   10774 else
   10775   # We cannot hardcode anything, or else we can only hardcode existing
   10776   # directories.
   10777   hardcode_action=unsupported
   10778 fi
   10779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10780 $as_echo "$hardcode_action" >&6; }
   10781 
   10782 if test "$hardcode_action" = relink ||
   10783    test "$inherit_rpath" = yes; then
   10784   # Fast installation is not supported
   10785   enable_fast_install=no
   10786 elif test "$shlibpath_overrides_runpath" = yes ||
   10787      test "$enable_shared" = no; then
   10788   # Fast installation is not necessary
   10789   enable_fast_install=needless
   10790 fi
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797   if test "x$enable_dlopen" != xyes; then
   10798   enable_dlopen=unknown
   10799   enable_dlopen_self=unknown
   10800   enable_dlopen_self_static=unknown
   10801 else
   10802   lt_cv_dlopen=no
   10803   lt_cv_dlopen_libs=
   10804 
   10805   case $host_os in
   10806   beos*)
   10807     lt_cv_dlopen="load_add_on"
   10808     lt_cv_dlopen_libs=
   10809     lt_cv_dlopen_self=yes
   10810     ;;
   10811 
   10812   mingw* | pw32* | cegcc*)
   10813     lt_cv_dlopen="LoadLibrary"
   10814     lt_cv_dlopen_libs=
   10815     ;;
   10816 
   10817   cygwin*)
   10818     lt_cv_dlopen="dlopen"
   10819     lt_cv_dlopen_libs=
   10820     ;;
   10821 
   10822   darwin*)
   10823   # if libdl is installed we need to link against it
   10824     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10825 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10826 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10827   $as_echo_n "(cached) " >&6
   10828 else
   10829   ac_check_lib_save_LIBS=$LIBS
   10830 LIBS="-ldl  $LIBS"
   10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10832 /* end confdefs.h.  */
   10833 
   10834 /* Override any GCC internal prototype to avoid an error.
   10835    Use char because int might match the return type of a GCC
   10836    builtin and then its argument prototype would still apply.  */
   10837 #ifdef __cplusplus
   10838 extern "C"
   10839 #endif
   10840 char dlopen ();
   10841 int
   10842 main ()
   10843 {
   10844 return dlopen ();
   10845   ;
   10846   return 0;
   10847 }
   10848 _ACEOF
   10849 if ac_fn_c_try_link "$LINENO"; then :
   10850   ac_cv_lib_dl_dlopen=yes
   10851 else
   10852   ac_cv_lib_dl_dlopen=no
   10853 fi
   10854 rm -f core conftest.err conftest.$ac_objext \
   10855     conftest$ac_exeext conftest.$ac_ext
   10856 LIBS=$ac_check_lib_save_LIBS
   10857 fi
   10858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10859 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10860 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10861   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10862 else
   10863 
   10864     lt_cv_dlopen="dyld"
   10865     lt_cv_dlopen_libs=
   10866     lt_cv_dlopen_self=yes
   10867 
   10868 fi
   10869 
   10870     ;;
   10871 
   10872   *)
   10873     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10874 if test "x$ac_cv_func_shl_load" = xyes; then :
   10875   lt_cv_dlopen="shl_load"
   10876 else
   10877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10878 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10879 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10880   $as_echo_n "(cached) " >&6
   10881 else
   10882   ac_check_lib_save_LIBS=$LIBS
   10883 LIBS="-ldld  $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 shl_load ();
   10894 int
   10895 main ()
   10896 {
   10897 return shl_load ();
   10898   ;
   10899   return 0;
   10900 }
   10901 _ACEOF
   10902 if ac_fn_c_try_link "$LINENO"; then :
   10903   ac_cv_lib_dld_shl_load=yes
   10904 else
   10905   ac_cv_lib_dld_shl_load=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_dld_shl_load" >&5
   10912 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10913 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10914   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10915 else
   10916   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10917 if test "x$ac_cv_func_dlopen" = xyes; then :
   10918   lt_cv_dlopen="dlopen"
   10919 else
   10920   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10921 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10922 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10923   $as_echo_n "(cached) " >&6
   10924 else
   10925   ac_check_lib_save_LIBS=$LIBS
   10926 LIBS="-ldl  $LIBS"
   10927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10928 /* end confdefs.h.  */
   10929 
   10930 /* Override any GCC internal prototype to avoid an error.
   10931    Use char because int might match the return type of a GCC
   10932    builtin and then its argument prototype would still apply.  */
   10933 #ifdef __cplusplus
   10934 extern "C"
   10935 #endif
   10936 char dlopen ();
   10937 int
   10938 main ()
   10939 {
   10940 return dlopen ();
   10941   ;
   10942   return 0;
   10943 }
   10944 _ACEOF
   10945 if ac_fn_c_try_link "$LINENO"; then :
   10946   ac_cv_lib_dl_dlopen=yes
   10947 else
   10948   ac_cv_lib_dl_dlopen=no
   10949 fi
   10950 rm -f core conftest.err conftest.$ac_objext \
   10951     conftest$ac_exeext conftest.$ac_ext
   10952 LIBS=$ac_check_lib_save_LIBS
   10953 fi
   10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10955 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10956 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10957   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10958 else
   10959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10960 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10961 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10962   $as_echo_n "(cached) " >&6
   10963 else
   10964   ac_check_lib_save_LIBS=$LIBS
   10965 LIBS="-lsvld  $LIBS"
   10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10967 /* end confdefs.h.  */
   10968 
   10969 /* Override any GCC internal prototype to avoid an error.
   10970    Use char because int might match the return type of a GCC
   10971    builtin and then its argument prototype would still apply.  */
   10972 #ifdef __cplusplus
   10973 extern "C"
   10974 #endif
   10975 char dlopen ();
   10976 int
   10977 main ()
   10978 {
   10979 return dlopen ();
   10980   ;
   10981   return 0;
   10982 }
   10983 _ACEOF
   10984 if ac_fn_c_try_link "$LINENO"; then :
   10985   ac_cv_lib_svld_dlopen=yes
   10986 else
   10987   ac_cv_lib_svld_dlopen=no
   10988 fi
   10989 rm -f core conftest.err conftest.$ac_objext \
   10990     conftest$ac_exeext conftest.$ac_ext
   10991 LIBS=$ac_check_lib_save_LIBS
   10992 fi
   10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10994 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10995 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10996   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10997 else
   10998   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10999 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11000 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11001   $as_echo_n "(cached) " >&6
   11002 else
   11003   ac_check_lib_save_LIBS=$LIBS
   11004 LIBS="-ldld  $LIBS"
   11005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11006 /* end confdefs.h.  */
   11007 
   11008 /* Override any GCC internal prototype to avoid an error.
   11009    Use char because int might match the return type of a GCC
   11010    builtin and then its argument prototype would still apply.  */
   11011 #ifdef __cplusplus
   11012 extern "C"
   11013 #endif
   11014 char dld_link ();
   11015 int
   11016 main ()
   11017 {
   11018 return dld_link ();
   11019   ;
   11020   return 0;
   11021 }
   11022 _ACEOF
   11023 if ac_fn_c_try_link "$LINENO"; then :
   11024   ac_cv_lib_dld_dld_link=yes
   11025 else
   11026   ac_cv_lib_dld_dld_link=no
   11027 fi
   11028 rm -f core conftest.err conftest.$ac_objext \
   11029     conftest$ac_exeext conftest.$ac_ext
   11030 LIBS=$ac_check_lib_save_LIBS
   11031 fi
   11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11033 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11034 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11035   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11036 fi
   11037 
   11038 
   11039 fi
   11040 
   11041 
   11042 fi
   11043 
   11044 
   11045 fi
   11046 
   11047 
   11048 fi
   11049 
   11050 
   11051 fi
   11052 
   11053     ;;
   11054   esac
   11055 
   11056   if test "x$lt_cv_dlopen" != xno; then
   11057     enable_dlopen=yes
   11058   else
   11059     enable_dlopen=no
   11060   fi
   11061 
   11062   case $lt_cv_dlopen in
   11063   dlopen)
   11064     save_CPPFLAGS="$CPPFLAGS"
   11065     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11066 
   11067     save_LDFLAGS="$LDFLAGS"
   11068     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11069 
   11070     save_LIBS="$LIBS"
   11071     LIBS="$lt_cv_dlopen_libs $LIBS"
   11072 
   11073     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11074 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11075 if ${lt_cv_dlopen_self+:} false; then :
   11076   $as_echo_n "(cached) " >&6
   11077 else
   11078   	  if test "$cross_compiling" = yes; then :
   11079   lt_cv_dlopen_self=cross
   11080 else
   11081   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11082   lt_status=$lt_dlunknown
   11083   cat > conftest.$ac_ext <<_LT_EOF
   11084 #line $LINENO "configure"
   11085 #include "confdefs.h"
   11086 
   11087 #if HAVE_DLFCN_H
   11088 #include <dlfcn.h>
   11089 #endif
   11090 
   11091 #include <stdio.h>
   11092 
   11093 #ifdef RTLD_GLOBAL
   11094 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11095 #else
   11096 #  ifdef DL_GLOBAL
   11097 #    define LT_DLGLOBAL		DL_GLOBAL
   11098 #  else
   11099 #    define LT_DLGLOBAL		0
   11100 #  endif
   11101 #endif
   11102 
   11103 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11104    find out it does not work in some platform. */
   11105 #ifndef LT_DLLAZY_OR_NOW
   11106 #  ifdef RTLD_LAZY
   11107 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11108 #  else
   11109 #    ifdef DL_LAZY
   11110 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11111 #    else
   11112 #      ifdef RTLD_NOW
   11113 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11114 #      else
   11115 #        ifdef DL_NOW
   11116 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11117 #        else
   11118 #          define LT_DLLAZY_OR_NOW	0
   11119 #        endif
   11120 #      endif
   11121 #    endif
   11122 #  endif
   11123 #endif
   11124 
   11125 /* When -fvisbility=hidden is used, assume the code has been annotated
   11126    correspondingly for the symbols needed.  */
   11127 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11128 int fnord () __attribute__((visibility("default")));
   11129 #endif
   11130 
   11131 int fnord () { return 42; }
   11132 int main ()
   11133 {
   11134   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11135   int status = $lt_dlunknown;
   11136 
   11137   if (self)
   11138     {
   11139       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11140       else
   11141         {
   11142 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11143           else puts (dlerror ());
   11144 	}
   11145       /* dlclose (self); */
   11146     }
   11147   else
   11148     puts (dlerror ());
   11149 
   11150   return status;
   11151 }
   11152 _LT_EOF
   11153   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11154   (eval $ac_link) 2>&5
   11155   ac_status=$?
   11156   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11157   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11158     (./conftest; exit; ) >&5 2>/dev/null
   11159     lt_status=$?
   11160     case x$lt_status in
   11161       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11162       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11163       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11164     esac
   11165   else :
   11166     # compilation failed
   11167     lt_cv_dlopen_self=no
   11168   fi
   11169 fi
   11170 rm -fr conftest*
   11171 
   11172 
   11173 fi
   11174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11175 $as_echo "$lt_cv_dlopen_self" >&6; }
   11176 
   11177     if test "x$lt_cv_dlopen_self" = xyes; then
   11178       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11179       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11180 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11181 if ${lt_cv_dlopen_self_static+:} false; then :
   11182   $as_echo_n "(cached) " >&6
   11183 else
   11184   	  if test "$cross_compiling" = yes; then :
   11185   lt_cv_dlopen_self_static=cross
   11186 else
   11187   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11188   lt_status=$lt_dlunknown
   11189   cat > conftest.$ac_ext <<_LT_EOF
   11190 #line $LINENO "configure"
   11191 #include "confdefs.h"
   11192 
   11193 #if HAVE_DLFCN_H
   11194 #include <dlfcn.h>
   11195 #endif
   11196 
   11197 #include <stdio.h>
   11198 
   11199 #ifdef RTLD_GLOBAL
   11200 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11201 #else
   11202 #  ifdef DL_GLOBAL
   11203 #    define LT_DLGLOBAL		DL_GLOBAL
   11204 #  else
   11205 #    define LT_DLGLOBAL		0
   11206 #  endif
   11207 #endif
   11208 
   11209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11210    find out it does not work in some platform. */
   11211 #ifndef LT_DLLAZY_OR_NOW
   11212 #  ifdef RTLD_LAZY
   11213 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11214 #  else
   11215 #    ifdef DL_LAZY
   11216 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11217 #    else
   11218 #      ifdef RTLD_NOW
   11219 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11220 #      else
   11221 #        ifdef DL_NOW
   11222 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11223 #        else
   11224 #          define LT_DLLAZY_OR_NOW	0
   11225 #        endif
   11226 #      endif
   11227 #    endif
   11228 #  endif
   11229 #endif
   11230 
   11231 /* When -fvisbility=hidden is used, assume the code has been annotated
   11232    correspondingly for the symbols needed.  */
   11233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11234 int fnord () __attribute__((visibility("default")));
   11235 #endif
   11236 
   11237 int fnord () { return 42; }
   11238 int main ()
   11239 {
   11240   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11241   int status = $lt_dlunknown;
   11242 
   11243   if (self)
   11244     {
   11245       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11246       else
   11247         {
   11248 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11249           else puts (dlerror ());
   11250 	}
   11251       /* dlclose (self); */
   11252     }
   11253   else
   11254     puts (dlerror ());
   11255 
   11256   return status;
   11257 }
   11258 _LT_EOF
   11259   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11260   (eval $ac_link) 2>&5
   11261   ac_status=$?
   11262   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11263   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11264     (./conftest; exit; ) >&5 2>/dev/null
   11265     lt_status=$?
   11266     case x$lt_status in
   11267       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11268       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11269       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11270     esac
   11271   else :
   11272     # compilation failed
   11273     lt_cv_dlopen_self_static=no
   11274   fi
   11275 fi
   11276 rm -fr conftest*
   11277 
   11278 
   11279 fi
   11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11281 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11282     fi
   11283 
   11284     CPPFLAGS="$save_CPPFLAGS"
   11285     LDFLAGS="$save_LDFLAGS"
   11286     LIBS="$save_LIBS"
   11287     ;;
   11288   esac
   11289 
   11290   case $lt_cv_dlopen_self in
   11291   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11292   *) enable_dlopen_self=unknown ;;
   11293   esac
   11294 
   11295   case $lt_cv_dlopen_self_static in
   11296   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11297   *) enable_dlopen_self_static=unknown ;;
   11298   esac
   11299 fi
   11300 
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 striplib=
   11318 old_striplib=
   11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11320 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11321 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11322   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11323   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11325 $as_echo "yes" >&6; }
   11326 else
   11327 # FIXME - insert some real tests, host_os isn't really good enough
   11328   case $host_os in
   11329   darwin*)
   11330     if test -n "$STRIP" ; then
   11331       striplib="$STRIP -x"
   11332       old_striplib="$STRIP -S"
   11333       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11334 $as_echo "yes" >&6; }
   11335     else
   11336       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11337 $as_echo "no" >&6; }
   11338     fi
   11339     ;;
   11340   *)
   11341     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11342 $as_echo "no" >&6; }
   11343     ;;
   11344   esac
   11345 fi
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358   # Report which library types will actually be built
   11359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11360 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11362 $as_echo "$can_build_shared" >&6; }
   11363 
   11364   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11365 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11366   test "$can_build_shared" = "no" && enable_shared=no
   11367 
   11368   # On AIX, shared libraries and static libraries use the same namespace, and
   11369   # are all built from PIC.
   11370   case $host_os in
   11371   aix3*)
   11372     test "$enable_shared" = yes && enable_static=no
   11373     if test -n "$RANLIB"; then
   11374       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11375       postinstall_cmds='$RANLIB $lib'
   11376     fi
   11377     ;;
   11378 
   11379   aix[4-9]*)
   11380     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11381       test "$enable_shared" = yes && enable_static=no
   11382     fi
   11383     ;;
   11384   esac
   11385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11386 $as_echo "$enable_shared" >&6; }
   11387 
   11388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11389 $as_echo_n "checking whether to build static libraries... " >&6; }
   11390   # Make sure either enable_shared or enable_static is yes.
   11391   test "$enable_shared" = yes || enable_static=yes
   11392   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11393 $as_echo "$enable_static" >&6; }
   11394 
   11395 
   11396 
   11397 
   11398 fi
   11399 ac_ext=c
   11400 ac_cpp='$CPP $CPPFLAGS'
   11401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11404 
   11405 CC="$lt_save_CC"
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421         ac_config_commands="$ac_config_commands libtool"
   11422 
   11423 
   11424 
   11425 
   11426 # Only expand once:
   11427 
   11428 
   11429 
   11430 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11443 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11444 if ${ac_cv_prog_cc_c99+:} false; then :
   11445   $as_echo_n "(cached) " >&6
   11446 else
   11447   ac_cv_prog_cc_c99=no
   11448 ac_save_CC=$CC
   11449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11450 /* end confdefs.h.  */
   11451 #include <stdarg.h>
   11452 #include <stdbool.h>
   11453 #include <stdlib.h>
   11454 #include <wchar.h>
   11455 #include <stdio.h>
   11456 
   11457 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11458 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11459 #define showlist(...) puts (#__VA_ARGS__)
   11460 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11461 static void
   11462 test_varargs_macros (void)
   11463 {
   11464   int x = 1234;
   11465   int y = 5678;
   11466   debug ("Flag");
   11467   debug ("X = %d\n", x);
   11468   showlist (The first, second, and third items.);
   11469   report (x>y, "x is %d but y is %d", x, y);
   11470 }
   11471 
   11472 // Check long long types.
   11473 #define BIG64 18446744073709551615ull
   11474 #define BIG32 4294967295ul
   11475 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11476 #if !BIG_OK
   11477   your preprocessor is broken;
   11478 #endif
   11479 #if BIG_OK
   11480 #else
   11481   your preprocessor is broken;
   11482 #endif
   11483 static long long int bignum = -9223372036854775807LL;
   11484 static unsigned long long int ubignum = BIG64;
   11485 
   11486 struct incomplete_array
   11487 {
   11488   int datasize;
   11489   double data[];
   11490 };
   11491 
   11492 struct named_init {
   11493   int number;
   11494   const wchar_t *name;
   11495   double average;
   11496 };
   11497 
   11498 typedef const char *ccp;
   11499 
   11500 static inline int
   11501 test_restrict (ccp restrict text)
   11502 {
   11503   // See if C++-style comments work.
   11504   // Iterate through items via the restricted pointer.
   11505   // Also check for declarations in for loops.
   11506   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11507     continue;
   11508   return 0;
   11509 }
   11510 
   11511 // Check varargs and va_copy.
   11512 static void
   11513 test_varargs (const char *format, ...)
   11514 {
   11515   va_list args;
   11516   va_start (args, format);
   11517   va_list args_copy;
   11518   va_copy (args_copy, args);
   11519 
   11520   const char *str;
   11521   int number;
   11522   float fnumber;
   11523 
   11524   while (*format)
   11525     {
   11526       switch (*format++)
   11527 	{
   11528 	case 's': // string
   11529 	  str = va_arg (args_copy, const char *);
   11530 	  break;
   11531 	case 'd': // int
   11532 	  number = va_arg (args_copy, int);
   11533 	  break;
   11534 	case 'f': // float
   11535 	  fnumber = va_arg (args_copy, double);
   11536 	  break;
   11537 	default:
   11538 	  break;
   11539 	}
   11540     }
   11541   va_end (args_copy);
   11542   va_end (args);
   11543 }
   11544 
   11545 int
   11546 main ()
   11547 {
   11548 
   11549   // Check bool.
   11550   _Bool success = false;
   11551 
   11552   // Check restrict.
   11553   if (test_restrict ("String literal") == 0)
   11554     success = true;
   11555   char *restrict newvar = "Another string";
   11556 
   11557   // Check varargs.
   11558   test_varargs ("s, d' f .", "string", 65, 34.234);
   11559   test_varargs_macros ();
   11560 
   11561   // Check flexible array members.
   11562   struct incomplete_array *ia =
   11563     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11564   ia->datasize = 10;
   11565   for (int i = 0; i < ia->datasize; ++i)
   11566     ia->data[i] = i * 1.234;
   11567 
   11568   // Check named initializers.
   11569   struct named_init ni = {
   11570     .number = 34,
   11571     .name = L"Test wide string",
   11572     .average = 543.34343,
   11573   };
   11574 
   11575   ni.number = 58;
   11576 
   11577   int dynamic_array[ni.number];
   11578   dynamic_array[ni.number - 1] = 543;
   11579 
   11580   // work around unused variable warnings
   11581   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11582 	  || dynamic_array[ni.number - 1] != 543);
   11583 
   11584   ;
   11585   return 0;
   11586 }
   11587 _ACEOF
   11588 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11589 do
   11590   CC="$ac_save_CC $ac_arg"
   11591   if ac_fn_c_try_compile "$LINENO"; then :
   11592   ac_cv_prog_cc_c99=$ac_arg
   11593 fi
   11594 rm -f core conftest.err conftest.$ac_objext
   11595   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11596 done
   11597 rm -f conftest.$ac_ext
   11598 CC=$ac_save_CC
   11599 
   11600 fi
   11601 # AC_CACHE_VAL
   11602 case "x$ac_cv_prog_cc_c99" in
   11603   x)
   11604     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11605 $as_echo "none needed" >&6; } ;;
   11606   xno)
   11607     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11608 $as_echo "unsupported" >&6; } ;;
   11609   *)
   11610     CC="$CC $ac_cv_prog_cc_c99"
   11611     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11612 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11613 esac
   11614 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11615 
   11616 fi
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11624 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11625   CLANGCC="yes"
   11626 else
   11627   CLANGCC="no"
   11628 fi
   11629 
   11630 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11631 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11632   INTELCC="yes"
   11633 else
   11634   INTELCC="no"
   11635 fi
   11636 
   11637 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11638 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11639   SUNCC="yes"
   11640 else
   11641   SUNCC="no"
   11642 fi
   11643 
   11644 
   11645 
   11646 
   11647 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11648 	if test -n "$ac_tool_prefix"; then
   11649   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11650 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11652 $as_echo_n "checking for $ac_word... " >&6; }
   11653 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11654   $as_echo_n "(cached) " >&6
   11655 else
   11656   case $PKG_CONFIG in
   11657   [\\/]* | ?:[\\/]*)
   11658   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11659   ;;
   11660   *)
   11661   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11662 for as_dir in $PATH
   11663 do
   11664   IFS=$as_save_IFS
   11665   test -z "$as_dir" && as_dir=.
   11666     for ac_exec_ext in '' $ac_executable_extensions; do
   11667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11668     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11670     break 2
   11671   fi
   11672 done
   11673   done
   11674 IFS=$as_save_IFS
   11675 
   11676   ;;
   11677 esac
   11678 fi
   11679 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11680 if test -n "$PKG_CONFIG"; then
   11681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11682 $as_echo "$PKG_CONFIG" >&6; }
   11683 else
   11684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11685 $as_echo "no" >&6; }
   11686 fi
   11687 
   11688 
   11689 fi
   11690 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11691   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11692   # Extract the first word of "pkg-config", so it can be a program name with args.
   11693 set dummy pkg-config; ac_word=$2
   11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11695 $as_echo_n "checking for $ac_word... " >&6; }
   11696 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11697   $as_echo_n "(cached) " >&6
   11698 else
   11699   case $ac_pt_PKG_CONFIG in
   11700   [\\/]* | ?:[\\/]*)
   11701   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11702   ;;
   11703   *)
   11704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11705 for as_dir in $PATH
   11706 do
   11707   IFS=$as_save_IFS
   11708   test -z "$as_dir" && as_dir=.
   11709     for ac_exec_ext in '' $ac_executable_extensions; do
   11710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11711     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11713     break 2
   11714   fi
   11715 done
   11716   done
   11717 IFS=$as_save_IFS
   11718 
   11719   ;;
   11720 esac
   11721 fi
   11722 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11723 if test -n "$ac_pt_PKG_CONFIG"; then
   11724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11725 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11726 else
   11727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11728 $as_echo "no" >&6; }
   11729 fi
   11730 
   11731   if test "x$ac_pt_PKG_CONFIG" = x; then
   11732     PKG_CONFIG=""
   11733   else
   11734     case $cross_compiling:$ac_tool_warned in
   11735 yes:)
   11736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11738 ac_tool_warned=yes ;;
   11739 esac
   11740     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11741   fi
   11742 else
   11743   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11744 fi
   11745 
   11746 fi
   11747 if test -n "$PKG_CONFIG"; then
   11748 	_pkg_min_version=0.9.0
   11749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11750 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11751 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11753 $as_echo "yes" >&6; }
   11754 	else
   11755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11756 $as_echo "no" >&6; }
   11757 		PKG_CONFIG=""
   11758 	fi
   11759 
   11760 fi
   11761 
   11762 
   11763 
   11764 
   11765 
   11766 # Check whether --enable-selective-werror was given.
   11767 if test "${enable_selective_werror+set}" = set; then :
   11768   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11769 else
   11770   SELECTIVE_WERROR=yes
   11771 fi
   11772 
   11773 
   11774 
   11775 
   11776 
   11777 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11778 if test "x$SUNCC" = "xyes"; then
   11779     BASE_CFLAGS="-v"
   11780 else
   11781     BASE_CFLAGS=""
   11782 fi
   11783 
   11784 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 xorg_testset_save_CFLAGS="$CFLAGS"
   11799 
   11800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11805   $as_echo_n "(cached) " >&6
   11806 else
   11807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11808 /* end confdefs.h.  */
   11809 int i;
   11810 _ACEOF
   11811 if ac_fn_c_try_compile "$LINENO"; then :
   11812   xorg_cv_cc_flag_unknown_warning_option=yes
   11813 else
   11814   xorg_cv_cc_flag_unknown_warning_option=no
   11815 fi
   11816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11817 fi
   11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11821 	CFLAGS="$xorg_testset_save_CFLAGS"
   11822 fi
   11823 
   11824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11827 	fi
   11828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11832   $as_echo_n "(cached) " >&6
   11833 else
   11834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11835 /* end confdefs.h.  */
   11836 int i;
   11837 _ACEOF
   11838 if ac_fn_c_try_compile "$LINENO"; then :
   11839   xorg_cv_cc_flag_unused_command_line_argument=yes
   11840 else
   11841   xorg_cv_cc_flag_unused_command_line_argument=no
   11842 fi
   11843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11844 fi
   11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11848 	CFLAGS="$xorg_testset_save_CFLAGS"
   11849 fi
   11850 
   11851 found="no"
   11852 
   11853 	if test $found = "no" ; then
   11854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11856 		fi
   11857 
   11858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11860 		fi
   11861 
   11862 		CFLAGS="$CFLAGS -Wall"
   11863 
   11864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11865 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11866 		cacheid=xorg_cv_cc_flag__Wall
   11867 		if eval \${$cacheid+:} 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 int
   11874 main ()
   11875 {
   11876 
   11877   ;
   11878   return 0;
   11879 }
   11880 _ACEOF
   11881 if ac_fn_c_try_link "$LINENO"; then :
   11882   eval $cacheid=yes
   11883 else
   11884   eval $cacheid=no
   11885 fi
   11886 rm -f core conftest.err conftest.$ac_objext \
   11887     conftest$ac_exeext conftest.$ac_ext
   11888 fi
   11889 
   11890 
   11891 		CFLAGS="$xorg_testset_save_CFLAGS"
   11892 
   11893 		eval supported=\$$cacheid
   11894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11895 $as_echo "$supported" >&6; }
   11896 		if test "$supported" = "yes" ; then
   11897 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11898 			found="yes"
   11899 		fi
   11900 	fi
   11901 
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 xorg_testset_save_CFLAGS="$CFLAGS"
   11917 
   11918 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11919 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11920 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11921 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11922 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11923   $as_echo_n "(cached) " >&6
   11924 else
   11925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11926 /* end confdefs.h.  */
   11927 int i;
   11928 _ACEOF
   11929 if ac_fn_c_try_compile "$LINENO"; then :
   11930   xorg_cv_cc_flag_unknown_warning_option=yes
   11931 else
   11932   xorg_cv_cc_flag_unknown_warning_option=no
   11933 fi
   11934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11935 fi
   11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11937 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11938 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11939 	CFLAGS="$xorg_testset_save_CFLAGS"
   11940 fi
   11941 
   11942 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11943 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11944 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11945 	fi
   11946 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11947 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11948 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11949 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11950   $as_echo_n "(cached) " >&6
   11951 else
   11952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11953 /* end confdefs.h.  */
   11954 int i;
   11955 _ACEOF
   11956 if ac_fn_c_try_compile "$LINENO"; then :
   11957   xorg_cv_cc_flag_unused_command_line_argument=yes
   11958 else
   11959   xorg_cv_cc_flag_unused_command_line_argument=no
   11960 fi
   11961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11962 fi
   11963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11964 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11965 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11966 	CFLAGS="$xorg_testset_save_CFLAGS"
   11967 fi
   11968 
   11969 found="no"
   11970 
   11971 	if test $found = "no" ; then
   11972 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11973 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11974 		fi
   11975 
   11976 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11977 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11978 		fi
   11979 
   11980 		CFLAGS="$CFLAGS -Wpointer-arith"
   11981 
   11982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11983 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11984 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11985 		if eval \${$cacheid+:} 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 int
   11992 main ()
   11993 {
   11994 
   11995   ;
   11996   return 0;
   11997 }
   11998 _ACEOF
   11999 if ac_fn_c_try_link "$LINENO"; then :
   12000   eval $cacheid=yes
   12001 else
   12002   eval $cacheid=no
   12003 fi
   12004 rm -f core conftest.err conftest.$ac_objext \
   12005     conftest$ac_exeext conftest.$ac_ext
   12006 fi
   12007 
   12008 
   12009 		CFLAGS="$xorg_testset_save_CFLAGS"
   12010 
   12011 		eval supported=\$$cacheid
   12012 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12013 $as_echo "$supported" >&6; }
   12014 		if test "$supported" = "yes" ; then
   12015 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12016 			found="yes"
   12017 		fi
   12018 	fi
   12019 
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 xorg_testset_save_CFLAGS="$CFLAGS"
   12035 
   12036 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12037 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12038 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12039 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12040 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12041   $as_echo_n "(cached) " >&6
   12042 else
   12043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12044 /* end confdefs.h.  */
   12045 int i;
   12046 _ACEOF
   12047 if ac_fn_c_try_compile "$LINENO"; then :
   12048   xorg_cv_cc_flag_unknown_warning_option=yes
   12049 else
   12050   xorg_cv_cc_flag_unknown_warning_option=no
   12051 fi
   12052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12053 fi
   12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12055 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12056 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12057 	CFLAGS="$xorg_testset_save_CFLAGS"
   12058 fi
   12059 
   12060 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12061 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12062 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12063 	fi
   12064 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12065 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12066 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12067 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12068   $as_echo_n "(cached) " >&6
   12069 else
   12070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12071 /* end confdefs.h.  */
   12072 int i;
   12073 _ACEOF
   12074 if ac_fn_c_try_compile "$LINENO"; then :
   12075   xorg_cv_cc_flag_unused_command_line_argument=yes
   12076 else
   12077   xorg_cv_cc_flag_unused_command_line_argument=no
   12078 fi
   12079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12080 fi
   12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12082 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12083 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12084 	CFLAGS="$xorg_testset_save_CFLAGS"
   12085 fi
   12086 
   12087 found="no"
   12088 
   12089 	if test $found = "no" ; then
   12090 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12091 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12092 		fi
   12093 
   12094 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12095 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12096 		fi
   12097 
   12098 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12099 
   12100 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12101 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12102 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12103 		if eval \${$cacheid+:} 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 int
   12110 main ()
   12111 {
   12112 
   12113   ;
   12114   return 0;
   12115 }
   12116 _ACEOF
   12117 if ac_fn_c_try_link "$LINENO"; then :
   12118   eval $cacheid=yes
   12119 else
   12120   eval $cacheid=no
   12121 fi
   12122 rm -f core conftest.err conftest.$ac_objext \
   12123     conftest$ac_exeext conftest.$ac_ext
   12124 fi
   12125 
   12126 
   12127 		CFLAGS="$xorg_testset_save_CFLAGS"
   12128 
   12129 		eval supported=\$$cacheid
   12130 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12131 $as_echo "$supported" >&6; }
   12132 		if test "$supported" = "yes" ; then
   12133 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12134 			found="yes"
   12135 		fi
   12136 	fi
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 xorg_testset_save_CFLAGS="$CFLAGS"
   12153 
   12154 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12155 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12157 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12158 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12159   $as_echo_n "(cached) " >&6
   12160 else
   12161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12162 /* end confdefs.h.  */
   12163 int i;
   12164 _ACEOF
   12165 if ac_fn_c_try_compile "$LINENO"; then :
   12166   xorg_cv_cc_flag_unknown_warning_option=yes
   12167 else
   12168   xorg_cv_cc_flag_unknown_warning_option=no
   12169 fi
   12170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12171 fi
   12172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12173 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12175 	CFLAGS="$xorg_testset_save_CFLAGS"
   12176 fi
   12177 
   12178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12181 	fi
   12182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12184 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12185 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12186   $as_echo_n "(cached) " >&6
   12187 else
   12188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12189 /* end confdefs.h.  */
   12190 int i;
   12191 _ACEOF
   12192 if ac_fn_c_try_compile "$LINENO"; then :
   12193   xorg_cv_cc_flag_unused_command_line_argument=yes
   12194 else
   12195   xorg_cv_cc_flag_unused_command_line_argument=no
   12196 fi
   12197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12198 fi
   12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12200 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12202 	CFLAGS="$xorg_testset_save_CFLAGS"
   12203 fi
   12204 
   12205 found="no"
   12206 
   12207 	if test $found = "no" ; then
   12208 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12210 		fi
   12211 
   12212 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12214 		fi
   12215 
   12216 		CFLAGS="$CFLAGS -Wformat=2"
   12217 
   12218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12219 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12220 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12221 		if eval \${$cacheid+:} false; then :
   12222   $as_echo_n "(cached) " >&6
   12223 else
   12224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12225 /* end confdefs.h.  */
   12226 int i;
   12227 int
   12228 main ()
   12229 {
   12230 
   12231   ;
   12232   return 0;
   12233 }
   12234 _ACEOF
   12235 if ac_fn_c_try_link "$LINENO"; then :
   12236   eval $cacheid=yes
   12237 else
   12238   eval $cacheid=no
   12239 fi
   12240 rm -f core conftest.err conftest.$ac_objext \
   12241     conftest$ac_exeext conftest.$ac_ext
   12242 fi
   12243 
   12244 
   12245 		CFLAGS="$xorg_testset_save_CFLAGS"
   12246 
   12247 		eval supported=\$$cacheid
   12248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12249 $as_echo "$supported" >&6; }
   12250 		if test "$supported" = "yes" ; then
   12251 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12252 			found="yes"
   12253 		fi
   12254 	fi
   12255 
   12256 	if test $found = "no" ; then
   12257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12259 		fi
   12260 
   12261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12263 		fi
   12264 
   12265 		CFLAGS="$CFLAGS -Wformat"
   12266 
   12267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12268 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12269 		cacheid=xorg_cv_cc_flag__Wformat
   12270 		if eval \${$cacheid+:} false; then :
   12271   $as_echo_n "(cached) " >&6
   12272 else
   12273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12274 /* end confdefs.h.  */
   12275 int i;
   12276 int
   12277 main ()
   12278 {
   12279 
   12280   ;
   12281   return 0;
   12282 }
   12283 _ACEOF
   12284 if ac_fn_c_try_link "$LINENO"; then :
   12285   eval $cacheid=yes
   12286 else
   12287   eval $cacheid=no
   12288 fi
   12289 rm -f core conftest.err conftest.$ac_objext \
   12290     conftest$ac_exeext conftest.$ac_ext
   12291 fi
   12292 
   12293 
   12294 		CFLAGS="$xorg_testset_save_CFLAGS"
   12295 
   12296 		eval supported=\$$cacheid
   12297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12298 $as_echo "$supported" >&6; }
   12299 		if test "$supported" = "yes" ; then
   12300 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12301 			found="yes"
   12302 		fi
   12303 	fi
   12304 
   12305 
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 
   12312 
   12313 
   12314 
   12315 
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 xorg_testset_save_CFLAGS="$CFLAGS"
   12322 
   12323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12326 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12327 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12328   $as_echo_n "(cached) " >&6
   12329 else
   12330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12331 /* end confdefs.h.  */
   12332 int i;
   12333 _ACEOF
   12334 if ac_fn_c_try_compile "$LINENO"; then :
   12335   xorg_cv_cc_flag_unknown_warning_option=yes
   12336 else
   12337   xorg_cv_cc_flag_unknown_warning_option=no
   12338 fi
   12339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12340 fi
   12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12342 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12344 	CFLAGS="$xorg_testset_save_CFLAGS"
   12345 fi
   12346 
   12347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12350 	fi
   12351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12353 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12354 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12355   $as_echo_n "(cached) " >&6
   12356 else
   12357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12358 /* end confdefs.h.  */
   12359 int i;
   12360 _ACEOF
   12361 if ac_fn_c_try_compile "$LINENO"; then :
   12362   xorg_cv_cc_flag_unused_command_line_argument=yes
   12363 else
   12364   xorg_cv_cc_flag_unused_command_line_argument=no
   12365 fi
   12366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12367 fi
   12368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12369 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12371 	CFLAGS="$xorg_testset_save_CFLAGS"
   12372 fi
   12373 
   12374 found="no"
   12375 
   12376 	if test $found = "no" ; then
   12377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12379 		fi
   12380 
   12381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12383 		fi
   12384 
   12385 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12386 
   12387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12388 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12389 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12390 		if eval \${$cacheid+:} 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 int
   12397 main ()
   12398 {
   12399 
   12400   ;
   12401   return 0;
   12402 }
   12403 _ACEOF
   12404 if ac_fn_c_try_link "$LINENO"; then :
   12405   eval $cacheid=yes
   12406 else
   12407   eval $cacheid=no
   12408 fi
   12409 rm -f core conftest.err conftest.$ac_objext \
   12410     conftest$ac_exeext conftest.$ac_ext
   12411 fi
   12412 
   12413 
   12414 		CFLAGS="$xorg_testset_save_CFLAGS"
   12415 
   12416 		eval supported=\$$cacheid
   12417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12418 $as_echo "$supported" >&6; }
   12419 		if test "$supported" = "yes" ; then
   12420 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12421 			found="yes"
   12422 		fi
   12423 	fi
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 xorg_testset_save_CFLAGS="$CFLAGS"
   12440 
   12441 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12442 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12443 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12444 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12445 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12446   $as_echo_n "(cached) " >&6
   12447 else
   12448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12449 /* end confdefs.h.  */
   12450 int i;
   12451 _ACEOF
   12452 if ac_fn_c_try_compile "$LINENO"; then :
   12453   xorg_cv_cc_flag_unknown_warning_option=yes
   12454 else
   12455   xorg_cv_cc_flag_unknown_warning_option=no
   12456 fi
   12457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12458 fi
   12459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12460 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12461 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12462 	CFLAGS="$xorg_testset_save_CFLAGS"
   12463 fi
   12464 
   12465 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12466 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12467 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12468 	fi
   12469 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12470 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12471 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12472 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12473   $as_echo_n "(cached) " >&6
   12474 else
   12475   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12476 /* end confdefs.h.  */
   12477 int i;
   12478 _ACEOF
   12479 if ac_fn_c_try_compile "$LINENO"; then :
   12480   xorg_cv_cc_flag_unused_command_line_argument=yes
   12481 else
   12482   xorg_cv_cc_flag_unused_command_line_argument=no
   12483 fi
   12484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12485 fi
   12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12487 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12488 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12489 	CFLAGS="$xorg_testset_save_CFLAGS"
   12490 fi
   12491 
   12492 found="no"
   12493 
   12494 	if test $found = "no" ; then
   12495 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12496 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12497 		fi
   12498 
   12499 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12500 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12501 		fi
   12502 
   12503 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12504 
   12505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12506 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12507 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12508 		if eval \${$cacheid+:} 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 int
   12515 main ()
   12516 {
   12517 
   12518   ;
   12519   return 0;
   12520 }
   12521 _ACEOF
   12522 if ac_fn_c_try_link "$LINENO"; then :
   12523   eval $cacheid=yes
   12524 else
   12525   eval $cacheid=no
   12526 fi
   12527 rm -f core conftest.err conftest.$ac_objext \
   12528     conftest$ac_exeext conftest.$ac_ext
   12529 fi
   12530 
   12531 
   12532 		CFLAGS="$xorg_testset_save_CFLAGS"
   12533 
   12534 		eval supported=\$$cacheid
   12535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12536 $as_echo "$supported" >&6; }
   12537 		if test "$supported" = "yes" ; then
   12538 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12539 			found="yes"
   12540 		fi
   12541 	fi
   12542 
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 xorg_testset_save_CFLAGS="$CFLAGS"
   12558 
   12559 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12560 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12561 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12562 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12563 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12564   $as_echo_n "(cached) " >&6
   12565 else
   12566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12567 /* end confdefs.h.  */
   12568 int i;
   12569 _ACEOF
   12570 if ac_fn_c_try_compile "$LINENO"; then :
   12571   xorg_cv_cc_flag_unknown_warning_option=yes
   12572 else
   12573   xorg_cv_cc_flag_unknown_warning_option=no
   12574 fi
   12575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12576 fi
   12577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12578 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12579 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12580 	CFLAGS="$xorg_testset_save_CFLAGS"
   12581 fi
   12582 
   12583 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12584 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12585 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12586 	fi
   12587 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12588 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12589 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12590 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12591   $as_echo_n "(cached) " >&6
   12592 else
   12593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12594 /* end confdefs.h.  */
   12595 int i;
   12596 _ACEOF
   12597 if ac_fn_c_try_compile "$LINENO"; then :
   12598   xorg_cv_cc_flag_unused_command_line_argument=yes
   12599 else
   12600   xorg_cv_cc_flag_unused_command_line_argument=no
   12601 fi
   12602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12603 fi
   12604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12605 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12606 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12607 	CFLAGS="$xorg_testset_save_CFLAGS"
   12608 fi
   12609 
   12610 found="no"
   12611 
   12612 	if test $found = "no" ; then
   12613 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12614 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12615 		fi
   12616 
   12617 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12618 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12619 		fi
   12620 
   12621 		CFLAGS="$CFLAGS -Wnested-externs"
   12622 
   12623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12624 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12625 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12626 		if eval \${$cacheid+:} 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 int
   12633 main ()
   12634 {
   12635 
   12636   ;
   12637   return 0;
   12638 }
   12639 _ACEOF
   12640 if ac_fn_c_try_link "$LINENO"; then :
   12641   eval $cacheid=yes
   12642 else
   12643   eval $cacheid=no
   12644 fi
   12645 rm -f core conftest.err conftest.$ac_objext \
   12646     conftest$ac_exeext conftest.$ac_ext
   12647 fi
   12648 
   12649 
   12650 		CFLAGS="$xorg_testset_save_CFLAGS"
   12651 
   12652 		eval supported=\$$cacheid
   12653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12654 $as_echo "$supported" >&6; }
   12655 		if test "$supported" = "yes" ; then
   12656 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12657 			found="yes"
   12658 		fi
   12659 	fi
   12660 
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 xorg_testset_save_CFLAGS="$CFLAGS"
   12676 
   12677 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12678 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12680 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12681 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12682   $as_echo_n "(cached) " >&6
   12683 else
   12684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12685 /* end confdefs.h.  */
   12686 int i;
   12687 _ACEOF
   12688 if ac_fn_c_try_compile "$LINENO"; then :
   12689   xorg_cv_cc_flag_unknown_warning_option=yes
   12690 else
   12691   xorg_cv_cc_flag_unknown_warning_option=no
   12692 fi
   12693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12694 fi
   12695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12696 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12697 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12698 	CFLAGS="$xorg_testset_save_CFLAGS"
   12699 fi
   12700 
   12701 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12702 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12703 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12704 	fi
   12705 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12706 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12707 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12708 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12709   $as_echo_n "(cached) " >&6
   12710 else
   12711   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12712 /* end confdefs.h.  */
   12713 int i;
   12714 _ACEOF
   12715 if ac_fn_c_try_compile "$LINENO"; then :
   12716   xorg_cv_cc_flag_unused_command_line_argument=yes
   12717 else
   12718   xorg_cv_cc_flag_unused_command_line_argument=no
   12719 fi
   12720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12721 fi
   12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12723 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12724 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12725 	CFLAGS="$xorg_testset_save_CFLAGS"
   12726 fi
   12727 
   12728 found="no"
   12729 
   12730 	if test $found = "no" ; then
   12731 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12732 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12733 		fi
   12734 
   12735 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12736 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12737 		fi
   12738 
   12739 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12740 
   12741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12742 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12743 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12744 		if eval \${$cacheid+:} 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 int
   12751 main ()
   12752 {
   12753 
   12754   ;
   12755   return 0;
   12756 }
   12757 _ACEOF
   12758 if ac_fn_c_try_link "$LINENO"; then :
   12759   eval $cacheid=yes
   12760 else
   12761   eval $cacheid=no
   12762 fi
   12763 rm -f core conftest.err conftest.$ac_objext \
   12764     conftest$ac_exeext conftest.$ac_ext
   12765 fi
   12766 
   12767 
   12768 		CFLAGS="$xorg_testset_save_CFLAGS"
   12769 
   12770 		eval supported=\$$cacheid
   12771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12772 $as_echo "$supported" >&6; }
   12773 		if test "$supported" = "yes" ; then
   12774 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12775 			found="yes"
   12776 		fi
   12777 	fi
   12778 
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 xorg_testset_save_CFLAGS="$CFLAGS"
   12794 
   12795 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12796 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12797 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12798 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12799 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12800   $as_echo_n "(cached) " >&6
   12801 else
   12802   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12803 /* end confdefs.h.  */
   12804 int i;
   12805 _ACEOF
   12806 if ac_fn_c_try_compile "$LINENO"; then :
   12807   xorg_cv_cc_flag_unknown_warning_option=yes
   12808 else
   12809   xorg_cv_cc_flag_unknown_warning_option=no
   12810 fi
   12811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12812 fi
   12813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12814 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12815 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12816 	CFLAGS="$xorg_testset_save_CFLAGS"
   12817 fi
   12818 
   12819 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12820 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12821 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12822 	fi
   12823 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12824 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12825 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12826 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12827   $as_echo_n "(cached) " >&6
   12828 else
   12829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12830 /* end confdefs.h.  */
   12831 int i;
   12832 _ACEOF
   12833 if ac_fn_c_try_compile "$LINENO"; then :
   12834   xorg_cv_cc_flag_unused_command_line_argument=yes
   12835 else
   12836   xorg_cv_cc_flag_unused_command_line_argument=no
   12837 fi
   12838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12839 fi
   12840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12841 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12842 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12843 	CFLAGS="$xorg_testset_save_CFLAGS"
   12844 fi
   12845 
   12846 found="no"
   12847 
   12848 	if test $found = "no" ; then
   12849 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12850 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12851 		fi
   12852 
   12853 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12854 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12855 		fi
   12856 
   12857 		CFLAGS="$CFLAGS -Wold-style-definition"
   12858 
   12859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12860 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12861 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12862 		if eval \${$cacheid+:} 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 int
   12869 main ()
   12870 {
   12871 
   12872   ;
   12873   return 0;
   12874 }
   12875 _ACEOF
   12876 if ac_fn_c_try_link "$LINENO"; then :
   12877   eval $cacheid=yes
   12878 else
   12879   eval $cacheid=no
   12880 fi
   12881 rm -f core conftest.err conftest.$ac_objext \
   12882     conftest$ac_exeext conftest.$ac_ext
   12883 fi
   12884 
   12885 
   12886 		CFLAGS="$xorg_testset_save_CFLAGS"
   12887 
   12888 		eval supported=\$$cacheid
   12889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12890 $as_echo "$supported" >&6; }
   12891 		if test "$supported" = "yes" ; then
   12892 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12893 			found="yes"
   12894 		fi
   12895 	fi
   12896 
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 xorg_testset_save_CFLAGS="$CFLAGS"
   12912 
   12913 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12914 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12916 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12917 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12918   $as_echo_n "(cached) " >&6
   12919 else
   12920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12921 /* end confdefs.h.  */
   12922 int i;
   12923 _ACEOF
   12924 if ac_fn_c_try_compile "$LINENO"; then :
   12925   xorg_cv_cc_flag_unknown_warning_option=yes
   12926 else
   12927   xorg_cv_cc_flag_unknown_warning_option=no
   12928 fi
   12929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12930 fi
   12931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12932 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12934 	CFLAGS="$xorg_testset_save_CFLAGS"
   12935 fi
   12936 
   12937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12940 	fi
   12941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12943 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12944 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12945   $as_echo_n "(cached) " >&6
   12946 else
   12947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12948 /* end confdefs.h.  */
   12949 int i;
   12950 _ACEOF
   12951 if ac_fn_c_try_compile "$LINENO"; then :
   12952   xorg_cv_cc_flag_unused_command_line_argument=yes
   12953 else
   12954   xorg_cv_cc_flag_unused_command_line_argument=no
   12955 fi
   12956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12957 fi
   12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12959 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12961 	CFLAGS="$xorg_testset_save_CFLAGS"
   12962 fi
   12963 
   12964 found="no"
   12965 
   12966 	if test $found = "no" ; then
   12967 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12969 		fi
   12970 
   12971 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12973 		fi
   12974 
   12975 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12976 
   12977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12978 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12979 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12980 		if eval \${$cacheid+:} false; then :
   12981   $as_echo_n "(cached) " >&6
   12982 else
   12983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12984 /* end confdefs.h.  */
   12985 int i;
   12986 int
   12987 main ()
   12988 {
   12989 
   12990   ;
   12991   return 0;
   12992 }
   12993 _ACEOF
   12994 if ac_fn_c_try_link "$LINENO"; then :
   12995   eval $cacheid=yes
   12996 else
   12997   eval $cacheid=no
   12998 fi
   12999 rm -f core conftest.err conftest.$ac_objext \
   13000     conftest$ac_exeext conftest.$ac_ext
   13001 fi
   13002 
   13003 
   13004 		CFLAGS="$xorg_testset_save_CFLAGS"
   13005 
   13006 		eval supported=\$$cacheid
   13007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13008 $as_echo "$supported" >&6; }
   13009 		if test "$supported" = "yes" ; then
   13010 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13011 			found="yes"
   13012 		fi
   13013 	fi
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 # This chunk adds additional warnings that could catch undesired effects.
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 xorg_testset_save_CFLAGS="$CFLAGS"
   13034 
   13035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13038 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13039 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13040   $as_echo_n "(cached) " >&6
   13041 else
   13042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13043 /* end confdefs.h.  */
   13044 int i;
   13045 _ACEOF
   13046 if ac_fn_c_try_compile "$LINENO"; then :
   13047   xorg_cv_cc_flag_unknown_warning_option=yes
   13048 else
   13049   xorg_cv_cc_flag_unknown_warning_option=no
   13050 fi
   13051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13052 fi
   13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13054 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13055 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13056 	CFLAGS="$xorg_testset_save_CFLAGS"
   13057 fi
   13058 
   13059 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13060 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13061 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13062 	fi
   13063 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13065 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13066 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13067   $as_echo_n "(cached) " >&6
   13068 else
   13069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13070 /* end confdefs.h.  */
   13071 int i;
   13072 _ACEOF
   13073 if ac_fn_c_try_compile "$LINENO"; then :
   13074   xorg_cv_cc_flag_unused_command_line_argument=yes
   13075 else
   13076   xorg_cv_cc_flag_unused_command_line_argument=no
   13077 fi
   13078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13079 fi
   13080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13081 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13083 	CFLAGS="$xorg_testset_save_CFLAGS"
   13084 fi
   13085 
   13086 found="no"
   13087 
   13088 	if test $found = "no" ; then
   13089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13091 		fi
   13092 
   13093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13095 		fi
   13096 
   13097 		CFLAGS="$CFLAGS -Wunused"
   13098 
   13099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13100 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13101 		cacheid=xorg_cv_cc_flag__Wunused
   13102 		if eval \${$cacheid+:} 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 int
   13109 main ()
   13110 {
   13111 
   13112   ;
   13113   return 0;
   13114 }
   13115 _ACEOF
   13116 if ac_fn_c_try_link "$LINENO"; then :
   13117   eval $cacheid=yes
   13118 else
   13119   eval $cacheid=no
   13120 fi
   13121 rm -f core conftest.err conftest.$ac_objext \
   13122     conftest$ac_exeext conftest.$ac_ext
   13123 fi
   13124 
   13125 
   13126 		CFLAGS="$xorg_testset_save_CFLAGS"
   13127 
   13128 		eval supported=\$$cacheid
   13129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13130 $as_echo "$supported" >&6; }
   13131 		if test "$supported" = "yes" ; then
   13132 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13133 			found="yes"
   13134 		fi
   13135 	fi
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 xorg_testset_save_CFLAGS="$CFLAGS"
   13152 
   13153 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13154 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13156 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13157 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13158   $as_echo_n "(cached) " >&6
   13159 else
   13160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13161 /* end confdefs.h.  */
   13162 int i;
   13163 _ACEOF
   13164 if ac_fn_c_try_compile "$LINENO"; then :
   13165   xorg_cv_cc_flag_unknown_warning_option=yes
   13166 else
   13167   xorg_cv_cc_flag_unknown_warning_option=no
   13168 fi
   13169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13170 fi
   13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13172 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13173 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13174 	CFLAGS="$xorg_testset_save_CFLAGS"
   13175 fi
   13176 
   13177 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13178 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13179 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13180 	fi
   13181 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13182 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13183 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13184 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13185   $as_echo_n "(cached) " >&6
   13186 else
   13187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13188 /* end confdefs.h.  */
   13189 int i;
   13190 _ACEOF
   13191 if ac_fn_c_try_compile "$LINENO"; then :
   13192   xorg_cv_cc_flag_unused_command_line_argument=yes
   13193 else
   13194   xorg_cv_cc_flag_unused_command_line_argument=no
   13195 fi
   13196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13197 fi
   13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13199 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13200 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13201 	CFLAGS="$xorg_testset_save_CFLAGS"
   13202 fi
   13203 
   13204 found="no"
   13205 
   13206 	if test $found = "no" ; then
   13207 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13208 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13209 		fi
   13210 
   13211 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13212 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13213 		fi
   13214 
   13215 		CFLAGS="$CFLAGS -Wuninitialized"
   13216 
   13217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13218 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13219 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13220 		if eval \${$cacheid+:} 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 int
   13227 main ()
   13228 {
   13229 
   13230   ;
   13231   return 0;
   13232 }
   13233 _ACEOF
   13234 if ac_fn_c_try_link "$LINENO"; then :
   13235   eval $cacheid=yes
   13236 else
   13237   eval $cacheid=no
   13238 fi
   13239 rm -f core conftest.err conftest.$ac_objext \
   13240     conftest$ac_exeext conftest.$ac_ext
   13241 fi
   13242 
   13243 
   13244 		CFLAGS="$xorg_testset_save_CFLAGS"
   13245 
   13246 		eval supported=\$$cacheid
   13247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13248 $as_echo "$supported" >&6; }
   13249 		if test "$supported" = "yes" ; then
   13250 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13251 			found="yes"
   13252 		fi
   13253 	fi
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 xorg_testset_save_CFLAGS="$CFLAGS"
   13270 
   13271 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13272 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13274 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13275 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13276   $as_echo_n "(cached) " >&6
   13277 else
   13278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13279 /* end confdefs.h.  */
   13280 int i;
   13281 _ACEOF
   13282 if ac_fn_c_try_compile "$LINENO"; then :
   13283   xorg_cv_cc_flag_unknown_warning_option=yes
   13284 else
   13285   xorg_cv_cc_flag_unknown_warning_option=no
   13286 fi
   13287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13288 fi
   13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13290 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13291 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13292 	CFLAGS="$xorg_testset_save_CFLAGS"
   13293 fi
   13294 
   13295 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13296 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13297 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13298 	fi
   13299 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13301 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13302 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13303   $as_echo_n "(cached) " >&6
   13304 else
   13305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13306 /* end confdefs.h.  */
   13307 int i;
   13308 _ACEOF
   13309 if ac_fn_c_try_compile "$LINENO"; then :
   13310   xorg_cv_cc_flag_unused_command_line_argument=yes
   13311 else
   13312   xorg_cv_cc_flag_unused_command_line_argument=no
   13313 fi
   13314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13315 fi
   13316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13317 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13318 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13319 	CFLAGS="$xorg_testset_save_CFLAGS"
   13320 fi
   13321 
   13322 found="no"
   13323 
   13324 	if test $found = "no" ; then
   13325 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13326 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13327 		fi
   13328 
   13329 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13330 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13331 		fi
   13332 
   13333 		CFLAGS="$CFLAGS -Wshadow"
   13334 
   13335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13336 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13337 		cacheid=xorg_cv_cc_flag__Wshadow
   13338 		if eval \${$cacheid+:} 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 int
   13345 main ()
   13346 {
   13347 
   13348   ;
   13349   return 0;
   13350 }
   13351 _ACEOF
   13352 if ac_fn_c_try_link "$LINENO"; then :
   13353   eval $cacheid=yes
   13354 else
   13355   eval $cacheid=no
   13356 fi
   13357 rm -f core conftest.err conftest.$ac_objext \
   13358     conftest$ac_exeext conftest.$ac_ext
   13359 fi
   13360 
   13361 
   13362 		CFLAGS="$xorg_testset_save_CFLAGS"
   13363 
   13364 		eval supported=\$$cacheid
   13365 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13366 $as_echo "$supported" >&6; }
   13367 		if test "$supported" = "yes" ; then
   13368 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13369 			found="yes"
   13370 		fi
   13371 	fi
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 xorg_testset_save_CFLAGS="$CFLAGS"
   13388 
   13389 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13390 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13392 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13393 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13394   $as_echo_n "(cached) " >&6
   13395 else
   13396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13397 /* end confdefs.h.  */
   13398 int i;
   13399 _ACEOF
   13400 if ac_fn_c_try_compile "$LINENO"; then :
   13401   xorg_cv_cc_flag_unknown_warning_option=yes
   13402 else
   13403   xorg_cv_cc_flag_unknown_warning_option=no
   13404 fi
   13405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13406 fi
   13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13408 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13409 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13410 	CFLAGS="$xorg_testset_save_CFLAGS"
   13411 fi
   13412 
   13413 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13414 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13415 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13416 	fi
   13417 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13418 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13419 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13420 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13421   $as_echo_n "(cached) " >&6
   13422 else
   13423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13424 /* end confdefs.h.  */
   13425 int i;
   13426 _ACEOF
   13427 if ac_fn_c_try_compile "$LINENO"; then :
   13428   xorg_cv_cc_flag_unused_command_line_argument=yes
   13429 else
   13430   xorg_cv_cc_flag_unused_command_line_argument=no
   13431 fi
   13432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13433 fi
   13434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13435 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13436 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13437 	CFLAGS="$xorg_testset_save_CFLAGS"
   13438 fi
   13439 
   13440 found="no"
   13441 
   13442 	if test $found = "no" ; then
   13443 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13444 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13445 		fi
   13446 
   13447 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13448 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13449 		fi
   13450 
   13451 		CFLAGS="$CFLAGS -Wcast-qual"
   13452 
   13453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13454 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13455 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13456 		if eval \${$cacheid+:} 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 int
   13463 main ()
   13464 {
   13465 
   13466   ;
   13467   return 0;
   13468 }
   13469 _ACEOF
   13470 if ac_fn_c_try_link "$LINENO"; then :
   13471   eval $cacheid=yes
   13472 else
   13473   eval $cacheid=no
   13474 fi
   13475 rm -f core conftest.err conftest.$ac_objext \
   13476     conftest$ac_exeext conftest.$ac_ext
   13477 fi
   13478 
   13479 
   13480 		CFLAGS="$xorg_testset_save_CFLAGS"
   13481 
   13482 		eval supported=\$$cacheid
   13483 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13484 $as_echo "$supported" >&6; }
   13485 		if test "$supported" = "yes" ; then
   13486 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13487 			found="yes"
   13488 		fi
   13489 	fi
   13490 
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 xorg_testset_save_CFLAGS="$CFLAGS"
   13506 
   13507 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13508 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13510 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13511 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13512   $as_echo_n "(cached) " >&6
   13513 else
   13514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13515 /* end confdefs.h.  */
   13516 int i;
   13517 _ACEOF
   13518 if ac_fn_c_try_compile "$LINENO"; then :
   13519   xorg_cv_cc_flag_unknown_warning_option=yes
   13520 else
   13521   xorg_cv_cc_flag_unknown_warning_option=no
   13522 fi
   13523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13524 fi
   13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13526 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13527 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13528 	CFLAGS="$xorg_testset_save_CFLAGS"
   13529 fi
   13530 
   13531 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13532 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13533 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13534 	fi
   13535 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13536 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13537 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13538 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13539   $as_echo_n "(cached) " >&6
   13540 else
   13541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13542 /* end confdefs.h.  */
   13543 int i;
   13544 _ACEOF
   13545 if ac_fn_c_try_compile "$LINENO"; then :
   13546   xorg_cv_cc_flag_unused_command_line_argument=yes
   13547 else
   13548   xorg_cv_cc_flag_unused_command_line_argument=no
   13549 fi
   13550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13551 fi
   13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13553 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13554 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13555 	CFLAGS="$xorg_testset_save_CFLAGS"
   13556 fi
   13557 
   13558 found="no"
   13559 
   13560 	if test $found = "no" ; then
   13561 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13562 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13563 		fi
   13564 
   13565 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13566 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13567 		fi
   13568 
   13569 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13570 
   13571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13572 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13573 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13574 		if eval \${$cacheid+:} 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 int
   13581 main ()
   13582 {
   13583 
   13584   ;
   13585   return 0;
   13586 }
   13587 _ACEOF
   13588 if ac_fn_c_try_link "$LINENO"; then :
   13589   eval $cacheid=yes
   13590 else
   13591   eval $cacheid=no
   13592 fi
   13593 rm -f core conftest.err conftest.$ac_objext \
   13594     conftest$ac_exeext conftest.$ac_ext
   13595 fi
   13596 
   13597 
   13598 		CFLAGS="$xorg_testset_save_CFLAGS"
   13599 
   13600 		eval supported=\$$cacheid
   13601 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13602 $as_echo "$supported" >&6; }
   13603 		if test "$supported" = "yes" ; then
   13604 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13605 			found="yes"
   13606 		fi
   13607 	fi
   13608 
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 xorg_testset_save_CFLAGS="$CFLAGS"
   13624 
   13625 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13626 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13628 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13629 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13630   $as_echo_n "(cached) " >&6
   13631 else
   13632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13633 /* end confdefs.h.  */
   13634 int i;
   13635 _ACEOF
   13636 if ac_fn_c_try_compile "$LINENO"; then :
   13637   xorg_cv_cc_flag_unknown_warning_option=yes
   13638 else
   13639   xorg_cv_cc_flag_unknown_warning_option=no
   13640 fi
   13641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13642 fi
   13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13644 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13645 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13646 	CFLAGS="$xorg_testset_save_CFLAGS"
   13647 fi
   13648 
   13649 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13650 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13651 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13652 	fi
   13653 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13654 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13655 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13656 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13657   $as_echo_n "(cached) " >&6
   13658 else
   13659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13660 /* end confdefs.h.  */
   13661 int i;
   13662 _ACEOF
   13663 if ac_fn_c_try_compile "$LINENO"; then :
   13664   xorg_cv_cc_flag_unused_command_line_argument=yes
   13665 else
   13666   xorg_cv_cc_flag_unused_command_line_argument=no
   13667 fi
   13668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13669 fi
   13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13671 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13672 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13673 	CFLAGS="$xorg_testset_save_CFLAGS"
   13674 fi
   13675 
   13676 found="no"
   13677 
   13678 	if test $found = "no" ; then
   13679 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13680 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13681 		fi
   13682 
   13683 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13684 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13685 		fi
   13686 
   13687 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13688 
   13689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13690 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13691 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13692 		if eval \${$cacheid+:} 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 int
   13699 main ()
   13700 {
   13701 
   13702   ;
   13703   return 0;
   13704 }
   13705 _ACEOF
   13706 if ac_fn_c_try_link "$LINENO"; then :
   13707   eval $cacheid=yes
   13708 else
   13709   eval $cacheid=no
   13710 fi
   13711 rm -f core conftest.err conftest.$ac_objext \
   13712     conftest$ac_exeext conftest.$ac_ext
   13713 fi
   13714 
   13715 
   13716 		CFLAGS="$xorg_testset_save_CFLAGS"
   13717 
   13718 		eval supported=\$$cacheid
   13719 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13720 $as_echo "$supported" >&6; }
   13721 		if test "$supported" = "yes" ; then
   13722 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13723 			found="yes"
   13724 		fi
   13725 	fi
   13726 
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 xorg_testset_save_CFLAGS="$CFLAGS"
   13742 
   13743 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13744 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13746 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13747 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13748   $as_echo_n "(cached) " >&6
   13749 else
   13750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13751 /* end confdefs.h.  */
   13752 int i;
   13753 _ACEOF
   13754 if ac_fn_c_try_compile "$LINENO"; then :
   13755   xorg_cv_cc_flag_unknown_warning_option=yes
   13756 else
   13757   xorg_cv_cc_flag_unknown_warning_option=no
   13758 fi
   13759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13760 fi
   13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13762 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13763 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13764 	CFLAGS="$xorg_testset_save_CFLAGS"
   13765 fi
   13766 
   13767 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13768 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13769 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13770 	fi
   13771 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13772 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13773 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13774 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13775   $as_echo_n "(cached) " >&6
   13776 else
   13777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13778 /* end confdefs.h.  */
   13779 int i;
   13780 _ACEOF
   13781 if ac_fn_c_try_compile "$LINENO"; then :
   13782   xorg_cv_cc_flag_unused_command_line_argument=yes
   13783 else
   13784   xorg_cv_cc_flag_unused_command_line_argument=no
   13785 fi
   13786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13787 fi
   13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13789 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13790 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13791 	CFLAGS="$xorg_testset_save_CFLAGS"
   13792 fi
   13793 
   13794 found="no"
   13795 
   13796 	if test $found = "no" ; then
   13797 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13798 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13799 		fi
   13800 
   13801 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13802 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13803 		fi
   13804 
   13805 		CFLAGS="$CFLAGS -Wredundant-decls"
   13806 
   13807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13808 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13809 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13810 		if eval \${$cacheid+:} false; then :
   13811   $as_echo_n "(cached) " >&6
   13812 else
   13813   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13814 /* end confdefs.h.  */
   13815 int i;
   13816 int
   13817 main ()
   13818 {
   13819 
   13820   ;
   13821   return 0;
   13822 }
   13823 _ACEOF
   13824 if ac_fn_c_try_link "$LINENO"; then :
   13825   eval $cacheid=yes
   13826 else
   13827   eval $cacheid=no
   13828 fi
   13829 rm -f core conftest.err conftest.$ac_objext \
   13830     conftest$ac_exeext conftest.$ac_ext
   13831 fi
   13832 
   13833 
   13834 		CFLAGS="$xorg_testset_save_CFLAGS"
   13835 
   13836 		eval supported=\$$cacheid
   13837 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13838 $as_echo "$supported" >&6; }
   13839 		if test "$supported" = "yes" ; then
   13840 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13841 			found="yes"
   13842 		fi
   13843 	fi
   13844 
   13845 
   13846 
   13847 # These are currently disabled because they are noisy.  They will be enabled
   13848 # in the future once the codebase is sufficiently modernized to silence
   13849 # them.  For now, I don't want them to drown out the other warnings.
   13850 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13851 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13852 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13853 
   13854 # Turn some warnings into errors, so we don't accidently get successful builds
   13855 # when there are problems that should be fixed.
   13856 
   13857 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 
   13870 
   13871 xorg_testset_save_CFLAGS="$CFLAGS"
   13872 
   13873 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13874 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13875 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13876 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13877 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13878   $as_echo_n "(cached) " >&6
   13879 else
   13880   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13881 /* end confdefs.h.  */
   13882 int i;
   13883 _ACEOF
   13884 if ac_fn_c_try_compile "$LINENO"; then :
   13885   xorg_cv_cc_flag_unknown_warning_option=yes
   13886 else
   13887   xorg_cv_cc_flag_unknown_warning_option=no
   13888 fi
   13889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13890 fi
   13891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13892 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13893 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13894 	CFLAGS="$xorg_testset_save_CFLAGS"
   13895 fi
   13896 
   13897 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13898 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13899 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13900 	fi
   13901 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13902 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13903 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13904 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13905   $as_echo_n "(cached) " >&6
   13906 else
   13907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13908 /* end confdefs.h.  */
   13909 int i;
   13910 _ACEOF
   13911 if ac_fn_c_try_compile "$LINENO"; then :
   13912   xorg_cv_cc_flag_unused_command_line_argument=yes
   13913 else
   13914   xorg_cv_cc_flag_unused_command_line_argument=no
   13915 fi
   13916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13917 fi
   13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13919 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13920 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13921 	CFLAGS="$xorg_testset_save_CFLAGS"
   13922 fi
   13923 
   13924 found="no"
   13925 
   13926 	if test $found = "no" ; then
   13927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13929 		fi
   13930 
   13931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13933 		fi
   13934 
   13935 		CFLAGS="$CFLAGS -Werror=implicit"
   13936 
   13937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13938 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13939 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13940 		if eval \${$cacheid+:} false; then :
   13941   $as_echo_n "(cached) " >&6
   13942 else
   13943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13944 /* end confdefs.h.  */
   13945 int i;
   13946 int
   13947 main ()
   13948 {
   13949 
   13950   ;
   13951   return 0;
   13952 }
   13953 _ACEOF
   13954 if ac_fn_c_try_link "$LINENO"; then :
   13955   eval $cacheid=yes
   13956 else
   13957   eval $cacheid=no
   13958 fi
   13959 rm -f core conftest.err conftest.$ac_objext \
   13960     conftest$ac_exeext conftest.$ac_ext
   13961 fi
   13962 
   13963 
   13964 		CFLAGS="$xorg_testset_save_CFLAGS"
   13965 
   13966 		eval supported=\$$cacheid
   13967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13968 $as_echo "$supported" >&6; }
   13969 		if test "$supported" = "yes" ; then
   13970 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13971 			found="yes"
   13972 		fi
   13973 	fi
   13974 
   13975 	if test $found = "no" ; then
   13976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13978 		fi
   13979 
   13980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13982 		fi
   13983 
   13984 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13985 
   13986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13987 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13988 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   13989 		if eval \${$cacheid+:} 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 int
   13996 main ()
   13997 {
   13998 
   13999   ;
   14000   return 0;
   14001 }
   14002 _ACEOF
   14003 if ac_fn_c_try_link "$LINENO"; then :
   14004   eval $cacheid=yes
   14005 else
   14006   eval $cacheid=no
   14007 fi
   14008 rm -f core conftest.err conftest.$ac_objext \
   14009     conftest$ac_exeext conftest.$ac_ext
   14010 fi
   14011 
   14012 
   14013 		CFLAGS="$xorg_testset_save_CFLAGS"
   14014 
   14015 		eval supported=\$$cacheid
   14016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14017 $as_echo "$supported" >&6; }
   14018 		if test "$supported" = "yes" ; then
   14019 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14020 			found="yes"
   14021 		fi
   14022 	fi
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 xorg_testset_save_CFLAGS="$CFLAGS"
   14039 
   14040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14043 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14044 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14045   $as_echo_n "(cached) " >&6
   14046 else
   14047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14048 /* end confdefs.h.  */
   14049 int i;
   14050 _ACEOF
   14051 if ac_fn_c_try_compile "$LINENO"; then :
   14052   xorg_cv_cc_flag_unknown_warning_option=yes
   14053 else
   14054   xorg_cv_cc_flag_unknown_warning_option=no
   14055 fi
   14056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14057 fi
   14058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14059 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14061 	CFLAGS="$xorg_testset_save_CFLAGS"
   14062 fi
   14063 
   14064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14067 	fi
   14068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14070 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14071 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14072   $as_echo_n "(cached) " >&6
   14073 else
   14074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14075 /* end confdefs.h.  */
   14076 int i;
   14077 _ACEOF
   14078 if ac_fn_c_try_compile "$LINENO"; then :
   14079   xorg_cv_cc_flag_unused_command_line_argument=yes
   14080 else
   14081   xorg_cv_cc_flag_unused_command_line_argument=no
   14082 fi
   14083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14084 fi
   14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14086 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14088 	CFLAGS="$xorg_testset_save_CFLAGS"
   14089 fi
   14090 
   14091 found="no"
   14092 
   14093 	if test $found = "no" ; then
   14094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14096 		fi
   14097 
   14098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14100 		fi
   14101 
   14102 		CFLAGS="$CFLAGS -Werror=nonnull"
   14103 
   14104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14105 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14106 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14107 		if eval \${$cacheid+:} 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 int
   14114 main ()
   14115 {
   14116 
   14117   ;
   14118   return 0;
   14119 }
   14120 _ACEOF
   14121 if ac_fn_c_try_link "$LINENO"; then :
   14122   eval $cacheid=yes
   14123 else
   14124   eval $cacheid=no
   14125 fi
   14126 rm -f core conftest.err conftest.$ac_objext \
   14127     conftest$ac_exeext conftest.$ac_ext
   14128 fi
   14129 
   14130 
   14131 		CFLAGS="$xorg_testset_save_CFLAGS"
   14132 
   14133 		eval supported=\$$cacheid
   14134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14135 $as_echo "$supported" >&6; }
   14136 		if test "$supported" = "yes" ; then
   14137 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14138 			found="yes"
   14139 		fi
   14140 	fi
   14141 
   14142 
   14143 
   14144 
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 xorg_testset_save_CFLAGS="$CFLAGS"
   14157 
   14158 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14161 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14162 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14163   $as_echo_n "(cached) " >&6
   14164 else
   14165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14166 /* end confdefs.h.  */
   14167 int i;
   14168 _ACEOF
   14169 if ac_fn_c_try_compile "$LINENO"; then :
   14170   xorg_cv_cc_flag_unknown_warning_option=yes
   14171 else
   14172   xorg_cv_cc_flag_unknown_warning_option=no
   14173 fi
   14174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14175 fi
   14176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14177 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14178 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14179 	CFLAGS="$xorg_testset_save_CFLAGS"
   14180 fi
   14181 
   14182 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14183 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14184 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14185 	fi
   14186 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14188 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14189 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14190   $as_echo_n "(cached) " >&6
   14191 else
   14192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14193 /* end confdefs.h.  */
   14194 int i;
   14195 _ACEOF
   14196 if ac_fn_c_try_compile "$LINENO"; then :
   14197   xorg_cv_cc_flag_unused_command_line_argument=yes
   14198 else
   14199   xorg_cv_cc_flag_unused_command_line_argument=no
   14200 fi
   14201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14202 fi
   14203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14204 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14205 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14206 	CFLAGS="$xorg_testset_save_CFLAGS"
   14207 fi
   14208 
   14209 found="no"
   14210 
   14211 	if test $found = "no" ; then
   14212 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14214 		fi
   14215 
   14216 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14218 		fi
   14219 
   14220 		CFLAGS="$CFLAGS -Werror=init-self"
   14221 
   14222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14223 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14224 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14225 		if eval \${$cacheid+:} 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 int
   14232 main ()
   14233 {
   14234 
   14235   ;
   14236   return 0;
   14237 }
   14238 _ACEOF
   14239 if ac_fn_c_try_link "$LINENO"; then :
   14240   eval $cacheid=yes
   14241 else
   14242   eval $cacheid=no
   14243 fi
   14244 rm -f core conftest.err conftest.$ac_objext \
   14245     conftest$ac_exeext conftest.$ac_ext
   14246 fi
   14247 
   14248 
   14249 		CFLAGS="$xorg_testset_save_CFLAGS"
   14250 
   14251 		eval supported=\$$cacheid
   14252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14253 $as_echo "$supported" >&6; }
   14254 		if test "$supported" = "yes" ; then
   14255 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14256 			found="yes"
   14257 		fi
   14258 	fi
   14259 
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 xorg_testset_save_CFLAGS="$CFLAGS"
   14275 
   14276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14279 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14280 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14281   $as_echo_n "(cached) " >&6
   14282 else
   14283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14284 /* end confdefs.h.  */
   14285 int i;
   14286 _ACEOF
   14287 if ac_fn_c_try_compile "$LINENO"; then :
   14288   xorg_cv_cc_flag_unknown_warning_option=yes
   14289 else
   14290   xorg_cv_cc_flag_unknown_warning_option=no
   14291 fi
   14292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14293 fi
   14294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14295 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14296 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14297 	CFLAGS="$xorg_testset_save_CFLAGS"
   14298 fi
   14299 
   14300 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14301 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14302 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14303 	fi
   14304 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14306 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14307 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14308   $as_echo_n "(cached) " >&6
   14309 else
   14310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14311 /* end confdefs.h.  */
   14312 int i;
   14313 _ACEOF
   14314 if ac_fn_c_try_compile "$LINENO"; then :
   14315   xorg_cv_cc_flag_unused_command_line_argument=yes
   14316 else
   14317   xorg_cv_cc_flag_unused_command_line_argument=no
   14318 fi
   14319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14320 fi
   14321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14322 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14324 	CFLAGS="$xorg_testset_save_CFLAGS"
   14325 fi
   14326 
   14327 found="no"
   14328 
   14329 	if test $found = "no" ; then
   14330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14332 		fi
   14333 
   14334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14336 		fi
   14337 
   14338 		CFLAGS="$CFLAGS -Werror=main"
   14339 
   14340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14341 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14342 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14343 		if eval \${$cacheid+:} 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 int
   14350 main ()
   14351 {
   14352 
   14353   ;
   14354   return 0;
   14355 }
   14356 _ACEOF
   14357 if ac_fn_c_try_link "$LINENO"; then :
   14358   eval $cacheid=yes
   14359 else
   14360   eval $cacheid=no
   14361 fi
   14362 rm -f core conftest.err conftest.$ac_objext \
   14363     conftest$ac_exeext conftest.$ac_ext
   14364 fi
   14365 
   14366 
   14367 		CFLAGS="$xorg_testset_save_CFLAGS"
   14368 
   14369 		eval supported=\$$cacheid
   14370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14371 $as_echo "$supported" >&6; }
   14372 		if test "$supported" = "yes" ; then
   14373 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14374 			found="yes"
   14375 		fi
   14376 	fi
   14377 
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 xorg_testset_save_CFLAGS="$CFLAGS"
   14393 
   14394 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14397 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14398 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14399   $as_echo_n "(cached) " >&6
   14400 else
   14401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14402 /* end confdefs.h.  */
   14403 int i;
   14404 _ACEOF
   14405 if ac_fn_c_try_compile "$LINENO"; then :
   14406   xorg_cv_cc_flag_unknown_warning_option=yes
   14407 else
   14408   xorg_cv_cc_flag_unknown_warning_option=no
   14409 fi
   14410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14411 fi
   14412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14413 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14415 	CFLAGS="$xorg_testset_save_CFLAGS"
   14416 fi
   14417 
   14418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14421 	fi
   14422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14424 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14425 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14426   $as_echo_n "(cached) " >&6
   14427 else
   14428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14429 /* end confdefs.h.  */
   14430 int i;
   14431 _ACEOF
   14432 if ac_fn_c_try_compile "$LINENO"; then :
   14433   xorg_cv_cc_flag_unused_command_line_argument=yes
   14434 else
   14435   xorg_cv_cc_flag_unused_command_line_argument=no
   14436 fi
   14437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14438 fi
   14439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14440 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14441 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14442 	CFLAGS="$xorg_testset_save_CFLAGS"
   14443 fi
   14444 
   14445 found="no"
   14446 
   14447 	if test $found = "no" ; then
   14448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14450 		fi
   14451 
   14452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14454 		fi
   14455 
   14456 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14457 
   14458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14459 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14460 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14461 		if eval \${$cacheid+:} 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 int
   14468 main ()
   14469 {
   14470 
   14471   ;
   14472   return 0;
   14473 }
   14474 _ACEOF
   14475 if ac_fn_c_try_link "$LINENO"; then :
   14476   eval $cacheid=yes
   14477 else
   14478   eval $cacheid=no
   14479 fi
   14480 rm -f core conftest.err conftest.$ac_objext \
   14481     conftest$ac_exeext conftest.$ac_ext
   14482 fi
   14483 
   14484 
   14485 		CFLAGS="$xorg_testset_save_CFLAGS"
   14486 
   14487 		eval supported=\$$cacheid
   14488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14489 $as_echo "$supported" >&6; }
   14490 		if test "$supported" = "yes" ; then
   14491 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14492 			found="yes"
   14493 		fi
   14494 	fi
   14495 
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 
   14510 xorg_testset_save_CFLAGS="$CFLAGS"
   14511 
   14512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14515 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14516 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14517   $as_echo_n "(cached) " >&6
   14518 else
   14519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14520 /* end confdefs.h.  */
   14521 int i;
   14522 _ACEOF
   14523 if ac_fn_c_try_compile "$LINENO"; then :
   14524   xorg_cv_cc_flag_unknown_warning_option=yes
   14525 else
   14526   xorg_cv_cc_flag_unknown_warning_option=no
   14527 fi
   14528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14529 fi
   14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14531 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14533 	CFLAGS="$xorg_testset_save_CFLAGS"
   14534 fi
   14535 
   14536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14539 	fi
   14540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14542 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14543 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14544   $as_echo_n "(cached) " >&6
   14545 else
   14546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14547 /* end confdefs.h.  */
   14548 int i;
   14549 _ACEOF
   14550 if ac_fn_c_try_compile "$LINENO"; then :
   14551   xorg_cv_cc_flag_unused_command_line_argument=yes
   14552 else
   14553   xorg_cv_cc_flag_unused_command_line_argument=no
   14554 fi
   14555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14556 fi
   14557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14558 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14560 	CFLAGS="$xorg_testset_save_CFLAGS"
   14561 fi
   14562 
   14563 found="no"
   14564 
   14565 	if test $found = "no" ; then
   14566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14568 		fi
   14569 
   14570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14572 		fi
   14573 
   14574 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14575 
   14576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14577 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14578 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14579 		if eval \${$cacheid+:} 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 int
   14586 main ()
   14587 {
   14588 
   14589   ;
   14590   return 0;
   14591 }
   14592 _ACEOF
   14593 if ac_fn_c_try_link "$LINENO"; then :
   14594   eval $cacheid=yes
   14595 else
   14596   eval $cacheid=no
   14597 fi
   14598 rm -f core conftest.err conftest.$ac_objext \
   14599     conftest$ac_exeext conftest.$ac_ext
   14600 fi
   14601 
   14602 
   14603 		CFLAGS="$xorg_testset_save_CFLAGS"
   14604 
   14605 		eval supported=\$$cacheid
   14606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14607 $as_echo "$supported" >&6; }
   14608 		if test "$supported" = "yes" ; then
   14609 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14610 			found="yes"
   14611 		fi
   14612 	fi
   14613 
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 xorg_testset_save_CFLAGS="$CFLAGS"
   14629 
   14630 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14633 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14634 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14635   $as_echo_n "(cached) " >&6
   14636 else
   14637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14638 /* end confdefs.h.  */
   14639 int i;
   14640 _ACEOF
   14641 if ac_fn_c_try_compile "$LINENO"; then :
   14642   xorg_cv_cc_flag_unknown_warning_option=yes
   14643 else
   14644   xorg_cv_cc_flag_unknown_warning_option=no
   14645 fi
   14646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14647 fi
   14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14649 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14650 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14651 	CFLAGS="$xorg_testset_save_CFLAGS"
   14652 fi
   14653 
   14654 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14655 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14657 	fi
   14658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14660 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14661 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14662   $as_echo_n "(cached) " >&6
   14663 else
   14664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14665 /* end confdefs.h.  */
   14666 int i;
   14667 _ACEOF
   14668 if ac_fn_c_try_compile "$LINENO"; then :
   14669   xorg_cv_cc_flag_unused_command_line_argument=yes
   14670 else
   14671   xorg_cv_cc_flag_unused_command_line_argument=no
   14672 fi
   14673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14674 fi
   14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14676 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14678 	CFLAGS="$xorg_testset_save_CFLAGS"
   14679 fi
   14680 
   14681 found="no"
   14682 
   14683 	if test $found = "no" ; then
   14684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14686 		fi
   14687 
   14688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14690 		fi
   14691 
   14692 		CFLAGS="$CFLAGS -Werror=return-type"
   14693 
   14694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14695 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14696 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14697 		if eval \${$cacheid+:} false; then :
   14698   $as_echo_n "(cached) " >&6
   14699 else
   14700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14701 /* end confdefs.h.  */
   14702 int i;
   14703 int
   14704 main ()
   14705 {
   14706 
   14707   ;
   14708   return 0;
   14709 }
   14710 _ACEOF
   14711 if ac_fn_c_try_link "$LINENO"; then :
   14712   eval $cacheid=yes
   14713 else
   14714   eval $cacheid=no
   14715 fi
   14716 rm -f core conftest.err conftest.$ac_objext \
   14717     conftest$ac_exeext conftest.$ac_ext
   14718 fi
   14719 
   14720 
   14721 		CFLAGS="$xorg_testset_save_CFLAGS"
   14722 
   14723 		eval supported=\$$cacheid
   14724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14725 $as_echo "$supported" >&6; }
   14726 		if test "$supported" = "yes" ; then
   14727 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14728 			found="yes"
   14729 		fi
   14730 	fi
   14731 
   14732 	if test $found = "no" ; then
   14733 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14735 		fi
   14736 
   14737 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14739 		fi
   14740 
   14741 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14742 
   14743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14744 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14745 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14746 		if eval \${$cacheid+:} 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 int
   14753 main ()
   14754 {
   14755 
   14756   ;
   14757   return 0;
   14758 }
   14759 _ACEOF
   14760 if ac_fn_c_try_link "$LINENO"; then :
   14761   eval $cacheid=yes
   14762 else
   14763   eval $cacheid=no
   14764 fi
   14765 rm -f core conftest.err conftest.$ac_objext \
   14766     conftest$ac_exeext conftest.$ac_ext
   14767 fi
   14768 
   14769 
   14770 		CFLAGS="$xorg_testset_save_CFLAGS"
   14771 
   14772 		eval supported=\$$cacheid
   14773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14774 $as_echo "$supported" >&6; }
   14775 		if test "$supported" = "yes" ; then
   14776 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14777 			found="yes"
   14778 		fi
   14779 	fi
   14780 
   14781 
   14782 
   14783 
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 xorg_testset_save_CFLAGS="$CFLAGS"
   14796 
   14797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14800 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14801 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14802   $as_echo_n "(cached) " >&6
   14803 else
   14804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14805 /* end confdefs.h.  */
   14806 int i;
   14807 _ACEOF
   14808 if ac_fn_c_try_compile "$LINENO"; then :
   14809   xorg_cv_cc_flag_unknown_warning_option=yes
   14810 else
   14811   xorg_cv_cc_flag_unknown_warning_option=no
   14812 fi
   14813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14814 fi
   14815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14816 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14818 	CFLAGS="$xorg_testset_save_CFLAGS"
   14819 fi
   14820 
   14821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14824 	fi
   14825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14827 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14828 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14829   $as_echo_n "(cached) " >&6
   14830 else
   14831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14832 /* end confdefs.h.  */
   14833 int i;
   14834 _ACEOF
   14835 if ac_fn_c_try_compile "$LINENO"; then :
   14836   xorg_cv_cc_flag_unused_command_line_argument=yes
   14837 else
   14838   xorg_cv_cc_flag_unused_command_line_argument=no
   14839 fi
   14840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14841 fi
   14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14843 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14845 	CFLAGS="$xorg_testset_save_CFLAGS"
   14846 fi
   14847 
   14848 found="no"
   14849 
   14850 	if test $found = "no" ; then
   14851 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14853 		fi
   14854 
   14855 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14857 		fi
   14858 
   14859 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14860 
   14861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14862 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14863 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14864 		if eval \${$cacheid+:} 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 int
   14871 main ()
   14872 {
   14873 
   14874   ;
   14875   return 0;
   14876 }
   14877 _ACEOF
   14878 if ac_fn_c_try_link "$LINENO"; then :
   14879   eval $cacheid=yes
   14880 else
   14881   eval $cacheid=no
   14882 fi
   14883 rm -f core conftest.err conftest.$ac_objext \
   14884     conftest$ac_exeext conftest.$ac_ext
   14885 fi
   14886 
   14887 
   14888 		CFLAGS="$xorg_testset_save_CFLAGS"
   14889 
   14890 		eval supported=\$$cacheid
   14891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14892 $as_echo "$supported" >&6; }
   14893 		if test "$supported" = "yes" ; then
   14894 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14895 			found="yes"
   14896 		fi
   14897 	fi
   14898 
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 xorg_testset_save_CFLAGS="$CFLAGS"
   14914 
   14915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14918 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14919 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14920   $as_echo_n "(cached) " >&6
   14921 else
   14922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14923 /* end confdefs.h.  */
   14924 int i;
   14925 _ACEOF
   14926 if ac_fn_c_try_compile "$LINENO"; then :
   14927   xorg_cv_cc_flag_unknown_warning_option=yes
   14928 else
   14929   xorg_cv_cc_flag_unknown_warning_option=no
   14930 fi
   14931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14932 fi
   14933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14934 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14935 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14936 	CFLAGS="$xorg_testset_save_CFLAGS"
   14937 fi
   14938 
   14939 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14940 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14941 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14942 	fi
   14943 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14945 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14946 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14947   $as_echo_n "(cached) " >&6
   14948 else
   14949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14950 /* end confdefs.h.  */
   14951 int i;
   14952 _ACEOF
   14953 if ac_fn_c_try_compile "$LINENO"; then :
   14954   xorg_cv_cc_flag_unused_command_line_argument=yes
   14955 else
   14956   xorg_cv_cc_flag_unused_command_line_argument=no
   14957 fi
   14958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14959 fi
   14960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14961 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14962 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14963 	CFLAGS="$xorg_testset_save_CFLAGS"
   14964 fi
   14965 
   14966 found="no"
   14967 
   14968 	if test $found = "no" ; then
   14969 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14971 		fi
   14972 
   14973 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14975 		fi
   14976 
   14977 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14978 
   14979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14980 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14981 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   14982 		if eval \${$cacheid+:} 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 int
   14989 main ()
   14990 {
   14991 
   14992   ;
   14993   return 0;
   14994 }
   14995 _ACEOF
   14996 if ac_fn_c_try_link "$LINENO"; then :
   14997   eval $cacheid=yes
   14998 else
   14999   eval $cacheid=no
   15000 fi
   15001 rm -f core conftest.err conftest.$ac_objext \
   15002     conftest$ac_exeext conftest.$ac_ext
   15003 fi
   15004 
   15005 
   15006 		CFLAGS="$xorg_testset_save_CFLAGS"
   15007 
   15008 		eval supported=\$$cacheid
   15009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15010 $as_echo "$supported" >&6; }
   15011 		if test "$supported" = "yes" ; then
   15012 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15013 			found="yes"
   15014 		fi
   15015 	fi
   15016 
   15017 
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 xorg_testset_save_CFLAGS="$CFLAGS"
   15032 
   15033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15036 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15037 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15038   $as_echo_n "(cached) " >&6
   15039 else
   15040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15041 /* end confdefs.h.  */
   15042 int i;
   15043 _ACEOF
   15044 if ac_fn_c_try_compile "$LINENO"; then :
   15045   xorg_cv_cc_flag_unknown_warning_option=yes
   15046 else
   15047   xorg_cv_cc_flag_unknown_warning_option=no
   15048 fi
   15049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15050 fi
   15051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15052 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15054 	CFLAGS="$xorg_testset_save_CFLAGS"
   15055 fi
   15056 
   15057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15060 	fi
   15061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15063 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15064 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15065   $as_echo_n "(cached) " >&6
   15066 else
   15067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15068 /* end confdefs.h.  */
   15069 int i;
   15070 _ACEOF
   15071 if ac_fn_c_try_compile "$LINENO"; then :
   15072   xorg_cv_cc_flag_unused_command_line_argument=yes
   15073 else
   15074   xorg_cv_cc_flag_unused_command_line_argument=no
   15075 fi
   15076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15077 fi
   15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15079 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15081 	CFLAGS="$xorg_testset_save_CFLAGS"
   15082 fi
   15083 
   15084 found="no"
   15085 
   15086 	if test $found = "no" ; then
   15087 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15089 		fi
   15090 
   15091 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15093 		fi
   15094 
   15095 		CFLAGS="$CFLAGS -Werror=write-strings"
   15096 
   15097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15098 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15099 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15100 		if eval \${$cacheid+:} 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 int
   15107 main ()
   15108 {
   15109 
   15110   ;
   15111   return 0;
   15112 }
   15113 _ACEOF
   15114 if ac_fn_c_try_link "$LINENO"; then :
   15115   eval $cacheid=yes
   15116 else
   15117   eval $cacheid=no
   15118 fi
   15119 rm -f core conftest.err conftest.$ac_objext \
   15120     conftest$ac_exeext conftest.$ac_ext
   15121 fi
   15122 
   15123 
   15124 		CFLAGS="$xorg_testset_save_CFLAGS"
   15125 
   15126 		eval supported=\$$cacheid
   15127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15128 $as_echo "$supported" >&6; }
   15129 		if test "$supported" = "yes" ; then
   15130 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15131 			found="yes"
   15132 		fi
   15133 	fi
   15134 
   15135 
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 xorg_testset_save_CFLAGS="$CFLAGS"
   15150 
   15151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15154 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15155 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15156   $as_echo_n "(cached) " >&6
   15157 else
   15158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15159 /* end confdefs.h.  */
   15160 int i;
   15161 _ACEOF
   15162 if ac_fn_c_try_compile "$LINENO"; then :
   15163   xorg_cv_cc_flag_unknown_warning_option=yes
   15164 else
   15165   xorg_cv_cc_flag_unknown_warning_option=no
   15166 fi
   15167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15168 fi
   15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15170 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15172 	CFLAGS="$xorg_testset_save_CFLAGS"
   15173 fi
   15174 
   15175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15178 	fi
   15179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15181 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15182 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15183   $as_echo_n "(cached) " >&6
   15184 else
   15185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15186 /* end confdefs.h.  */
   15187 int i;
   15188 _ACEOF
   15189 if ac_fn_c_try_compile "$LINENO"; then :
   15190   xorg_cv_cc_flag_unused_command_line_argument=yes
   15191 else
   15192   xorg_cv_cc_flag_unused_command_line_argument=no
   15193 fi
   15194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15195 fi
   15196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15197 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15199 	CFLAGS="$xorg_testset_save_CFLAGS"
   15200 fi
   15201 
   15202 found="no"
   15203 
   15204 	if test $found = "no" ; then
   15205 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15207 		fi
   15208 
   15209 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15211 		fi
   15212 
   15213 		CFLAGS="$CFLAGS -Werror=address"
   15214 
   15215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15216 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15217 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15218 		if eval \${$cacheid+:} 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 int
   15225 main ()
   15226 {
   15227 
   15228   ;
   15229   return 0;
   15230 }
   15231 _ACEOF
   15232 if ac_fn_c_try_link "$LINENO"; then :
   15233   eval $cacheid=yes
   15234 else
   15235   eval $cacheid=no
   15236 fi
   15237 rm -f core conftest.err conftest.$ac_objext \
   15238     conftest$ac_exeext conftest.$ac_ext
   15239 fi
   15240 
   15241 
   15242 		CFLAGS="$xorg_testset_save_CFLAGS"
   15243 
   15244 		eval supported=\$$cacheid
   15245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15246 $as_echo "$supported" >&6; }
   15247 		if test "$supported" = "yes" ; then
   15248 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15249 			found="yes"
   15250 		fi
   15251 	fi
   15252 
   15253 
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 xorg_testset_save_CFLAGS="$CFLAGS"
   15268 
   15269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15271 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15272 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15273 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15274   $as_echo_n "(cached) " >&6
   15275 else
   15276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15277 /* end confdefs.h.  */
   15278 int i;
   15279 _ACEOF
   15280 if ac_fn_c_try_compile "$LINENO"; then :
   15281   xorg_cv_cc_flag_unknown_warning_option=yes
   15282 else
   15283   xorg_cv_cc_flag_unknown_warning_option=no
   15284 fi
   15285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15286 fi
   15287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15288 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15290 	CFLAGS="$xorg_testset_save_CFLAGS"
   15291 fi
   15292 
   15293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15296 	fi
   15297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15299 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15300 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15301   $as_echo_n "(cached) " >&6
   15302 else
   15303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15304 /* end confdefs.h.  */
   15305 int i;
   15306 _ACEOF
   15307 if ac_fn_c_try_compile "$LINENO"; then :
   15308   xorg_cv_cc_flag_unused_command_line_argument=yes
   15309 else
   15310   xorg_cv_cc_flag_unused_command_line_argument=no
   15311 fi
   15312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15313 fi
   15314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15315 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15316 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15317 	CFLAGS="$xorg_testset_save_CFLAGS"
   15318 fi
   15319 
   15320 found="no"
   15321 
   15322 	if test $found = "no" ; then
   15323 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15325 		fi
   15326 
   15327 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15329 		fi
   15330 
   15331 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15332 
   15333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15334 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15335 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15336 		if eval \${$cacheid+:} false; then :
   15337   $as_echo_n "(cached) " >&6
   15338 else
   15339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15340 /* end confdefs.h.  */
   15341 int i;
   15342 int
   15343 main ()
   15344 {
   15345 
   15346   ;
   15347   return 0;
   15348 }
   15349 _ACEOF
   15350 if ac_fn_c_try_link "$LINENO"; then :
   15351   eval $cacheid=yes
   15352 else
   15353   eval $cacheid=no
   15354 fi
   15355 rm -f core conftest.err conftest.$ac_objext \
   15356     conftest$ac_exeext conftest.$ac_ext
   15357 fi
   15358 
   15359 
   15360 		CFLAGS="$xorg_testset_save_CFLAGS"
   15361 
   15362 		eval supported=\$$cacheid
   15363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15364 $as_echo "$supported" >&6; }
   15365 		if test "$supported" = "yes" ; then
   15366 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15367 			found="yes"
   15368 		fi
   15369 	fi
   15370 
   15371 	if test $found = "no" ; then
   15372 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15373 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15374 		fi
   15375 
   15376 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15377 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15378 		fi
   15379 
   15380 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15381 
   15382 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15383 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15384 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15385 		if eval \${$cacheid+:} 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 int
   15392 main ()
   15393 {
   15394 
   15395   ;
   15396   return 0;
   15397 }
   15398 _ACEOF
   15399 if ac_fn_c_try_link "$LINENO"; then :
   15400   eval $cacheid=yes
   15401 else
   15402   eval $cacheid=no
   15403 fi
   15404 rm -f core conftest.err conftest.$ac_objext \
   15405     conftest$ac_exeext conftest.$ac_ext
   15406 fi
   15407 
   15408 
   15409 		CFLAGS="$xorg_testset_save_CFLAGS"
   15410 
   15411 		eval supported=\$$cacheid
   15412 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15413 $as_echo "$supported" >&6; }
   15414 		if test "$supported" = "yes" ; then
   15415 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15416 			found="yes"
   15417 		fi
   15418 	fi
   15419 
   15420 
   15421 
   15422 
   15423 
   15424 
   15425 
   15426 
   15427 
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 xorg_testset_save_CFLAGS="$CFLAGS"
   15435 
   15436 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15437 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15439 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15440 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15441   $as_echo_n "(cached) " >&6
   15442 else
   15443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15444 /* end confdefs.h.  */
   15445 int i;
   15446 _ACEOF
   15447 if ac_fn_c_try_compile "$LINENO"; then :
   15448   xorg_cv_cc_flag_unknown_warning_option=yes
   15449 else
   15450   xorg_cv_cc_flag_unknown_warning_option=no
   15451 fi
   15452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15453 fi
   15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15455 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15456 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15457 	CFLAGS="$xorg_testset_save_CFLAGS"
   15458 fi
   15459 
   15460 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15461 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15462 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15463 	fi
   15464 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15465 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15466 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15467 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15468   $as_echo_n "(cached) " >&6
   15469 else
   15470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15471 /* end confdefs.h.  */
   15472 int i;
   15473 _ACEOF
   15474 if ac_fn_c_try_compile "$LINENO"; then :
   15475   xorg_cv_cc_flag_unused_command_line_argument=yes
   15476 else
   15477   xorg_cv_cc_flag_unused_command_line_argument=no
   15478 fi
   15479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15480 fi
   15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15482 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15483 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15484 	CFLAGS="$xorg_testset_save_CFLAGS"
   15485 fi
   15486 
   15487 found="no"
   15488 
   15489 	if test $found = "no" ; then
   15490 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15491 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15492 		fi
   15493 
   15494 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15495 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15496 		fi
   15497 
   15498 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15499 
   15500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15501 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15502 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15503 		if eval \${$cacheid+:} false; then :
   15504   $as_echo_n "(cached) " >&6
   15505 else
   15506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15507 /* end confdefs.h.  */
   15508 int i;
   15509 int
   15510 main ()
   15511 {
   15512 
   15513   ;
   15514   return 0;
   15515 }
   15516 _ACEOF
   15517 if ac_fn_c_try_link "$LINENO"; then :
   15518   eval $cacheid=yes
   15519 else
   15520   eval $cacheid=no
   15521 fi
   15522 rm -f core conftest.err conftest.$ac_objext \
   15523     conftest$ac_exeext conftest.$ac_ext
   15524 fi
   15525 
   15526 
   15527 		CFLAGS="$xorg_testset_save_CFLAGS"
   15528 
   15529 		eval supported=\$$cacheid
   15530 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15531 $as_echo "$supported" >&6; }
   15532 		if test "$supported" = "yes" ; then
   15533 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15534 			found="yes"
   15535 		fi
   15536 	fi
   15537 
   15538  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15539 else
   15540 { $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
   15541 $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;}
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 xorg_testset_save_CFLAGS="$CFLAGS"
   15556 
   15557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15560 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15561 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15562   $as_echo_n "(cached) " >&6
   15563 else
   15564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15565 /* end confdefs.h.  */
   15566 int i;
   15567 _ACEOF
   15568 if ac_fn_c_try_compile "$LINENO"; then :
   15569   xorg_cv_cc_flag_unknown_warning_option=yes
   15570 else
   15571   xorg_cv_cc_flag_unknown_warning_option=no
   15572 fi
   15573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15574 fi
   15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15576 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15578 	CFLAGS="$xorg_testset_save_CFLAGS"
   15579 fi
   15580 
   15581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15584 	fi
   15585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15587 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15588 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15589   $as_echo_n "(cached) " >&6
   15590 else
   15591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15592 /* end confdefs.h.  */
   15593 int i;
   15594 _ACEOF
   15595 if ac_fn_c_try_compile "$LINENO"; then :
   15596   xorg_cv_cc_flag_unused_command_line_argument=yes
   15597 else
   15598   xorg_cv_cc_flag_unused_command_line_argument=no
   15599 fi
   15600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15601 fi
   15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15603 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15605 	CFLAGS="$xorg_testset_save_CFLAGS"
   15606 fi
   15607 
   15608 found="no"
   15609 
   15610 	if test $found = "no" ; then
   15611 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15613 		fi
   15614 
   15615 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15617 		fi
   15618 
   15619 		CFLAGS="$CFLAGS -Wimplicit"
   15620 
   15621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15622 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15623 		cacheid=xorg_cv_cc_flag__Wimplicit
   15624 		if eval \${$cacheid+:} 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 int
   15631 main ()
   15632 {
   15633 
   15634   ;
   15635   return 0;
   15636 }
   15637 _ACEOF
   15638 if ac_fn_c_try_link "$LINENO"; then :
   15639   eval $cacheid=yes
   15640 else
   15641   eval $cacheid=no
   15642 fi
   15643 rm -f core conftest.err conftest.$ac_objext \
   15644     conftest$ac_exeext conftest.$ac_ext
   15645 fi
   15646 
   15647 
   15648 		CFLAGS="$xorg_testset_save_CFLAGS"
   15649 
   15650 		eval supported=\$$cacheid
   15651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15652 $as_echo "$supported" >&6; }
   15653 		if test "$supported" = "yes" ; then
   15654 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15655 			found="yes"
   15656 		fi
   15657 	fi
   15658 
   15659 
   15660 
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 xorg_testset_save_CFLAGS="$CFLAGS"
   15674 
   15675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15678 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15679 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15680   $as_echo_n "(cached) " >&6
   15681 else
   15682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15683 /* end confdefs.h.  */
   15684 int i;
   15685 _ACEOF
   15686 if ac_fn_c_try_compile "$LINENO"; then :
   15687   xorg_cv_cc_flag_unknown_warning_option=yes
   15688 else
   15689   xorg_cv_cc_flag_unknown_warning_option=no
   15690 fi
   15691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15692 fi
   15693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15694 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15696 	CFLAGS="$xorg_testset_save_CFLAGS"
   15697 fi
   15698 
   15699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15702 	fi
   15703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15705 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15706 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15707   $as_echo_n "(cached) " >&6
   15708 else
   15709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15710 /* end confdefs.h.  */
   15711 int i;
   15712 _ACEOF
   15713 if ac_fn_c_try_compile "$LINENO"; then :
   15714   xorg_cv_cc_flag_unused_command_line_argument=yes
   15715 else
   15716   xorg_cv_cc_flag_unused_command_line_argument=no
   15717 fi
   15718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15719 fi
   15720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15721 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15723 	CFLAGS="$xorg_testset_save_CFLAGS"
   15724 fi
   15725 
   15726 found="no"
   15727 
   15728 	if test $found = "no" ; then
   15729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15731 		fi
   15732 
   15733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15735 		fi
   15736 
   15737 		CFLAGS="$CFLAGS -Wnonnull"
   15738 
   15739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15740 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15741 		cacheid=xorg_cv_cc_flag__Wnonnull
   15742 		if eval \${$cacheid+:} 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 int
   15749 main ()
   15750 {
   15751 
   15752   ;
   15753   return 0;
   15754 }
   15755 _ACEOF
   15756 if ac_fn_c_try_link "$LINENO"; then :
   15757   eval $cacheid=yes
   15758 else
   15759   eval $cacheid=no
   15760 fi
   15761 rm -f core conftest.err conftest.$ac_objext \
   15762     conftest$ac_exeext conftest.$ac_ext
   15763 fi
   15764 
   15765 
   15766 		CFLAGS="$xorg_testset_save_CFLAGS"
   15767 
   15768 		eval supported=\$$cacheid
   15769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15770 $as_echo "$supported" >&6; }
   15771 		if test "$supported" = "yes" ; then
   15772 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15773 			found="yes"
   15774 		fi
   15775 	fi
   15776 
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 xorg_testset_save_CFLAGS="$CFLAGS"
   15792 
   15793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15796 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15797 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15798   $as_echo_n "(cached) " >&6
   15799 else
   15800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15801 /* end confdefs.h.  */
   15802 int i;
   15803 _ACEOF
   15804 if ac_fn_c_try_compile "$LINENO"; then :
   15805   xorg_cv_cc_flag_unknown_warning_option=yes
   15806 else
   15807   xorg_cv_cc_flag_unknown_warning_option=no
   15808 fi
   15809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15810 fi
   15811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15812 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15814 	CFLAGS="$xorg_testset_save_CFLAGS"
   15815 fi
   15816 
   15817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15820 	fi
   15821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15823 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15824 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15825   $as_echo_n "(cached) " >&6
   15826 else
   15827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15828 /* end confdefs.h.  */
   15829 int i;
   15830 _ACEOF
   15831 if ac_fn_c_try_compile "$LINENO"; then :
   15832   xorg_cv_cc_flag_unused_command_line_argument=yes
   15833 else
   15834   xorg_cv_cc_flag_unused_command_line_argument=no
   15835 fi
   15836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15837 fi
   15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15839 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15841 	CFLAGS="$xorg_testset_save_CFLAGS"
   15842 fi
   15843 
   15844 found="no"
   15845 
   15846 	if test $found = "no" ; then
   15847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15849 		fi
   15850 
   15851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15853 		fi
   15854 
   15855 		CFLAGS="$CFLAGS -Winit-self"
   15856 
   15857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15858 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15859 		cacheid=xorg_cv_cc_flag__Winit_self
   15860 		if eval \${$cacheid+:} 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 int
   15867 main ()
   15868 {
   15869 
   15870   ;
   15871   return 0;
   15872 }
   15873 _ACEOF
   15874 if ac_fn_c_try_link "$LINENO"; then :
   15875   eval $cacheid=yes
   15876 else
   15877   eval $cacheid=no
   15878 fi
   15879 rm -f core conftest.err conftest.$ac_objext \
   15880     conftest$ac_exeext conftest.$ac_ext
   15881 fi
   15882 
   15883 
   15884 		CFLAGS="$xorg_testset_save_CFLAGS"
   15885 
   15886 		eval supported=\$$cacheid
   15887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15888 $as_echo "$supported" >&6; }
   15889 		if test "$supported" = "yes" ; then
   15890 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15891 			found="yes"
   15892 		fi
   15893 	fi
   15894 
   15895 
   15896 
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 xorg_testset_save_CFLAGS="$CFLAGS"
   15910 
   15911 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15912 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15913 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15914 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15915 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15916   $as_echo_n "(cached) " >&6
   15917 else
   15918   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15919 /* end confdefs.h.  */
   15920 int i;
   15921 _ACEOF
   15922 if ac_fn_c_try_compile "$LINENO"; then :
   15923   xorg_cv_cc_flag_unknown_warning_option=yes
   15924 else
   15925   xorg_cv_cc_flag_unknown_warning_option=no
   15926 fi
   15927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15928 fi
   15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15930 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15931 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15932 	CFLAGS="$xorg_testset_save_CFLAGS"
   15933 fi
   15934 
   15935 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15936 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15937 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15938 	fi
   15939 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15940 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15941 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15942 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15943   $as_echo_n "(cached) " >&6
   15944 else
   15945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15946 /* end confdefs.h.  */
   15947 int i;
   15948 _ACEOF
   15949 if ac_fn_c_try_compile "$LINENO"; then :
   15950   xorg_cv_cc_flag_unused_command_line_argument=yes
   15951 else
   15952   xorg_cv_cc_flag_unused_command_line_argument=no
   15953 fi
   15954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15955 fi
   15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15957 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15958 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15959 	CFLAGS="$xorg_testset_save_CFLAGS"
   15960 fi
   15961 
   15962 found="no"
   15963 
   15964 	if test $found = "no" ; then
   15965 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15966 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15967 		fi
   15968 
   15969 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15970 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15971 		fi
   15972 
   15973 		CFLAGS="$CFLAGS -Wmain"
   15974 
   15975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15976 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15977 		cacheid=xorg_cv_cc_flag__Wmain
   15978 		if eval \${$cacheid+:} 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 int
   15985 main ()
   15986 {
   15987 
   15988   ;
   15989   return 0;
   15990 }
   15991 _ACEOF
   15992 if ac_fn_c_try_link "$LINENO"; then :
   15993   eval $cacheid=yes
   15994 else
   15995   eval $cacheid=no
   15996 fi
   15997 rm -f core conftest.err conftest.$ac_objext \
   15998     conftest$ac_exeext conftest.$ac_ext
   15999 fi
   16000 
   16001 
   16002 		CFLAGS="$xorg_testset_save_CFLAGS"
   16003 
   16004 		eval supported=\$$cacheid
   16005 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16006 $as_echo "$supported" >&6; }
   16007 		if test "$supported" = "yes" ; then
   16008 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16009 			found="yes"
   16010 		fi
   16011 	fi
   16012 
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 xorg_testset_save_CFLAGS="$CFLAGS"
   16028 
   16029 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16030 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16031 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16032 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16033 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16034   $as_echo_n "(cached) " >&6
   16035 else
   16036   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16037 /* end confdefs.h.  */
   16038 int i;
   16039 _ACEOF
   16040 if ac_fn_c_try_compile "$LINENO"; then :
   16041   xorg_cv_cc_flag_unknown_warning_option=yes
   16042 else
   16043   xorg_cv_cc_flag_unknown_warning_option=no
   16044 fi
   16045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16046 fi
   16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16048 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16049 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16050 	CFLAGS="$xorg_testset_save_CFLAGS"
   16051 fi
   16052 
   16053 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16054 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16055 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16056 	fi
   16057 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16058 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16059 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16060 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16061   $as_echo_n "(cached) " >&6
   16062 else
   16063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16064 /* end confdefs.h.  */
   16065 int i;
   16066 _ACEOF
   16067 if ac_fn_c_try_compile "$LINENO"; then :
   16068   xorg_cv_cc_flag_unused_command_line_argument=yes
   16069 else
   16070   xorg_cv_cc_flag_unused_command_line_argument=no
   16071 fi
   16072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16073 fi
   16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16075 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16076 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16077 	CFLAGS="$xorg_testset_save_CFLAGS"
   16078 fi
   16079 
   16080 found="no"
   16081 
   16082 	if test $found = "no" ; then
   16083 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16084 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16085 		fi
   16086 
   16087 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16088 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16089 		fi
   16090 
   16091 		CFLAGS="$CFLAGS -Wmissing-braces"
   16092 
   16093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16094 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16095 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16096 		if eval \${$cacheid+:} 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 int
   16103 main ()
   16104 {
   16105 
   16106   ;
   16107   return 0;
   16108 }
   16109 _ACEOF
   16110 if ac_fn_c_try_link "$LINENO"; then :
   16111   eval $cacheid=yes
   16112 else
   16113   eval $cacheid=no
   16114 fi
   16115 rm -f core conftest.err conftest.$ac_objext \
   16116     conftest$ac_exeext conftest.$ac_ext
   16117 fi
   16118 
   16119 
   16120 		CFLAGS="$xorg_testset_save_CFLAGS"
   16121 
   16122 		eval supported=\$$cacheid
   16123 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16124 $as_echo "$supported" >&6; }
   16125 		if test "$supported" = "yes" ; then
   16126 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16127 			found="yes"
   16128 		fi
   16129 	fi
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 xorg_testset_save_CFLAGS="$CFLAGS"
   16146 
   16147 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16148 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16149 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16150 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16151 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16152   $as_echo_n "(cached) " >&6
   16153 else
   16154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16155 /* end confdefs.h.  */
   16156 int i;
   16157 _ACEOF
   16158 if ac_fn_c_try_compile "$LINENO"; then :
   16159   xorg_cv_cc_flag_unknown_warning_option=yes
   16160 else
   16161   xorg_cv_cc_flag_unknown_warning_option=no
   16162 fi
   16163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16164 fi
   16165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16166 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16167 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16168 	CFLAGS="$xorg_testset_save_CFLAGS"
   16169 fi
   16170 
   16171 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16172 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16173 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16174 	fi
   16175 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16177 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16178 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16179   $as_echo_n "(cached) " >&6
   16180 else
   16181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16182 /* end confdefs.h.  */
   16183 int i;
   16184 _ACEOF
   16185 if ac_fn_c_try_compile "$LINENO"; then :
   16186   xorg_cv_cc_flag_unused_command_line_argument=yes
   16187 else
   16188   xorg_cv_cc_flag_unused_command_line_argument=no
   16189 fi
   16190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16191 fi
   16192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16193 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16194 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16195 	CFLAGS="$xorg_testset_save_CFLAGS"
   16196 fi
   16197 
   16198 found="no"
   16199 
   16200 	if test $found = "no" ; then
   16201 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16202 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16203 		fi
   16204 
   16205 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16206 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16207 		fi
   16208 
   16209 		CFLAGS="$CFLAGS -Wsequence-point"
   16210 
   16211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16212 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16213 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16214 		if eval \${$cacheid+:} 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 int
   16221 main ()
   16222 {
   16223 
   16224   ;
   16225   return 0;
   16226 }
   16227 _ACEOF
   16228 if ac_fn_c_try_link "$LINENO"; then :
   16229   eval $cacheid=yes
   16230 else
   16231   eval $cacheid=no
   16232 fi
   16233 rm -f core conftest.err conftest.$ac_objext \
   16234     conftest$ac_exeext conftest.$ac_ext
   16235 fi
   16236 
   16237 
   16238 		CFLAGS="$xorg_testset_save_CFLAGS"
   16239 
   16240 		eval supported=\$$cacheid
   16241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16242 $as_echo "$supported" >&6; }
   16243 		if test "$supported" = "yes" ; then
   16244 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16245 			found="yes"
   16246 		fi
   16247 	fi
   16248 
   16249 
   16250 
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 xorg_testset_save_CFLAGS="$CFLAGS"
   16264 
   16265 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16266 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16267 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16268 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16269 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16270   $as_echo_n "(cached) " >&6
   16271 else
   16272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16273 /* end confdefs.h.  */
   16274 int i;
   16275 _ACEOF
   16276 if ac_fn_c_try_compile "$LINENO"; then :
   16277   xorg_cv_cc_flag_unknown_warning_option=yes
   16278 else
   16279   xorg_cv_cc_flag_unknown_warning_option=no
   16280 fi
   16281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16282 fi
   16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16284 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16285 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16286 	CFLAGS="$xorg_testset_save_CFLAGS"
   16287 fi
   16288 
   16289 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16290 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16291 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16292 	fi
   16293 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16295 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16296 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16297   $as_echo_n "(cached) " >&6
   16298 else
   16299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16300 /* end confdefs.h.  */
   16301 int i;
   16302 _ACEOF
   16303 if ac_fn_c_try_compile "$LINENO"; then :
   16304   xorg_cv_cc_flag_unused_command_line_argument=yes
   16305 else
   16306   xorg_cv_cc_flag_unused_command_line_argument=no
   16307 fi
   16308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16309 fi
   16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16311 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16312 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16313 	CFLAGS="$xorg_testset_save_CFLAGS"
   16314 fi
   16315 
   16316 found="no"
   16317 
   16318 	if test $found = "no" ; then
   16319 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16320 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16321 		fi
   16322 
   16323 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16324 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16325 		fi
   16326 
   16327 		CFLAGS="$CFLAGS -Wreturn-type"
   16328 
   16329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16330 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16331 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16332 		if eval \${$cacheid+:} 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 int
   16339 main ()
   16340 {
   16341 
   16342   ;
   16343   return 0;
   16344 }
   16345 _ACEOF
   16346 if ac_fn_c_try_link "$LINENO"; then :
   16347   eval $cacheid=yes
   16348 else
   16349   eval $cacheid=no
   16350 fi
   16351 rm -f core conftest.err conftest.$ac_objext \
   16352     conftest$ac_exeext conftest.$ac_ext
   16353 fi
   16354 
   16355 
   16356 		CFLAGS="$xorg_testset_save_CFLAGS"
   16357 
   16358 		eval supported=\$$cacheid
   16359 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16360 $as_echo "$supported" >&6; }
   16361 		if test "$supported" = "yes" ; then
   16362 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16363 			found="yes"
   16364 		fi
   16365 	fi
   16366 
   16367 
   16368 
   16369 
   16370 
   16371 
   16372 
   16373 
   16374 
   16375 
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 xorg_testset_save_CFLAGS="$CFLAGS"
   16382 
   16383 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16384 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16385 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16386 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16387 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16388   $as_echo_n "(cached) " >&6
   16389 else
   16390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16391 /* end confdefs.h.  */
   16392 int i;
   16393 _ACEOF
   16394 if ac_fn_c_try_compile "$LINENO"; then :
   16395   xorg_cv_cc_flag_unknown_warning_option=yes
   16396 else
   16397   xorg_cv_cc_flag_unknown_warning_option=no
   16398 fi
   16399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16400 fi
   16401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16402 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16403 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16404 	CFLAGS="$xorg_testset_save_CFLAGS"
   16405 fi
   16406 
   16407 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16408 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16409 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16410 	fi
   16411 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16412 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16413 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16414 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16415   $as_echo_n "(cached) " >&6
   16416 else
   16417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16418 /* end confdefs.h.  */
   16419 int i;
   16420 _ACEOF
   16421 if ac_fn_c_try_compile "$LINENO"; then :
   16422   xorg_cv_cc_flag_unused_command_line_argument=yes
   16423 else
   16424   xorg_cv_cc_flag_unused_command_line_argument=no
   16425 fi
   16426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16427 fi
   16428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16429 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16430 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16431 	CFLAGS="$xorg_testset_save_CFLAGS"
   16432 fi
   16433 
   16434 found="no"
   16435 
   16436 	if test $found = "no" ; then
   16437 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16438 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16439 		fi
   16440 
   16441 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16442 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16443 		fi
   16444 
   16445 		CFLAGS="$CFLAGS -Wtrigraphs"
   16446 
   16447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16448 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16449 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16450 		if eval \${$cacheid+:} 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 int
   16457 main ()
   16458 {
   16459 
   16460   ;
   16461   return 0;
   16462 }
   16463 _ACEOF
   16464 if ac_fn_c_try_link "$LINENO"; then :
   16465   eval $cacheid=yes
   16466 else
   16467   eval $cacheid=no
   16468 fi
   16469 rm -f core conftest.err conftest.$ac_objext \
   16470     conftest$ac_exeext conftest.$ac_ext
   16471 fi
   16472 
   16473 
   16474 		CFLAGS="$xorg_testset_save_CFLAGS"
   16475 
   16476 		eval supported=\$$cacheid
   16477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16478 $as_echo "$supported" >&6; }
   16479 		if test "$supported" = "yes" ; then
   16480 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16481 			found="yes"
   16482 		fi
   16483 	fi
   16484 
   16485 
   16486 
   16487 
   16488 
   16489 
   16490 
   16491 
   16492 
   16493 
   16494 
   16495 
   16496 
   16497 
   16498 
   16499 xorg_testset_save_CFLAGS="$CFLAGS"
   16500 
   16501 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16502 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16503 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16504 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16505 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16506   $as_echo_n "(cached) " >&6
   16507 else
   16508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16509 /* end confdefs.h.  */
   16510 int i;
   16511 _ACEOF
   16512 if ac_fn_c_try_compile "$LINENO"; then :
   16513   xorg_cv_cc_flag_unknown_warning_option=yes
   16514 else
   16515   xorg_cv_cc_flag_unknown_warning_option=no
   16516 fi
   16517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16518 fi
   16519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16520 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16521 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16522 	CFLAGS="$xorg_testset_save_CFLAGS"
   16523 fi
   16524 
   16525 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16526 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16527 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16528 	fi
   16529 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16530 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16531 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16532 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16533   $as_echo_n "(cached) " >&6
   16534 else
   16535   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16536 /* end confdefs.h.  */
   16537 int i;
   16538 _ACEOF
   16539 if ac_fn_c_try_compile "$LINENO"; then :
   16540   xorg_cv_cc_flag_unused_command_line_argument=yes
   16541 else
   16542   xorg_cv_cc_flag_unused_command_line_argument=no
   16543 fi
   16544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16545 fi
   16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16547 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16548 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16549 	CFLAGS="$xorg_testset_save_CFLAGS"
   16550 fi
   16551 
   16552 found="no"
   16553 
   16554 	if test $found = "no" ; then
   16555 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16556 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16557 		fi
   16558 
   16559 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16560 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16561 		fi
   16562 
   16563 		CFLAGS="$CFLAGS -Warray-bounds"
   16564 
   16565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16566 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16567 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16568 		if eval \${$cacheid+:} 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 int
   16575 main ()
   16576 {
   16577 
   16578   ;
   16579   return 0;
   16580 }
   16581 _ACEOF
   16582 if ac_fn_c_try_link "$LINENO"; then :
   16583   eval $cacheid=yes
   16584 else
   16585   eval $cacheid=no
   16586 fi
   16587 rm -f core conftest.err conftest.$ac_objext \
   16588     conftest$ac_exeext conftest.$ac_ext
   16589 fi
   16590 
   16591 
   16592 		CFLAGS="$xorg_testset_save_CFLAGS"
   16593 
   16594 		eval supported=\$$cacheid
   16595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16596 $as_echo "$supported" >&6; }
   16597 		if test "$supported" = "yes" ; then
   16598 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16599 			found="yes"
   16600 		fi
   16601 	fi
   16602 
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 xorg_testset_save_CFLAGS="$CFLAGS"
   16618 
   16619 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16620 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16621 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16622 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16623 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16624   $as_echo_n "(cached) " >&6
   16625 else
   16626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16627 /* end confdefs.h.  */
   16628 int i;
   16629 _ACEOF
   16630 if ac_fn_c_try_compile "$LINENO"; then :
   16631   xorg_cv_cc_flag_unknown_warning_option=yes
   16632 else
   16633   xorg_cv_cc_flag_unknown_warning_option=no
   16634 fi
   16635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16636 fi
   16637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16638 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16639 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16640 	CFLAGS="$xorg_testset_save_CFLAGS"
   16641 fi
   16642 
   16643 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16644 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16645 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16646 	fi
   16647 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16648 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16649 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16650 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16651   $as_echo_n "(cached) " >&6
   16652 else
   16653   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16654 /* end confdefs.h.  */
   16655 int i;
   16656 _ACEOF
   16657 if ac_fn_c_try_compile "$LINENO"; then :
   16658   xorg_cv_cc_flag_unused_command_line_argument=yes
   16659 else
   16660   xorg_cv_cc_flag_unused_command_line_argument=no
   16661 fi
   16662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16663 fi
   16664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16665 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16666 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16667 	CFLAGS="$xorg_testset_save_CFLAGS"
   16668 fi
   16669 
   16670 found="no"
   16671 
   16672 	if test $found = "no" ; then
   16673 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16674 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16675 		fi
   16676 
   16677 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16678 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16679 		fi
   16680 
   16681 		CFLAGS="$CFLAGS -Wwrite-strings"
   16682 
   16683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16684 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16685 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16686 		if eval \${$cacheid+:} 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 int
   16693 main ()
   16694 {
   16695 
   16696   ;
   16697   return 0;
   16698 }
   16699 _ACEOF
   16700 if ac_fn_c_try_link "$LINENO"; then :
   16701   eval $cacheid=yes
   16702 else
   16703   eval $cacheid=no
   16704 fi
   16705 rm -f core conftest.err conftest.$ac_objext \
   16706     conftest$ac_exeext conftest.$ac_ext
   16707 fi
   16708 
   16709 
   16710 		CFLAGS="$xorg_testset_save_CFLAGS"
   16711 
   16712 		eval supported=\$$cacheid
   16713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16714 $as_echo "$supported" >&6; }
   16715 		if test "$supported" = "yes" ; then
   16716 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16717 			found="yes"
   16718 		fi
   16719 	fi
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 xorg_testset_save_CFLAGS="$CFLAGS"
   16736 
   16737 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16738 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16739 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16740 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16741 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16742   $as_echo_n "(cached) " >&6
   16743 else
   16744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16745 /* end confdefs.h.  */
   16746 int i;
   16747 _ACEOF
   16748 if ac_fn_c_try_compile "$LINENO"; then :
   16749   xorg_cv_cc_flag_unknown_warning_option=yes
   16750 else
   16751   xorg_cv_cc_flag_unknown_warning_option=no
   16752 fi
   16753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16754 fi
   16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16756 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16757 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16758 	CFLAGS="$xorg_testset_save_CFLAGS"
   16759 fi
   16760 
   16761 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16762 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16763 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16764 	fi
   16765 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16766 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16767 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16768 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16769   $as_echo_n "(cached) " >&6
   16770 else
   16771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16772 /* end confdefs.h.  */
   16773 int i;
   16774 _ACEOF
   16775 if ac_fn_c_try_compile "$LINENO"; then :
   16776   xorg_cv_cc_flag_unused_command_line_argument=yes
   16777 else
   16778   xorg_cv_cc_flag_unused_command_line_argument=no
   16779 fi
   16780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16781 fi
   16782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16783 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16784 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16785 	CFLAGS="$xorg_testset_save_CFLAGS"
   16786 fi
   16787 
   16788 found="no"
   16789 
   16790 	if test $found = "no" ; then
   16791 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16792 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16793 		fi
   16794 
   16795 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16796 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16797 		fi
   16798 
   16799 		CFLAGS="$CFLAGS -Waddress"
   16800 
   16801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16802 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16803 		cacheid=xorg_cv_cc_flag__Waddress
   16804 		if eval \${$cacheid+:} 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 int
   16811 main ()
   16812 {
   16813 
   16814   ;
   16815   return 0;
   16816 }
   16817 _ACEOF
   16818 if ac_fn_c_try_link "$LINENO"; then :
   16819   eval $cacheid=yes
   16820 else
   16821   eval $cacheid=no
   16822 fi
   16823 rm -f core conftest.err conftest.$ac_objext \
   16824     conftest$ac_exeext conftest.$ac_ext
   16825 fi
   16826 
   16827 
   16828 		CFLAGS="$xorg_testset_save_CFLAGS"
   16829 
   16830 		eval supported=\$$cacheid
   16831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16832 $as_echo "$supported" >&6; }
   16833 		if test "$supported" = "yes" ; then
   16834 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16835 			found="yes"
   16836 		fi
   16837 	fi
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 xorg_testset_save_CFLAGS="$CFLAGS"
   16854 
   16855 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16856 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16857 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16858 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16859 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16860   $as_echo_n "(cached) " >&6
   16861 else
   16862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16863 /* end confdefs.h.  */
   16864 int i;
   16865 _ACEOF
   16866 if ac_fn_c_try_compile "$LINENO"; then :
   16867   xorg_cv_cc_flag_unknown_warning_option=yes
   16868 else
   16869   xorg_cv_cc_flag_unknown_warning_option=no
   16870 fi
   16871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16872 fi
   16873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16874 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16875 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16876 	CFLAGS="$xorg_testset_save_CFLAGS"
   16877 fi
   16878 
   16879 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16880 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16881 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16882 	fi
   16883 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16885 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16886 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16887   $as_echo_n "(cached) " >&6
   16888 else
   16889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16890 /* end confdefs.h.  */
   16891 int i;
   16892 _ACEOF
   16893 if ac_fn_c_try_compile "$LINENO"; then :
   16894   xorg_cv_cc_flag_unused_command_line_argument=yes
   16895 else
   16896   xorg_cv_cc_flag_unused_command_line_argument=no
   16897 fi
   16898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16899 fi
   16900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16901 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16902 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16903 	CFLAGS="$xorg_testset_save_CFLAGS"
   16904 fi
   16905 
   16906 found="no"
   16907 
   16908 	if test $found = "no" ; then
   16909 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16910 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16911 		fi
   16912 
   16913 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16914 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16915 		fi
   16916 
   16917 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16918 
   16919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16920 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16921 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16922 		if eval \${$cacheid+:} 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 int
   16929 main ()
   16930 {
   16931 
   16932   ;
   16933   return 0;
   16934 }
   16935 _ACEOF
   16936 if ac_fn_c_try_link "$LINENO"; then :
   16937   eval $cacheid=yes
   16938 else
   16939   eval $cacheid=no
   16940 fi
   16941 rm -f core conftest.err conftest.$ac_objext \
   16942     conftest$ac_exeext conftest.$ac_ext
   16943 fi
   16944 
   16945 
   16946 		CFLAGS="$xorg_testset_save_CFLAGS"
   16947 
   16948 		eval supported=\$$cacheid
   16949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16950 $as_echo "$supported" >&6; }
   16951 		if test "$supported" = "yes" ; then
   16952 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16953 			found="yes"
   16954 		fi
   16955 	fi
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 xorg_testset_save_CFLAGS="$CFLAGS"
   16972 
   16973 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16974 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16975 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16976 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16977 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16978   $as_echo_n "(cached) " >&6
   16979 else
   16980   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16981 /* end confdefs.h.  */
   16982 int i;
   16983 _ACEOF
   16984 if ac_fn_c_try_compile "$LINENO"; then :
   16985   xorg_cv_cc_flag_unknown_warning_option=yes
   16986 else
   16987   xorg_cv_cc_flag_unknown_warning_option=no
   16988 fi
   16989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16990 fi
   16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16992 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16993 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16994 	CFLAGS="$xorg_testset_save_CFLAGS"
   16995 fi
   16996 
   16997 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16998 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16999 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17000 	fi
   17001 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17002 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17003 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17004 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17005   $as_echo_n "(cached) " >&6
   17006 else
   17007   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17008 /* end confdefs.h.  */
   17009 int i;
   17010 _ACEOF
   17011 if ac_fn_c_try_compile "$LINENO"; then :
   17012   xorg_cv_cc_flag_unused_command_line_argument=yes
   17013 else
   17014   xorg_cv_cc_flag_unused_command_line_argument=no
   17015 fi
   17016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17017 fi
   17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17019 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17020 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17021 	CFLAGS="$xorg_testset_save_CFLAGS"
   17022 fi
   17023 
   17024 found="no"
   17025 
   17026 	if test $found = "no" ; then
   17027 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17028 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17029 		fi
   17030 
   17031 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17032 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17033 		fi
   17034 
   17035 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17036 
   17037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17038 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17039 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17040 		if eval \${$cacheid+:} false; then :
   17041   $as_echo_n "(cached) " >&6
   17042 else
   17043   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17044 /* end confdefs.h.  */
   17045 int i;
   17046 int
   17047 main ()
   17048 {
   17049 
   17050   ;
   17051   return 0;
   17052 }
   17053 _ACEOF
   17054 if ac_fn_c_try_link "$LINENO"; then :
   17055   eval $cacheid=yes
   17056 else
   17057   eval $cacheid=no
   17058 fi
   17059 rm -f core conftest.err conftest.$ac_objext \
   17060     conftest$ac_exeext conftest.$ac_ext
   17061 fi
   17062 
   17063 
   17064 		CFLAGS="$xorg_testset_save_CFLAGS"
   17065 
   17066 		eval supported=\$$cacheid
   17067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17068 $as_echo "$supported" >&6; }
   17069 		if test "$supported" = "yes" ; then
   17070 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17071 			found="yes"
   17072 		fi
   17073 	fi
   17074 
   17075 
   17076 fi
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 		CWARNFLAGS="$BASE_CFLAGS"
   17085 		if  test "x$GCC" = xyes ; then
   17086 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17087 		fi
   17088 
   17089 
   17090 
   17091 
   17092 
   17093 
   17094 
   17095 
   17096 # Check whether --enable-strict-compilation was given.
   17097 if test "${enable_strict_compilation+set}" = set; then :
   17098   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17099 else
   17100   STRICT_COMPILE=no
   17101 fi
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 STRICT_CFLAGS=""
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 
   17118 
   17119 
   17120 
   17121 
   17122 xorg_testset_save_CFLAGS="$CFLAGS"
   17123 
   17124 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17125 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17126 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17127 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17128 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17129   $as_echo_n "(cached) " >&6
   17130 else
   17131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17132 /* end confdefs.h.  */
   17133 int i;
   17134 _ACEOF
   17135 if ac_fn_c_try_compile "$LINENO"; then :
   17136   xorg_cv_cc_flag_unknown_warning_option=yes
   17137 else
   17138   xorg_cv_cc_flag_unknown_warning_option=no
   17139 fi
   17140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17141 fi
   17142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17143 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17144 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17145 	CFLAGS="$xorg_testset_save_CFLAGS"
   17146 fi
   17147 
   17148 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17149 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17150 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17151 	fi
   17152 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17154 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17155 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17156   $as_echo_n "(cached) " >&6
   17157 else
   17158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17159 /* end confdefs.h.  */
   17160 int i;
   17161 _ACEOF
   17162 if ac_fn_c_try_compile "$LINENO"; then :
   17163   xorg_cv_cc_flag_unused_command_line_argument=yes
   17164 else
   17165   xorg_cv_cc_flag_unused_command_line_argument=no
   17166 fi
   17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17168 fi
   17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17170 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17171 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17172 	CFLAGS="$xorg_testset_save_CFLAGS"
   17173 fi
   17174 
   17175 found="no"
   17176 
   17177 	if test $found = "no" ; then
   17178 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17179 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17180 		fi
   17181 
   17182 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17183 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17184 		fi
   17185 
   17186 		CFLAGS="$CFLAGS -pedantic"
   17187 
   17188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17189 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17190 		cacheid=xorg_cv_cc_flag__pedantic
   17191 		if eval \${$cacheid+:} 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 int
   17198 main ()
   17199 {
   17200 
   17201   ;
   17202   return 0;
   17203 }
   17204 _ACEOF
   17205 if ac_fn_c_try_link "$LINENO"; then :
   17206   eval $cacheid=yes
   17207 else
   17208   eval $cacheid=no
   17209 fi
   17210 rm -f core conftest.err conftest.$ac_objext \
   17211     conftest$ac_exeext conftest.$ac_ext
   17212 fi
   17213 
   17214 
   17215 		CFLAGS="$xorg_testset_save_CFLAGS"
   17216 
   17217 		eval supported=\$$cacheid
   17218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17219 $as_echo "$supported" >&6; }
   17220 		if test "$supported" = "yes" ; then
   17221 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17222 			found="yes"
   17223 		fi
   17224 	fi
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 
   17237 
   17238 
   17239 
   17240 xorg_testset_save_CFLAGS="$CFLAGS"
   17241 
   17242 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17243 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17244 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17245 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17246 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17247   $as_echo_n "(cached) " >&6
   17248 else
   17249   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17250 /* end confdefs.h.  */
   17251 int i;
   17252 _ACEOF
   17253 if ac_fn_c_try_compile "$LINENO"; then :
   17254   xorg_cv_cc_flag_unknown_warning_option=yes
   17255 else
   17256   xorg_cv_cc_flag_unknown_warning_option=no
   17257 fi
   17258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17259 fi
   17260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17261 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17262 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17263 	CFLAGS="$xorg_testset_save_CFLAGS"
   17264 fi
   17265 
   17266 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17267 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17268 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17269 	fi
   17270 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17271 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17272 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17273 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17274   $as_echo_n "(cached) " >&6
   17275 else
   17276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17277 /* end confdefs.h.  */
   17278 int i;
   17279 _ACEOF
   17280 if ac_fn_c_try_compile "$LINENO"; then :
   17281   xorg_cv_cc_flag_unused_command_line_argument=yes
   17282 else
   17283   xorg_cv_cc_flag_unused_command_line_argument=no
   17284 fi
   17285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17286 fi
   17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17288 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17289 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17290 	CFLAGS="$xorg_testset_save_CFLAGS"
   17291 fi
   17292 
   17293 found="no"
   17294 
   17295 	if test $found = "no" ; then
   17296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17298 		fi
   17299 
   17300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17302 		fi
   17303 
   17304 		CFLAGS="$CFLAGS -Werror"
   17305 
   17306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17307 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17308 		cacheid=xorg_cv_cc_flag__Werror
   17309 		if eval \${$cacheid+:} false; then :
   17310   $as_echo_n "(cached) " >&6
   17311 else
   17312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17313 /* end confdefs.h.  */
   17314 int i;
   17315 int
   17316 main ()
   17317 {
   17318 
   17319   ;
   17320   return 0;
   17321 }
   17322 _ACEOF
   17323 if ac_fn_c_try_link "$LINENO"; then :
   17324   eval $cacheid=yes
   17325 else
   17326   eval $cacheid=no
   17327 fi
   17328 rm -f core conftest.err conftest.$ac_objext \
   17329     conftest$ac_exeext conftest.$ac_ext
   17330 fi
   17331 
   17332 
   17333 		CFLAGS="$xorg_testset_save_CFLAGS"
   17334 
   17335 		eval supported=\$$cacheid
   17336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17337 $as_echo "$supported" >&6; }
   17338 		if test "$supported" = "yes" ; then
   17339 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17340 			found="yes"
   17341 		fi
   17342 	fi
   17343 
   17344 	if test $found = "no" ; then
   17345 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17347 		fi
   17348 
   17349 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17351 		fi
   17352 
   17353 		CFLAGS="$CFLAGS -errwarn"
   17354 
   17355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17356 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17357 		cacheid=xorg_cv_cc_flag__errwarn
   17358 		if eval \${$cacheid+:} false; then :
   17359   $as_echo_n "(cached) " >&6
   17360 else
   17361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17362 /* end confdefs.h.  */
   17363 int i;
   17364 int
   17365 main ()
   17366 {
   17367 
   17368   ;
   17369   return 0;
   17370 }
   17371 _ACEOF
   17372 if ac_fn_c_try_link "$LINENO"; then :
   17373   eval $cacheid=yes
   17374 else
   17375   eval $cacheid=no
   17376 fi
   17377 rm -f core conftest.err conftest.$ac_objext \
   17378     conftest$ac_exeext conftest.$ac_ext
   17379 fi
   17380 
   17381 
   17382 		CFLAGS="$xorg_testset_save_CFLAGS"
   17383 
   17384 		eval supported=\$$cacheid
   17385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17386 $as_echo "$supported" >&6; }
   17387 		if test "$supported" = "yes" ; then
   17388 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17389 			found="yes"
   17390 		fi
   17391 	fi
   17392 
   17393 
   17394 
   17395 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17396 # activate it with -Werror, so we add it here explicitly.
   17397 
   17398 
   17399 
   17400 
   17401 
   17402 
   17403 
   17404 
   17405 
   17406 
   17407 
   17408 
   17409 
   17410 xorg_testset_save_CFLAGS="$CFLAGS"
   17411 
   17412 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17413 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17414 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17415 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17416 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17417   $as_echo_n "(cached) " >&6
   17418 else
   17419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17420 /* end confdefs.h.  */
   17421 int i;
   17422 _ACEOF
   17423 if ac_fn_c_try_compile "$LINENO"; then :
   17424   xorg_cv_cc_flag_unknown_warning_option=yes
   17425 else
   17426   xorg_cv_cc_flag_unknown_warning_option=no
   17427 fi
   17428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17429 fi
   17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17431 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17432 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17433 	CFLAGS="$xorg_testset_save_CFLAGS"
   17434 fi
   17435 
   17436 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17437 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17438 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17439 	fi
   17440 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17442 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17443 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17444   $as_echo_n "(cached) " >&6
   17445 else
   17446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17447 /* end confdefs.h.  */
   17448 int i;
   17449 _ACEOF
   17450 if ac_fn_c_try_compile "$LINENO"; then :
   17451   xorg_cv_cc_flag_unused_command_line_argument=yes
   17452 else
   17453   xorg_cv_cc_flag_unused_command_line_argument=no
   17454 fi
   17455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17456 fi
   17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17458 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17459 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17460 	CFLAGS="$xorg_testset_save_CFLAGS"
   17461 fi
   17462 
   17463 found="no"
   17464 
   17465 	if test $found = "no" ; then
   17466 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17467 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17468 		fi
   17469 
   17470 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17471 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17472 		fi
   17473 
   17474 		CFLAGS="$CFLAGS -Werror=attributes"
   17475 
   17476 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17477 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17478 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17479 		if eval \${$cacheid+:} false; then :
   17480   $as_echo_n "(cached) " >&6
   17481 else
   17482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17483 /* end confdefs.h.  */
   17484 int i;
   17485 int
   17486 main ()
   17487 {
   17488 
   17489   ;
   17490   return 0;
   17491 }
   17492 _ACEOF
   17493 if ac_fn_c_try_link "$LINENO"; then :
   17494   eval $cacheid=yes
   17495 else
   17496   eval $cacheid=no
   17497 fi
   17498 rm -f core conftest.err conftest.$ac_objext \
   17499     conftest$ac_exeext conftest.$ac_ext
   17500 fi
   17501 
   17502 
   17503 		CFLAGS="$xorg_testset_save_CFLAGS"
   17504 
   17505 		eval supported=\$$cacheid
   17506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17507 $as_echo "$supported" >&6; }
   17508 		if test "$supported" = "yes" ; then
   17509 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17510 			found="yes"
   17511 		fi
   17512 	fi
   17513 
   17514 
   17515 
   17516 if test "x$STRICT_COMPILE" = "xyes"; then
   17517     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17518     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17519 fi
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 cat >>confdefs.h <<_ACEOF
   17527 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17528 _ACEOF
   17529 
   17530 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17531 	if test "x$PVM" = "x"; then
   17532 		PVM="0"
   17533 	fi
   17534 
   17535 cat >>confdefs.h <<_ACEOF
   17536 #define PACKAGE_VERSION_MINOR $PVM
   17537 _ACEOF
   17538 
   17539 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17540 	if test "x$PVP" = "x"; then
   17541 		PVP="0"
   17542 	fi
   17543 
   17544 cat >>confdefs.h <<_ACEOF
   17545 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17546 _ACEOF
   17547 
   17548 
   17549 
   17550 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17551 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17552 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17553 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17554 
   17555 
   17556 
   17557 
   17558 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17559 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17560 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17561 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17562 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17563 
   17564 
   17565 
   17566 
   17567 
   17568 
   17569 if test x$APP_MAN_SUFFIX = x    ; then
   17570     APP_MAN_SUFFIX=1
   17571 fi
   17572 if test x$APP_MAN_DIR = x    ; then
   17573     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17574 fi
   17575 
   17576 if test x$LIB_MAN_SUFFIX = x    ; then
   17577     LIB_MAN_SUFFIX=3
   17578 fi
   17579 if test x$LIB_MAN_DIR = x    ; then
   17580     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17581 fi
   17582 
   17583 if test x$FILE_MAN_SUFFIX = x    ; then
   17584     case $host_os in
   17585 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17586 	*)		FILE_MAN_SUFFIX=5  ;;
   17587     esac
   17588 fi
   17589 if test x$FILE_MAN_DIR = x    ; then
   17590     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17591 fi
   17592 
   17593 if test x$MISC_MAN_SUFFIX = x    ; then
   17594     case $host_os in
   17595 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17596 	*)		MISC_MAN_SUFFIX=7  ;;
   17597     esac
   17598 fi
   17599 if test x$MISC_MAN_DIR = x    ; then
   17600     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17601 fi
   17602 
   17603 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17604     case $host_os in
   17605 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17606 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17607     esac
   17608 fi
   17609 if test x$DRIVER_MAN_DIR = x    ; then
   17610     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17611 fi
   17612 
   17613 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17614     case $host_os in
   17615 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17616 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17617     esac
   17618 fi
   17619 if test x$ADMIN_MAN_DIR = x    ; then
   17620     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17621 fi
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632 
   17633 
   17634 
   17635 
   17636 
   17637 XORG_MAN_PAGE="X Version 11"
   17638 
   17639 MAN_SUBSTS="\
   17640 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17641 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17642 	-e 's|__xservername__|Xorg|g' \
   17643 	-e 's|__xconfigfile__|xorg.conf|g' \
   17644 	-e 's|__projectroot__|\$(prefix)|g' \
   17645 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17646 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17647 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17648 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17649 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17650 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17651 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17652 
   17653 
   17654 
   17655 # Check whether --enable-silent-rules was given.
   17656 if test "${enable_silent_rules+set}" = set; then :
   17657   enableval=$enable_silent_rules;
   17658 fi
   17659 
   17660 case $enable_silent_rules in # (((
   17661   yes) AM_DEFAULT_VERBOSITY=0;;
   17662    no) AM_DEFAULT_VERBOSITY=1;;
   17663     *) AM_DEFAULT_VERBOSITY=0;;
   17664 esac
   17665 am_make=${MAKE-make}
   17666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17667 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17668 if ${am_cv_make_support_nested_variables+:} false; then :
   17669   $as_echo_n "(cached) " >&6
   17670 else
   17671   if $as_echo 'TRUE=$(BAR$(V))
   17672 BAR0=false
   17673 BAR1=true
   17674 V=1
   17675 am__doit:
   17676 	@$(TRUE)
   17677 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17678   am_cv_make_support_nested_variables=yes
   17679 else
   17680   am_cv_make_support_nested_variables=no
   17681 fi
   17682 fi
   17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17684 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17685 if test $am_cv_make_support_nested_variables = yes; then
   17686     AM_V='$(V)'
   17687   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17688 else
   17689   AM_V=$AM_DEFAULT_VERBOSITY
   17690   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17691 fi
   17692 AM_BACKSLASH='\'
   17693 
   17694 
   17695 
   17696 # Checks for library functions
   17697 for ac_func in strlcat
   17698 do :
   17699   ac_fn_c_check_func "$LINENO" "strlcat" "ac_cv_func_strlcat"
   17700 if test "x$ac_cv_func_strlcat" = xyes; then :
   17701   cat >>confdefs.h <<_ACEOF
   17702 #define HAVE_STRLCAT 1
   17703 _ACEOF
   17704 
   17705 fi
   17706 done
   17707 
   17708 
   17709 # Obtain compiler/linker options for dependencies
   17710 
   17711 pkg_failed=no
   17712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XPM" >&5
   17713 $as_echo_n "checking for XPM... " >&6; }
   17714 
   17715 if test -n "$XPM_CFLAGS"; then
   17716     pkg_cv_XPM_CFLAGS="$XPM_CFLAGS"
   17717  elif test -n "$PKG_CONFIG"; then
   17718     if test -n "$PKG_CONFIG" && \
   17719     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   17720   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   17721   ac_status=$?
   17722   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17723   test $ac_status = 0; }; then
   17724   pkg_cv_XPM_CFLAGS=`$PKG_CONFIG --cflags "xproto x11" 2>/dev/null`
   17725 else
   17726   pkg_failed=yes
   17727 fi
   17728  else
   17729     pkg_failed=untried
   17730 fi
   17731 if test -n "$XPM_LIBS"; then
   17732     pkg_cv_XPM_LIBS="$XPM_LIBS"
   17733  elif test -n "$PKG_CONFIG"; then
   17734     if test -n "$PKG_CONFIG" && \
   17735     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto x11\""; } >&5
   17736   ($PKG_CONFIG --exists --print-errors "xproto x11") 2>&5
   17737   ac_status=$?
   17738   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17739   test $ac_status = 0; }; then
   17740   pkg_cv_XPM_LIBS=`$PKG_CONFIG --libs "xproto x11" 2>/dev/null`
   17741 else
   17742   pkg_failed=yes
   17743 fi
   17744  else
   17745     pkg_failed=untried
   17746 fi
   17747 
   17748 
   17749 
   17750 if test $pkg_failed = yes; then
   17751 
   17752 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17753         _pkg_short_errors_supported=yes
   17754 else
   17755         _pkg_short_errors_supported=no
   17756 fi
   17757         if test $_pkg_short_errors_supported = yes; then
   17758 	        XPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xproto x11" 2>&1`
   17759         else
   17760 	        XPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "xproto x11" 2>&1`
   17761         fi
   17762 	# Put the nasty error message in config.log where it belongs
   17763 	echo "$XPM_PKG_ERRORS" >&5
   17764 
   17765 	as_fn_error $? "Package requirements (xproto x11) were not met:
   17766 
   17767 $XPM_PKG_ERRORS
   17768 
   17769 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17770 installed software in a non-standard prefix.
   17771 
   17772 Alternatively, you may set the environment variables XPM_CFLAGS
   17773 and XPM_LIBS to avoid the need to call pkg-config.
   17774 See the pkg-config man page for more details.
   17775 " "$LINENO" 5
   17776 elif test $pkg_failed = untried; then
   17777 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17779 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17780 is in your PATH or set the PKG_CONFIG environment variable to the full
   17781 path to pkg-config.
   17782 
   17783 Alternatively, you may set the environment variables XPM_CFLAGS
   17784 and XPM_LIBS to avoid the need to call pkg-config.
   17785 See the pkg-config man page for more details.
   17786 
   17787 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17788 See \`config.log' for more details" "$LINENO" 5; }
   17789 else
   17790 	XPM_CFLAGS=$pkg_cv_XPM_CFLAGS
   17791 	XPM_LIBS=$pkg_cv_XPM_LIBS
   17792         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17793 $as_echo "yes" >&6; }
   17794 	:
   17795 fi
   17796 
   17797 pkg_failed=no
   17798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SXPM" >&5
   17799 $as_echo_n "checking for SXPM... " >&6; }
   17800 
   17801 if test -n "$SXPM_CFLAGS"; then
   17802     pkg_cv_SXPM_CFLAGS="$SXPM_CFLAGS"
   17803  elif test -n "$PKG_CONFIG"; then
   17804     if test -n "$PKG_CONFIG" && \
   17805     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   17806   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   17807   ac_status=$?
   17808   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17809   test $ac_status = 0; }; then
   17810   pkg_cv_SXPM_CFLAGS=`$PKG_CONFIG --cflags "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   17811 else
   17812   pkg_failed=yes
   17813 fi
   17814  else
   17815     pkg_failed=untried
   17816 fi
   17817 if test -n "$SXPM_LIBS"; then
   17818     pkg_cv_SXPM_LIBS="$SXPM_LIBS"
   17819  elif test -n "$PKG_CONFIG"; then
   17820     if test -n "$PKG_CONFIG" && \
   17821     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xt xext xextproto xproto >= 7.0.17\""; } >&5
   17822   ($PKG_CONFIG --exists --print-errors "x11 xt xext xextproto xproto >= 7.0.17") 2>&5
   17823   ac_status=$?
   17824   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17825   test $ac_status = 0; }; then
   17826   pkg_cv_SXPM_LIBS=`$PKG_CONFIG --libs "x11 xt xext xextproto xproto >= 7.0.17" 2>/dev/null`
   17827 else
   17828   pkg_failed=yes
   17829 fi
   17830  else
   17831     pkg_failed=untried
   17832 fi
   17833 
   17834 
   17835 
   17836 if test $pkg_failed = yes; then
   17837 
   17838 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17839         _pkg_short_errors_supported=yes
   17840 else
   17841         _pkg_short_errors_supported=no
   17842 fi
   17843         if test $_pkg_short_errors_supported = yes; then
   17844 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   17845         else
   17846 	        SXPM_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xt xext xextproto xproto >= 7.0.17" 2>&1`
   17847         fi
   17848 	# Put the nasty error message in config.log where it belongs
   17849 	echo "$SXPM_PKG_ERRORS" >&5
   17850 
   17851 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17852 $as_echo "no" >&6; }
   17853                 build_sxpm=false
   17854 elif test $pkg_failed = untried; then
   17855 	build_sxpm=false
   17856 else
   17857 	SXPM_CFLAGS=$pkg_cv_SXPM_CFLAGS
   17858 	SXPM_LIBS=$pkg_cv_SXPM_LIBS
   17859         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17860 $as_echo "yes" >&6; }
   17861 	build_sxpm=true
   17862 fi
   17863  if test x$build_sxpm = xtrue; then
   17864   BUILD_SXPM_TRUE=
   17865   BUILD_SXPM_FALSE='#'
   17866 else
   17867   BUILD_SXPM_TRUE='#'
   17868   BUILD_SXPM_FALSE=
   17869 fi
   17870 
   17871 
   17872 # Internationalization & localization support
   17873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
   17874 $as_echo_n "checking for library containing gettext... " >&6; }
   17875 if ${ac_cv_search_gettext+:} false; then :
   17876   $as_echo_n "(cached) " >&6
   17877 else
   17878   ac_func_search_save_LIBS=$LIBS
   17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17880 /* end confdefs.h.  */
   17881 
   17882 /* Override any GCC internal prototype to avoid an error.
   17883    Use char because int might match the return type of a GCC
   17884    builtin and then its argument prototype would still apply.  */
   17885 #ifdef __cplusplus
   17886 extern "C"
   17887 #endif
   17888 char gettext ();
   17889 int
   17890 main ()
   17891 {
   17892 return gettext ();
   17893   ;
   17894   return 0;
   17895 }
   17896 _ACEOF
   17897 for ac_lib in '' intl; do
   17898   if test -z "$ac_lib"; then
   17899     ac_res="none required"
   17900   else
   17901     ac_res=-l$ac_lib
   17902     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   17903   fi
   17904   if ac_fn_c_try_link "$LINENO"; then :
   17905   ac_cv_search_gettext=$ac_res
   17906 fi
   17907 rm -f core conftest.err conftest.$ac_objext \
   17908     conftest$ac_exeext
   17909   if ${ac_cv_search_gettext+:} false; then :
   17910   break
   17911 fi
   17912 done
   17913 if ${ac_cv_search_gettext+:} false; then :
   17914 
   17915 else
   17916   ac_cv_search_gettext=no
   17917 fi
   17918 rm conftest.$ac_ext
   17919 LIBS=$ac_func_search_save_LIBS
   17920 fi
   17921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
   17922 $as_echo "$ac_cv_search_gettext" >&6; }
   17923 ac_res=$ac_cv_search_gettext
   17924 if test "$ac_res" != no; then :
   17925   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   17926   USE_GETTEXT="yes"
   17927 else
   17928   USE_GETTEXT="no"
   17929 fi
   17930 
   17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install localized messages" >&5
   17932 $as_echo_n "checking where to install localized messages... " >&6; }
   17933 
   17934 # Check whether --with-localedir was given.
   17935 if test "${with_localedir+set}" = set; then :
   17936   withval=$with_localedir; LOCALEDIR=${withval}
   17937 else
   17938   LOCALEDIR=${datadir}/locale
   17939 fi
   17940 
   17941 
   17942   prefix_NONE=
   17943   exec_prefix_NONE=
   17944   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   17945   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   17946   eval ax_define_dir="\"$LOCALEDIR\""
   17947   eval ax_define_dir="\"$ax_define_dir\""
   17948   LOCALEDIR="$ax_define_dir"
   17949 
   17950 
   17951 cat >>confdefs.h <<_ACEOF
   17952 #define LOCALEDIR "$ax_define_dir"
   17953 _ACEOF
   17954 
   17955   test "$prefix_NONE" && prefix=NONE
   17956   test "$exec_prefix_NONE" && exec_prefix=NONE
   17957 
   17958 if test "x$LOCALEDIR" = "xno" -o "x$USE_GETTEXT" = "xno" ; then
   17959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: nowhere" >&5
   17960 $as_echo "nowhere" >&6; }
   17961 	USE_GETTEXT="no"
   17962 else
   17963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALEDIR" >&5
   17964 $as_echo "$LOCALEDIR" >&6; }
   17965 fi
   17966 
   17967 if test "x$USE_GETTEXT" = "xyes" ; then
   17968 
   17969 $as_echo "#define USE_GETTEXT 1" >>confdefs.h
   17970 
   17971 fi
   17972  if test "x$USE_GETTEXT" = "xyes"; then
   17973   USE_GETTEXT_TRUE=
   17974   USE_GETTEXT_FALSE='#'
   17975 else
   17976   USE_GETTEXT_TRUE='#'
   17977   USE_GETTEXT_FALSE=
   17978 fi
   17979 
   17980 
   17981 # Optional feature: When ___.xpm is requested, also look for ___.xpm.Z & .gz
   17982 # Replaces ZFILEDEF = -DSTAT_ZFILE in old Imakefile
   17983 # Check whether --enable-stat-zfile was given.
   17984 if test "${enable_stat_zfile+set}" = set; then :
   17985   enableval=$enable_stat_zfile; STAT_ZFILE=$enableval
   17986 else
   17987   STAT_ZFILE=yes
   17988 fi
   17989 
   17990 if test x$STAT_ZFILE = xyes ; then
   17991 
   17992 $as_echo "#define STAT_ZFILE 1" >>confdefs.h
   17993 
   17994 fi
   17995 
   17996 
   17997 case $host_os in
   17998 	*mingw*)
   17999 
   18000 $as_echo "#define NO_ZPIPE 1" >>confdefs.h
   18001 
   18002 	;;
   18003 	*)
   18004 	;;
   18005 esac
   18006 
   18007 ac_config_files="$ac_config_files Makefile doc/Makefile include/Makefile man/Makefile src/Makefile sxpm/Makefile cxpm/Makefile xpm.pc"
   18008 
   18009 cat >confcache <<\_ACEOF
   18010 # This file is a shell script that caches the results of configure
   18011 # tests run on this system so they can be shared between configure
   18012 # scripts and configure runs, see configure's option --config-cache.
   18013 # It is not useful on other systems.  If it contains results you don't
   18014 # want to keep, you may remove or edit it.
   18015 #
   18016 # config.status only pays attention to the cache file if you give it
   18017 # the --recheck option to rerun configure.
   18018 #
   18019 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18020 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18021 # following values.
   18022 
   18023 _ACEOF
   18024 
   18025 # The following way of writing the cache mishandles newlines in values,
   18026 # but we know of no workaround that is simple, portable, and efficient.
   18027 # So, we kill variables containing newlines.
   18028 # Ultrix sh set writes to stderr and can't be redirected directly,
   18029 # and sets the high bit in the cache file unless we assign to the vars.
   18030 (
   18031   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18032     eval ac_val=\$$ac_var
   18033     case $ac_val in #(
   18034     *${as_nl}*)
   18035       case $ac_var in #(
   18036       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18037 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18038       esac
   18039       case $ac_var in #(
   18040       _ | IFS | as_nl) ;; #(
   18041       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18042       *) { eval $ac_var=; unset $ac_var;} ;;
   18043       esac ;;
   18044     esac
   18045   done
   18046 
   18047   (set) 2>&1 |
   18048     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18049     *${as_nl}ac_space=\ *)
   18050       # `set' does not quote correctly, so add quotes: double-quote
   18051       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18052       sed -n \
   18053 	"s/'/'\\\\''/g;
   18054 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18055       ;; #(
   18056     *)
   18057       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18058       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18059       ;;
   18060     esac |
   18061     sort
   18062 ) |
   18063   sed '
   18064      /^ac_cv_env_/b end
   18065      t clear
   18066      :clear
   18067      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18068      t end
   18069      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18070      :end' >>confcache
   18071 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18072   if test -w "$cache_file"; then
   18073     if test "x$cache_file" != "x/dev/null"; then
   18074       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18075 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18076       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18077 	cat confcache >"$cache_file"
   18078       else
   18079         case $cache_file in #(
   18080         */* | ?:*)
   18081 	  mv -f confcache "$cache_file"$$ &&
   18082 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18083         *)
   18084 	  mv -f confcache "$cache_file" ;;
   18085 	esac
   18086       fi
   18087     fi
   18088   else
   18089     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18090 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18091   fi
   18092 fi
   18093 rm -f confcache
   18094 
   18095 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18096 # Let make expand exec_prefix.
   18097 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18098 
   18099 DEFS=-DHAVE_CONFIG_H
   18100 
   18101 ac_libobjs=
   18102 ac_ltlibobjs=
   18103 U=
   18104 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18105   # 1. Remove the extension, and $U if already installed.
   18106   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18107   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18108   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18109   #    will be set to the directory where LIBOBJS objects are built.
   18110   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18111   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18112 done
   18113 LIBOBJS=$ac_libobjs
   18114 
   18115 LTLIBOBJS=$ac_ltlibobjs
   18116 
   18117 
   18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18119 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18120    if test -n "$am_sleep_pid"; then
   18121      # Hide warnings about reused PIDs.
   18122      wait $am_sleep_pid 2>/dev/null
   18123    fi
   18124    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18125 $as_echo "done" >&6; }
   18126  if test -n "$EXEEXT"; then
   18127   am__EXEEXT_TRUE=
   18128   am__EXEEXT_FALSE='#'
   18129 else
   18130   am__EXEEXT_TRUE='#'
   18131   am__EXEEXT_FALSE=
   18132 fi
   18133 
   18134 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18135   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18136 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18137 fi
   18138 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18139   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18140 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18141 fi
   18142 if test -z "${BUILD_SXPM_TRUE}" && test -z "${BUILD_SXPM_FALSE}"; then
   18143   as_fn_error $? "conditional \"BUILD_SXPM\" was never defined.
   18144 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18145 fi
   18146 if test -z "${USE_GETTEXT_TRUE}" && test -z "${USE_GETTEXT_FALSE}"; then
   18147   as_fn_error $? "conditional \"USE_GETTEXT\" was never defined.
   18148 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18149 fi
   18150 
   18151 : "${CONFIG_STATUS=./config.status}"
   18152 ac_write_fail=0
   18153 ac_clean_files_save=$ac_clean_files
   18154 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18155 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18156 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18157 as_write_fail=0
   18158 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18159 #! $SHELL
   18160 # Generated by $as_me.
   18161 # Run this file to recreate the current configuration.
   18162 # Compiler output produced by configure, useful for debugging
   18163 # configure, is in config.log if it exists.
   18164 
   18165 debug=false
   18166 ac_cs_recheck=false
   18167 ac_cs_silent=false
   18168 
   18169 SHELL=\${CONFIG_SHELL-$SHELL}
   18170 export SHELL
   18171 _ASEOF
   18172 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18173 ## -------------------- ##
   18174 ## M4sh Initialization. ##
   18175 ## -------------------- ##
   18176 
   18177 # Be more Bourne compatible
   18178 DUALCASE=1; export DUALCASE # for MKS sh
   18179 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18180   emulate sh
   18181   NULLCMD=:
   18182   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18183   # is contrary to our usage.  Disable this feature.
   18184   alias -g '${1+"$@"}'='"$@"'
   18185   setopt NO_GLOB_SUBST
   18186 else
   18187   case `(set -o) 2>/dev/null` in #(
   18188   *posix*) :
   18189     set -o posix ;; #(
   18190   *) :
   18191      ;;
   18192 esac
   18193 fi
   18194 
   18195 
   18196 as_nl='
   18197 '
   18198 export as_nl
   18199 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18200 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18201 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18202 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18203 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18204 # but without wasting forks for bash or zsh.
   18205 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18206     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18207   as_echo='print -r --'
   18208   as_echo_n='print -rn --'
   18209 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18210   as_echo='printf %s\n'
   18211   as_echo_n='printf %s'
   18212 else
   18213   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18214     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18215     as_echo_n='/usr/ucb/echo -n'
   18216   else
   18217     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18218     as_echo_n_body='eval
   18219       arg=$1;
   18220       case $arg in #(
   18221       *"$as_nl"*)
   18222 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18223 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18224       esac;
   18225       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18226     '
   18227     export as_echo_n_body
   18228     as_echo_n='sh -c $as_echo_n_body as_echo'
   18229   fi
   18230   export as_echo_body
   18231   as_echo='sh -c $as_echo_body as_echo'
   18232 fi
   18233 
   18234 # The user is always right.
   18235 if test "${PATH_SEPARATOR+set}" != set; then
   18236   PATH_SEPARATOR=:
   18237   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18238     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18239       PATH_SEPARATOR=';'
   18240   }
   18241 fi
   18242 
   18243 
   18244 # IFS
   18245 # We need space, tab and new line, in precisely that order.  Quoting is
   18246 # there to prevent editors from complaining about space-tab.
   18247 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18248 # splitting by setting IFS to empty value.)
   18249 IFS=" ""	$as_nl"
   18250 
   18251 # Find who we are.  Look in the path if we contain no directory separator.
   18252 as_myself=
   18253 case $0 in #((
   18254   *[\\/]* ) as_myself=$0 ;;
   18255   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18256 for as_dir in $PATH
   18257 do
   18258   IFS=$as_save_IFS
   18259   test -z "$as_dir" && as_dir=.
   18260     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18261   done
   18262 IFS=$as_save_IFS
   18263 
   18264      ;;
   18265 esac
   18266 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18267 # in which case we are not to be found in the path.
   18268 if test "x$as_myself" = x; then
   18269   as_myself=$0
   18270 fi
   18271 if test ! -f "$as_myself"; then
   18272   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18273   exit 1
   18274 fi
   18275 
   18276 # Unset variables that we do not need and which cause bugs (e.g. in
   18277 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18278 # suppresses any "Segmentation fault" message there.  '((' could
   18279 # trigger a bug in pdksh 5.2.14.
   18280 for as_var in BASH_ENV ENV MAIL MAILPATH
   18281 do eval test x\${$as_var+set} = xset \
   18282   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18283 done
   18284 PS1='$ '
   18285 PS2='> '
   18286 PS4='+ '
   18287 
   18288 # NLS nuisances.
   18289 LC_ALL=C
   18290 export LC_ALL
   18291 LANGUAGE=C
   18292 export LANGUAGE
   18293 
   18294 # CDPATH.
   18295 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18296 
   18297 
   18298 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18299 # ----------------------------------------
   18300 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18301 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18302 # script with STATUS, using 1 if that was 0.
   18303 as_fn_error ()
   18304 {
   18305   as_status=$1; test $as_status -eq 0 && as_status=1
   18306   if test "$4"; then
   18307     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18308     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18309   fi
   18310   $as_echo "$as_me: error: $2" >&2
   18311   as_fn_exit $as_status
   18312 } # as_fn_error
   18313 
   18314 
   18315 # as_fn_set_status STATUS
   18316 # -----------------------
   18317 # Set $? to STATUS, without forking.
   18318 as_fn_set_status ()
   18319 {
   18320   return $1
   18321 } # as_fn_set_status
   18322 
   18323 # as_fn_exit STATUS
   18324 # -----------------
   18325 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18326 as_fn_exit ()
   18327 {
   18328   set +e
   18329   as_fn_set_status $1
   18330   exit $1
   18331 } # as_fn_exit
   18332 
   18333 # as_fn_unset VAR
   18334 # ---------------
   18335 # Portably unset VAR.
   18336 as_fn_unset ()
   18337 {
   18338   { eval $1=; unset $1;}
   18339 }
   18340 as_unset=as_fn_unset
   18341 # as_fn_append VAR VALUE
   18342 # ----------------------
   18343 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18344 # advantage of any shell optimizations that allow amortized linear growth over
   18345 # repeated appends, instead of the typical quadratic growth present in naive
   18346 # implementations.
   18347 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18348   eval 'as_fn_append ()
   18349   {
   18350     eval $1+=\$2
   18351   }'
   18352 else
   18353   as_fn_append ()
   18354   {
   18355     eval $1=\$$1\$2
   18356   }
   18357 fi # as_fn_append
   18358 
   18359 # as_fn_arith ARG...
   18360 # ------------------
   18361 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18362 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18363 # must be portable across $(()) and expr.
   18364 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18365   eval 'as_fn_arith ()
   18366   {
   18367     as_val=$(( $* ))
   18368   }'
   18369 else
   18370   as_fn_arith ()
   18371   {
   18372     as_val=`expr "$@" || test $? -eq 1`
   18373   }
   18374 fi # as_fn_arith
   18375 
   18376 
   18377 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18378    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18379   as_expr=expr
   18380 else
   18381   as_expr=false
   18382 fi
   18383 
   18384 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18385   as_basename=basename
   18386 else
   18387   as_basename=false
   18388 fi
   18389 
   18390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18391   as_dirname=dirname
   18392 else
   18393   as_dirname=false
   18394 fi
   18395 
   18396 as_me=`$as_basename -- "$0" ||
   18397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18398 	 X"$0" : 'X\(//\)$' \| \
   18399 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18400 $as_echo X/"$0" |
   18401     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18402 	    s//\1/
   18403 	    q
   18404 	  }
   18405 	  /^X\/\(\/\/\)$/{
   18406 	    s//\1/
   18407 	    q
   18408 	  }
   18409 	  /^X\/\(\/\).*/{
   18410 	    s//\1/
   18411 	    q
   18412 	  }
   18413 	  s/.*/./; q'`
   18414 
   18415 # Avoid depending upon Character Ranges.
   18416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18419 as_cr_digits='0123456789'
   18420 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18421 
   18422 ECHO_C= ECHO_N= ECHO_T=
   18423 case `echo -n x` in #(((((
   18424 -n*)
   18425   case `echo 'xy\c'` in
   18426   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18427   xy)  ECHO_C='\c';;
   18428   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18429        ECHO_T='	';;
   18430   esac;;
   18431 *)
   18432   ECHO_N='-n';;
   18433 esac
   18434 
   18435 rm -f conf$$ conf$$.exe conf$$.file
   18436 if test -d conf$$.dir; then
   18437   rm -f conf$$.dir/conf$$.file
   18438 else
   18439   rm -f conf$$.dir
   18440   mkdir conf$$.dir 2>/dev/null
   18441 fi
   18442 if (echo >conf$$.file) 2>/dev/null; then
   18443   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18444     as_ln_s='ln -s'
   18445     # ... but there are two gotchas:
   18446     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18447     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18448     # In both cases, we have to default to `cp -p'.
   18449     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18450       as_ln_s='cp -p'
   18451   elif ln conf$$.file conf$$ 2>/dev/null; then
   18452     as_ln_s=ln
   18453   else
   18454     as_ln_s='cp -p'
   18455   fi
   18456 else
   18457   as_ln_s='cp -p'
   18458 fi
   18459 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18460 rmdir conf$$.dir 2>/dev/null
   18461 
   18462 
   18463 # as_fn_mkdir_p
   18464 # -------------
   18465 # Create "$as_dir" as a directory, including parents if necessary.
   18466 as_fn_mkdir_p ()
   18467 {
   18468 
   18469   case $as_dir in #(
   18470   -*) as_dir=./$as_dir;;
   18471   esac
   18472   test -d "$as_dir" || eval $as_mkdir_p || {
   18473     as_dirs=
   18474     while :; do
   18475       case $as_dir in #(
   18476       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18477       *) as_qdir=$as_dir;;
   18478       esac
   18479       as_dirs="'$as_qdir' $as_dirs"
   18480       as_dir=`$as_dirname -- "$as_dir" ||
   18481 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18482 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18483 	 X"$as_dir" : 'X\(//\)$' \| \
   18484 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18485 $as_echo X"$as_dir" |
   18486     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18487 	    s//\1/
   18488 	    q
   18489 	  }
   18490 	  /^X\(\/\/\)[^/].*/{
   18491 	    s//\1/
   18492 	    q
   18493 	  }
   18494 	  /^X\(\/\/\)$/{
   18495 	    s//\1/
   18496 	    q
   18497 	  }
   18498 	  /^X\(\/\).*/{
   18499 	    s//\1/
   18500 	    q
   18501 	  }
   18502 	  s/.*/./; q'`
   18503       test -d "$as_dir" && break
   18504     done
   18505     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18506   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18507 
   18508 
   18509 } # as_fn_mkdir_p
   18510 if mkdir -p . 2>/dev/null; then
   18511   as_mkdir_p='mkdir -p "$as_dir"'
   18512 else
   18513   test -d ./-p && rmdir ./-p
   18514   as_mkdir_p=false
   18515 fi
   18516 
   18517 if test -x / >/dev/null 2>&1; then
   18518   as_test_x='test -x'
   18519 else
   18520   if ls -dL / >/dev/null 2>&1; then
   18521     as_ls_L_option=L
   18522   else
   18523     as_ls_L_option=
   18524   fi
   18525   as_test_x='
   18526     eval sh -c '\''
   18527       if test -d "$1"; then
   18528 	test -d "$1/.";
   18529       else
   18530 	case $1 in #(
   18531 	-*)set "./$1";;
   18532 	esac;
   18533 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18534 	???[sx]*):;;*)false;;esac;fi
   18535     '\'' sh
   18536   '
   18537 fi
   18538 as_executable_p=$as_test_x
   18539 
   18540 # Sed expression to map a string onto a valid CPP name.
   18541 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18542 
   18543 # Sed expression to map a string onto a valid variable name.
   18544 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18545 
   18546 
   18547 exec 6>&1
   18548 ## ----------------------------------- ##
   18549 ## Main body of $CONFIG_STATUS script. ##
   18550 ## ----------------------------------- ##
   18551 _ASEOF
   18552 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18553 
   18554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18555 # Save the log message, to keep $0 and so on meaningful, and to
   18556 # report actual input values of CONFIG_FILES etc. instead of their
   18557 # values after options handling.
   18558 ac_log="
   18559 This file was extended by libXpm $as_me 3.5.11, which was
   18560 generated by GNU Autoconf 2.68.  Invocation command line was
   18561 
   18562   CONFIG_FILES    = $CONFIG_FILES
   18563   CONFIG_HEADERS  = $CONFIG_HEADERS
   18564   CONFIG_LINKS    = $CONFIG_LINKS
   18565   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18566   $ $0 $@
   18567 
   18568 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18569 "
   18570 
   18571 _ACEOF
   18572 
   18573 case $ac_config_files in *"
   18574 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18575 esac
   18576 
   18577 case $ac_config_headers in *"
   18578 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18579 esac
   18580 
   18581 
   18582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18583 # Files that config.status was made for.
   18584 config_files="$ac_config_files"
   18585 config_headers="$ac_config_headers"
   18586 config_commands="$ac_config_commands"
   18587 
   18588 _ACEOF
   18589 
   18590 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18591 ac_cs_usage="\
   18592 \`$as_me' instantiates files and other configuration actions
   18593 from templates according to the current configuration.  Unless the files
   18594 and actions are specified as TAGs, all are instantiated by default.
   18595 
   18596 Usage: $0 [OPTION]... [TAG]...
   18597 
   18598   -h, --help       print this help, then exit
   18599   -V, --version    print version number and configuration settings, then exit
   18600       --config     print configuration, then exit
   18601   -q, --quiet, --silent
   18602                    do not print progress messages
   18603   -d, --debug      don't remove temporary files
   18604       --recheck    update $as_me by reconfiguring in the same conditions
   18605       --file=FILE[:TEMPLATE]
   18606                    instantiate the configuration file FILE
   18607       --header=FILE[:TEMPLATE]
   18608                    instantiate the configuration header FILE
   18609 
   18610 Configuration files:
   18611 $config_files
   18612 
   18613 Configuration headers:
   18614 $config_headers
   18615 
   18616 Configuration commands:
   18617 $config_commands
   18618 
   18619 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18620 
   18621 _ACEOF
   18622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18623 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18624 ac_cs_version="\\
   18625 libXpm config.status 3.5.11
   18626 configured by $0, generated by GNU Autoconf 2.68,
   18627   with options \\"\$ac_cs_config\\"
   18628 
   18629 Copyright (C) 2010 Free Software Foundation, Inc.
   18630 This config.status script is free software; the Free Software Foundation
   18631 gives unlimited permission to copy, distribute and modify it."
   18632 
   18633 ac_pwd='$ac_pwd'
   18634 srcdir='$srcdir'
   18635 INSTALL='$INSTALL'
   18636 MKDIR_P='$MKDIR_P'
   18637 AWK='$AWK'
   18638 test -n "\$AWK" || AWK=awk
   18639 _ACEOF
   18640 
   18641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18642 # The default lists apply if the user does not specify any file.
   18643 ac_need_defaults=:
   18644 while test $# != 0
   18645 do
   18646   case $1 in
   18647   --*=?*)
   18648     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18649     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18650     ac_shift=:
   18651     ;;
   18652   --*=)
   18653     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18654     ac_optarg=
   18655     ac_shift=:
   18656     ;;
   18657   *)
   18658     ac_option=$1
   18659     ac_optarg=$2
   18660     ac_shift=shift
   18661     ;;
   18662   esac
   18663 
   18664   case $ac_option in
   18665   # Handling of the options.
   18666   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18667     ac_cs_recheck=: ;;
   18668   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18669     $as_echo "$ac_cs_version"; exit ;;
   18670   --config | --confi | --conf | --con | --co | --c )
   18671     $as_echo "$ac_cs_config"; exit ;;
   18672   --debug | --debu | --deb | --de | --d | -d )
   18673     debug=: ;;
   18674   --file | --fil | --fi | --f )
   18675     $ac_shift
   18676     case $ac_optarg in
   18677     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18678     '') as_fn_error $? "missing file argument" ;;
   18679     esac
   18680     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18681     ac_need_defaults=false;;
   18682   --header | --heade | --head | --hea )
   18683     $ac_shift
   18684     case $ac_optarg in
   18685     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18686     esac
   18687     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18688     ac_need_defaults=false;;
   18689   --he | --h)
   18690     # Conflict between --help and --header
   18691     as_fn_error $? "ambiguous option: \`$1'
   18692 Try \`$0 --help' for more information.";;
   18693   --help | --hel | -h )
   18694     $as_echo "$ac_cs_usage"; exit ;;
   18695   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18696   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18697     ac_cs_silent=: ;;
   18698 
   18699   # This is an error.
   18700   -*) as_fn_error $? "unrecognized option: \`$1'
   18701 Try \`$0 --help' for more information." ;;
   18702 
   18703   *) as_fn_append ac_config_targets " $1"
   18704      ac_need_defaults=false ;;
   18705 
   18706   esac
   18707   shift
   18708 done
   18709 
   18710 ac_configure_extra_args=
   18711 
   18712 if $ac_cs_silent; then
   18713   exec 6>/dev/null
   18714   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18715 fi
   18716 
   18717 _ACEOF
   18718 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18719 if \$ac_cs_recheck; then
   18720   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18721   shift
   18722   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18723   CONFIG_SHELL='$SHELL'
   18724   export CONFIG_SHELL
   18725   exec "\$@"
   18726 fi
   18727 
   18728 _ACEOF
   18729 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18730 exec 5>>config.log
   18731 {
   18732   echo
   18733   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18734 ## Running $as_me. ##
   18735 _ASBOX
   18736   $as_echo "$ac_log"
   18737 } >&5
   18738 
   18739 _ACEOF
   18740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18741 #
   18742 # INIT-COMMANDS
   18743 #
   18744 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18745 
   18746 
   18747 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18748 # if CDPATH is set.
   18749 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18750 
   18751 sed_quote_subst='$sed_quote_subst'
   18752 double_quote_subst='$double_quote_subst'
   18753 delay_variable_subst='$delay_variable_subst'
   18754 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18755 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18756 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18757 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18758 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18759 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18760 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18761 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18762 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18763 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18764 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18765 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18766 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18767 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18768 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18769 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18770 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18771 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18772 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18773 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18774 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18775 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18776 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18777 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18778 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18779 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18780 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18781 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18782 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18783 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18784 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18785 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18786 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18787 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18788 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18789 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18790 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18791 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18792 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18793 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18794 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18795 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18796 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18797 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18798 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18799 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18800 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18801 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18802 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18803 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18804 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18805 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18806 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18807 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18808 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18809 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18810 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"`'
   18811 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18812 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18813 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18814 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18815 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18816 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18817 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18818 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18819 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18820 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18821 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18822 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18823 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18824 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18825 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18826 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18827 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18828 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18829 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18830 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18831 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18832 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18833 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18834 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18835 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18836 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18837 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18838 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18839 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18840 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18841 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18842 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18843 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18844 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18845 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18846 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18847 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18848 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18849 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18850 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18851 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18852 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18853 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18854 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18855 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18856 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18857 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18858 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18859 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18860 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18861 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18862 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18863 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18864 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18865 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18866 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18867 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18868 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18869 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18870 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18871 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18872 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18873 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18874 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18875 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18876 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18877 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18878 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18879 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18880 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18881 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18882 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18883 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18884 
   18885 LTCC='$LTCC'
   18886 LTCFLAGS='$LTCFLAGS'
   18887 compiler='$compiler_DEFAULT'
   18888 
   18889 # A function that is used when there is no print builtin or printf.
   18890 func_fallback_echo ()
   18891 {
   18892   eval 'cat <<_LTECHO_EOF
   18893 \$1
   18894 _LTECHO_EOF'
   18895 }
   18896 
   18897 # Quote evaled strings.
   18898 for var in SHELL \
   18899 ECHO \
   18900 PATH_SEPARATOR \
   18901 SED \
   18902 GREP \
   18903 EGREP \
   18904 FGREP \
   18905 LD \
   18906 NM \
   18907 LN_S \
   18908 lt_SP2NL \
   18909 lt_NL2SP \
   18910 reload_flag \
   18911 OBJDUMP \
   18912 deplibs_check_method \
   18913 file_magic_cmd \
   18914 file_magic_glob \
   18915 want_nocaseglob \
   18916 DLLTOOL \
   18917 sharedlib_from_linklib_cmd \
   18918 AR \
   18919 AR_FLAGS \
   18920 archiver_list_spec \
   18921 STRIP \
   18922 RANLIB \
   18923 CC \
   18924 CFLAGS \
   18925 compiler \
   18926 lt_cv_sys_global_symbol_pipe \
   18927 lt_cv_sys_global_symbol_to_cdecl \
   18928 lt_cv_sys_global_symbol_to_c_name_address \
   18929 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18930 nm_file_list_spec \
   18931 lt_prog_compiler_no_builtin_flag \
   18932 lt_prog_compiler_pic \
   18933 lt_prog_compiler_wl \
   18934 lt_prog_compiler_static \
   18935 lt_cv_prog_compiler_c_o \
   18936 need_locks \
   18937 MANIFEST_TOOL \
   18938 DSYMUTIL \
   18939 NMEDIT \
   18940 LIPO \
   18941 OTOOL \
   18942 OTOOL64 \
   18943 shrext_cmds \
   18944 export_dynamic_flag_spec \
   18945 whole_archive_flag_spec \
   18946 compiler_needs_object \
   18947 with_gnu_ld \
   18948 allow_undefined_flag \
   18949 no_undefined_flag \
   18950 hardcode_libdir_flag_spec \
   18951 hardcode_libdir_separator \
   18952 exclude_expsyms \
   18953 include_expsyms \
   18954 file_list_spec \
   18955 variables_saved_for_relink \
   18956 libname_spec \
   18957 library_names_spec \
   18958 soname_spec \
   18959 install_override_mode \
   18960 finish_eval \
   18961 old_striplib \
   18962 striplib; do
   18963     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18964     *[\\\\\\\`\\"\\\$]*)
   18965       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18966       ;;
   18967     *)
   18968       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18969       ;;
   18970     esac
   18971 done
   18972 
   18973 # Double-quote double-evaled strings.
   18974 for var in reload_cmds \
   18975 old_postinstall_cmds \
   18976 old_postuninstall_cmds \
   18977 old_archive_cmds \
   18978 extract_expsyms_cmds \
   18979 old_archive_from_new_cmds \
   18980 old_archive_from_expsyms_cmds \
   18981 archive_cmds \
   18982 archive_expsym_cmds \
   18983 module_cmds \
   18984 module_expsym_cmds \
   18985 export_symbols_cmds \
   18986 prelink_cmds \
   18987 postlink_cmds \
   18988 postinstall_cmds \
   18989 postuninstall_cmds \
   18990 finish_cmds \
   18991 sys_lib_search_path_spec \
   18992 sys_lib_dlsearch_path_spec; do
   18993     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18994     *[\\\\\\\`\\"\\\$]*)
   18995       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18996       ;;
   18997     *)
   18998       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18999       ;;
   19000     esac
   19001 done
   19002 
   19003 ac_aux_dir='$ac_aux_dir'
   19004 xsi_shell='$xsi_shell'
   19005 lt_shell_append='$lt_shell_append'
   19006 
   19007 # See if we are running on zsh, and set the options which allow our
   19008 # commands through without removal of \ escapes INIT.
   19009 if test -n "\${ZSH_VERSION+set}" ; then
   19010    setopt NO_GLOB_SUBST
   19011 fi
   19012 
   19013 
   19014     PACKAGE='$PACKAGE'
   19015     VERSION='$VERSION'
   19016     TIMESTAMP='$TIMESTAMP'
   19017     RM='$RM'
   19018     ofile='$ofile'
   19019 
   19020 
   19021 
   19022 
   19023 _ACEOF
   19024 
   19025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19026 
   19027 # Handling of arguments.
   19028 for ac_config_target in $ac_config_targets
   19029 do
   19030   case $ac_config_target in
   19031     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19032     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19033     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19034     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19035     "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   19036     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   19037     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19038     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19039     "sxpm/Makefile") CONFIG_FILES="$CONFIG_FILES sxpm/Makefile" ;;
   19040     "cxpm/Makefile") CONFIG_FILES="$CONFIG_FILES cxpm/Makefile" ;;
   19041     "xpm.pc") CONFIG_FILES="$CONFIG_FILES xpm.pc" ;;
   19042 
   19043   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19044   esac
   19045 done
   19046 
   19047 
   19048 # If the user did not use the arguments to specify the items to instantiate,
   19049 # then the envvar interface is used.  Set only those that are not.
   19050 # We use the long form for the default assignment because of an extremely
   19051 # bizarre bug on SunOS 4.1.3.
   19052 if $ac_need_defaults; then
   19053   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19054   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19055   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19056 fi
   19057 
   19058 # Have a temporary directory for convenience.  Make it in the build tree
   19059 # simply because there is no reason against having it here, and in addition,
   19060 # creating and moving files from /tmp can sometimes cause problems.
   19061 # Hook for its removal unless debugging.
   19062 # Note that there is a small window in which the directory will not be cleaned:
   19063 # after its creation but before its name has been assigned to `$tmp'.
   19064 $debug ||
   19065 {
   19066   tmp= ac_tmp=
   19067   trap 'exit_status=$?
   19068   : "${ac_tmp:=$tmp}"
   19069   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19070 ' 0
   19071   trap 'as_fn_exit 1' 1 2 13 15
   19072 }
   19073 # Create a (secure) tmp directory for tmp files.
   19074 
   19075 {
   19076   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19077   test -d "$tmp"
   19078 }  ||
   19079 {
   19080   tmp=./conf$$-$RANDOM
   19081   (umask 077 && mkdir "$tmp")
   19082 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19083 ac_tmp=$tmp
   19084 
   19085 # Set up the scripts for CONFIG_FILES section.
   19086 # No need to generate them if there are no CONFIG_FILES.
   19087 # This happens for instance with `./config.status config.h'.
   19088 if test -n "$CONFIG_FILES"; then
   19089 
   19090 
   19091 ac_cr=`echo X | tr X '\015'`
   19092 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19093 # But we know of no other shell where ac_cr would be empty at this
   19094 # point, so we can use a bashism as a fallback.
   19095 if test "x$ac_cr" = x; then
   19096   eval ac_cr=\$\'\\r\'
   19097 fi
   19098 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19099 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19100   ac_cs_awk_cr='\\r'
   19101 else
   19102   ac_cs_awk_cr=$ac_cr
   19103 fi
   19104 
   19105 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19106 _ACEOF
   19107 
   19108 
   19109 {
   19110   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19111   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19112   echo "_ACEOF"
   19113 } >conf$$subs.sh ||
   19114   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19115 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19116 ac_delim='%!_!# '
   19117 for ac_last_try in false false false false false :; do
   19118   . ./conf$$subs.sh ||
   19119     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19120 
   19121   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19122   if test $ac_delim_n = $ac_delim_num; then
   19123     break
   19124   elif $ac_last_try; then
   19125     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19126   else
   19127     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19128   fi
   19129 done
   19130 rm -f conf$$subs.sh
   19131 
   19132 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19133 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19134 _ACEOF
   19135 sed -n '
   19136 h
   19137 s/^/S["/; s/!.*/"]=/
   19138 p
   19139 g
   19140 s/^[^!]*!//
   19141 :repl
   19142 t repl
   19143 s/'"$ac_delim"'$//
   19144 t delim
   19145 :nl
   19146 h
   19147 s/\(.\{148\}\)..*/\1/
   19148 t more1
   19149 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19150 p
   19151 n
   19152 b repl
   19153 :more1
   19154 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19155 p
   19156 g
   19157 s/.\{148\}//
   19158 t nl
   19159 :delim
   19160 h
   19161 s/\(.\{148\}\)..*/\1/
   19162 t more2
   19163 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19164 p
   19165 b
   19166 :more2
   19167 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19168 p
   19169 g
   19170 s/.\{148\}//
   19171 t delim
   19172 ' <conf$$subs.awk | sed '
   19173 /^[^""]/{
   19174   N
   19175   s/\n//
   19176 }
   19177 ' >>$CONFIG_STATUS || ac_write_fail=1
   19178 rm -f conf$$subs.awk
   19179 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19180 _ACAWK
   19181 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19182   for (key in S) S_is_set[key] = 1
   19183   FS = ""
   19184 
   19185 }
   19186 {
   19187   line = $ 0
   19188   nfields = split(line, field, "@")
   19189   substed = 0
   19190   len = length(field[1])
   19191   for (i = 2; i < nfields; i++) {
   19192     key = field[i]
   19193     keylen = length(key)
   19194     if (S_is_set[key]) {
   19195       value = S[key]
   19196       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19197       len += length(value) + length(field[++i])
   19198       substed = 1
   19199     } else
   19200       len += 1 + keylen
   19201   }
   19202 
   19203   print line
   19204 }
   19205 
   19206 _ACAWK
   19207 _ACEOF
   19208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19209 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19210   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19211 else
   19212   cat
   19213 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19214   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19215 _ACEOF
   19216 
   19217 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19218 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19219 # trailing colons and then remove the whole line if VPATH becomes empty
   19220 # (actually we leave an empty line to preserve line numbers).
   19221 if test "x$srcdir" = x.; then
   19222   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19223 h
   19224 s///
   19225 s/^/:/
   19226 s/[	 ]*$/:/
   19227 s/:\$(srcdir):/:/g
   19228 s/:\${srcdir}:/:/g
   19229 s/:@srcdir@:/:/g
   19230 s/^:*//
   19231 s/:*$//
   19232 x
   19233 s/\(=[	 ]*\).*/\1/
   19234 G
   19235 s/\n//
   19236 s/^[^=]*=[	 ]*$//
   19237 }'
   19238 fi
   19239 
   19240 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19241 fi # test -n "$CONFIG_FILES"
   19242 
   19243 # Set up the scripts for CONFIG_HEADERS section.
   19244 # No need to generate them if there are no CONFIG_HEADERS.
   19245 # This happens for instance with `./config.status Makefile'.
   19246 if test -n "$CONFIG_HEADERS"; then
   19247 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19248 BEGIN {
   19249 _ACEOF
   19250 
   19251 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19252 # here-document in config.status, that substitutes the proper values into
   19253 # config.h.in to produce config.h.
   19254 
   19255 # Create a delimiter string that does not exist in confdefs.h, to ease
   19256 # handling of long lines.
   19257 ac_delim='%!_!# '
   19258 for ac_last_try in false false :; do
   19259   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19260   if test -z "$ac_tt"; then
   19261     break
   19262   elif $ac_last_try; then
   19263     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19264   else
   19265     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19266   fi
   19267 done
   19268 
   19269 # For the awk script, D is an array of macro values keyed by name,
   19270 # likewise P contains macro parameters if any.  Preserve backslash
   19271 # newline sequences.
   19272 
   19273 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19274 sed -n '
   19275 s/.\{148\}/&'"$ac_delim"'/g
   19276 t rset
   19277 :rset
   19278 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19279 t def
   19280 d
   19281 :def
   19282 s/\\$//
   19283 t bsnl
   19284 s/["\\]/\\&/g
   19285 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19286 D["\1"]=" \3"/p
   19287 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19288 d
   19289 :bsnl
   19290 s/["\\]/\\&/g
   19291 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19292 D["\1"]=" \3\\\\\\n"\\/p
   19293 t cont
   19294 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19295 t cont
   19296 d
   19297 :cont
   19298 n
   19299 s/.\{148\}/&'"$ac_delim"'/g
   19300 t clear
   19301 :clear
   19302 s/\\$//
   19303 t bsnlc
   19304 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19305 d
   19306 :bsnlc
   19307 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19308 b cont
   19309 ' <confdefs.h | sed '
   19310 s/'"$ac_delim"'/"\\\
   19311 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19312 
   19313 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19314   for (key in D) D_is_set[key] = 1
   19315   FS = ""
   19316 }
   19317 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19318   line = \$ 0
   19319   split(line, arg, " ")
   19320   if (arg[1] == "#") {
   19321     defundef = arg[2]
   19322     mac1 = arg[3]
   19323   } else {
   19324     defundef = substr(arg[1], 2)
   19325     mac1 = arg[2]
   19326   }
   19327   split(mac1, mac2, "(") #)
   19328   macro = mac2[1]
   19329   prefix = substr(line, 1, index(line, defundef) - 1)
   19330   if (D_is_set[macro]) {
   19331     # Preserve the white space surrounding the "#".
   19332     print prefix "define", macro P[macro] D[macro]
   19333     next
   19334   } else {
   19335     # Replace #undef with comments.  This is necessary, for example,
   19336     # in the case of _POSIX_SOURCE, which is predefined and required
   19337     # on some systems where configure will not decide to define it.
   19338     if (defundef == "undef") {
   19339       print "/*", prefix defundef, macro, "*/"
   19340       next
   19341     }
   19342   }
   19343 }
   19344 { print }
   19345 _ACAWK
   19346 _ACEOF
   19347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19348   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19349 fi # test -n "$CONFIG_HEADERS"
   19350 
   19351 
   19352 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19353 shift
   19354 for ac_tag
   19355 do
   19356   case $ac_tag in
   19357   :[FHLC]) ac_mode=$ac_tag; continue;;
   19358   esac
   19359   case $ac_mode$ac_tag in
   19360   :[FHL]*:*);;
   19361   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19362   :[FH]-) ac_tag=-:-;;
   19363   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19364   esac
   19365   ac_save_IFS=$IFS
   19366   IFS=:
   19367   set x $ac_tag
   19368   IFS=$ac_save_IFS
   19369   shift
   19370   ac_file=$1
   19371   shift
   19372 
   19373   case $ac_mode in
   19374   :L) ac_source=$1;;
   19375   :[FH])
   19376     ac_file_inputs=
   19377     for ac_f
   19378     do
   19379       case $ac_f in
   19380       -) ac_f="$ac_tmp/stdin";;
   19381       *) # Look for the file first in the build tree, then in the source tree
   19382 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19383 	 # because $ac_f cannot contain `:'.
   19384 	 test -f "$ac_f" ||
   19385 	   case $ac_f in
   19386 	   [\\/$]*) false;;
   19387 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19388 	   esac ||
   19389 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19390       esac
   19391       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19392       as_fn_append ac_file_inputs " '$ac_f'"
   19393     done
   19394 
   19395     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19396     # use $as_me), people would be surprised to read:
   19397     #    /* config.h.  Generated by config.status.  */
   19398     configure_input='Generated from '`
   19399 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19400 	`' by configure.'
   19401     if test x"$ac_file" != x-; then
   19402       configure_input="$ac_file.  $configure_input"
   19403       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19404 $as_echo "$as_me: creating $ac_file" >&6;}
   19405     fi
   19406     # Neutralize special characters interpreted by sed in replacement strings.
   19407     case $configure_input in #(
   19408     *\&* | *\|* | *\\* )
   19409        ac_sed_conf_input=`$as_echo "$configure_input" |
   19410        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19411     *) ac_sed_conf_input=$configure_input;;
   19412     esac
   19413 
   19414     case $ac_tag in
   19415     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19416       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19417     esac
   19418     ;;
   19419   esac
   19420 
   19421   ac_dir=`$as_dirname -- "$ac_file" ||
   19422 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19423 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19424 	 X"$ac_file" : 'X\(//\)$' \| \
   19425 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19426 $as_echo X"$ac_file" |
   19427     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19428 	    s//\1/
   19429 	    q
   19430 	  }
   19431 	  /^X\(\/\/\)[^/].*/{
   19432 	    s//\1/
   19433 	    q
   19434 	  }
   19435 	  /^X\(\/\/\)$/{
   19436 	    s//\1/
   19437 	    q
   19438 	  }
   19439 	  /^X\(\/\).*/{
   19440 	    s//\1/
   19441 	    q
   19442 	  }
   19443 	  s/.*/./; q'`
   19444   as_dir="$ac_dir"; as_fn_mkdir_p
   19445   ac_builddir=.
   19446 
   19447 case "$ac_dir" in
   19448 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19449 *)
   19450   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19451   # A ".." for each directory in $ac_dir_suffix.
   19452   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19453   case $ac_top_builddir_sub in
   19454   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19455   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19456   esac ;;
   19457 esac
   19458 ac_abs_top_builddir=$ac_pwd
   19459 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19460 # for backward compatibility:
   19461 ac_top_builddir=$ac_top_build_prefix
   19462 
   19463 case $srcdir in
   19464   .)  # We are building in place.
   19465     ac_srcdir=.
   19466     ac_top_srcdir=$ac_top_builddir_sub
   19467     ac_abs_top_srcdir=$ac_pwd ;;
   19468   [\\/]* | ?:[\\/]* )  # Absolute name.
   19469     ac_srcdir=$srcdir$ac_dir_suffix;
   19470     ac_top_srcdir=$srcdir
   19471     ac_abs_top_srcdir=$srcdir ;;
   19472   *) # Relative name.
   19473     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19474     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19475     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19476 esac
   19477 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19478 
   19479 
   19480   case $ac_mode in
   19481   :F)
   19482   #
   19483   # CONFIG_FILE
   19484   #
   19485 
   19486   case $INSTALL in
   19487   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19488   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19489   esac
   19490   ac_MKDIR_P=$MKDIR_P
   19491   case $MKDIR_P in
   19492   [\\/$]* | ?:[\\/]* ) ;;
   19493   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19494   esac
   19495 _ACEOF
   19496 
   19497 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19498 # If the template does not know about datarootdir, expand it.
   19499 # FIXME: This hack should be removed a few years after 2.60.
   19500 ac_datarootdir_hack=; ac_datarootdir_seen=
   19501 ac_sed_dataroot='
   19502 /datarootdir/ {
   19503   p
   19504   q
   19505 }
   19506 /@datadir@/p
   19507 /@docdir@/p
   19508 /@infodir@/p
   19509 /@localedir@/p
   19510 /@mandir@/p'
   19511 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19512 *datarootdir*) ac_datarootdir_seen=yes;;
   19513 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19514   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19515 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19516 _ACEOF
   19517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19518   ac_datarootdir_hack='
   19519   s&@datadir@&$datadir&g
   19520   s&@docdir@&$docdir&g
   19521   s&@infodir@&$infodir&g
   19522   s&@localedir@&$localedir&g
   19523   s&@mandir@&$mandir&g
   19524   s&\\\${datarootdir}&$datarootdir&g' ;;
   19525 esac
   19526 _ACEOF
   19527 
   19528 # Neutralize VPATH when `$srcdir' = `.'.
   19529 # Shell code in configure.ac might set extrasub.
   19530 # FIXME: do we really want to maintain this feature?
   19531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19532 ac_sed_extra="$ac_vpsub
   19533 $extrasub
   19534 _ACEOF
   19535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19536 :t
   19537 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19538 s|@configure_input@|$ac_sed_conf_input|;t t
   19539 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19540 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19541 s&@srcdir@&$ac_srcdir&;t t
   19542 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19543 s&@top_srcdir@&$ac_top_srcdir&;t t
   19544 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19545 s&@builddir@&$ac_builddir&;t t
   19546 s&@abs_builddir@&$ac_abs_builddir&;t t
   19547 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19548 s&@INSTALL@&$ac_INSTALL&;t t
   19549 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19550 $ac_datarootdir_hack
   19551 "
   19552 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19553   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19554 
   19555 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19556   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19557   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19558       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19559   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19560 which seems to be undefined.  Please make sure it is defined" >&5
   19561 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19562 which seems to be undefined.  Please make sure it is defined" >&2;}
   19563 
   19564   rm -f "$ac_tmp/stdin"
   19565   case $ac_file in
   19566   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19567   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19568   esac \
   19569   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19570  ;;
   19571   :H)
   19572   #
   19573   # CONFIG_HEADER
   19574   #
   19575   if test x"$ac_file" != x-; then
   19576     {
   19577       $as_echo "/* $configure_input  */" \
   19578       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19579     } >"$ac_tmp/config.h" \
   19580       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19581     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19582       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19583 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19584     else
   19585       rm -f "$ac_file"
   19586       mv "$ac_tmp/config.h" "$ac_file" \
   19587 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19588     fi
   19589   else
   19590     $as_echo "/* $configure_input  */" \
   19591       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19592       || as_fn_error $? "could not create -" "$LINENO" 5
   19593   fi
   19594 # Compute "$ac_file"'s index in $config_headers.
   19595 _am_arg="$ac_file"
   19596 _am_stamp_count=1
   19597 for _am_header in $config_headers :; do
   19598   case $_am_header in
   19599     $_am_arg | $_am_arg:* )
   19600       break ;;
   19601     * )
   19602       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19603   esac
   19604 done
   19605 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19606 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19607 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19608 	 X"$_am_arg" : 'X\(//\)$' \| \
   19609 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19610 $as_echo X"$_am_arg" |
   19611     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19612 	    s//\1/
   19613 	    q
   19614 	  }
   19615 	  /^X\(\/\/\)[^/].*/{
   19616 	    s//\1/
   19617 	    q
   19618 	  }
   19619 	  /^X\(\/\/\)$/{
   19620 	    s//\1/
   19621 	    q
   19622 	  }
   19623 	  /^X\(\/\).*/{
   19624 	    s//\1/
   19625 	    q
   19626 	  }
   19627 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19628  ;;
   19629 
   19630   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19631 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19632  ;;
   19633   esac
   19634 
   19635 
   19636   case $ac_file$ac_mode in
   19637     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19638   # Older Autoconf quotes --file arguments for eval, but not when files
   19639   # are listed without --file.  Let's play safe and only enable the eval
   19640   # if we detect the quoting.
   19641   case $CONFIG_FILES in
   19642   *\'*) eval set x "$CONFIG_FILES" ;;
   19643   *)   set x $CONFIG_FILES ;;
   19644   esac
   19645   shift
   19646   for mf
   19647   do
   19648     # Strip MF so we end up with the name of the file.
   19649     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19650     # Check whether this is an Automake generated Makefile or not.
   19651     # We used to match only the files named 'Makefile.in', but
   19652     # some people rename them; so instead we look at the file content.
   19653     # Grep'ing the first line is not enough: some people post-process
   19654     # each Makefile.in and add a new line on top of each file to say so.
   19655     # Grep'ing the whole file is not good either: AIX grep has a line
   19656     # limit of 2048, but all sed's we know have understand at least 4000.
   19657     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19658       dirpart=`$as_dirname -- "$mf" ||
   19659 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19660 	 X"$mf" : 'X\(//\)[^/]' \| \
   19661 	 X"$mf" : 'X\(//\)$' \| \
   19662 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19663 $as_echo X"$mf" |
   19664     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19665 	    s//\1/
   19666 	    q
   19667 	  }
   19668 	  /^X\(\/\/\)[^/].*/{
   19669 	    s//\1/
   19670 	    q
   19671 	  }
   19672 	  /^X\(\/\/\)$/{
   19673 	    s//\1/
   19674 	    q
   19675 	  }
   19676 	  /^X\(\/\).*/{
   19677 	    s//\1/
   19678 	    q
   19679 	  }
   19680 	  s/.*/./; q'`
   19681     else
   19682       continue
   19683     fi
   19684     # Extract the definition of DEPDIR, am__include, and am__quote
   19685     # from the Makefile without running 'make'.
   19686     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19687     test -z "$DEPDIR" && continue
   19688     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19689     test -z "$am__include" && continue
   19690     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19691     # Find all dependency output files, they are included files with
   19692     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19693     # simplest approach to changing $(DEPDIR) to its actual value in the
   19694     # expansion.
   19695     for file in `sed -n "
   19696       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19697 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19698       # Make sure the directory exists.
   19699       test -f "$dirpart/$file" && continue
   19700       fdir=`$as_dirname -- "$file" ||
   19701 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19702 	 X"$file" : 'X\(//\)[^/]' \| \
   19703 	 X"$file" : 'X\(//\)$' \| \
   19704 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19705 $as_echo X"$file" |
   19706     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19707 	    s//\1/
   19708 	    q
   19709 	  }
   19710 	  /^X\(\/\/\)[^/].*/{
   19711 	    s//\1/
   19712 	    q
   19713 	  }
   19714 	  /^X\(\/\/\)$/{
   19715 	    s//\1/
   19716 	    q
   19717 	  }
   19718 	  /^X\(\/\).*/{
   19719 	    s//\1/
   19720 	    q
   19721 	  }
   19722 	  s/.*/./; q'`
   19723       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19724       # echo "creating $dirpart/$file"
   19725       echo '# dummy' > "$dirpart/$file"
   19726     done
   19727   done
   19728 }
   19729  ;;
   19730     "libtool":C)
   19731 
   19732     # See if we are running on zsh, and set the options which allow our
   19733     # commands through without removal of \ escapes.
   19734     if test -n "${ZSH_VERSION+set}" ; then
   19735       setopt NO_GLOB_SUBST
   19736     fi
   19737 
   19738     cfgfile="${ofile}T"
   19739     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19740     $RM "$cfgfile"
   19741 
   19742     cat <<_LT_EOF >> "$cfgfile"
   19743 #! $SHELL
   19744 
   19745 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19746 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19747 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19748 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19749 #
   19750 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19751 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19752 #                 Foundation, Inc.
   19753 #   Written by Gordon Matzigkeit, 1996
   19754 #
   19755 #   This file is part of GNU Libtool.
   19756 #
   19757 # GNU Libtool is free software; you can redistribute it and/or
   19758 # modify it under the terms of the GNU General Public License as
   19759 # published by the Free Software Foundation; either version 2 of
   19760 # the License, or (at your option) any later version.
   19761 #
   19762 # As a special exception to the GNU General Public License,
   19763 # if you distribute this file as part of a program or library that
   19764 # is built using GNU Libtool, you may include this file under the
   19765 # same distribution terms that you use for the rest of that program.
   19766 #
   19767 # GNU Libtool is distributed in the hope that it will be useful,
   19768 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19769 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19770 # GNU General Public License for more details.
   19771 #
   19772 # You should have received a copy of the GNU General Public License
   19773 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19774 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19775 # obtained by writing to the Free Software Foundation, Inc.,
   19776 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19777 
   19778 
   19779 # The names of the tagged configurations supported by this script.
   19780 available_tags=""
   19781 
   19782 # ### BEGIN LIBTOOL CONFIG
   19783 
   19784 # Which release of libtool.m4 was used?
   19785 macro_version=$macro_version
   19786 macro_revision=$macro_revision
   19787 
   19788 # Whether or not to build shared libraries.
   19789 build_libtool_libs=$enable_shared
   19790 
   19791 # Whether or not to build static libraries.
   19792 build_old_libs=$enable_static
   19793 
   19794 # What type of objects to build.
   19795 pic_mode=$pic_mode
   19796 
   19797 # Whether or not to optimize for fast installation.
   19798 fast_install=$enable_fast_install
   19799 
   19800 # Shell to use when invoking shell scripts.
   19801 SHELL=$lt_SHELL
   19802 
   19803 # An echo program that protects backslashes.
   19804 ECHO=$lt_ECHO
   19805 
   19806 # The PATH separator for the build system.
   19807 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19808 
   19809 # The host system.
   19810 host_alias=$host_alias
   19811 host=$host
   19812 host_os=$host_os
   19813 
   19814 # The build system.
   19815 build_alias=$build_alias
   19816 build=$build
   19817 build_os=$build_os
   19818 
   19819 # A sed program that does not truncate output.
   19820 SED=$lt_SED
   19821 
   19822 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19823 Xsed="\$SED -e 1s/^X//"
   19824 
   19825 # A grep program that handles long lines.
   19826 GREP=$lt_GREP
   19827 
   19828 # An ERE matcher.
   19829 EGREP=$lt_EGREP
   19830 
   19831 # A literal string matcher.
   19832 FGREP=$lt_FGREP
   19833 
   19834 # A BSD- or MS-compatible name lister.
   19835 NM=$lt_NM
   19836 
   19837 # Whether we need soft or hard links.
   19838 LN_S=$lt_LN_S
   19839 
   19840 # What is the maximum length of a command?
   19841 max_cmd_len=$max_cmd_len
   19842 
   19843 # Object file suffix (normally "o").
   19844 objext=$ac_objext
   19845 
   19846 # Executable file suffix (normally "").
   19847 exeext=$exeext
   19848 
   19849 # whether the shell understands "unset".
   19850 lt_unset=$lt_unset
   19851 
   19852 # turn spaces into newlines.
   19853 SP2NL=$lt_lt_SP2NL
   19854 
   19855 # turn newlines into spaces.
   19856 NL2SP=$lt_lt_NL2SP
   19857 
   19858 # convert \$build file names to \$host format.
   19859 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19860 
   19861 # convert \$build files to toolchain format.
   19862 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19863 
   19864 # An object symbol dumper.
   19865 OBJDUMP=$lt_OBJDUMP
   19866 
   19867 # Method to check whether dependent libraries are shared objects.
   19868 deplibs_check_method=$lt_deplibs_check_method
   19869 
   19870 # Command to use when deplibs_check_method = "file_magic".
   19871 file_magic_cmd=$lt_file_magic_cmd
   19872 
   19873 # How to find potential files when deplibs_check_method = "file_magic".
   19874 file_magic_glob=$lt_file_magic_glob
   19875 
   19876 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19877 want_nocaseglob=$lt_want_nocaseglob
   19878 
   19879 # DLL creation program.
   19880 DLLTOOL=$lt_DLLTOOL
   19881 
   19882 # Command to associate shared and link libraries.
   19883 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19884 
   19885 # The archiver.
   19886 AR=$lt_AR
   19887 
   19888 # Flags to create an archive.
   19889 AR_FLAGS=$lt_AR_FLAGS
   19890 
   19891 # How to feed a file listing to the archiver.
   19892 archiver_list_spec=$lt_archiver_list_spec
   19893 
   19894 # A symbol stripping program.
   19895 STRIP=$lt_STRIP
   19896 
   19897 # Commands used to install an old-style archive.
   19898 RANLIB=$lt_RANLIB
   19899 old_postinstall_cmds=$lt_old_postinstall_cmds
   19900 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19901 
   19902 # Whether to use a lock for old archive extraction.
   19903 lock_old_archive_extraction=$lock_old_archive_extraction
   19904 
   19905 # A C compiler.
   19906 LTCC=$lt_CC
   19907 
   19908 # LTCC compiler flags.
   19909 LTCFLAGS=$lt_CFLAGS
   19910 
   19911 # Take the output of nm and produce a listing of raw symbols and C names.
   19912 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19913 
   19914 # Transform the output of nm in a proper C declaration.
   19915 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19916 
   19917 # Transform the output of nm in a C name address pair.
   19918 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19919 
   19920 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19921 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19922 
   19923 # Specify filename containing input files for \$NM.
   19924 nm_file_list_spec=$lt_nm_file_list_spec
   19925 
   19926 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19927 lt_sysroot=$lt_sysroot
   19928 
   19929 # The name of the directory that contains temporary libtool files.
   19930 objdir=$objdir
   19931 
   19932 # Used to examine libraries when file_magic_cmd begins with "file".
   19933 MAGIC_CMD=$MAGIC_CMD
   19934 
   19935 # Must we lock files when doing compilation?
   19936 need_locks=$lt_need_locks
   19937 
   19938 # Manifest tool.
   19939 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19940 
   19941 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19942 DSYMUTIL=$lt_DSYMUTIL
   19943 
   19944 # Tool to change global to local symbols on Mac OS X.
   19945 NMEDIT=$lt_NMEDIT
   19946 
   19947 # Tool to manipulate fat objects and archives on Mac OS X.
   19948 LIPO=$lt_LIPO
   19949 
   19950 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19951 OTOOL=$lt_OTOOL
   19952 
   19953 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19954 OTOOL64=$lt_OTOOL64
   19955 
   19956 # Old archive suffix (normally "a").
   19957 libext=$libext
   19958 
   19959 # Shared library suffix (normally ".so").
   19960 shrext_cmds=$lt_shrext_cmds
   19961 
   19962 # The commands to extract the exported symbol list from a shared archive.
   19963 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19964 
   19965 # Variables whose values should be saved in libtool wrapper scripts and
   19966 # restored at link time.
   19967 variables_saved_for_relink=$lt_variables_saved_for_relink
   19968 
   19969 # Do we need the "lib" prefix for modules?
   19970 need_lib_prefix=$need_lib_prefix
   19971 
   19972 # Do we need a version for libraries?
   19973 need_version=$need_version
   19974 
   19975 # Library versioning type.
   19976 version_type=$version_type
   19977 
   19978 # Shared library runtime path variable.
   19979 runpath_var=$runpath_var
   19980 
   19981 # Shared library path variable.
   19982 shlibpath_var=$shlibpath_var
   19983 
   19984 # Is shlibpath searched before the hard-coded library search path?
   19985 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19986 
   19987 # Format of library name prefix.
   19988 libname_spec=$lt_libname_spec
   19989 
   19990 # List of archive names.  First name is the real one, the rest are links.
   19991 # The last name is the one that the linker finds with -lNAME
   19992 library_names_spec=$lt_library_names_spec
   19993 
   19994 # The coded name of the library, if different from the real name.
   19995 soname_spec=$lt_soname_spec
   19996 
   19997 # Permission mode override for installation of shared libraries.
   19998 install_override_mode=$lt_install_override_mode
   19999 
   20000 # Command to use after installation of a shared archive.
   20001 postinstall_cmds=$lt_postinstall_cmds
   20002 
   20003 # Command to use after uninstallation of a shared archive.
   20004 postuninstall_cmds=$lt_postuninstall_cmds
   20005 
   20006 # Commands used to finish a libtool library installation in a directory.
   20007 finish_cmds=$lt_finish_cmds
   20008 
   20009 # As "finish_cmds", except a single script fragment to be evaled but
   20010 # not shown.
   20011 finish_eval=$lt_finish_eval
   20012 
   20013 # Whether we should hardcode library paths into libraries.
   20014 hardcode_into_libs=$hardcode_into_libs
   20015 
   20016 # Compile-time system search path for libraries.
   20017 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20018 
   20019 # Run-time system search path for libraries.
   20020 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20021 
   20022 # Whether dlopen is supported.
   20023 dlopen_support=$enable_dlopen
   20024 
   20025 # Whether dlopen of programs is supported.
   20026 dlopen_self=$enable_dlopen_self
   20027 
   20028 # Whether dlopen of statically linked programs is supported.
   20029 dlopen_self_static=$enable_dlopen_self_static
   20030 
   20031 # Commands to strip libraries.
   20032 old_striplib=$lt_old_striplib
   20033 striplib=$lt_striplib
   20034 
   20035 
   20036 # The linker used to build libraries.
   20037 LD=$lt_LD
   20038 
   20039 # How to create reloadable object files.
   20040 reload_flag=$lt_reload_flag
   20041 reload_cmds=$lt_reload_cmds
   20042 
   20043 # Commands used to build an old-style archive.
   20044 old_archive_cmds=$lt_old_archive_cmds
   20045 
   20046 # A language specific compiler.
   20047 CC=$lt_compiler
   20048 
   20049 # Is the compiler the GNU compiler?
   20050 with_gcc=$GCC
   20051 
   20052 # Compiler flag to turn off builtin functions.
   20053 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20054 
   20055 # Additional compiler flags for building library objects.
   20056 pic_flag=$lt_lt_prog_compiler_pic
   20057 
   20058 # How to pass a linker flag through the compiler.
   20059 wl=$lt_lt_prog_compiler_wl
   20060 
   20061 # Compiler flag to prevent dynamic linking.
   20062 link_static_flag=$lt_lt_prog_compiler_static
   20063 
   20064 # Does compiler simultaneously support -c and -o options?
   20065 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20066 
   20067 # Whether or not to add -lc for building shared libraries.
   20068 build_libtool_need_lc=$archive_cmds_need_lc
   20069 
   20070 # Whether or not to disallow shared libs when runtime libs are static.
   20071 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20072 
   20073 # Compiler flag to allow reflexive dlopens.
   20074 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20075 
   20076 # Compiler flag to generate shared objects directly from archives.
   20077 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20078 
   20079 # Whether the compiler copes with passing no objects directly.
   20080 compiler_needs_object=$lt_compiler_needs_object
   20081 
   20082 # Create an old-style archive from a shared archive.
   20083 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20084 
   20085 # Create a temporary old-style archive to link instead of a shared archive.
   20086 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20087 
   20088 # Commands used to build a shared archive.
   20089 archive_cmds=$lt_archive_cmds
   20090 archive_expsym_cmds=$lt_archive_expsym_cmds
   20091 
   20092 # Commands used to build a loadable module if different from building
   20093 # a shared archive.
   20094 module_cmds=$lt_module_cmds
   20095 module_expsym_cmds=$lt_module_expsym_cmds
   20096 
   20097 # Whether we are building with GNU ld or not.
   20098 with_gnu_ld=$lt_with_gnu_ld
   20099 
   20100 # Flag that allows shared libraries with undefined symbols to be built.
   20101 allow_undefined_flag=$lt_allow_undefined_flag
   20102 
   20103 # Flag that enforces no undefined symbols.
   20104 no_undefined_flag=$lt_no_undefined_flag
   20105 
   20106 # Flag to hardcode \$libdir into a binary during linking.
   20107 # This must work even if \$libdir does not exist
   20108 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20109 
   20110 # Whether we need a single "-rpath" flag with a separated argument.
   20111 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20112 
   20113 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20114 # DIR into the resulting binary.
   20115 hardcode_direct=$hardcode_direct
   20116 
   20117 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20118 # DIR into the resulting binary and the resulting library dependency is
   20119 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20120 # library is relocated.
   20121 hardcode_direct_absolute=$hardcode_direct_absolute
   20122 
   20123 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20124 # into the resulting binary.
   20125 hardcode_minus_L=$hardcode_minus_L
   20126 
   20127 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20128 # into the resulting binary.
   20129 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20130 
   20131 # Set to "yes" if building a shared library automatically hardcodes DIR
   20132 # into the library and all subsequent libraries and executables linked
   20133 # against it.
   20134 hardcode_automatic=$hardcode_automatic
   20135 
   20136 # Set to yes if linker adds runtime paths of dependent libraries
   20137 # to runtime path list.
   20138 inherit_rpath=$inherit_rpath
   20139 
   20140 # Whether libtool must link a program against all its dependency libraries.
   20141 link_all_deplibs=$link_all_deplibs
   20142 
   20143 # Set to "yes" if exported symbols are required.
   20144 always_export_symbols=$always_export_symbols
   20145 
   20146 # The commands to list exported symbols.
   20147 export_symbols_cmds=$lt_export_symbols_cmds
   20148 
   20149 # Symbols that should not be listed in the preloaded symbols.
   20150 exclude_expsyms=$lt_exclude_expsyms
   20151 
   20152 # Symbols that must always be exported.
   20153 include_expsyms=$lt_include_expsyms
   20154 
   20155 # Commands necessary for linking programs (against libraries) with templates.
   20156 prelink_cmds=$lt_prelink_cmds
   20157 
   20158 # Commands necessary for finishing linking programs.
   20159 postlink_cmds=$lt_postlink_cmds
   20160 
   20161 # Specify filename containing input files.
   20162 file_list_spec=$lt_file_list_spec
   20163 
   20164 # How to hardcode a shared library path into an executable.
   20165 hardcode_action=$hardcode_action
   20166 
   20167 # ### END LIBTOOL CONFIG
   20168 
   20169 _LT_EOF
   20170 
   20171   case $host_os in
   20172   aix3*)
   20173     cat <<\_LT_EOF >> "$cfgfile"
   20174 # AIX sometimes has problems with the GCC collect2 program.  For some
   20175 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20176 # vanish in a puff of smoke.
   20177 if test "X${COLLECT_NAMES+set}" != Xset; then
   20178   COLLECT_NAMES=
   20179   export COLLECT_NAMES
   20180 fi
   20181 _LT_EOF
   20182     ;;
   20183   esac
   20184 
   20185 
   20186 ltmain="$ac_aux_dir/ltmain.sh"
   20187 
   20188 
   20189   # We use sed instead of cat because bash on DJGPP gets confused if
   20190   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20191   # text mode, it properly converts lines to CR/LF.  This bash problem
   20192   # is reportedly fixed, but why not run on old versions too?
   20193   sed '$q' "$ltmain" >> "$cfgfile" \
   20194      || (rm -f "$cfgfile"; exit 1)
   20195 
   20196   if test x"$xsi_shell" = xyes; then
   20197   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20198 func_dirname ()\
   20199 {\
   20200 \    case ${1} in\
   20201 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20202 \      *  ) func_dirname_result="${3}" ;;\
   20203 \    esac\
   20204 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20205   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20206     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20207 test 0 -eq $? || _lt_function_replace_fail=:
   20208 
   20209 
   20210   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20211 func_basename ()\
   20212 {\
   20213 \    func_basename_result="${1##*/}"\
   20214 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20215   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20216     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20217 test 0 -eq $? || _lt_function_replace_fail=:
   20218 
   20219 
   20220   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20221 func_dirname_and_basename ()\
   20222 {\
   20223 \    case ${1} in\
   20224 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20225 \      *  ) func_dirname_result="${3}" ;;\
   20226 \    esac\
   20227 \    func_basename_result="${1##*/}"\
   20228 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20229   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20230     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20231 test 0 -eq $? || _lt_function_replace_fail=:
   20232 
   20233 
   20234   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20235 func_stripname ()\
   20236 {\
   20237 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20238 \    # positional parameters, so assign one to ordinary parameter first.\
   20239 \    func_stripname_result=${3}\
   20240 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20241 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20242 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20243   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20244     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20245 test 0 -eq $? || _lt_function_replace_fail=:
   20246 
   20247 
   20248   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20249 func_split_long_opt ()\
   20250 {\
   20251 \    func_split_long_opt_name=${1%%=*}\
   20252 \    func_split_long_opt_arg=${1#*=}\
   20253 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20254   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20255     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20256 test 0 -eq $? || _lt_function_replace_fail=:
   20257 
   20258 
   20259   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20260 func_split_short_opt ()\
   20261 {\
   20262 \    func_split_short_opt_arg=${1#??}\
   20263 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20264 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20265   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20266     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20267 test 0 -eq $? || _lt_function_replace_fail=:
   20268 
   20269 
   20270   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20271 func_lo2o ()\
   20272 {\
   20273 \    case ${1} in\
   20274 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20275 \      *)    func_lo2o_result=${1} ;;\
   20276 \    esac\
   20277 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20278   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20279     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20280 test 0 -eq $? || _lt_function_replace_fail=:
   20281 
   20282 
   20283   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20284 func_xform ()\
   20285 {\
   20286     func_xform_result=${1%.*}.lo\
   20287 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20288   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20289     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20290 test 0 -eq $? || _lt_function_replace_fail=:
   20291 
   20292 
   20293   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20294 func_arith ()\
   20295 {\
   20296     func_arith_result=$(( $* ))\
   20297 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20298   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20299     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20300 test 0 -eq $? || _lt_function_replace_fail=:
   20301 
   20302 
   20303   sed -e '/^func_len ()$/,/^} # func_len /c\
   20304 func_len ()\
   20305 {\
   20306     func_len_result=${#1}\
   20307 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20308   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20309     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20310 test 0 -eq $? || _lt_function_replace_fail=:
   20311 
   20312 fi
   20313 
   20314 if test x"$lt_shell_append" = xyes; then
   20315   sed -e '/^func_append ()$/,/^} # func_append /c\
   20316 func_append ()\
   20317 {\
   20318     eval "${1}+=\\${2}"\
   20319 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20320   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20321     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20322 test 0 -eq $? || _lt_function_replace_fail=:
   20323 
   20324 
   20325   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20326 func_append_quoted ()\
   20327 {\
   20328 \    func_quote_for_eval "${2}"\
   20329 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20330 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20331   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20332     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20333 test 0 -eq $? || _lt_function_replace_fail=:
   20334 
   20335 
   20336   # Save a `func_append' function call where possible by direct use of '+='
   20337   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20338     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20339       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20340   test 0 -eq $? || _lt_function_replace_fail=:
   20341 else
   20342   # Save a `func_append' function call even when '+=' is not available
   20343   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20344     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20345       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20346   test 0 -eq $? || _lt_function_replace_fail=:
   20347 fi
   20348 
   20349 if test x"$_lt_function_replace_fail" = x":"; then
   20350   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20351 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20352 fi
   20353 
   20354 
   20355    mv -f "$cfgfile" "$ofile" ||
   20356     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20357   chmod +x "$ofile"
   20358 
   20359  ;;
   20360 
   20361   esac
   20362 done # for ac_tag
   20363 
   20364 
   20365 as_fn_exit 0
   20366 _ACEOF
   20367 ac_clean_files=$ac_clean_files_save
   20368 
   20369 test $ac_write_fail = 0 ||
   20370   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20371 
   20372 
   20373 # configure is writing to config.log, and then calls config.status.
   20374 # config.status does its own redirection, appending to config.log.
   20375 # Unfortunately, on DOS this fails, as config.log is still kept open
   20376 # by configure, so config.status won't be able to write to it; its
   20377 # output is simply discarded.  So we exec the FD to /dev/null,
   20378 # effectively closing config.log, so it can be properly (re)opened and
   20379 # appended to by config.status.  When coming back to configure, we
   20380 # need to make the FD available again.
   20381 if test "$no_create" != yes; then
   20382   ac_cs_success=:
   20383   ac_config_status_args=
   20384   test "$silent" = yes &&
   20385     ac_config_status_args="$ac_config_status_args --quiet"
   20386   exec 5>/dev/null
   20387   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20388   exec 5>>config.log
   20389   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20390   # would make configure fail if this is the last instruction.
   20391   $ac_cs_success || as_fn_exit 1
   20392 fi
   20393 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20394   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20395 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20396 fi
   20397 
   20398