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 libXft 2.3.2.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
      9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
     10 # Foundation, Inc.
     11 #
     12 #
     13 # This configure script is free software; the Free Software Foundation
     14 # gives unlimited permission to copy, distribute and modify it.
     15 ## -------------------- ##
     16 ## M4sh Initialization. ##
     17 ## -------------------- ##
     18 
     19 # Be more Bourne compatible
     20 DUALCASE=1; export DUALCASE # for MKS sh
     21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     22   emulate sh
     23   NULLCMD=:
     24   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     25   # is contrary to our usage.  Disable this feature.
     26   alias -g '${1+"$@"}'='"$@"'
     27   setopt NO_GLOB_SUBST
     28 else
     29   case `(set -o) 2>/dev/null` in #(
     30   *posix*) :
     31     set -o posix ;; #(
     32   *) :
     33      ;;
     34 esac
     35 fi
     36 
     37 
     38 as_nl='
     39 '
     40 export as_nl
     41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     42 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     45 # Prefer a ksh shell builtin over an external printf program on Solaris,
     46 # but without wasting forks for bash or zsh.
     47 if test -z "$BASH_VERSION$ZSH_VERSION" \
     48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     49   as_echo='print -r --'
     50   as_echo_n='print -rn --'
     51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     52   as_echo='printf %s\n'
     53   as_echo_n='printf %s'
     54 else
     55   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     56     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     57     as_echo_n='/usr/ucb/echo -n'
     58   else
     59     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     60     as_echo_n_body='eval
     61       arg=$1;
     62       case $arg in #(
     63       *"$as_nl"*)
     64 	expr "X$arg" : "X\\(.*\\)$as_nl";
     65 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     66       esac;
     67       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     68     '
     69     export as_echo_n_body
     70     as_echo_n='sh -c $as_echo_n_body as_echo'
     71   fi
     72   export as_echo_body
     73   as_echo='sh -c $as_echo_body as_echo'
     74 fi
     75 
     76 # The user is always right.
     77 if test "${PATH_SEPARATOR+set}" != set; then
     78   PATH_SEPARATOR=:
     79   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     80     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     81       PATH_SEPARATOR=';'
     82   }
     83 fi
     84 
     85 
     86 # IFS
     87 # We need space, tab and new line, in precisely that order.  Quoting is
     88 # there to prevent editors from complaining about space-tab.
     89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     90 # splitting by setting IFS to empty value.)
     91 IFS=" ""	$as_nl"
     92 
     93 # Find who we are.  Look in the path if we contain no directory separator.
     94 as_myself=
     95 case $0 in #((
     96   *[\\/]* ) as_myself=$0 ;;
     97   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     98 for as_dir in $PATH
     99 do
    100   IFS=$as_save_IFS
    101   test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
    104 IFS=$as_save_IFS
    105 
    106      ;;
    107 esac
    108 # We did not find ourselves, most probably we were run as `sh COMMAND'
    109 # in which case we are not to be found in the path.
    110 if test "x$as_myself" = x; then
    111   as_myself=$0
    112 fi
    113 if test ! -f "$as_myself"; then
    114   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125 done
    126 PS1='$ '
    127 PS2='> '
    128 PS4='+ '
    129 
    130 # NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
    135 
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 
    178   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    179     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    180     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    181     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    182     PATH=/empty FPATH=/empty; export PATH FPATH
    183     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    184       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    185 test \$(( 1 + 1 )) = 2 || exit 1"
    186   if (eval "$as_required") 2>/dev/null; then :
    187   as_have_required=yes
    188 else
    189   as_have_required=no
    190 fi
    191   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    192 
    193 else
    194   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    195 as_found=false
    196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    197 do
    198   IFS=$as_save_IFS
    199   test -z "$as_dir" && as_dir=.
    200   as_found=:
    201   case $as_dir in #(
    202 	 /*)
    203 	   for as_base in sh bash ksh sh5; do
    204 	     # Try only shells that exist, to save several forks.
    205 	     as_shell=$as_dir/$as_base
    206 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    207 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    208   CONFIG_SHELL=$as_shell as_have_required=yes
    209 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    210   break 2
    211 fi
    212 fi
    213 	   done;;
    214        esac
    215   as_found=false
    216 done
    217 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    218 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    219   CONFIG_SHELL=$SHELL as_have_required=yes
    220 fi; }
    221 IFS=$as_save_IFS
    222 
    223 
    224       if test "x$CONFIG_SHELL" != x; then :
    225   # We cannot yet assume a decent shell, so we have to provide a
    226 	# neutralization value for shells without unset; and this also
    227 	# works around shells that cannot unset nonexistent variables.
    228 	# Preserve -v and -x to the replacement shell.
    229 	BASH_ENV=/dev/null
    230 	ENV=/dev/null
    231 	(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    232 	export CONFIG_SHELL
    233 	case $- in # ((((
    234 	  *v*x* | *x*v* ) as_opts=-vx ;;
    235 	  *v* ) as_opts=-v ;;
    236 	  *x* ) as_opts=-x ;;
    237 	  * ) as_opts= ;;
    238 	esac
    239 	exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    240 fi
    241 
    242     if test x$as_have_required = xno; then :
    243   $as_echo "$0: This script requires a shell more modern than all"
    244   $as_echo "$0: the shells that I found on your system."
    245   if test x${ZSH_VERSION+set} = xset ; then
    246     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    247     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    248   else
    249     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    250 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    251 $0: about your system, including any error possibly output
    252 $0: before this message. Then install a modern shell, or
    253 $0: manually run the script under such a shell if you do
    254 $0: have one."
    255   fi
    256   exit 1
    257 fi
    258 fi
    259 fi
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 export SHELL
    262 # Unset more variables known to interfere with behavior of common tools.
    263 CLICOLOR_FORCE= GREP_OPTIONS=
    264 unset CLICOLOR_FORCE GREP_OPTIONS
    265 
    266 ## --------------------- ##
    267 ## M4sh Shell Functions. ##
    268 ## --------------------- ##
    269 # as_fn_unset VAR
    270 # ---------------
    271 # Portably unset VAR.
    272 as_fn_unset ()
    273 {
    274   { eval $1=; unset $1;}
    275 }
    276 as_unset=as_fn_unset
    277 
    278 # as_fn_set_status STATUS
    279 # -----------------------
    280 # Set $? to STATUS, without forking.
    281 as_fn_set_status ()
    282 {
    283   return $1
    284 } # as_fn_set_status
    285 
    286 # as_fn_exit STATUS
    287 # -----------------
    288 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    289 as_fn_exit ()
    290 {
    291   set +e
    292   as_fn_set_status $1
    293   exit $1
    294 } # as_fn_exit
    295 
    296 # as_fn_mkdir_p
    297 # -------------
    298 # Create "$as_dir" as a directory, including parents if necessary.
    299 as_fn_mkdir_p ()
    300 {
    301 
    302   case $as_dir in #(
    303   -*) as_dir=./$as_dir;;
    304   esac
    305   test -d "$as_dir" || eval $as_mkdir_p || {
    306     as_dirs=
    307     while :; do
    308       case $as_dir in #(
    309       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    310       *) as_qdir=$as_dir;;
    311       esac
    312       as_dirs="'$as_qdir' $as_dirs"
    313       as_dir=`$as_dirname -- "$as_dir" ||
    314 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    315 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    316 	 X"$as_dir" : 'X\(//\)$' \| \
    317 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    318 $as_echo X"$as_dir" |
    319     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    320 	    s//\1/
    321 	    q
    322 	  }
    323 	  /^X\(\/\/\)[^/].*/{
    324 	    s//\1/
    325 	    q
    326 	  }
    327 	  /^X\(\/\/\)$/{
    328 	    s//\1/
    329 	    q
    330 	  }
    331 	  /^X\(\/\).*/{
    332 	    s//\1/
    333 	    q
    334 	  }
    335 	  s/.*/./; q'`
    336       test -d "$as_dir" && break
    337     done
    338     test -z "$as_dirs" || eval "mkdir $as_dirs"
    339   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    340 
    341 
    342 } # as_fn_mkdir_p
    343 # as_fn_append VAR VALUE
    344 # ----------------------
    345 # Append the text in VALUE to the end of the definition contained in VAR. Take
    346 # advantage of any shell optimizations that allow amortized linear growth over
    347 # repeated appends, instead of the typical quadratic growth present in naive
    348 # implementations.
    349 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    350   eval 'as_fn_append ()
    351   {
    352     eval $1+=\$2
    353   }'
    354 else
    355   as_fn_append ()
    356   {
    357     eval $1=\$$1\$2
    358   }
    359 fi # as_fn_append
    360 
    361 # as_fn_arith ARG...
    362 # ------------------
    363 # Perform arithmetic evaluation on the ARGs, and store the result in the
    364 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    365 # must be portable across $(()) and expr.
    366 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    367   eval 'as_fn_arith ()
    368   {
    369     as_val=$(( $* ))
    370   }'
    371 else
    372   as_fn_arith ()
    373   {
    374     as_val=`expr "$@" || test $? -eq 1`
    375   }
    376 fi # as_fn_arith
    377 
    378 
    379 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    380 # ----------------------------------------
    381 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    382 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    383 # script with STATUS, using 1 if that was 0.
    384 as_fn_error ()
    385 {
    386   as_status=$1; test $as_status -eq 0 && as_status=1
    387   if test "$4"; then
    388     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    389     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    390   fi
    391   $as_echo "$as_me: error: $2" >&2
    392   as_fn_exit $as_status
    393 } # as_fn_error
    394 
    395 if expr a : '\(a\)' >/dev/null 2>&1 &&
    396    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    397   as_expr=expr
    398 else
    399   as_expr=false
    400 fi
    401 
    402 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    403   as_basename=basename
    404 else
    405   as_basename=false
    406 fi
    407 
    408 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    409   as_dirname=dirname
    410 else
    411   as_dirname=false
    412 fi
    413 
    414 as_me=`$as_basename -- "$0" ||
    415 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    416 	 X"$0" : 'X\(//\)$' \| \
    417 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    418 $as_echo X/"$0" |
    419     sed '/^.*\/\([^/][^/]*\)\/*$/{
    420 	    s//\1/
    421 	    q
    422 	  }
    423 	  /^X\/\(\/\/\)$/{
    424 	    s//\1/
    425 	    q
    426 	  }
    427 	  /^X\/\(\/\).*/{
    428 	    s//\1/
    429 	    q
    430 	  }
    431 	  s/.*/./; q'`
    432 
    433 # Avoid depending upon Character Ranges.
    434 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    435 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    436 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    437 as_cr_digits='0123456789'
    438 as_cr_alnum=$as_cr_Letters$as_cr_digits
    439 
    440 
    441   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    442   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    443   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    444   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    445   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    446   sed -n '
    447     p
    448     /[$]LINENO/=
    449   ' <$as_myself |
    450     sed '
    451       s/[$]LINENO.*/&-/
    452       t lineno
    453       b
    454       :lineno
    455       N
    456       :loop
    457       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    458       t loop
    459       s/-\n.*//
    460     ' >$as_me.lineno &&
    461   chmod +x "$as_me.lineno" ||
    462     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    463 
    464   # Don't try to exec as it changes $[0], causing all sort of problems
    465   # (the dirname of $[0] is not the place where we might find the
    466   # original and so on.  Autoconf is especially sensitive to this).
    467   . "./$as_me.lineno"
    468   # Exit status is that of the last command.
    469   exit
    470 }
    471 
    472 ECHO_C= ECHO_N= ECHO_T=
    473 case `echo -n x` in #(((((
    474 -n*)
    475   case `echo 'xy\c'` in
    476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    477   xy)  ECHO_C='\c';;
    478   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    479        ECHO_T='	';;
    480   esac;;
    481 *)
    482   ECHO_N='-n';;
    483 esac
    484 
    485 rm -f conf$$ conf$$.exe conf$$.file
    486 if test -d conf$$.dir; then
    487   rm -f conf$$.dir/conf$$.file
    488 else
    489   rm -f conf$$.dir
    490   mkdir conf$$.dir 2>/dev/null
    491 fi
    492 if (echo >conf$$.file) 2>/dev/null; then
    493   if ln -s conf$$.file conf$$ 2>/dev/null; then
    494     as_ln_s='ln -s'
    495     # ... but there are two gotchas:
    496     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    497     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    498     # In both cases, we have to default to `cp -p'.
    499     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    500       as_ln_s='cp -p'
    501   elif ln conf$$.file conf$$ 2>/dev/null; then
    502     as_ln_s=ln
    503   else
    504     as_ln_s='cp -p'
    505   fi
    506 else
    507   as_ln_s='cp -p'
    508 fi
    509 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    510 rmdir conf$$.dir 2>/dev/null
    511 
    512 if mkdir -p . 2>/dev/null; then
    513   as_mkdir_p='mkdir -p "$as_dir"'
    514 else
    515   test -d ./-p && rmdir ./-p
    516   as_mkdir_p=false
    517 fi
    518 
    519 if test -x / >/dev/null 2>&1; then
    520   as_test_x='test -x'
    521 else
    522   if ls -dL / >/dev/null 2>&1; then
    523     as_ls_L_option=L
    524   else
    525     as_ls_L_option=
    526   fi
    527   as_test_x='
    528     eval sh -c '\''
    529       if test -d "$1"; then
    530 	test -d "$1/.";
    531       else
    532 	case $1 in #(
    533 	-*)set "./$1";;
    534 	esac;
    535 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    536 	???[sx]*):;;*)false;;esac;fi
    537     '\'' sh
    538   '
    539 fi
    540 as_executable_p=$as_test_x
    541 
    542 # Sed expression to map a string onto a valid CPP name.
    543 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    544 
    545 # Sed expression to map a string onto a valid variable name.
    546 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    547 
    548 SHELL=${CONFIG_SHELL-/bin/sh}
    549 
    550 
    551 test -n "$DJDIR" || exec 7<&0 </dev/null
    552 exec 6>&1
    553 
    554 # Name of the host.
    555 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    556 # so uname gets run too.
    557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    558 
    559 #
    560 # Initializations.
    561 #
    562 ac_default_prefix=/usr/local
    563 ac_clean_files=
    564 ac_config_libobj_dir=.
    565 LIBOBJS=
    566 cross_compiling=no
    567 subdirs=
    568 MFLAGS=
    569 MAKEFLAGS=
    570 
    571 # Identity of this package.
    572 PACKAGE_NAME='libXft'
    573 PACKAGE_TARNAME='libXft'
    574 PACKAGE_VERSION='2.3.2'
    575 PACKAGE_STRING='libXft 2.3.2'
    576 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    577 PACKAGE_URL=''
    578 
    579 ac_unique_file="Makefile.am"
    580 # Factoring default headers for most tests.
    581 ac_includes_default="\
    582 #include <stdio.h>
    583 #ifdef HAVE_SYS_TYPES_H
    584 # include <sys/types.h>
    585 #endif
    586 #ifdef HAVE_SYS_STAT_H
    587 # include <sys/stat.h>
    588 #endif
    589 #ifdef STDC_HEADERS
    590 # include <stdlib.h>
    591 # include <stddef.h>
    592 #else
    593 # ifdef HAVE_STDLIB_H
    594 #  include <stdlib.h>
    595 # endif
    596 #endif
    597 #ifdef HAVE_STRING_H
    598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    599 #  include <memory.h>
    600 # endif
    601 # include <string.h>
    602 #endif
    603 #ifdef HAVE_STRINGS_H
    604 # include <strings.h>
    605 #endif
    606 #ifdef HAVE_INTTYPES_H
    607 # include <inttypes.h>
    608 #endif
    609 #ifdef HAVE_STDINT_H
    610 # include <stdint.h>
    611 #endif
    612 #ifdef HAVE_UNISTD_H
    613 # include <unistd.h>
    614 #endif"
    615 
    616 ac_subst_vars='am__EXEEXT_FALSE
    617 am__EXEEXT_TRUE
    618 LTLIBOBJS
    619 LIBOBJS
    620 FONTCONFIG_LIBS
    621 FONTCONFIG_CFLAGS
    622 FREETYPE_LIBS
    623 FREETYPE_CFLAGS
    624 XRENDER_LIBS
    625 XRENDER_CFLAGS
    626 XFT_LT_VERSION
    627 MAN_SUBSTS
    628 XORG_MAN_PAGE
    629 ADMIN_MAN_DIR
    630 DRIVER_MAN_DIR
    631 MISC_MAN_DIR
    632 FILE_MAN_DIR
    633 LIB_MAN_DIR
    634 APP_MAN_DIR
    635 ADMIN_MAN_SUFFIX
    636 DRIVER_MAN_SUFFIX
    637 MISC_MAN_SUFFIX
    638 FILE_MAN_SUFFIX
    639 LIB_MAN_SUFFIX
    640 APP_MAN_SUFFIX
    641 INSTALL_CMD
    642 PKG_CONFIG
    643 CHANGELOG_CMD
    644 STRICT_CFLAGS
    645 CWARNFLAGS
    646 BASE_CFLAGS
    647 CPP
    648 OTOOL64
    649 OTOOL
    650 LIPO
    651 NMEDIT
    652 DSYMUTIL
    653 MANIFEST_TOOL
    654 RANLIB
    655 ac_ct_AR
    656 AR
    657 DLLTOOL
    658 OBJDUMP
    659 LN_S
    660 NM
    661 ac_ct_DUMPBIN
    662 DUMPBIN
    663 LD
    664 FGREP
    665 EGREP
    666 GREP
    667 SED
    668 am__fastdepCC_FALSE
    669 am__fastdepCC_TRUE
    670 CCDEPMODE
    671 am__nodep
    672 AMDEPBACKSLASH
    673 AMDEP_FALSE
    674 AMDEP_TRUE
    675 am__quote
    676 am__include
    677 DEPDIR
    678 OBJEXT
    679 EXEEXT
    680 ac_ct_CC
    681 CPPFLAGS
    682 LDFLAGS
    683 CFLAGS
    684 CC
    685 host_os
    686 host_vendor
    687 host_cpu
    688 host
    689 build_os
    690 build_vendor
    691 build_cpu
    692 build
    693 LIBTOOL
    694 AM_BACKSLASH
    695 AM_DEFAULT_VERBOSITY
    696 AM_DEFAULT_V
    697 AM_V
    698 am__untar
    699 am__tar
    700 AMTAR
    701 am__leading_dot
    702 SET_MAKE
    703 AWK
    704 mkdir_p
    705 MKDIR_P
    706 INSTALL_STRIP_PROGRAM
    707 STRIP
    708 install_sh
    709 MAKEINFO
    710 AUTOHEADER
    711 AUTOMAKE
    712 AUTOCONF
    713 ACLOCAL
    714 VERSION
    715 PACKAGE
    716 CYGPATH_W
    717 am__isrc
    718 INSTALL_DATA
    719 INSTALL_SCRIPT
    720 INSTALL_PROGRAM
    721 target_alias
    722 host_alias
    723 build_alias
    724 LIBS
    725 ECHO_T
    726 ECHO_N
    727 ECHO_C
    728 DEFS
    729 mandir
    730 localedir
    731 libdir
    732 psdir
    733 pdfdir
    734 dvidir
    735 htmldir
    736 infodir
    737 docdir
    738 oldincludedir
    739 includedir
    740 localstatedir
    741 sharedstatedir
    742 sysconfdir
    743 datadir
    744 datarootdir
    745 libexecdir
    746 sbindir
    747 bindir
    748 program_transform_name
    749 prefix
    750 exec_prefix
    751 PACKAGE_URL
    752 PACKAGE_BUGREPORT
    753 PACKAGE_STRING
    754 PACKAGE_VERSION
    755 PACKAGE_TARNAME
    756 PACKAGE_NAME
    757 PATH_SEPARATOR
    758 SHELL'
    759 ac_subst_files=''
    760 ac_user_opts='
    761 enable_option_checking
    762 enable_silent_rules
    763 enable_shared
    764 enable_static
    765 with_pic
    766 enable_fast_install
    767 enable_dependency_tracking
    768 with_gnu_ld
    769 with_sysroot
    770 enable_libtool_lock
    771 enable_selective_werror
    772 enable_strict_compilation
    773 '
    774       ac_precious_vars='build_alias
    775 host_alias
    776 target_alias
    777 CC
    778 CFLAGS
    779 LDFLAGS
    780 LIBS
    781 CPPFLAGS
    782 CPP
    783 PKG_CONFIG
    784 XRENDER_CFLAGS
    785 XRENDER_LIBS
    786 FREETYPE_CFLAGS
    787 FREETYPE_LIBS
    788 FONTCONFIG_CFLAGS
    789 FONTCONFIG_LIBS'
    790 
    791 
    792 # Initialize some variables set by options.
    793 ac_init_help=
    794 ac_init_version=false
    795 ac_unrecognized_opts=
    796 ac_unrecognized_sep=
    797 # The variables have the same names as the options, with
    798 # dashes changed to underlines.
    799 cache_file=/dev/null
    800 exec_prefix=NONE
    801 no_create=
    802 no_recursion=
    803 prefix=NONE
    804 program_prefix=NONE
    805 program_suffix=NONE
    806 program_transform_name=s,x,x,
    807 silent=
    808 site=
    809 srcdir=
    810 verbose=
    811 x_includes=NONE
    812 x_libraries=NONE
    813 
    814 # Installation directory options.
    815 # These are left unexpanded so users can "make install exec_prefix=/foo"
    816 # and all the variables that are supposed to be based on exec_prefix
    817 # by default will actually change.
    818 # Use braces instead of parens because sh, perl, etc. also accept them.
    819 # (The list follows the same order as the GNU Coding Standards.)
    820 bindir='${exec_prefix}/bin'
    821 sbindir='${exec_prefix}/sbin'
    822 libexecdir='${exec_prefix}/libexec'
    823 datarootdir='${prefix}/share'
    824 datadir='${datarootdir}'
    825 sysconfdir='${prefix}/etc'
    826 sharedstatedir='${prefix}/com'
    827 localstatedir='${prefix}/var'
    828 includedir='${prefix}/include'
    829 oldincludedir='/usr/include'
    830 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    831 infodir='${datarootdir}/info'
    832 htmldir='${docdir}'
    833 dvidir='${docdir}'
    834 pdfdir='${docdir}'
    835 psdir='${docdir}'
    836 libdir='${exec_prefix}/lib'
    837 localedir='${datarootdir}/locale'
    838 mandir='${datarootdir}/man'
    839 
    840 ac_prev=
    841 ac_dashdash=
    842 for ac_option
    843 do
    844   # If the previous option needs an argument, assign it.
    845   if test -n "$ac_prev"; then
    846     eval $ac_prev=\$ac_option
    847     ac_prev=
    848     continue
    849   fi
    850 
    851   case $ac_option in
    852   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    853   *=)   ac_optarg= ;;
    854   *)    ac_optarg=yes ;;
    855   esac
    856 
    857   # Accept the important Cygnus configure options, so we can diagnose typos.
    858 
    859   case $ac_dashdash$ac_option in
    860   --)
    861     ac_dashdash=yes ;;
    862 
    863   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    864     ac_prev=bindir ;;
    865   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    866     bindir=$ac_optarg ;;
    867 
    868   -build | --build | --buil | --bui | --bu)
    869     ac_prev=build_alias ;;
    870   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    871     build_alias=$ac_optarg ;;
    872 
    873   -cache-file | --cache-file | --cache-fil | --cache-fi \
    874   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    875     ac_prev=cache_file ;;
    876   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    877   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    878     cache_file=$ac_optarg ;;
    879 
    880   --config-cache | -C)
    881     cache_file=config.cache ;;
    882 
    883   -datadir | --datadir | --datadi | --datad)
    884     ac_prev=datadir ;;
    885   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    886     datadir=$ac_optarg ;;
    887 
    888   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    889   | --dataroo | --dataro | --datar)
    890     ac_prev=datarootdir ;;
    891   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    892   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    893     datarootdir=$ac_optarg ;;
    894 
    895   -disable-* | --disable-*)
    896     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    897     # Reject names that are not valid shell variable names.
    898     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    899       as_fn_error $? "invalid feature name: $ac_useropt"
    900     ac_useropt_orig=$ac_useropt
    901     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    902     case $ac_user_opts in
    903       *"
    904 "enable_$ac_useropt"
    905 "*) ;;
    906       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    907 	 ac_unrecognized_sep=', ';;
    908     esac
    909     eval enable_$ac_useropt=no ;;
    910 
    911   -docdir | --docdir | --docdi | --doc | --do)
    912     ac_prev=docdir ;;
    913   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    914     docdir=$ac_optarg ;;
    915 
    916   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    917     ac_prev=dvidir ;;
    918   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    919     dvidir=$ac_optarg ;;
    920 
    921   -enable-* | --enable-*)
    922     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    923     # Reject names that are not valid shell variable names.
    924     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    925       as_fn_error $? "invalid feature name: $ac_useropt"
    926     ac_useropt_orig=$ac_useropt
    927     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    928     case $ac_user_opts in
    929       *"
    930 "enable_$ac_useropt"
    931 "*) ;;
    932       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    933 	 ac_unrecognized_sep=', ';;
    934     esac
    935     eval enable_$ac_useropt=\$ac_optarg ;;
    936 
    937   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    938   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    939   | --exec | --exe | --ex)
    940     ac_prev=exec_prefix ;;
    941   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    942   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    943   | --exec=* | --exe=* | --ex=*)
    944     exec_prefix=$ac_optarg ;;
    945 
    946   -gas | --gas | --ga | --g)
    947     # Obsolete; use --with-gas.
    948     with_gas=yes ;;
    949 
    950   -help | --help | --hel | --he | -h)
    951     ac_init_help=long ;;
    952   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    953     ac_init_help=recursive ;;
    954   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    955     ac_init_help=short ;;
    956 
    957   -host | --host | --hos | --ho)
    958     ac_prev=host_alias ;;
    959   -host=* | --host=* | --hos=* | --ho=*)
    960     host_alias=$ac_optarg ;;
    961 
    962   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    963     ac_prev=htmldir ;;
    964   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    965   | --ht=*)
    966     htmldir=$ac_optarg ;;
    967 
    968   -includedir | --includedir | --includedi | --included | --include \
    969   | --includ | --inclu | --incl | --inc)
    970     ac_prev=includedir ;;
    971   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    972   | --includ=* | --inclu=* | --incl=* | --inc=*)
    973     includedir=$ac_optarg ;;
    974 
    975   -infodir | --infodir | --infodi | --infod | --info | --inf)
    976     ac_prev=infodir ;;
    977   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    978     infodir=$ac_optarg ;;
    979 
    980   -libdir | --libdir | --libdi | --libd)
    981     ac_prev=libdir ;;
    982   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    983     libdir=$ac_optarg ;;
    984 
    985   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    986   | --libexe | --libex | --libe)
    987     ac_prev=libexecdir ;;
    988   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    989   | --libexe=* | --libex=* | --libe=*)
    990     libexecdir=$ac_optarg ;;
    991 
    992   -localedir | --localedir | --localedi | --localed | --locale)
    993     ac_prev=localedir ;;
    994   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
    995     localedir=$ac_optarg ;;
    996 
    997   -localstatedir | --localstatedir | --localstatedi | --localstated \
    998   | --localstate | --localstat | --localsta | --localst | --locals)
    999     ac_prev=localstatedir ;;
   1000   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1001   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1002     localstatedir=$ac_optarg ;;
   1003 
   1004   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1005     ac_prev=mandir ;;
   1006   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1007     mandir=$ac_optarg ;;
   1008 
   1009   -nfp | --nfp | --nf)
   1010     # Obsolete; use --without-fp.
   1011     with_fp=no ;;
   1012 
   1013   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1014   | --no-cr | --no-c | -n)
   1015     no_create=yes ;;
   1016 
   1017   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1018   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1019     no_recursion=yes ;;
   1020 
   1021   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1022   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1023   | --oldin | --oldi | --old | --ol | --o)
   1024     ac_prev=oldincludedir ;;
   1025   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1026   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1027   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1028     oldincludedir=$ac_optarg ;;
   1029 
   1030   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1031     ac_prev=prefix ;;
   1032   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1033     prefix=$ac_optarg ;;
   1034 
   1035   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1036   | --program-pre | --program-pr | --program-p)
   1037     ac_prev=program_prefix ;;
   1038   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1039   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1040     program_prefix=$ac_optarg ;;
   1041 
   1042   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1043   | --program-suf | --program-su | --program-s)
   1044     ac_prev=program_suffix ;;
   1045   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1046   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1047     program_suffix=$ac_optarg ;;
   1048 
   1049   -program-transform-name | --program-transform-name \
   1050   | --program-transform-nam | --program-transform-na \
   1051   | --program-transform-n | --program-transform- \
   1052   | --program-transform | --program-transfor \
   1053   | --program-transfo | --program-transf \
   1054   | --program-trans | --program-tran \
   1055   | --progr-tra | --program-tr | --program-t)
   1056     ac_prev=program_transform_name ;;
   1057   -program-transform-name=* | --program-transform-name=* \
   1058   | --program-transform-nam=* | --program-transform-na=* \
   1059   | --program-transform-n=* | --program-transform-=* \
   1060   | --program-transform=* | --program-transfor=* \
   1061   | --program-transfo=* | --program-transf=* \
   1062   | --program-trans=* | --program-tran=* \
   1063   | --progr-tra=* | --program-tr=* | --program-t=*)
   1064     program_transform_name=$ac_optarg ;;
   1065 
   1066   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1067     ac_prev=pdfdir ;;
   1068   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1069     pdfdir=$ac_optarg ;;
   1070 
   1071   -psdir | --psdir | --psdi | --psd | --ps)
   1072     ac_prev=psdir ;;
   1073   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1074     psdir=$ac_optarg ;;
   1075 
   1076   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1077   | -silent | --silent | --silen | --sile | --sil)
   1078     silent=yes ;;
   1079 
   1080   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1081     ac_prev=sbindir ;;
   1082   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1083   | --sbi=* | --sb=*)
   1084     sbindir=$ac_optarg ;;
   1085 
   1086   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1087   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1088   | --sharedst | --shareds | --shared | --share | --shar \
   1089   | --sha | --sh)
   1090     ac_prev=sharedstatedir ;;
   1091   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1092   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1093   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1094   | --sha=* | --sh=*)
   1095     sharedstatedir=$ac_optarg ;;
   1096 
   1097   -site | --site | --sit)
   1098     ac_prev=site ;;
   1099   -site=* | --site=* | --sit=*)
   1100     site=$ac_optarg ;;
   1101 
   1102   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1103     ac_prev=srcdir ;;
   1104   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1105     srcdir=$ac_optarg ;;
   1106 
   1107   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1108   | --syscon | --sysco | --sysc | --sys | --sy)
   1109     ac_prev=sysconfdir ;;
   1110   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1111   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1112     sysconfdir=$ac_optarg ;;
   1113 
   1114   -target | --target | --targe | --targ | --tar | --ta | --t)
   1115     ac_prev=target_alias ;;
   1116   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1117     target_alias=$ac_optarg ;;
   1118 
   1119   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1120     verbose=yes ;;
   1121 
   1122   -version | --version | --versio | --versi | --vers | -V)
   1123     ac_init_version=: ;;
   1124 
   1125   -with-* | --with-*)
   1126     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1127     # Reject names that are not valid shell variable names.
   1128     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1129       as_fn_error $? "invalid package name: $ac_useropt"
   1130     ac_useropt_orig=$ac_useropt
   1131     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1132     case $ac_user_opts in
   1133       *"
   1134 "with_$ac_useropt"
   1135 "*) ;;
   1136       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1137 	 ac_unrecognized_sep=', ';;
   1138     esac
   1139     eval with_$ac_useropt=\$ac_optarg ;;
   1140 
   1141   -without-* | --without-*)
   1142     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1143     # Reject names that are not valid shell variable names.
   1144     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1145       as_fn_error $? "invalid package name: $ac_useropt"
   1146     ac_useropt_orig=$ac_useropt
   1147     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1148     case $ac_user_opts in
   1149       *"
   1150 "with_$ac_useropt"
   1151 "*) ;;
   1152       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1153 	 ac_unrecognized_sep=', ';;
   1154     esac
   1155     eval with_$ac_useropt=no ;;
   1156 
   1157   --x)
   1158     # Obsolete; use --with-x.
   1159     with_x=yes ;;
   1160 
   1161   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1162   | --x-incl | --x-inc | --x-in | --x-i)
   1163     ac_prev=x_includes ;;
   1164   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1165   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1166     x_includes=$ac_optarg ;;
   1167 
   1168   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1169   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1170     ac_prev=x_libraries ;;
   1171   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1172   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1173     x_libraries=$ac_optarg ;;
   1174 
   1175   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1176 Try \`$0 --help' for more information"
   1177     ;;
   1178 
   1179   *=*)
   1180     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1181     # Reject names that are not valid shell variable names.
   1182     case $ac_envvar in #(
   1183       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1184       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1185     esac
   1186     eval $ac_envvar=\$ac_optarg
   1187     export $ac_envvar ;;
   1188 
   1189   *)
   1190     # FIXME: should be removed in autoconf 3.0.
   1191     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1192     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1193       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1194     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1195     ;;
   1196 
   1197   esac
   1198 done
   1199 
   1200 if test -n "$ac_prev"; then
   1201   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1202   as_fn_error $? "missing argument to $ac_option"
   1203 fi
   1204 
   1205 if test -n "$ac_unrecognized_opts"; then
   1206   case $enable_option_checking in
   1207     no) ;;
   1208     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1209     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1210   esac
   1211 fi
   1212 
   1213 # Check all directory arguments for consistency.
   1214 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1215 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1216 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1217 		libdir localedir mandir
   1218 do
   1219   eval ac_val=\$$ac_var
   1220   # Remove trailing slashes.
   1221   case $ac_val in
   1222     */ )
   1223       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1224       eval $ac_var=\$ac_val;;
   1225   esac
   1226   # Be sure to have absolute directory names.
   1227   case $ac_val in
   1228     [\\/$]* | ?:[\\/]* )  continue;;
   1229     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1230   esac
   1231   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1232 done
   1233 
   1234 # There might be people who depend on the old broken behavior: `$host'
   1235 # used to hold the argument of --host etc.
   1236 # FIXME: To remove some day.
   1237 build=$build_alias
   1238 host=$host_alias
   1239 target=$target_alias
   1240 
   1241 # FIXME: To remove some day.
   1242 if test "x$host_alias" != x; then
   1243   if test "x$build_alias" = x; then
   1244     cross_compiling=maybe
   1245     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1246     If a cross compiler is detected then cross compile mode will be used" >&2
   1247   elif test "x$build_alias" != "x$host_alias"; then
   1248     cross_compiling=yes
   1249   fi
   1250 fi
   1251 
   1252 ac_tool_prefix=
   1253 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1254 
   1255 test "$silent" = yes && exec 6>/dev/null
   1256 
   1257 
   1258 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1259 ac_ls_di=`ls -di .` &&
   1260 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1261   as_fn_error $? "working directory cannot be determined"
   1262 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1263   as_fn_error $? "pwd does not report name of working directory"
   1264 
   1265 
   1266 # Find the source files, if location was not specified.
   1267 if test -z "$srcdir"; then
   1268   ac_srcdir_defaulted=yes
   1269   # Try the directory containing this script, then the parent directory.
   1270   ac_confdir=`$as_dirname -- "$as_myself" ||
   1271 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1272 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1273 	 X"$as_myself" : 'X\(//\)$' \| \
   1274 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1275 $as_echo X"$as_myself" |
   1276     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1277 	    s//\1/
   1278 	    q
   1279 	  }
   1280 	  /^X\(\/\/\)[^/].*/{
   1281 	    s//\1/
   1282 	    q
   1283 	  }
   1284 	  /^X\(\/\/\)$/{
   1285 	    s//\1/
   1286 	    q
   1287 	  }
   1288 	  /^X\(\/\).*/{
   1289 	    s//\1/
   1290 	    q
   1291 	  }
   1292 	  s/.*/./; q'`
   1293   srcdir=$ac_confdir
   1294   if test ! -r "$srcdir/$ac_unique_file"; then
   1295     srcdir=..
   1296   fi
   1297 else
   1298   ac_srcdir_defaulted=no
   1299 fi
   1300 if test ! -r "$srcdir/$ac_unique_file"; then
   1301   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1302   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1303 fi
   1304 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1305 ac_abs_confdir=`(
   1306 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1307 	pwd)`
   1308 # When building in place, set srcdir=.
   1309 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1310   srcdir=.
   1311 fi
   1312 # Remove unnecessary trailing slashes from srcdir.
   1313 # Double slashes in file names in object file debugging info
   1314 # mess up M-x gdb in Emacs.
   1315 case $srcdir in
   1316 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1317 esac
   1318 for ac_var in $ac_precious_vars; do
   1319   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1320   eval ac_env_${ac_var}_value=\$${ac_var}
   1321   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1322   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1323 done
   1324 
   1325 #
   1326 # Report the --help message.
   1327 #
   1328 if test "$ac_init_help" = "long"; then
   1329   # Omit some internal or obsolete options to make the list less imposing.
   1330   # This message is too long to be a string in the A/UX 3.1 sh.
   1331   cat <<_ACEOF
   1332 \`configure' configures libXft 2.3.2 to adapt to many kinds of systems.
   1333 
   1334 Usage: $0 [OPTION]... [VAR=VALUE]...
   1335 
   1336 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1337 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1338 
   1339 Defaults for the options are specified in brackets.
   1340 
   1341 Configuration:
   1342   -h, --help              display this help and exit
   1343       --help=short        display options specific to this package
   1344       --help=recursive    display the short help of all the included packages
   1345   -V, --version           display version information and exit
   1346   -q, --quiet, --silent   do not print \`checking ...' messages
   1347       --cache-file=FILE   cache test results in FILE [disabled]
   1348   -C, --config-cache      alias for \`--cache-file=config.cache'
   1349   -n, --no-create         do not create output files
   1350       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1351 
   1352 Installation directories:
   1353   --prefix=PREFIX         install architecture-independent files in PREFIX
   1354                           [$ac_default_prefix]
   1355   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1356                           [PREFIX]
   1357 
   1358 By default, \`make install' will install all the files in
   1359 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1360 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1361 for instance \`--prefix=\$HOME'.
   1362 
   1363 For better control, use the options below.
   1364 
   1365 Fine tuning of the installation directories:
   1366   --bindir=DIR            user executables [EPREFIX/bin]
   1367   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1368   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1369   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1370   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1371   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1372   --libdir=DIR            object code libraries [EPREFIX/lib]
   1373   --includedir=DIR        C header files [PREFIX/include]
   1374   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1375   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1376   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1377   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1378   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1379   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1380   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXft]
   1381   --htmldir=DIR           html documentation [DOCDIR]
   1382   --dvidir=DIR            dvi documentation [DOCDIR]
   1383   --pdfdir=DIR            pdf documentation [DOCDIR]
   1384   --psdir=DIR             ps documentation [DOCDIR]
   1385 _ACEOF
   1386 
   1387   cat <<\_ACEOF
   1388 
   1389 Program names:
   1390   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1391   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1392   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1393 
   1394 System types:
   1395   --build=BUILD     configure for building on BUILD [guessed]
   1396   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1397 _ACEOF
   1398 fi
   1399 
   1400 if test -n "$ac_init_help"; then
   1401   case $ac_init_help in
   1402      short | recursive ) echo "Configuration of libXft 2.3.2:";;
   1403    esac
   1404   cat <<\_ACEOF
   1405 
   1406 Optional Features:
   1407   --disable-option-checking  ignore unrecognized --enable/--with options
   1408   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1409   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1410   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1411   --disable-silent-rules  verbose build output (undo: "make V=0")
   1412   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1413   --enable-static[=PKGS]  build static libraries [default=yes]
   1414   --enable-fast-install[=PKGS]
   1415                           optimize for fast installation [default=yes]
   1416   --enable-dependency-tracking
   1417                           do not reject slow dependency extractors
   1418   --disable-dependency-tracking
   1419                           speeds up one-time build
   1420   --disable-libtool-lock  avoid locking (might break parallel builds)
   1421   --disable-selective-werror
   1422                           Turn off selective compiler errors. (default:
   1423                           enabled)
   1424   --enable-strict-compilation
   1425                           Enable all warnings from compiler and make them
   1426                           errors (default: disabled)
   1427 
   1428 Optional Packages:
   1429   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1430   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1431   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1432                           both]
   1433   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1434   --with-sysroot=DIR Search for dependent libraries within DIR
   1435                         (or the compiler's sysroot if not specified).
   1436 
   1437 Some influential environment variables:
   1438   CC          C compiler command
   1439   CFLAGS      C compiler flags
   1440   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1441               nonstandard directory <lib dir>
   1442   LIBS        libraries to pass to the linker, e.g. -l<library>
   1443   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1444               you have headers in a nonstandard directory <include dir>
   1445   CPP         C preprocessor
   1446   PKG_CONFIG  path to pkg-config utility
   1447   XRENDER_CFLAGS
   1448               C compiler flags for XRENDER, overriding pkg-config
   1449   XRENDER_LIBS
   1450               linker flags for XRENDER, overriding pkg-config
   1451   FREETYPE_CFLAGS
   1452               C compiler flags for FREETYPE, overriding pkg-config
   1453   FREETYPE_LIBS
   1454               linker flags for FREETYPE, overriding pkg-config
   1455   FONTCONFIG_CFLAGS
   1456               C compiler flags for FONTCONFIG, overriding pkg-config
   1457   FONTCONFIG_LIBS
   1458               linker flags for FONTCONFIG, overriding pkg-config
   1459 
   1460 Use these variables to override the choices made by `configure' or to help
   1461 it to find libraries and programs with nonstandard names/locations.
   1462 
   1463 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1464 _ACEOF
   1465 ac_status=$?
   1466 fi
   1467 
   1468 if test "$ac_init_help" = "recursive"; then
   1469   # If there are subdirs, report their specific --help.
   1470   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1471     test -d "$ac_dir" ||
   1472       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1473       continue
   1474     ac_builddir=.
   1475 
   1476 case "$ac_dir" in
   1477 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1478 *)
   1479   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1480   # A ".." for each directory in $ac_dir_suffix.
   1481   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1482   case $ac_top_builddir_sub in
   1483   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1484   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1485   esac ;;
   1486 esac
   1487 ac_abs_top_builddir=$ac_pwd
   1488 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1489 # for backward compatibility:
   1490 ac_top_builddir=$ac_top_build_prefix
   1491 
   1492 case $srcdir in
   1493   .)  # We are building in place.
   1494     ac_srcdir=.
   1495     ac_top_srcdir=$ac_top_builddir_sub
   1496     ac_abs_top_srcdir=$ac_pwd ;;
   1497   [\\/]* | ?:[\\/]* )  # Absolute name.
   1498     ac_srcdir=$srcdir$ac_dir_suffix;
   1499     ac_top_srcdir=$srcdir
   1500     ac_abs_top_srcdir=$srcdir ;;
   1501   *) # Relative name.
   1502     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1503     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1504     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1505 esac
   1506 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1507 
   1508     cd "$ac_dir" || { ac_status=$?; continue; }
   1509     # Check for guested configure.
   1510     if test -f "$ac_srcdir/configure.gnu"; then
   1511       echo &&
   1512       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1513     elif test -f "$ac_srcdir/configure"; then
   1514       echo &&
   1515       $SHELL "$ac_srcdir/configure" --help=recursive
   1516     else
   1517       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1518     fi || ac_status=$?
   1519     cd "$ac_pwd" || { ac_status=$?; break; }
   1520   done
   1521 fi
   1522 
   1523 test -n "$ac_init_help" && exit $ac_status
   1524 if $ac_init_version; then
   1525   cat <<\_ACEOF
   1526 libXft configure 2.3.2
   1527 generated by GNU Autoconf 2.68
   1528 
   1529 Copyright (C) 2010 Free Software Foundation, Inc.
   1530 This configure script is free software; the Free Software Foundation
   1531 gives unlimited permission to copy, distribute and modify it.
   1532 _ACEOF
   1533   exit
   1534 fi
   1535 
   1536 ## ------------------------ ##
   1537 ## Autoconf initialization. ##
   1538 ## ------------------------ ##
   1539 
   1540 # ac_fn_c_try_compile LINENO
   1541 # --------------------------
   1542 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1543 ac_fn_c_try_compile ()
   1544 {
   1545   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1546   rm -f conftest.$ac_objext
   1547   if { { ac_try="$ac_compile"
   1548 case "(($ac_try" in
   1549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1550   *) ac_try_echo=$ac_try;;
   1551 esac
   1552 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1553 $as_echo "$ac_try_echo"; } >&5
   1554   (eval "$ac_compile") 2>conftest.err
   1555   ac_status=$?
   1556   if test -s conftest.err; then
   1557     grep -v '^ *+' conftest.err >conftest.er1
   1558     cat conftest.er1 >&5
   1559     mv -f conftest.er1 conftest.err
   1560   fi
   1561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1562   test $ac_status = 0; } && {
   1563 	 test -z "$ac_c_werror_flag" ||
   1564 	 test ! -s conftest.err
   1565        } && test -s conftest.$ac_objext; then :
   1566   ac_retval=0
   1567 else
   1568   $as_echo "$as_me: failed program was:" >&5
   1569 sed 's/^/| /' conftest.$ac_ext >&5
   1570 
   1571 	ac_retval=1
   1572 fi
   1573   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1574   as_fn_set_status $ac_retval
   1575 
   1576 } # ac_fn_c_try_compile
   1577 
   1578 # ac_fn_c_try_link LINENO
   1579 # -----------------------
   1580 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1581 ac_fn_c_try_link ()
   1582 {
   1583   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1584   rm -f conftest.$ac_objext conftest$ac_exeext
   1585   if { { ac_try="$ac_link"
   1586 case "(($ac_try" in
   1587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1588   *) ac_try_echo=$ac_try;;
   1589 esac
   1590 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1591 $as_echo "$ac_try_echo"; } >&5
   1592   (eval "$ac_link") 2>conftest.err
   1593   ac_status=$?
   1594   if test -s conftest.err; then
   1595     grep -v '^ *+' conftest.err >conftest.er1
   1596     cat conftest.er1 >&5
   1597     mv -f conftest.er1 conftest.err
   1598   fi
   1599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1600   test $ac_status = 0; } && {
   1601 	 test -z "$ac_c_werror_flag" ||
   1602 	 test ! -s conftest.err
   1603        } && test -s conftest$ac_exeext && {
   1604 	 test "$cross_compiling" = yes ||
   1605 	 $as_test_x conftest$ac_exeext
   1606        }; then :
   1607   ac_retval=0
   1608 else
   1609   $as_echo "$as_me: failed program was:" >&5
   1610 sed 's/^/| /' conftest.$ac_ext >&5
   1611 
   1612 	ac_retval=1
   1613 fi
   1614   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1615   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1616   # interfere with the next link command; also delete a directory that is
   1617   # left behind by Apple's compiler.  We do this before executing the actions.
   1618   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620   as_fn_set_status $ac_retval
   1621 
   1622 } # ac_fn_c_try_link
   1623 
   1624 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1625 # -------------------------------------------------------
   1626 # Tests whether HEADER exists and can be compiled using the include files in
   1627 # INCLUDES, setting the cache variable VAR accordingly.
   1628 ac_fn_c_check_header_compile ()
   1629 {
   1630   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1631   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1632 $as_echo_n "checking for $2... " >&6; }
   1633 if eval \${$3+:} false; then :
   1634   $as_echo_n "(cached) " >&6
   1635 else
   1636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1637 /* end confdefs.h.  */
   1638 $4
   1639 #include <$2>
   1640 _ACEOF
   1641 if ac_fn_c_try_compile "$LINENO"; then :
   1642   eval "$3=yes"
   1643 else
   1644   eval "$3=no"
   1645 fi
   1646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1647 fi
   1648 eval ac_res=\$$3
   1649 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1650 $as_echo "$ac_res" >&6; }
   1651   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1652 
   1653 } # ac_fn_c_check_header_compile
   1654 
   1655 # ac_fn_c_try_cpp LINENO
   1656 # ----------------------
   1657 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1658 ac_fn_c_try_cpp ()
   1659 {
   1660   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1661   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1662 case "(($ac_try" in
   1663   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1664   *) ac_try_echo=$ac_try;;
   1665 esac
   1666 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1667 $as_echo "$ac_try_echo"; } >&5
   1668   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1669   ac_status=$?
   1670   if test -s conftest.err; then
   1671     grep -v '^ *+' conftest.err >conftest.er1
   1672     cat conftest.er1 >&5
   1673     mv -f conftest.er1 conftest.err
   1674   fi
   1675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1676   test $ac_status = 0; } > conftest.i && {
   1677 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1678 	 test ! -s conftest.err
   1679        }; then :
   1680   ac_retval=0
   1681 else
   1682   $as_echo "$as_me: failed program was:" >&5
   1683 sed 's/^/| /' conftest.$ac_ext >&5
   1684 
   1685     ac_retval=1
   1686 fi
   1687   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1688   as_fn_set_status $ac_retval
   1689 
   1690 } # ac_fn_c_try_cpp
   1691 
   1692 # ac_fn_c_try_run LINENO
   1693 # ----------------------
   1694 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1695 # that executables *can* be run.
   1696 ac_fn_c_try_run ()
   1697 {
   1698   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1699   if { { ac_try="$ac_link"
   1700 case "(($ac_try" in
   1701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1702   *) ac_try_echo=$ac_try;;
   1703 esac
   1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1705 $as_echo "$ac_try_echo"; } >&5
   1706   (eval "$ac_link") 2>&5
   1707   ac_status=$?
   1708   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1709   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1710   { { case "(($ac_try" in
   1711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1712   *) ac_try_echo=$ac_try;;
   1713 esac
   1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1715 $as_echo "$ac_try_echo"; } >&5
   1716   (eval "$ac_try") 2>&5
   1717   ac_status=$?
   1718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1719   test $ac_status = 0; }; }; then :
   1720   ac_retval=0
   1721 else
   1722   $as_echo "$as_me: program exited with status $ac_status" >&5
   1723        $as_echo "$as_me: failed program was:" >&5
   1724 sed 's/^/| /' conftest.$ac_ext >&5
   1725 
   1726        ac_retval=$ac_status
   1727 fi
   1728   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1729   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1730   as_fn_set_status $ac_retval
   1731 
   1732 } # ac_fn_c_try_run
   1733 
   1734 # ac_fn_c_check_func LINENO FUNC VAR
   1735 # ----------------------------------
   1736 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1737 ac_fn_c_check_func ()
   1738 {
   1739   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1740   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1741 $as_echo_n "checking for $2... " >&6; }
   1742 if eval \${$3+:} false; then :
   1743   $as_echo_n "(cached) " >&6
   1744 else
   1745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1746 /* end confdefs.h.  */
   1747 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1748    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1749 #define $2 innocuous_$2
   1750 
   1751 /* System header to define __stub macros and hopefully few prototypes,
   1752     which can conflict with char $2 (); below.
   1753     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1754     <limits.h> exists even on freestanding compilers.  */
   1755 
   1756 #ifdef __STDC__
   1757 # include <limits.h>
   1758 #else
   1759 # include <assert.h>
   1760 #endif
   1761 
   1762 #undef $2
   1763 
   1764 /* Override any GCC internal prototype to avoid an error.
   1765    Use char because int might match the return type of a GCC
   1766    builtin and then its argument prototype would still apply.  */
   1767 #ifdef __cplusplus
   1768 extern "C"
   1769 #endif
   1770 char $2 ();
   1771 /* The GNU C library defines this for functions which it implements
   1772     to always fail with ENOSYS.  Some functions are actually named
   1773     something starting with __ and the normal name is an alias.  */
   1774 #if defined __stub_$2 || defined __stub___$2
   1775 choke me
   1776 #endif
   1777 
   1778 int
   1779 main ()
   1780 {
   1781 return $2 ();
   1782   ;
   1783   return 0;
   1784 }
   1785 _ACEOF
   1786 if ac_fn_c_try_link "$LINENO"; then :
   1787   eval "$3=yes"
   1788 else
   1789   eval "$3=no"
   1790 fi
   1791 rm -f core conftest.err conftest.$ac_objext \
   1792     conftest$ac_exeext conftest.$ac_ext
   1793 fi
   1794 eval ac_res=\$$3
   1795 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1796 $as_echo "$ac_res" >&6; }
   1797   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1798 
   1799 } # ac_fn_c_check_func
   1800 
   1801 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1802 # ---------------------------------------------
   1803 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1804 # accordingly.
   1805 ac_fn_c_check_decl ()
   1806 {
   1807   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1808   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1809   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1810   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1811 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1812 if eval \${$3+:} false; then :
   1813   $as_echo_n "(cached) " >&6
   1814 else
   1815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1816 /* end confdefs.h.  */
   1817 $4
   1818 int
   1819 main ()
   1820 {
   1821 #ifndef $as_decl_name
   1822 #ifdef __cplusplus
   1823   (void) $as_decl_use;
   1824 #else
   1825   (void) $as_decl_name;
   1826 #endif
   1827 #endif
   1828 
   1829   ;
   1830   return 0;
   1831 }
   1832 _ACEOF
   1833 if ac_fn_c_try_compile "$LINENO"; then :
   1834   eval "$3=yes"
   1835 else
   1836   eval "$3=no"
   1837 fi
   1838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1839 fi
   1840 eval ac_res=\$$3
   1841 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1842 $as_echo "$ac_res" >&6; }
   1843   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1844 
   1845 } # ac_fn_c_check_decl
   1846 cat >config.log <<_ACEOF
   1847 This file contains any messages produced by compilers while
   1848 running configure, to aid debugging if configure makes a mistake.
   1849 
   1850 It was created by libXft $as_me 2.3.2, which was
   1851 generated by GNU Autoconf 2.68.  Invocation command line was
   1852 
   1853   $ $0 $@
   1854 
   1855 _ACEOF
   1856 exec 5>>config.log
   1857 {
   1858 cat <<_ASUNAME
   1859 ## --------- ##
   1860 ## Platform. ##
   1861 ## --------- ##
   1862 
   1863 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1864 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1865 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1866 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1867 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1868 
   1869 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1870 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1871 
   1872 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1873 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1874 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1875 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1876 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1877 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1878 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1879 
   1880 _ASUNAME
   1881 
   1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1883 for as_dir in $PATH
   1884 do
   1885   IFS=$as_save_IFS
   1886   test -z "$as_dir" && as_dir=.
   1887     $as_echo "PATH: $as_dir"
   1888   done
   1889 IFS=$as_save_IFS
   1890 
   1891 } >&5
   1892 
   1893 cat >&5 <<_ACEOF
   1894 
   1895 
   1896 ## ----------- ##
   1897 ## Core tests. ##
   1898 ## ----------- ##
   1899 
   1900 _ACEOF
   1901 
   1902 
   1903 # Keep a trace of the command line.
   1904 # Strip out --no-create and --no-recursion so they do not pile up.
   1905 # Strip out --silent because we don't want to record it for future runs.
   1906 # Also quote any args containing shell meta-characters.
   1907 # Make two passes to allow for proper duplicate-argument suppression.
   1908 ac_configure_args=
   1909 ac_configure_args0=
   1910 ac_configure_args1=
   1911 ac_must_keep_next=false
   1912 for ac_pass in 1 2
   1913 do
   1914   for ac_arg
   1915   do
   1916     case $ac_arg in
   1917     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1918     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1919     | -silent | --silent | --silen | --sile | --sil)
   1920       continue ;;
   1921     *\'*)
   1922       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1923     esac
   1924     case $ac_pass in
   1925     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1926     2)
   1927       as_fn_append ac_configure_args1 " '$ac_arg'"
   1928       if test $ac_must_keep_next = true; then
   1929 	ac_must_keep_next=false # Got value, back to normal.
   1930       else
   1931 	case $ac_arg in
   1932 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1933 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1934 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1935 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1936 	    case "$ac_configure_args0 " in
   1937 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1938 	    esac
   1939 	    ;;
   1940 	  -* ) ac_must_keep_next=true ;;
   1941 	esac
   1942       fi
   1943       as_fn_append ac_configure_args " '$ac_arg'"
   1944       ;;
   1945     esac
   1946   done
   1947 done
   1948 { ac_configure_args0=; unset ac_configure_args0;}
   1949 { ac_configure_args1=; unset ac_configure_args1;}
   1950 
   1951 # When interrupted or exit'd, cleanup temporary files, and complete
   1952 # config.log.  We remove comments because anyway the quotes in there
   1953 # would cause problems or look ugly.
   1954 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1955 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1956 trap 'exit_status=$?
   1957   # Save into config.log some information that might help in debugging.
   1958   {
   1959     echo
   1960 
   1961     $as_echo "## ---------------- ##
   1962 ## Cache variables. ##
   1963 ## ---------------- ##"
   1964     echo
   1965     # The following way of writing the cache mishandles newlines in values,
   1966 (
   1967   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1968     eval ac_val=\$$ac_var
   1969     case $ac_val in #(
   1970     *${as_nl}*)
   1971       case $ac_var in #(
   1972       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1973 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1974       esac
   1975       case $ac_var in #(
   1976       _ | IFS | as_nl) ;; #(
   1977       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1978       *) { eval $ac_var=; unset $ac_var;} ;;
   1979       esac ;;
   1980     esac
   1981   done
   1982   (set) 2>&1 |
   1983     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1984     *${as_nl}ac_space=\ *)
   1985       sed -n \
   1986 	"s/'\''/'\''\\\\'\'''\''/g;
   1987 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1988       ;; #(
   1989     *)
   1990       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   1991       ;;
   1992     esac |
   1993     sort
   1994 )
   1995     echo
   1996 
   1997     $as_echo "## ----------------- ##
   1998 ## Output variables. ##
   1999 ## ----------------- ##"
   2000     echo
   2001     for ac_var in $ac_subst_vars
   2002     do
   2003       eval ac_val=\$$ac_var
   2004       case $ac_val in
   2005       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2006       esac
   2007       $as_echo "$ac_var='\''$ac_val'\''"
   2008     done | sort
   2009     echo
   2010 
   2011     if test -n "$ac_subst_files"; then
   2012       $as_echo "## ------------------- ##
   2013 ## File substitutions. ##
   2014 ## ------------------- ##"
   2015       echo
   2016       for ac_var in $ac_subst_files
   2017       do
   2018 	eval ac_val=\$$ac_var
   2019 	case $ac_val in
   2020 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2021 	esac
   2022 	$as_echo "$ac_var='\''$ac_val'\''"
   2023       done | sort
   2024       echo
   2025     fi
   2026 
   2027     if test -s confdefs.h; then
   2028       $as_echo "## ----------- ##
   2029 ## confdefs.h. ##
   2030 ## ----------- ##"
   2031       echo
   2032       cat confdefs.h
   2033       echo
   2034     fi
   2035     test "$ac_signal" != 0 &&
   2036       $as_echo "$as_me: caught signal $ac_signal"
   2037     $as_echo "$as_me: exit $exit_status"
   2038   } >&5
   2039   rm -f core *.core core.conftest.* &&
   2040     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2041     exit $exit_status
   2042 ' 0
   2043 for ac_signal in 1 2 13 15; do
   2044   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2045 done
   2046 ac_signal=0
   2047 
   2048 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2049 rm -f -r conftest* confdefs.h
   2050 
   2051 $as_echo "/* confdefs.h */" > confdefs.h
   2052 
   2053 # Predefined preprocessor variables.
   2054 
   2055 cat >>confdefs.h <<_ACEOF
   2056 #define PACKAGE_NAME "$PACKAGE_NAME"
   2057 _ACEOF
   2058 
   2059 cat >>confdefs.h <<_ACEOF
   2060 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2061 _ACEOF
   2062 
   2063 cat >>confdefs.h <<_ACEOF
   2064 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2065 _ACEOF
   2066 
   2067 cat >>confdefs.h <<_ACEOF
   2068 #define PACKAGE_STRING "$PACKAGE_STRING"
   2069 _ACEOF
   2070 
   2071 cat >>confdefs.h <<_ACEOF
   2072 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2073 _ACEOF
   2074 
   2075 cat >>confdefs.h <<_ACEOF
   2076 #define PACKAGE_URL "$PACKAGE_URL"
   2077 _ACEOF
   2078 
   2079 
   2080 # Let the site file select an alternate cache file if it wants to.
   2081 # Prefer an explicitly selected file to automatically selected ones.
   2082 ac_site_file1=NONE
   2083 ac_site_file2=NONE
   2084 if test -n "$CONFIG_SITE"; then
   2085   # We do not want a PATH search for config.site.
   2086   case $CONFIG_SITE in #((
   2087     -*)  ac_site_file1=./$CONFIG_SITE;;
   2088     */*) ac_site_file1=$CONFIG_SITE;;
   2089     *)   ac_site_file1=./$CONFIG_SITE;;
   2090   esac
   2091 elif test "x$prefix" != xNONE; then
   2092   ac_site_file1=$prefix/share/config.site
   2093   ac_site_file2=$prefix/etc/config.site
   2094 else
   2095   ac_site_file1=$ac_default_prefix/share/config.site
   2096   ac_site_file2=$ac_default_prefix/etc/config.site
   2097 fi
   2098 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2099 do
   2100   test "x$ac_site_file" = xNONE && continue
   2101   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2102     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2103 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2104     sed 's/^/| /' "$ac_site_file" >&5
   2105     . "$ac_site_file" \
   2106       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2108 as_fn_error $? "failed to load site script $ac_site_file
   2109 See \`config.log' for more details" "$LINENO" 5; }
   2110   fi
   2111 done
   2112 
   2113 if test -r "$cache_file"; then
   2114   # Some versions of bash will fail to source /dev/null (special files
   2115   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2116   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2117     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2118 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2119     case $cache_file in
   2120       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2121       *)                      . "./$cache_file";;
   2122     esac
   2123   fi
   2124 else
   2125   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2126 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2127   >$cache_file
   2128 fi
   2129 
   2130 # Check that the precious variables saved in the cache have kept the same
   2131 # value.
   2132 ac_cache_corrupted=false
   2133 for ac_var in $ac_precious_vars; do
   2134   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2135   eval ac_new_set=\$ac_env_${ac_var}_set
   2136   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2137   eval ac_new_val=\$ac_env_${ac_var}_value
   2138   case $ac_old_set,$ac_new_set in
   2139     set,)
   2140       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2141 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2142       ac_cache_corrupted=: ;;
   2143     ,set)
   2144       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2145 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2146       ac_cache_corrupted=: ;;
   2147     ,);;
   2148     *)
   2149       if test "x$ac_old_val" != "x$ac_new_val"; then
   2150 	# differences in whitespace do not lead to failure.
   2151 	ac_old_val_w=`echo x $ac_old_val`
   2152 	ac_new_val_w=`echo x $ac_new_val`
   2153 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2154 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2155 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2156 	  ac_cache_corrupted=:
   2157 	else
   2158 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2159 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2160 	  eval $ac_var=\$ac_old_val
   2161 	fi
   2162 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2163 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2164 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2165 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2166       fi;;
   2167   esac
   2168   # Pass precious variables to config.status.
   2169   if test "$ac_new_set" = set; then
   2170     case $ac_new_val in
   2171     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2172     *) ac_arg=$ac_var=$ac_new_val ;;
   2173     esac
   2174     case " $ac_configure_args " in
   2175       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2176       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2177     esac
   2178   fi
   2179 done
   2180 if $ac_cache_corrupted; then
   2181   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2182 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2183   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2184 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2185   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2186 fi
   2187 ## -------------------- ##
   2188 ## Main body of script. ##
   2189 ## -------------------- ##
   2190 
   2191 ac_ext=c
   2192 ac_cpp='$CPP $CPPFLAGS'
   2193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2196 
   2197 
   2198 
   2199 ac_config_headers="$ac_config_headers config.h"
   2200 
   2201 
   2202 # Initialize Automake
   2203 am__api_version='1.14'
   2204 
   2205 ac_aux_dir=
   2206 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2207   if test -f "$ac_dir/install-sh"; then
   2208     ac_aux_dir=$ac_dir
   2209     ac_install_sh="$ac_aux_dir/install-sh -c"
   2210     break
   2211   elif test -f "$ac_dir/install.sh"; then
   2212     ac_aux_dir=$ac_dir
   2213     ac_install_sh="$ac_aux_dir/install.sh -c"
   2214     break
   2215   elif test -f "$ac_dir/shtool"; then
   2216     ac_aux_dir=$ac_dir
   2217     ac_install_sh="$ac_aux_dir/shtool install -c"
   2218     break
   2219   fi
   2220 done
   2221 if test -z "$ac_aux_dir"; then
   2222   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2223 fi
   2224 
   2225 # These three variables are undocumented and unsupported,
   2226 # and are intended to be withdrawn in a future Autoconf release.
   2227 # They can cause serious problems if a builder's source tree is in a directory
   2228 # whose full name contains unusual characters.
   2229 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2230 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2231 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2232 
   2233 
   2234 # Find a good install program.  We prefer a C program (faster),
   2235 # so one script is as good as another.  But avoid the broken or
   2236 # incompatible versions:
   2237 # SysV /etc/install, /usr/sbin/install
   2238 # SunOS /usr/etc/install
   2239 # IRIX /sbin/install
   2240 # AIX /bin/install
   2241 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2242 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2243 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2244 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2245 # OS/2's system install, which has a completely different semantic
   2246 # ./install, which can be erroneously created by make from ./install.sh.
   2247 # Reject install programs that cannot install multiple files.
   2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2249 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2250 if test -z "$INSTALL"; then
   2251 if ${ac_cv_path_install+:} false; then :
   2252   $as_echo_n "(cached) " >&6
   2253 else
   2254   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2255 for as_dir in $PATH
   2256 do
   2257   IFS=$as_save_IFS
   2258   test -z "$as_dir" && as_dir=.
   2259     # Account for people who put trailing slashes in PATH elements.
   2260 case $as_dir/ in #((
   2261   ./ | .// | /[cC]/* | \
   2262   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2263   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2264   /usr/ucb/* ) ;;
   2265   *)
   2266     # OSF1 and SCO ODT 3.0 have their own names for install.
   2267     # Don't use installbsd from OSF since it installs stuff as root
   2268     # by default.
   2269     for ac_prog in ginstall scoinst install; do
   2270       for ac_exec_ext in '' $ac_executable_extensions; do
   2271 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2272 	  if test $ac_prog = install &&
   2273 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2274 	    # AIX install.  It has an incompatible calling convention.
   2275 	    :
   2276 	  elif test $ac_prog = install &&
   2277 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2278 	    # program-specific install script used by HP pwplus--don't use.
   2279 	    :
   2280 	  else
   2281 	    rm -rf conftest.one conftest.two conftest.dir
   2282 	    echo one > conftest.one
   2283 	    echo two > conftest.two
   2284 	    mkdir conftest.dir
   2285 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2286 	      test -s conftest.one && test -s conftest.two &&
   2287 	      test -s conftest.dir/conftest.one &&
   2288 	      test -s conftest.dir/conftest.two
   2289 	    then
   2290 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2291 	      break 3
   2292 	    fi
   2293 	  fi
   2294 	fi
   2295       done
   2296     done
   2297     ;;
   2298 esac
   2299 
   2300   done
   2301 IFS=$as_save_IFS
   2302 
   2303 rm -rf conftest.one conftest.two conftest.dir
   2304 
   2305 fi
   2306   if test "${ac_cv_path_install+set}" = set; then
   2307     INSTALL=$ac_cv_path_install
   2308   else
   2309     # As a last resort, use the slow shell script.  Don't cache a
   2310     # value for INSTALL within a source directory, because that will
   2311     # break other packages using the cache if that directory is
   2312     # removed, or if the value is a relative name.
   2313     INSTALL=$ac_install_sh
   2314   fi
   2315 fi
   2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2317 $as_echo "$INSTALL" >&6; }
   2318 
   2319 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2320 # It thinks the first close brace ends the variable substitution.
   2321 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2322 
   2323 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2324 
   2325 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2326 
   2327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2328 $as_echo_n "checking whether build environment is sane... " >&6; }
   2329 # Reject unsafe characters in $srcdir or the absolute working directory
   2330 # name.  Accept space and tab only in the latter.
   2331 am_lf='
   2332 '
   2333 case `pwd` in
   2334   *[\\\"\#\$\&\'\`$am_lf]*)
   2335     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2336 esac
   2337 case $srcdir in
   2338   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2339     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2340 esac
   2341 
   2342 # Do 'set' in a subshell so we don't clobber the current shell's
   2343 # arguments.  Must try -L first in case configure is actually a
   2344 # symlink; some systems play weird games with the mod time of symlinks
   2345 # (eg FreeBSD returns the mod time of the symlink's containing
   2346 # directory).
   2347 if (
   2348    am_has_slept=no
   2349    for am_try in 1 2; do
   2350      echo "timestamp, slept: $am_has_slept" > conftest.file
   2351      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2352      if test "$*" = "X"; then
   2353 	# -L didn't work.
   2354 	set X `ls -t "$srcdir/configure" conftest.file`
   2355      fi
   2356      if test "$*" != "X $srcdir/configure conftest.file" \
   2357 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2358 
   2359 	# If neither matched, then we have a broken ls.  This can happen
   2360 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2361 	# broken ls alias from the environment.  This has actually
   2362 	# happened.  Such a system could not be considered "sane".
   2363 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2364   alias in your environment" "$LINENO" 5
   2365      fi
   2366      if test "$2" = conftest.file || test $am_try -eq 2; then
   2367        break
   2368      fi
   2369      # Just in case.
   2370      sleep 1
   2371      am_has_slept=yes
   2372    done
   2373    test "$2" = conftest.file
   2374    )
   2375 then
   2376    # Ok.
   2377    :
   2378 else
   2379    as_fn_error $? "newly created file is older than distributed files!
   2380 Check your system clock" "$LINENO" 5
   2381 fi
   2382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2383 $as_echo "yes" >&6; }
   2384 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2385 # generated files are strictly newer.
   2386 am_sleep_pid=
   2387 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2388   ( sleep 1 ) &
   2389   am_sleep_pid=$!
   2390 fi
   2391 
   2392 rm -f conftest.file
   2393 
   2394 test "$program_prefix" != NONE &&
   2395   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2396 # Use a double $ so make ignores it.
   2397 test "$program_suffix" != NONE &&
   2398   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2399 # Double any \ or $.
   2400 # By default was `s,x,x', remove it if useless.
   2401 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2402 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2403 
   2404 # expand $ac_aux_dir to an absolute path
   2405 am_aux_dir=`cd $ac_aux_dir && pwd`
   2406 
   2407 if test x"${MISSING+set}" != xset; then
   2408   case $am_aux_dir in
   2409   *\ * | *\	*)
   2410     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2411   *)
   2412     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2413   esac
   2414 fi
   2415 # Use eval to expand $SHELL
   2416 if eval "$MISSING --is-lightweight"; then
   2417   am_missing_run="$MISSING "
   2418 else
   2419   am_missing_run=
   2420   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2421 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2422 fi
   2423 
   2424 if test x"${install_sh}" != xset; then
   2425   case $am_aux_dir in
   2426   *\ * | *\	*)
   2427     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2428   *)
   2429     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2430   esac
   2431 fi
   2432 
   2433 # Installed binaries are usually stripped using 'strip' when the user
   2434 # run "make install-strip".  However 'strip' might not be the right
   2435 # tool to use in cross-compilation environments, therefore Automake
   2436 # will honor the 'STRIP' environment variable to overrule this program.
   2437 if test "$cross_compiling" != no; then
   2438   if test -n "$ac_tool_prefix"; then
   2439   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2440 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2442 $as_echo_n "checking for $ac_word... " >&6; }
   2443 if ${ac_cv_prog_STRIP+:} false; then :
   2444   $as_echo_n "(cached) " >&6
   2445 else
   2446   if test -n "$STRIP"; then
   2447   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2448 else
   2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2450 for as_dir in $PATH
   2451 do
   2452   IFS=$as_save_IFS
   2453   test -z "$as_dir" && as_dir=.
   2454     for ac_exec_ext in '' $ac_executable_extensions; do
   2455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2456     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2457     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2458     break 2
   2459   fi
   2460 done
   2461   done
   2462 IFS=$as_save_IFS
   2463 
   2464 fi
   2465 fi
   2466 STRIP=$ac_cv_prog_STRIP
   2467 if test -n "$STRIP"; then
   2468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2469 $as_echo "$STRIP" >&6; }
   2470 else
   2471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2472 $as_echo "no" >&6; }
   2473 fi
   2474 
   2475 
   2476 fi
   2477 if test -z "$ac_cv_prog_STRIP"; then
   2478   ac_ct_STRIP=$STRIP
   2479   # Extract the first word of "strip", so it can be a program name with args.
   2480 set dummy strip; ac_word=$2
   2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2482 $as_echo_n "checking for $ac_word... " >&6; }
   2483 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2484   $as_echo_n "(cached) " >&6
   2485 else
   2486   if test -n "$ac_ct_STRIP"; then
   2487   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2488 else
   2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2490 for as_dir in $PATH
   2491 do
   2492   IFS=$as_save_IFS
   2493   test -z "$as_dir" && as_dir=.
   2494     for ac_exec_ext in '' $ac_executable_extensions; do
   2495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2496     ac_cv_prog_ac_ct_STRIP="strip"
   2497     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2498     break 2
   2499   fi
   2500 done
   2501   done
   2502 IFS=$as_save_IFS
   2503 
   2504 fi
   2505 fi
   2506 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2507 if test -n "$ac_ct_STRIP"; then
   2508   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2509 $as_echo "$ac_ct_STRIP" >&6; }
   2510 else
   2511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2512 $as_echo "no" >&6; }
   2513 fi
   2514 
   2515   if test "x$ac_ct_STRIP" = x; then
   2516     STRIP=":"
   2517   else
   2518     case $cross_compiling:$ac_tool_warned in
   2519 yes:)
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2522 ac_tool_warned=yes ;;
   2523 esac
   2524     STRIP=$ac_ct_STRIP
   2525   fi
   2526 else
   2527   STRIP="$ac_cv_prog_STRIP"
   2528 fi
   2529 
   2530 fi
   2531 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2532 
   2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2534 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2535 if test -z "$MKDIR_P"; then
   2536   if ${ac_cv_path_mkdir+:} false; then :
   2537   $as_echo_n "(cached) " >&6
   2538 else
   2539   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2540 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2541 do
   2542   IFS=$as_save_IFS
   2543   test -z "$as_dir" && as_dir=.
   2544     for ac_prog in mkdir gmkdir; do
   2545 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2546 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2547 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2548 	     'mkdir (GNU coreutils) '* | \
   2549 	     'mkdir (coreutils) '* | \
   2550 	     'mkdir (fileutils) '4.1*)
   2551 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2552 	       break 3;;
   2553 	   esac
   2554 	 done
   2555        done
   2556   done
   2557 IFS=$as_save_IFS
   2558 
   2559 fi
   2560 
   2561   test -d ./--version && rmdir ./--version
   2562   if test "${ac_cv_path_mkdir+set}" = set; then
   2563     MKDIR_P="$ac_cv_path_mkdir -p"
   2564   else
   2565     # As a last resort, use the slow shell script.  Don't cache a
   2566     # value for MKDIR_P within a source directory, because that will
   2567     # break other packages using the cache if that directory is
   2568     # removed, or if the value is a relative name.
   2569     MKDIR_P="$ac_install_sh -d"
   2570   fi
   2571 fi
   2572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2573 $as_echo "$MKDIR_P" >&6; }
   2574 
   2575 for ac_prog in gawk mawk nawk awk
   2576 do
   2577   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2578 set dummy $ac_prog; ac_word=$2
   2579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2580 $as_echo_n "checking for $ac_word... " >&6; }
   2581 if ${ac_cv_prog_AWK+:} false; then :
   2582   $as_echo_n "(cached) " >&6
   2583 else
   2584   if test -n "$AWK"; then
   2585   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2586 else
   2587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2588 for as_dir in $PATH
   2589 do
   2590   IFS=$as_save_IFS
   2591   test -z "$as_dir" && as_dir=.
   2592     for ac_exec_ext in '' $ac_executable_extensions; do
   2593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2594     ac_cv_prog_AWK="$ac_prog"
   2595     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2596     break 2
   2597   fi
   2598 done
   2599   done
   2600 IFS=$as_save_IFS
   2601 
   2602 fi
   2603 fi
   2604 AWK=$ac_cv_prog_AWK
   2605 if test -n "$AWK"; then
   2606   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2607 $as_echo "$AWK" >&6; }
   2608 else
   2609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2610 $as_echo "no" >&6; }
   2611 fi
   2612 
   2613 
   2614   test -n "$AWK" && break
   2615 done
   2616 
   2617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2618 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2619 set x ${MAKE-make}
   2620 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2621 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2622   $as_echo_n "(cached) " >&6
   2623 else
   2624   cat >conftest.make <<\_ACEOF
   2625 SHELL = /bin/sh
   2626 all:
   2627 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2628 _ACEOF
   2629 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2630 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2631   *@@@%%%=?*=@@@%%%*)
   2632     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2633   *)
   2634     eval ac_cv_prog_make_${ac_make}_set=no;;
   2635 esac
   2636 rm -f conftest.make
   2637 fi
   2638 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2639   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2640 $as_echo "yes" >&6; }
   2641   SET_MAKE=
   2642 else
   2643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2644 $as_echo "no" >&6; }
   2645   SET_MAKE="MAKE=${MAKE-make}"
   2646 fi
   2647 
   2648 rm -rf .tst 2>/dev/null
   2649 mkdir .tst 2>/dev/null
   2650 if test -d .tst; then
   2651   am__leading_dot=.
   2652 else
   2653   am__leading_dot=_
   2654 fi
   2655 rmdir .tst 2>/dev/null
   2656 
   2657 # Check whether --enable-silent-rules was given.
   2658 if test "${enable_silent_rules+set}" = set; then :
   2659   enableval=$enable_silent_rules;
   2660 fi
   2661 
   2662 case $enable_silent_rules in # (((
   2663   yes) AM_DEFAULT_VERBOSITY=0;;
   2664    no) AM_DEFAULT_VERBOSITY=1;;
   2665     *) AM_DEFAULT_VERBOSITY=1;;
   2666 esac
   2667 am_make=${MAKE-make}
   2668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2669 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2670 if ${am_cv_make_support_nested_variables+:} false; then :
   2671   $as_echo_n "(cached) " >&6
   2672 else
   2673   if $as_echo 'TRUE=$(BAR$(V))
   2674 BAR0=false
   2675 BAR1=true
   2676 V=1
   2677 am__doit:
   2678 	@$(TRUE)
   2679 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2680   am_cv_make_support_nested_variables=yes
   2681 else
   2682   am_cv_make_support_nested_variables=no
   2683 fi
   2684 fi
   2685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2686 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2687 if test $am_cv_make_support_nested_variables = yes; then
   2688     AM_V='$(V)'
   2689   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2690 else
   2691   AM_V=$AM_DEFAULT_VERBOSITY
   2692   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2693 fi
   2694 AM_BACKSLASH='\'
   2695 
   2696 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2697   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2698   # is not polluted with repeated "-I."
   2699   am__isrc=' -I$(srcdir)'
   2700   # test to see if srcdir already configured
   2701   if test -f $srcdir/config.status; then
   2702     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2703   fi
   2704 fi
   2705 
   2706 # test whether we have cygpath
   2707 if test -z "$CYGPATH_W"; then
   2708   if (cygpath --version) >/dev/null 2>/dev/null; then
   2709     CYGPATH_W='cygpath -w'
   2710   else
   2711     CYGPATH_W=echo
   2712   fi
   2713 fi
   2714 
   2715 
   2716 # Define the identity of the package.
   2717  PACKAGE='libXft'
   2718  VERSION='2.3.2'
   2719 
   2720 
   2721 cat >>confdefs.h <<_ACEOF
   2722 #define PACKAGE "$PACKAGE"
   2723 _ACEOF
   2724 
   2725 
   2726 cat >>confdefs.h <<_ACEOF
   2727 #define VERSION "$VERSION"
   2728 _ACEOF
   2729 
   2730 # Some tools Automake needs.
   2731 
   2732 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2733 
   2734 
   2735 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2736 
   2737 
   2738 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2739 
   2740 
   2741 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2742 
   2743 
   2744 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2745 
   2746 # For better backward compatibility.  To be removed once Automake 1.9.x
   2747 # dies out for good.  For more background, see:
   2748 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2749 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2750 mkdir_p='$(MKDIR_P)'
   2751 
   2752 # We need awk for the "check" target.  The system "awk" is bad on
   2753 # some platforms.
   2754 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2755 # in the wild :-(  We should find a proper way to deprecate it ...
   2756 AMTAR='$${TAR-tar}'
   2757 
   2758 
   2759 # We'll loop over all known methods to create a tar archive until one works.
   2760 _am_tools='gnutar  pax cpio none'
   2761 
   2762 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2763 
   2764 
   2765 
   2766 
   2767 
   2768 
   2769 # POSIX will say in a future version that running "rm -f" with no argument
   2770 # is OK; and we want to be able to make that assumption in our Makefile
   2771 # recipes.  So use an aggressive probe to check that the usage we want is
   2772 # actually supported "in the wild" to an acceptable degree.
   2773 # See automake bug#10828.
   2774 # To make any issue more visible, cause the running configure to be aborted
   2775 # by default if the 'rm' program in use doesn't match our expectations; the
   2776 # user can still override this though.
   2777 if rm -f && rm -fr && rm -rf; then : OK; else
   2778   cat >&2 <<'END'
   2779 Oops!
   2780 
   2781 Your 'rm' program seems unable to run without file operands specified
   2782 on the command line, even when the '-f' option is present.  This is contrary
   2783 to the behaviour of most rm programs out there, and not conforming with
   2784 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2785 
   2786 Please tell bug-automake@gnu.org about your system, including the value
   2787 of your $PATH and any error possibly output before this message.  This
   2788 can help us improve future automake versions.
   2789 
   2790 END
   2791   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2792     echo 'Configuration will proceed anyway, since you have set the' >&2
   2793     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2794     echo >&2
   2795   else
   2796     cat >&2 <<'END'
   2797 Aborting the configuration process, to ensure you take notice of the issue.
   2798 
   2799 You can download and install GNU coreutils to get an 'rm' implementation
   2800 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2801 
   2802 If you want to complete the configuration process using your problematic
   2803 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2804 to "yes", and re-run configure.
   2805 
   2806 END
   2807     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2808   fi
   2809 fi
   2810 
   2811 # Initialize libtool
   2812 case `pwd` in
   2813   *\ * | *\	*)
   2814     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2815 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2816 esac
   2817 
   2818 
   2819 
   2820 macro_version='2.4.2'
   2821 macro_revision='1.3337'
   2822 
   2823 
   2824 
   2825 
   2826 
   2827 
   2828 
   2829 
   2830 
   2831 
   2832 
   2833 
   2834 
   2835 ltmain="$ac_aux_dir/ltmain.sh"
   2836 
   2837 # Make sure we can run config.sub.
   2838 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2839   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2840 
   2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2842 $as_echo_n "checking build system type... " >&6; }
   2843 if ${ac_cv_build+:} false; then :
   2844   $as_echo_n "(cached) " >&6
   2845 else
   2846   ac_build_alias=$build_alias
   2847 test "x$ac_build_alias" = x &&
   2848   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2849 test "x$ac_build_alias" = x &&
   2850   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2851 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2852   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2853 
   2854 fi
   2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2856 $as_echo "$ac_cv_build" >&6; }
   2857 case $ac_cv_build in
   2858 *-*-*) ;;
   2859 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2860 esac
   2861 build=$ac_cv_build
   2862 ac_save_IFS=$IFS; IFS='-'
   2863 set x $ac_cv_build
   2864 shift
   2865 build_cpu=$1
   2866 build_vendor=$2
   2867 shift; shift
   2868 # Remember, the first character of IFS is used to create $*,
   2869 # except with old shells:
   2870 build_os=$*
   2871 IFS=$ac_save_IFS
   2872 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2873 
   2874 
   2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2876 $as_echo_n "checking host system type... " >&6; }
   2877 if ${ac_cv_host+:} false; then :
   2878   $as_echo_n "(cached) " >&6
   2879 else
   2880   if test "x$host_alias" = x; then
   2881   ac_cv_host=$ac_cv_build
   2882 else
   2883   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2884     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2885 fi
   2886 
   2887 fi
   2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2889 $as_echo "$ac_cv_host" >&6; }
   2890 case $ac_cv_host in
   2891 *-*-*) ;;
   2892 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2893 esac
   2894 host=$ac_cv_host
   2895 ac_save_IFS=$IFS; IFS='-'
   2896 set x $ac_cv_host
   2897 shift
   2898 host_cpu=$1
   2899 host_vendor=$2
   2900 shift; shift
   2901 # Remember, the first character of IFS is used to create $*,
   2902 # except with old shells:
   2903 host_os=$*
   2904 IFS=$ac_save_IFS
   2905 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2906 
   2907 
   2908 # Backslashify metacharacters that are still active within
   2909 # double-quoted strings.
   2910 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2911 
   2912 # Same as above, but do not quote variable references.
   2913 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2914 
   2915 # Sed substitution to delay expansion of an escaped shell variable in a
   2916 # double_quote_subst'ed string.
   2917 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2918 
   2919 # Sed substitution to delay expansion of an escaped single quote.
   2920 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2921 
   2922 # Sed substitution to avoid accidental globbing in evaled expressions
   2923 no_glob_subst='s/\*/\\\*/g'
   2924 
   2925 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2926 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2927 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2928 
   2929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2930 $as_echo_n "checking how to print strings... " >&6; }
   2931 # Test print first, because it will be a builtin if present.
   2932 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2933    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2934   ECHO='print -r --'
   2935 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2936   ECHO='printf %s\n'
   2937 else
   2938   # Use this function as a fallback that always works.
   2939   func_fallback_echo ()
   2940   {
   2941     eval 'cat <<_LTECHO_EOF
   2942 $1
   2943 _LTECHO_EOF'
   2944   }
   2945   ECHO='func_fallback_echo'
   2946 fi
   2947 
   2948 # func_echo_all arg...
   2949 # Invoke $ECHO with all args, space-separated.
   2950 func_echo_all ()
   2951 {
   2952     $ECHO ""
   2953 }
   2954 
   2955 case "$ECHO" in
   2956   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2957 $as_echo "printf" >&6; } ;;
   2958   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2959 $as_echo "print -r" >&6; } ;;
   2960   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2961 $as_echo "cat" >&6; } ;;
   2962 esac
   2963 
   2964 
   2965 
   2966 
   2967 
   2968 
   2969 
   2970 
   2971 
   2972 
   2973 
   2974 
   2975 
   2976 
   2977 DEPDIR="${am__leading_dot}deps"
   2978 
   2979 ac_config_commands="$ac_config_commands depfiles"
   2980 
   2981 
   2982 am_make=${MAKE-make}
   2983 cat > confinc << 'END'
   2984 am__doit:
   2985 	@echo this is the am__doit target
   2986 .PHONY: am__doit
   2987 END
   2988 # If we don't find an include directive, just comment out the code.
   2989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2990 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2991 am__include="#"
   2992 am__quote=
   2993 _am_result=none
   2994 # First try GNU make style include.
   2995 echo "include confinc" > confmf
   2996 # Ignore all kinds of additional output from 'make'.
   2997 case `$am_make -s -f confmf 2> /dev/null` in #(
   2998 *the\ am__doit\ target*)
   2999   am__include=include
   3000   am__quote=
   3001   _am_result=GNU
   3002   ;;
   3003 esac
   3004 # Now try BSD make style include.
   3005 if test "$am__include" = "#"; then
   3006    echo '.include "confinc"' > confmf
   3007    case `$am_make -s -f confmf 2> /dev/null` in #(
   3008    *the\ am__doit\ target*)
   3009      am__include=.include
   3010      am__quote="\""
   3011      _am_result=BSD
   3012      ;;
   3013    esac
   3014 fi
   3015 
   3016 
   3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3018 $as_echo "$_am_result" >&6; }
   3019 rm -f confinc confmf
   3020 
   3021 # Check whether --enable-dependency-tracking was given.
   3022 if test "${enable_dependency_tracking+set}" = set; then :
   3023   enableval=$enable_dependency_tracking;
   3024 fi
   3025 
   3026 if test "x$enable_dependency_tracking" != xno; then
   3027   am_depcomp="$ac_aux_dir/depcomp"
   3028   AMDEPBACKSLASH='\'
   3029   am__nodep='_no'
   3030 fi
   3031  if test "x$enable_dependency_tracking" != xno; then
   3032   AMDEP_TRUE=
   3033   AMDEP_FALSE='#'
   3034 else
   3035   AMDEP_TRUE='#'
   3036   AMDEP_FALSE=
   3037 fi
   3038 
   3039 
   3040 ac_ext=c
   3041 ac_cpp='$CPP $CPPFLAGS'
   3042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3045 if test -n "$ac_tool_prefix"; then
   3046   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3047 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3049 $as_echo_n "checking for $ac_word... " >&6; }
   3050 if ${ac_cv_prog_CC+:} false; then :
   3051   $as_echo_n "(cached) " >&6
   3052 else
   3053   if test -n "$CC"; then
   3054   ac_cv_prog_CC="$CC" # Let the user override the test.
   3055 else
   3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3057 for as_dir in $PATH
   3058 do
   3059   IFS=$as_save_IFS
   3060   test -z "$as_dir" && as_dir=.
   3061     for ac_exec_ext in '' $ac_executable_extensions; do
   3062   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3063     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3064     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3065     break 2
   3066   fi
   3067 done
   3068   done
   3069 IFS=$as_save_IFS
   3070 
   3071 fi
   3072 fi
   3073 CC=$ac_cv_prog_CC
   3074 if test -n "$CC"; then
   3075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3076 $as_echo "$CC" >&6; }
   3077 else
   3078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3079 $as_echo "no" >&6; }
   3080 fi
   3081 
   3082 
   3083 fi
   3084 if test -z "$ac_cv_prog_CC"; then
   3085   ac_ct_CC=$CC
   3086   # Extract the first word of "gcc", so it can be a program name with args.
   3087 set dummy gcc; ac_word=$2
   3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3089 $as_echo_n "checking for $ac_word... " >&6; }
   3090 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3091   $as_echo_n "(cached) " >&6
   3092 else
   3093   if test -n "$ac_ct_CC"; then
   3094   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3095 else
   3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3097 for as_dir in $PATH
   3098 do
   3099   IFS=$as_save_IFS
   3100   test -z "$as_dir" && as_dir=.
   3101     for ac_exec_ext in '' $ac_executable_extensions; do
   3102   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3103     ac_cv_prog_ac_ct_CC="gcc"
   3104     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3105     break 2
   3106   fi
   3107 done
   3108   done
   3109 IFS=$as_save_IFS
   3110 
   3111 fi
   3112 fi
   3113 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3114 if test -n "$ac_ct_CC"; then
   3115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3116 $as_echo "$ac_ct_CC" >&6; }
   3117 else
   3118   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3119 $as_echo "no" >&6; }
   3120 fi
   3121 
   3122   if test "x$ac_ct_CC" = x; then
   3123     CC=""
   3124   else
   3125     case $cross_compiling:$ac_tool_warned in
   3126 yes:)
   3127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3129 ac_tool_warned=yes ;;
   3130 esac
   3131     CC=$ac_ct_CC
   3132   fi
   3133 else
   3134   CC="$ac_cv_prog_CC"
   3135 fi
   3136 
   3137 if test -z "$CC"; then
   3138           if test -n "$ac_tool_prefix"; then
   3139     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3140 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3142 $as_echo_n "checking for $ac_word... " >&6; }
   3143 if ${ac_cv_prog_CC+:} false; then :
   3144   $as_echo_n "(cached) " >&6
   3145 else
   3146   if test -n "$CC"; then
   3147   ac_cv_prog_CC="$CC" # Let the user override the test.
   3148 else
   3149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3150 for as_dir in $PATH
   3151 do
   3152   IFS=$as_save_IFS
   3153   test -z "$as_dir" && as_dir=.
   3154     for ac_exec_ext in '' $ac_executable_extensions; do
   3155   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3156     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3157     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3158     break 2
   3159   fi
   3160 done
   3161   done
   3162 IFS=$as_save_IFS
   3163 
   3164 fi
   3165 fi
   3166 CC=$ac_cv_prog_CC
   3167 if test -n "$CC"; then
   3168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3169 $as_echo "$CC" >&6; }
   3170 else
   3171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3172 $as_echo "no" >&6; }
   3173 fi
   3174 
   3175 
   3176   fi
   3177 fi
   3178 if test -z "$CC"; then
   3179   # Extract the first word of "cc", so it can be a program name with args.
   3180 set dummy cc; ac_word=$2
   3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3182 $as_echo_n "checking for $ac_word... " >&6; }
   3183 if ${ac_cv_prog_CC+:} false; then :
   3184   $as_echo_n "(cached) " >&6
   3185 else
   3186   if test -n "$CC"; then
   3187   ac_cv_prog_CC="$CC" # Let the user override the test.
   3188 else
   3189   ac_prog_rejected=no
   3190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3191 for as_dir in $PATH
   3192 do
   3193   IFS=$as_save_IFS
   3194   test -z "$as_dir" && as_dir=.
   3195     for ac_exec_ext in '' $ac_executable_extensions; do
   3196   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3197     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3198        ac_prog_rejected=yes
   3199        continue
   3200      fi
   3201     ac_cv_prog_CC="cc"
   3202     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3203     break 2
   3204   fi
   3205 done
   3206   done
   3207 IFS=$as_save_IFS
   3208 
   3209 if test $ac_prog_rejected = yes; then
   3210   # We found a bogon in the path, so make sure we never use it.
   3211   set dummy $ac_cv_prog_CC
   3212   shift
   3213   if test $# != 0; then
   3214     # We chose a different compiler from the bogus one.
   3215     # However, it has the same basename, so the bogon will be chosen
   3216     # first if we set CC to just the basename; use the full file name.
   3217     shift
   3218     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3219   fi
   3220 fi
   3221 fi
   3222 fi
   3223 CC=$ac_cv_prog_CC
   3224 if test -n "$CC"; then
   3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3226 $as_echo "$CC" >&6; }
   3227 else
   3228   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3229 $as_echo "no" >&6; }
   3230 fi
   3231 
   3232 
   3233 fi
   3234 if test -z "$CC"; then
   3235   if test -n "$ac_tool_prefix"; then
   3236   for ac_prog in cl.exe
   3237   do
   3238     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3239 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3241 $as_echo_n "checking for $ac_word... " >&6; }
   3242 if ${ac_cv_prog_CC+:} false; then :
   3243   $as_echo_n "(cached) " >&6
   3244 else
   3245   if test -n "$CC"; then
   3246   ac_cv_prog_CC="$CC" # Let the user override the test.
   3247 else
   3248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3249 for as_dir in $PATH
   3250 do
   3251   IFS=$as_save_IFS
   3252   test -z "$as_dir" && as_dir=.
   3253     for ac_exec_ext in '' $ac_executable_extensions; do
   3254   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3255     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3256     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3257     break 2
   3258   fi
   3259 done
   3260   done
   3261 IFS=$as_save_IFS
   3262 
   3263 fi
   3264 fi
   3265 CC=$ac_cv_prog_CC
   3266 if test -n "$CC"; then
   3267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3268 $as_echo "$CC" >&6; }
   3269 else
   3270   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3271 $as_echo "no" >&6; }
   3272 fi
   3273 
   3274 
   3275     test -n "$CC" && break
   3276   done
   3277 fi
   3278 if test -z "$CC"; then
   3279   ac_ct_CC=$CC
   3280   for ac_prog in cl.exe
   3281 do
   3282   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3283 set dummy $ac_prog; ac_word=$2
   3284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3285 $as_echo_n "checking for $ac_word... " >&6; }
   3286 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3287   $as_echo_n "(cached) " >&6
   3288 else
   3289   if test -n "$ac_ct_CC"; then
   3290   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3291 else
   3292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3293 for as_dir in $PATH
   3294 do
   3295   IFS=$as_save_IFS
   3296   test -z "$as_dir" && as_dir=.
   3297     for ac_exec_ext in '' $ac_executable_extensions; do
   3298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3299     ac_cv_prog_ac_ct_CC="$ac_prog"
   3300     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3301     break 2
   3302   fi
   3303 done
   3304   done
   3305 IFS=$as_save_IFS
   3306 
   3307 fi
   3308 fi
   3309 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3310 if test -n "$ac_ct_CC"; then
   3311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3312 $as_echo "$ac_ct_CC" >&6; }
   3313 else
   3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3315 $as_echo "no" >&6; }
   3316 fi
   3317 
   3318 
   3319   test -n "$ac_ct_CC" && break
   3320 done
   3321 
   3322   if test "x$ac_ct_CC" = x; then
   3323     CC=""
   3324   else
   3325     case $cross_compiling:$ac_tool_warned in
   3326 yes:)
   3327 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3328 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3329 ac_tool_warned=yes ;;
   3330 esac
   3331     CC=$ac_ct_CC
   3332   fi
   3333 fi
   3334 
   3335 fi
   3336 
   3337 
   3338 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3340 as_fn_error $? "no acceptable C compiler found in \$PATH
   3341 See \`config.log' for more details" "$LINENO" 5; }
   3342 
   3343 # Provide some information about the compiler.
   3344 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3345 set X $ac_compile
   3346 ac_compiler=$2
   3347 for ac_option in --version -v -V -qversion; do
   3348   { { ac_try="$ac_compiler $ac_option >&5"
   3349 case "(($ac_try" in
   3350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3351   *) ac_try_echo=$ac_try;;
   3352 esac
   3353 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3354 $as_echo "$ac_try_echo"; } >&5
   3355   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3356   ac_status=$?
   3357   if test -s conftest.err; then
   3358     sed '10a\
   3359 ... rest of stderr output deleted ...
   3360          10q' conftest.err >conftest.er1
   3361     cat conftest.er1 >&5
   3362   fi
   3363   rm -f conftest.er1 conftest.err
   3364   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3365   test $ac_status = 0; }
   3366 done
   3367 
   3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3369 /* end confdefs.h.  */
   3370 
   3371 int
   3372 main ()
   3373 {
   3374 
   3375   ;
   3376   return 0;
   3377 }
   3378 _ACEOF
   3379 ac_clean_files_save=$ac_clean_files
   3380 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3381 # Try to create an executable without -o first, disregard a.out.
   3382 # It will help us diagnose broken compilers, and finding out an intuition
   3383 # of exeext.
   3384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3385 $as_echo_n "checking whether the C compiler works... " >&6; }
   3386 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3387 
   3388 # The possible output files:
   3389 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3390 
   3391 ac_rmfiles=
   3392 for ac_file in $ac_files
   3393 do
   3394   case $ac_file in
   3395     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3396     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3397   esac
   3398 done
   3399 rm -f $ac_rmfiles
   3400 
   3401 if { { ac_try="$ac_link_default"
   3402 case "(($ac_try" in
   3403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3404   *) ac_try_echo=$ac_try;;
   3405 esac
   3406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3407 $as_echo "$ac_try_echo"; } >&5
   3408   (eval "$ac_link_default") 2>&5
   3409   ac_status=$?
   3410   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3411   test $ac_status = 0; }; then :
   3412   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3413 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3414 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3415 # so that the user can short-circuit this test for compilers unknown to
   3416 # Autoconf.
   3417 for ac_file in $ac_files ''
   3418 do
   3419   test -f "$ac_file" || continue
   3420   case $ac_file in
   3421     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3422 	;;
   3423     [ab].out )
   3424 	# We found the default executable, but exeext='' is most
   3425 	# certainly right.
   3426 	break;;
   3427     *.* )
   3428 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3429 	then :; else
   3430 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3431 	fi
   3432 	# We set ac_cv_exeext here because the later test for it is not
   3433 	# safe: cross compilers may not add the suffix if given an `-o'
   3434 	# argument, so we may need to know it at that point already.
   3435 	# Even if this section looks crufty: it has the advantage of
   3436 	# actually working.
   3437 	break;;
   3438     * )
   3439 	break;;
   3440   esac
   3441 done
   3442 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3443 
   3444 else
   3445   ac_file=''
   3446 fi
   3447 if test -z "$ac_file"; then :
   3448   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3449 $as_echo "no" >&6; }
   3450 $as_echo "$as_me: failed program was:" >&5
   3451 sed 's/^/| /' conftest.$ac_ext >&5
   3452 
   3453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3455 as_fn_error 77 "C compiler cannot create executables
   3456 See \`config.log' for more details" "$LINENO" 5; }
   3457 else
   3458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3459 $as_echo "yes" >&6; }
   3460 fi
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3462 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3464 $as_echo "$ac_file" >&6; }
   3465 ac_exeext=$ac_cv_exeext
   3466 
   3467 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3468 ac_clean_files=$ac_clean_files_save
   3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3470 $as_echo_n "checking for suffix of executables... " >&6; }
   3471 if { { ac_try="$ac_link"
   3472 case "(($ac_try" in
   3473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3474   *) ac_try_echo=$ac_try;;
   3475 esac
   3476 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3477 $as_echo "$ac_try_echo"; } >&5
   3478   (eval "$ac_link") 2>&5
   3479   ac_status=$?
   3480   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3481   test $ac_status = 0; }; then :
   3482   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3483 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3484 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3485 # `rm'.
   3486 for ac_file in conftest.exe conftest conftest.*; do
   3487   test -f "$ac_file" || continue
   3488   case $ac_file in
   3489     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3490     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3491 	  break;;
   3492     * ) break;;
   3493   esac
   3494 done
   3495 else
   3496   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3497 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3498 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3499 See \`config.log' for more details" "$LINENO" 5; }
   3500 fi
   3501 rm -f conftest conftest$ac_cv_exeext
   3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3503 $as_echo "$ac_cv_exeext" >&6; }
   3504 
   3505 rm -f conftest.$ac_ext
   3506 EXEEXT=$ac_cv_exeext
   3507 ac_exeext=$EXEEXT
   3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3509 /* end confdefs.h.  */
   3510 #include <stdio.h>
   3511 int
   3512 main ()
   3513 {
   3514 FILE *f = fopen ("conftest.out", "w");
   3515  return ferror (f) || fclose (f) != 0;
   3516 
   3517   ;
   3518   return 0;
   3519 }
   3520 _ACEOF
   3521 ac_clean_files="$ac_clean_files conftest.out"
   3522 # Check that the compiler produces executables we can run.  If not, either
   3523 # the compiler is broken, or we cross compile.
   3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3525 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3526 if test "$cross_compiling" != yes; then
   3527   { { ac_try="$ac_link"
   3528 case "(($ac_try" in
   3529   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3530   *) ac_try_echo=$ac_try;;
   3531 esac
   3532 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3533 $as_echo "$ac_try_echo"; } >&5
   3534   (eval "$ac_link") 2>&5
   3535   ac_status=$?
   3536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3537   test $ac_status = 0; }
   3538   if { ac_try='./conftest$ac_cv_exeext'
   3539   { { case "(($ac_try" in
   3540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3541   *) ac_try_echo=$ac_try;;
   3542 esac
   3543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3544 $as_echo "$ac_try_echo"; } >&5
   3545   (eval "$ac_try") 2>&5
   3546   ac_status=$?
   3547   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3548   test $ac_status = 0; }; }; then
   3549     cross_compiling=no
   3550   else
   3551     if test "$cross_compiling" = maybe; then
   3552 	cross_compiling=yes
   3553     else
   3554 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3556 as_fn_error $? "cannot run C compiled programs.
   3557 If you meant to cross compile, use \`--host'.
   3558 See \`config.log' for more details" "$LINENO" 5; }
   3559     fi
   3560   fi
   3561 fi
   3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3563 $as_echo "$cross_compiling" >&6; }
   3564 
   3565 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3566 ac_clean_files=$ac_clean_files_save
   3567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3568 $as_echo_n "checking for suffix of object files... " >&6; }
   3569 if ${ac_cv_objext+:} false; then :
   3570   $as_echo_n "(cached) " >&6
   3571 else
   3572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3573 /* end confdefs.h.  */
   3574 
   3575 int
   3576 main ()
   3577 {
   3578 
   3579   ;
   3580   return 0;
   3581 }
   3582 _ACEOF
   3583 rm -f conftest.o conftest.obj
   3584 if { { ac_try="$ac_compile"
   3585 case "(($ac_try" in
   3586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3587   *) ac_try_echo=$ac_try;;
   3588 esac
   3589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3590 $as_echo "$ac_try_echo"; } >&5
   3591   (eval "$ac_compile") 2>&5
   3592   ac_status=$?
   3593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3594   test $ac_status = 0; }; then :
   3595   for ac_file in conftest.o conftest.obj conftest.*; do
   3596   test -f "$ac_file" || continue;
   3597   case $ac_file in
   3598     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3599     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3600        break;;
   3601   esac
   3602 done
   3603 else
   3604   $as_echo "$as_me: failed program was:" >&5
   3605 sed 's/^/| /' conftest.$ac_ext >&5
   3606 
   3607 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3608 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3609 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3610 See \`config.log' for more details" "$LINENO" 5; }
   3611 fi
   3612 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3613 fi
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3615 $as_echo "$ac_cv_objext" >&6; }
   3616 OBJEXT=$ac_cv_objext
   3617 ac_objext=$OBJEXT
   3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3619 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3620 if ${ac_cv_c_compiler_gnu+:} false; then :
   3621   $as_echo_n "(cached) " >&6
   3622 else
   3623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3624 /* end confdefs.h.  */
   3625 
   3626 int
   3627 main ()
   3628 {
   3629 #ifndef __GNUC__
   3630        choke me
   3631 #endif
   3632 
   3633   ;
   3634   return 0;
   3635 }
   3636 _ACEOF
   3637 if ac_fn_c_try_compile "$LINENO"; then :
   3638   ac_compiler_gnu=yes
   3639 else
   3640   ac_compiler_gnu=no
   3641 fi
   3642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3643 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3644 
   3645 fi
   3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3647 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3648 if test $ac_compiler_gnu = yes; then
   3649   GCC=yes
   3650 else
   3651   GCC=
   3652 fi
   3653 ac_test_CFLAGS=${CFLAGS+set}
   3654 ac_save_CFLAGS=$CFLAGS
   3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3656 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3657 if ${ac_cv_prog_cc_g+:} false; then :
   3658   $as_echo_n "(cached) " >&6
   3659 else
   3660   ac_save_c_werror_flag=$ac_c_werror_flag
   3661    ac_c_werror_flag=yes
   3662    ac_cv_prog_cc_g=no
   3663    CFLAGS="-g"
   3664    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3665 /* end confdefs.h.  */
   3666 
   3667 int
   3668 main ()
   3669 {
   3670 
   3671   ;
   3672   return 0;
   3673 }
   3674 _ACEOF
   3675 if ac_fn_c_try_compile "$LINENO"; then :
   3676   ac_cv_prog_cc_g=yes
   3677 else
   3678   CFLAGS=""
   3679       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3680 /* end confdefs.h.  */
   3681 
   3682 int
   3683 main ()
   3684 {
   3685 
   3686   ;
   3687   return 0;
   3688 }
   3689 _ACEOF
   3690 if ac_fn_c_try_compile "$LINENO"; then :
   3691 
   3692 else
   3693   ac_c_werror_flag=$ac_save_c_werror_flag
   3694 	 CFLAGS="-g"
   3695 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3696 /* end confdefs.h.  */
   3697 
   3698 int
   3699 main ()
   3700 {
   3701 
   3702   ;
   3703   return 0;
   3704 }
   3705 _ACEOF
   3706 if ac_fn_c_try_compile "$LINENO"; then :
   3707   ac_cv_prog_cc_g=yes
   3708 fi
   3709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3710 fi
   3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3712 fi
   3713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3714    ac_c_werror_flag=$ac_save_c_werror_flag
   3715 fi
   3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3717 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3718 if test "$ac_test_CFLAGS" = set; then
   3719   CFLAGS=$ac_save_CFLAGS
   3720 elif test $ac_cv_prog_cc_g = yes; then
   3721   if test "$GCC" = yes; then
   3722     CFLAGS="-g -O2"
   3723   else
   3724     CFLAGS="-g"
   3725   fi
   3726 else
   3727   if test "$GCC" = yes; then
   3728     CFLAGS="-O2"
   3729   else
   3730     CFLAGS=
   3731   fi
   3732 fi
   3733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3734 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3735 if ${ac_cv_prog_cc_c89+:} false; then :
   3736   $as_echo_n "(cached) " >&6
   3737 else
   3738   ac_cv_prog_cc_c89=no
   3739 ac_save_CC=$CC
   3740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3741 /* end confdefs.h.  */
   3742 #include <stdarg.h>
   3743 #include <stdio.h>
   3744 #include <sys/types.h>
   3745 #include <sys/stat.h>
   3746 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3747 struct buf { int x; };
   3748 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3749 static char *e (p, i)
   3750      char **p;
   3751      int i;
   3752 {
   3753   return p[i];
   3754 }
   3755 static char *f (char * (*g) (char **, int), char **p, ...)
   3756 {
   3757   char *s;
   3758   va_list v;
   3759   va_start (v,p);
   3760   s = g (p, va_arg (v,int));
   3761   va_end (v);
   3762   return s;
   3763 }
   3764 
   3765 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3766    function prototypes and stuff, but not '\xHH' hex character constants.
   3767    These don't provoke an error unfortunately, instead are silently treated
   3768    as 'x'.  The following induces an error, until -std is added to get
   3769    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3770    array size at least.  It's necessary to write '\x00'==0 to get something
   3771    that's true only with -std.  */
   3772 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3773 
   3774 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3775    inside strings and character constants.  */
   3776 #define FOO(x) 'x'
   3777 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3778 
   3779 int test (int i, double x);
   3780 struct s1 {int (*f) (int a);};
   3781 struct s2 {int (*f) (double a);};
   3782 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3783 int argc;
   3784 char **argv;
   3785 int
   3786 main ()
   3787 {
   3788 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3789   ;
   3790   return 0;
   3791 }
   3792 _ACEOF
   3793 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3794 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3795 do
   3796   CC="$ac_save_CC $ac_arg"
   3797   if ac_fn_c_try_compile "$LINENO"; then :
   3798   ac_cv_prog_cc_c89=$ac_arg
   3799 fi
   3800 rm -f core conftest.err conftest.$ac_objext
   3801   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3802 done
   3803 rm -f conftest.$ac_ext
   3804 CC=$ac_save_CC
   3805 
   3806 fi
   3807 # AC_CACHE_VAL
   3808 case "x$ac_cv_prog_cc_c89" in
   3809   x)
   3810     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3811 $as_echo "none needed" >&6; } ;;
   3812   xno)
   3813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3814 $as_echo "unsupported" >&6; } ;;
   3815   *)
   3816     CC="$CC $ac_cv_prog_cc_c89"
   3817     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3818 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3819 esac
   3820 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3821 
   3822 fi
   3823 
   3824 ac_ext=c
   3825 ac_cpp='$CPP $CPPFLAGS'
   3826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3829 
   3830 ac_ext=c
   3831 ac_cpp='$CPP $CPPFLAGS'
   3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3836 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3837 if ${am_cv_prog_cc_c_o+:} false; then :
   3838   $as_echo_n "(cached) " >&6
   3839 else
   3840   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3841 /* end confdefs.h.  */
   3842 
   3843 int
   3844 main ()
   3845 {
   3846 
   3847   ;
   3848   return 0;
   3849 }
   3850 _ACEOF
   3851   # Make sure it works both with $CC and with simple cc.
   3852   # Following AC_PROG_CC_C_O, we do the test twice because some
   3853   # compilers refuse to overwrite an existing .o file with -o,
   3854   # though they will create one.
   3855   am_cv_prog_cc_c_o=yes
   3856   for am_i in 1 2; do
   3857     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3858    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3859    ac_status=$?
   3860    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3861    (exit $ac_status); } \
   3862          && test -f conftest2.$ac_objext; then
   3863       : OK
   3864     else
   3865       am_cv_prog_cc_c_o=no
   3866       break
   3867     fi
   3868   done
   3869   rm -f core conftest*
   3870   unset am_i
   3871 fi
   3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3873 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3874 if test "$am_cv_prog_cc_c_o" != yes; then
   3875    # Losing compiler, so override with the script.
   3876    # FIXME: It is wrong to rewrite CC.
   3877    # But if we don't then we get into trouble of one sort or another.
   3878    # A longer-term fix would be to have automake use am__CC in this case,
   3879    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3880    CC="$am_aux_dir/compile $CC"
   3881 fi
   3882 ac_ext=c
   3883 ac_cpp='$CPP $CPPFLAGS'
   3884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3887 
   3888 
   3889 depcc="$CC"   am_compiler_list=
   3890 
   3891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3892 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3893 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3894   $as_echo_n "(cached) " >&6
   3895 else
   3896   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3897   # We make a subdir and do the tests there.  Otherwise we can end up
   3898   # making bogus files that we don't know about and never remove.  For
   3899   # instance it was reported that on HP-UX the gcc test will end up
   3900   # making a dummy file named 'D' -- because '-MD' means "put the output
   3901   # in D".
   3902   rm -rf conftest.dir
   3903   mkdir conftest.dir
   3904   # Copy depcomp to subdir because otherwise we won't find it if we're
   3905   # using a relative directory.
   3906   cp "$am_depcomp" conftest.dir
   3907   cd conftest.dir
   3908   # We will build objects and dependencies in a subdirectory because
   3909   # it helps to detect inapplicable dependency modes.  For instance
   3910   # both Tru64's cc and ICC support -MD to output dependencies as a
   3911   # side effect of compilation, but ICC will put the dependencies in
   3912   # the current directory while Tru64 will put them in the object
   3913   # directory.
   3914   mkdir sub
   3915 
   3916   am_cv_CC_dependencies_compiler_type=none
   3917   if test "$am_compiler_list" = ""; then
   3918      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3919   fi
   3920   am__universal=false
   3921   case " $depcc " in #(
   3922      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3923      esac
   3924 
   3925   for depmode in $am_compiler_list; do
   3926     # Setup a source with many dependencies, because some compilers
   3927     # like to wrap large dependency lists on column 80 (with \), and
   3928     # we should not choose a depcomp mode which is confused by this.
   3929     #
   3930     # We need to recreate these files for each test, as the compiler may
   3931     # overwrite some of them when testing with obscure command lines.
   3932     # This happens at least with the AIX C compiler.
   3933     : > sub/conftest.c
   3934     for i in 1 2 3 4 5 6; do
   3935       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3936       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3937       # Solaris 10 /bin/sh.
   3938       echo '/* dummy */' > sub/conftst$i.h
   3939     done
   3940     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3941 
   3942     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3943     # mode.  It turns out that the SunPro C++ compiler does not properly
   3944     # handle '-M -o', and we need to detect this.  Also, some Intel
   3945     # versions had trouble with output in subdirs.
   3946     am__obj=sub/conftest.${OBJEXT-o}
   3947     am__minus_obj="-o $am__obj"
   3948     case $depmode in
   3949     gcc)
   3950       # This depmode causes a compiler race in universal mode.
   3951       test "$am__universal" = false || continue
   3952       ;;
   3953     nosideeffect)
   3954       # After this tag, mechanisms are not by side-effect, so they'll
   3955       # only be used when explicitly requested.
   3956       if test "x$enable_dependency_tracking" = xyes; then
   3957 	continue
   3958       else
   3959 	break
   3960       fi
   3961       ;;
   3962     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3963       # This compiler won't grok '-c -o', but also, the minuso test has
   3964       # not run yet.  These depmodes are late enough in the game, and
   3965       # so weak that their functioning should not be impacted.
   3966       am__obj=conftest.${OBJEXT-o}
   3967       am__minus_obj=
   3968       ;;
   3969     none) break ;;
   3970     esac
   3971     if depmode=$depmode \
   3972        source=sub/conftest.c object=$am__obj \
   3973        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3974        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3975          >/dev/null 2>conftest.err &&
   3976        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3977        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3978        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3979        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3980       # icc doesn't choke on unknown options, it will just issue warnings
   3981       # or remarks (even with -Werror).  So we grep stderr for any message
   3982       # that says an option was ignored or not supported.
   3983       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3984       #   icc: Command line warning: ignoring option '-M'; no argument required
   3985       # The diagnosis changed in icc 8.0:
   3986       #   icc: Command line remark: option '-MP' not supported
   3987       if (grep 'ignoring option' conftest.err ||
   3988           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3989         am_cv_CC_dependencies_compiler_type=$depmode
   3990         break
   3991       fi
   3992     fi
   3993   done
   3994 
   3995   cd ..
   3996   rm -rf conftest.dir
   3997 else
   3998   am_cv_CC_dependencies_compiler_type=none
   3999 fi
   4000 
   4001 fi
   4002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4003 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4004 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4005 
   4006  if
   4007   test "x$enable_dependency_tracking" != xno \
   4008   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4009   am__fastdepCC_TRUE=
   4010   am__fastdepCC_FALSE='#'
   4011 else
   4012   am__fastdepCC_TRUE='#'
   4013   am__fastdepCC_FALSE=
   4014 fi
   4015 
   4016 
   4017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4018 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4019 if ${ac_cv_path_SED+:} false; then :
   4020   $as_echo_n "(cached) " >&6
   4021 else
   4022             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4023      for ac_i in 1 2 3 4 5 6 7; do
   4024        ac_script="$ac_script$as_nl$ac_script"
   4025      done
   4026      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4027      { ac_script=; unset ac_script;}
   4028      if test -z "$SED"; then
   4029   ac_path_SED_found=false
   4030   # Loop through the user's path and test for each of PROGNAME-LIST
   4031   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4032 for as_dir in $PATH
   4033 do
   4034   IFS=$as_save_IFS
   4035   test -z "$as_dir" && as_dir=.
   4036     for ac_prog in sed gsed; do
   4037     for ac_exec_ext in '' $ac_executable_extensions; do
   4038       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4039       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4040 # Check for GNU ac_path_SED and select it if it is found.
   4041   # Check for GNU $ac_path_SED
   4042 case `"$ac_path_SED" --version 2>&1` in
   4043 *GNU*)
   4044   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4045 *)
   4046   ac_count=0
   4047   $as_echo_n 0123456789 >"conftest.in"
   4048   while :
   4049   do
   4050     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4051     mv "conftest.tmp" "conftest.in"
   4052     cp "conftest.in" "conftest.nl"
   4053     $as_echo '' >> "conftest.nl"
   4054     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4055     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4056     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4057     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4058       # Best one so far, save it but keep looking for a better one
   4059       ac_cv_path_SED="$ac_path_SED"
   4060       ac_path_SED_max=$ac_count
   4061     fi
   4062     # 10*(2^10) chars as input seems more than enough
   4063     test $ac_count -gt 10 && break
   4064   done
   4065   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4066 esac
   4067 
   4068       $ac_path_SED_found && break 3
   4069     done
   4070   done
   4071   done
   4072 IFS=$as_save_IFS
   4073   if test -z "$ac_cv_path_SED"; then
   4074     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4075   fi
   4076 else
   4077   ac_cv_path_SED=$SED
   4078 fi
   4079 
   4080 fi
   4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4082 $as_echo "$ac_cv_path_SED" >&6; }
   4083  SED="$ac_cv_path_SED"
   4084   rm -f conftest.sed
   4085 
   4086 test -z "$SED" && SED=sed
   4087 Xsed="$SED -e 1s/^X//"
   4088 
   4089 
   4090 
   4091 
   4092 
   4093 
   4094 
   4095 
   4096 
   4097 
   4098 
   4099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4100 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4101 if ${ac_cv_path_GREP+:} false; then :
   4102   $as_echo_n "(cached) " >&6
   4103 else
   4104   if test -z "$GREP"; then
   4105   ac_path_GREP_found=false
   4106   # Loop through the user's path and test for each of PROGNAME-LIST
   4107   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4108 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4109 do
   4110   IFS=$as_save_IFS
   4111   test -z "$as_dir" && as_dir=.
   4112     for ac_prog in grep ggrep; do
   4113     for ac_exec_ext in '' $ac_executable_extensions; do
   4114       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4115       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4116 # Check for GNU ac_path_GREP and select it if it is found.
   4117   # Check for GNU $ac_path_GREP
   4118 case `"$ac_path_GREP" --version 2>&1` in
   4119 *GNU*)
   4120   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4121 *)
   4122   ac_count=0
   4123   $as_echo_n 0123456789 >"conftest.in"
   4124   while :
   4125   do
   4126     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4127     mv "conftest.tmp" "conftest.in"
   4128     cp "conftest.in" "conftest.nl"
   4129     $as_echo 'GREP' >> "conftest.nl"
   4130     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4131     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4132     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4133     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4134       # Best one so far, save it but keep looking for a better one
   4135       ac_cv_path_GREP="$ac_path_GREP"
   4136       ac_path_GREP_max=$ac_count
   4137     fi
   4138     # 10*(2^10) chars as input seems more than enough
   4139     test $ac_count -gt 10 && break
   4140   done
   4141   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4142 esac
   4143 
   4144       $ac_path_GREP_found && break 3
   4145     done
   4146   done
   4147   done
   4148 IFS=$as_save_IFS
   4149   if test -z "$ac_cv_path_GREP"; then
   4150     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4151   fi
   4152 else
   4153   ac_cv_path_GREP=$GREP
   4154 fi
   4155 
   4156 fi
   4157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4158 $as_echo "$ac_cv_path_GREP" >&6; }
   4159  GREP="$ac_cv_path_GREP"
   4160 
   4161 
   4162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4163 $as_echo_n "checking for egrep... " >&6; }
   4164 if ${ac_cv_path_EGREP+:} false; then :
   4165   $as_echo_n "(cached) " >&6
   4166 else
   4167   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4168    then ac_cv_path_EGREP="$GREP -E"
   4169    else
   4170      if test -z "$EGREP"; then
   4171   ac_path_EGREP_found=false
   4172   # Loop through the user's path and test for each of PROGNAME-LIST
   4173   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4174 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4175 do
   4176   IFS=$as_save_IFS
   4177   test -z "$as_dir" && as_dir=.
   4178     for ac_prog in egrep; do
   4179     for ac_exec_ext in '' $ac_executable_extensions; do
   4180       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4181       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4182 # Check for GNU ac_path_EGREP and select it if it is found.
   4183   # Check for GNU $ac_path_EGREP
   4184 case `"$ac_path_EGREP" --version 2>&1` in
   4185 *GNU*)
   4186   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4187 *)
   4188   ac_count=0
   4189   $as_echo_n 0123456789 >"conftest.in"
   4190   while :
   4191   do
   4192     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4193     mv "conftest.tmp" "conftest.in"
   4194     cp "conftest.in" "conftest.nl"
   4195     $as_echo 'EGREP' >> "conftest.nl"
   4196     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4197     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4198     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4199     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4200       # Best one so far, save it but keep looking for a better one
   4201       ac_cv_path_EGREP="$ac_path_EGREP"
   4202       ac_path_EGREP_max=$ac_count
   4203     fi
   4204     # 10*(2^10) chars as input seems more than enough
   4205     test $ac_count -gt 10 && break
   4206   done
   4207   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4208 esac
   4209 
   4210       $ac_path_EGREP_found && break 3
   4211     done
   4212   done
   4213   done
   4214 IFS=$as_save_IFS
   4215   if test -z "$ac_cv_path_EGREP"; then
   4216     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4217   fi
   4218 else
   4219   ac_cv_path_EGREP=$EGREP
   4220 fi
   4221 
   4222    fi
   4223 fi
   4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4225 $as_echo "$ac_cv_path_EGREP" >&6; }
   4226  EGREP="$ac_cv_path_EGREP"
   4227 
   4228 
   4229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4230 $as_echo_n "checking for fgrep... " >&6; }
   4231 if ${ac_cv_path_FGREP+:} false; then :
   4232   $as_echo_n "(cached) " >&6
   4233 else
   4234   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4235    then ac_cv_path_FGREP="$GREP -F"
   4236    else
   4237      if test -z "$FGREP"; then
   4238   ac_path_FGREP_found=false
   4239   # Loop through the user's path and test for each of PROGNAME-LIST
   4240   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4241 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4242 do
   4243   IFS=$as_save_IFS
   4244   test -z "$as_dir" && as_dir=.
   4245     for ac_prog in fgrep; do
   4246     for ac_exec_ext in '' $ac_executable_extensions; do
   4247       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4248       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4249 # Check for GNU ac_path_FGREP and select it if it is found.
   4250   # Check for GNU $ac_path_FGREP
   4251 case `"$ac_path_FGREP" --version 2>&1` in
   4252 *GNU*)
   4253   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4254 *)
   4255   ac_count=0
   4256   $as_echo_n 0123456789 >"conftest.in"
   4257   while :
   4258   do
   4259     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4260     mv "conftest.tmp" "conftest.in"
   4261     cp "conftest.in" "conftest.nl"
   4262     $as_echo 'FGREP' >> "conftest.nl"
   4263     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4264     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4265     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4266     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4267       # Best one so far, save it but keep looking for a better one
   4268       ac_cv_path_FGREP="$ac_path_FGREP"
   4269       ac_path_FGREP_max=$ac_count
   4270     fi
   4271     # 10*(2^10) chars as input seems more than enough
   4272     test $ac_count -gt 10 && break
   4273   done
   4274   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4275 esac
   4276 
   4277       $ac_path_FGREP_found && break 3
   4278     done
   4279   done
   4280   done
   4281 IFS=$as_save_IFS
   4282   if test -z "$ac_cv_path_FGREP"; then
   4283     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4284   fi
   4285 else
   4286   ac_cv_path_FGREP=$FGREP
   4287 fi
   4288 
   4289    fi
   4290 fi
   4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4292 $as_echo "$ac_cv_path_FGREP" >&6; }
   4293  FGREP="$ac_cv_path_FGREP"
   4294 
   4295 
   4296 test -z "$GREP" && GREP=grep
   4297 
   4298 
   4299 
   4300 
   4301 
   4302 
   4303 
   4304 
   4305 
   4306 
   4307 
   4308 
   4309 
   4310 
   4311 
   4312 
   4313 
   4314 
   4315 
   4316 # Check whether --with-gnu-ld was given.
   4317 if test "${with_gnu_ld+set}" = set; then :
   4318   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4319 else
   4320   with_gnu_ld=no
   4321 fi
   4322 
   4323 ac_prog=ld
   4324 if test "$GCC" = yes; then
   4325   # Check if gcc -print-prog-name=ld gives a path.
   4326   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4327 $as_echo_n "checking for ld used by $CC... " >&6; }
   4328   case $host in
   4329   *-*-mingw*)
   4330     # gcc leaves a trailing carriage return which upsets mingw
   4331     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4332   *)
   4333     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4334   esac
   4335   case $ac_prog in
   4336     # Accept absolute paths.
   4337     [\\/]* | ?:[\\/]*)
   4338       re_direlt='/[^/][^/]*/\.\./'
   4339       # Canonicalize the pathname of ld
   4340       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4341       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4342 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4343       done
   4344       test -z "$LD" && LD="$ac_prog"
   4345       ;;
   4346   "")
   4347     # If it fails, then pretend we aren't using GCC.
   4348     ac_prog=ld
   4349     ;;
   4350   *)
   4351     # If it is relative, then search for the first ld in PATH.
   4352     with_gnu_ld=unknown
   4353     ;;
   4354   esac
   4355 elif test "$with_gnu_ld" = yes; then
   4356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4357 $as_echo_n "checking for GNU ld... " >&6; }
   4358 else
   4359   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4360 $as_echo_n "checking for non-GNU ld... " >&6; }
   4361 fi
   4362 if ${lt_cv_path_LD+:} false; then :
   4363   $as_echo_n "(cached) " >&6
   4364 else
   4365   if test -z "$LD"; then
   4366   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4367   for ac_dir in $PATH; do
   4368     IFS="$lt_save_ifs"
   4369     test -z "$ac_dir" && ac_dir=.
   4370     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4371       lt_cv_path_LD="$ac_dir/$ac_prog"
   4372       # Check to see if the program is GNU ld.  I'd rather use --version,
   4373       # but apparently some variants of GNU ld only accept -v.
   4374       # Break only if it was the GNU/non-GNU ld that we prefer.
   4375       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4376       *GNU* | *'with BFD'*)
   4377 	test "$with_gnu_ld" != no && break
   4378 	;;
   4379       *)
   4380 	test "$with_gnu_ld" != yes && break
   4381 	;;
   4382       esac
   4383     fi
   4384   done
   4385   IFS="$lt_save_ifs"
   4386 else
   4387   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4388 fi
   4389 fi
   4390 
   4391 LD="$lt_cv_path_LD"
   4392 if test -n "$LD"; then
   4393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4394 $as_echo "$LD" >&6; }
   4395 else
   4396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4397 $as_echo "no" >&6; }
   4398 fi
   4399 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4401 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4402 if ${lt_cv_prog_gnu_ld+:} false; then :
   4403   $as_echo_n "(cached) " >&6
   4404 else
   4405   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4406 case `$LD -v 2>&1 </dev/null` in
   4407 *GNU* | *'with BFD'*)
   4408   lt_cv_prog_gnu_ld=yes
   4409   ;;
   4410 *)
   4411   lt_cv_prog_gnu_ld=no
   4412   ;;
   4413 esac
   4414 fi
   4415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4416 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4417 with_gnu_ld=$lt_cv_prog_gnu_ld
   4418 
   4419 
   4420 
   4421 
   4422 
   4423 
   4424 
   4425 
   4426 
   4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4428 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4429 if ${lt_cv_path_NM+:} false; then :
   4430   $as_echo_n "(cached) " >&6
   4431 else
   4432   if test -n "$NM"; then
   4433   # Let the user override the test.
   4434   lt_cv_path_NM="$NM"
   4435 else
   4436   lt_nm_to_check="${ac_tool_prefix}nm"
   4437   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4438     lt_nm_to_check="$lt_nm_to_check nm"
   4439   fi
   4440   for lt_tmp_nm in $lt_nm_to_check; do
   4441     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4442     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4443       IFS="$lt_save_ifs"
   4444       test -z "$ac_dir" && ac_dir=.
   4445       tmp_nm="$ac_dir/$lt_tmp_nm"
   4446       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4447 	# Check to see if the nm accepts a BSD-compat flag.
   4448 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4449 	#   nm: unknown option "B" ignored
   4450 	# Tru64's nm complains that /dev/null is an invalid object file
   4451 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4452 	*/dev/null* | *'Invalid file or object type'*)
   4453 	  lt_cv_path_NM="$tmp_nm -B"
   4454 	  break
   4455 	  ;;
   4456 	*)
   4457 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4458 	  */dev/null*)
   4459 	    lt_cv_path_NM="$tmp_nm -p"
   4460 	    break
   4461 	    ;;
   4462 	  *)
   4463 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4464 	    continue # so that we can try to find one that supports BSD flags
   4465 	    ;;
   4466 	  esac
   4467 	  ;;
   4468 	esac
   4469       fi
   4470     done
   4471     IFS="$lt_save_ifs"
   4472   done
   4473   : ${lt_cv_path_NM=no}
   4474 fi
   4475 fi
   4476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4477 $as_echo "$lt_cv_path_NM" >&6; }
   4478 if test "$lt_cv_path_NM" != "no"; then
   4479   NM="$lt_cv_path_NM"
   4480 else
   4481   # Didn't find any BSD compatible name lister, look for dumpbin.
   4482   if test -n "$DUMPBIN"; then :
   4483     # Let the user override the test.
   4484   else
   4485     if test -n "$ac_tool_prefix"; then
   4486   for ac_prog in dumpbin "link -dump"
   4487   do
   4488     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4491 $as_echo_n "checking for $ac_word... " >&6; }
   4492 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4493   $as_echo_n "(cached) " >&6
   4494 else
   4495   if test -n "$DUMPBIN"; then
   4496   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4497 else
   4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4499 for as_dir in $PATH
   4500 do
   4501   IFS=$as_save_IFS
   4502   test -z "$as_dir" && as_dir=.
   4503     for ac_exec_ext in '' $ac_executable_extensions; do
   4504   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4505     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4507     break 2
   4508   fi
   4509 done
   4510   done
   4511 IFS=$as_save_IFS
   4512 
   4513 fi
   4514 fi
   4515 DUMPBIN=$ac_cv_prog_DUMPBIN
   4516 if test -n "$DUMPBIN"; then
   4517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4518 $as_echo "$DUMPBIN" >&6; }
   4519 else
   4520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4521 $as_echo "no" >&6; }
   4522 fi
   4523 
   4524 
   4525     test -n "$DUMPBIN" && break
   4526   done
   4527 fi
   4528 if test -z "$DUMPBIN"; then
   4529   ac_ct_DUMPBIN=$DUMPBIN
   4530   for ac_prog in dumpbin "link -dump"
   4531 do
   4532   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4533 set dummy $ac_prog; ac_word=$2
   4534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4535 $as_echo_n "checking for $ac_word... " >&6; }
   4536 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4537   $as_echo_n "(cached) " >&6
   4538 else
   4539   if test -n "$ac_ct_DUMPBIN"; then
   4540   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4541 else
   4542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4543 for as_dir in $PATH
   4544 do
   4545   IFS=$as_save_IFS
   4546   test -z "$as_dir" && as_dir=.
   4547     for ac_exec_ext in '' $ac_executable_extensions; do
   4548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4549     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4551     break 2
   4552   fi
   4553 done
   4554   done
   4555 IFS=$as_save_IFS
   4556 
   4557 fi
   4558 fi
   4559 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4560 if test -n "$ac_ct_DUMPBIN"; then
   4561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4562 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4563 else
   4564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4565 $as_echo "no" >&6; }
   4566 fi
   4567 
   4568 
   4569   test -n "$ac_ct_DUMPBIN" && break
   4570 done
   4571 
   4572   if test "x$ac_ct_DUMPBIN" = x; then
   4573     DUMPBIN=":"
   4574   else
   4575     case $cross_compiling:$ac_tool_warned in
   4576 yes:)
   4577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4579 ac_tool_warned=yes ;;
   4580 esac
   4581     DUMPBIN=$ac_ct_DUMPBIN
   4582   fi
   4583 fi
   4584 
   4585     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4586     *COFF*)
   4587       DUMPBIN="$DUMPBIN -symbols"
   4588       ;;
   4589     *)
   4590       DUMPBIN=:
   4591       ;;
   4592     esac
   4593   fi
   4594 
   4595   if test "$DUMPBIN" != ":"; then
   4596     NM="$DUMPBIN"
   4597   fi
   4598 fi
   4599 test -z "$NM" && NM=nm
   4600 
   4601 
   4602 
   4603 
   4604 
   4605 
   4606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4607 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4608 if ${lt_cv_nm_interface+:} false; then :
   4609   $as_echo_n "(cached) " >&6
   4610 else
   4611   lt_cv_nm_interface="BSD nm"
   4612   echo "int some_variable = 0;" > conftest.$ac_ext
   4613   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4614   (eval "$ac_compile" 2>conftest.err)
   4615   cat conftest.err >&5
   4616   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4617   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4618   cat conftest.err >&5
   4619   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4620   cat conftest.out >&5
   4621   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4622     lt_cv_nm_interface="MS dumpbin"
   4623   fi
   4624   rm -f conftest*
   4625 fi
   4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4627 $as_echo "$lt_cv_nm_interface" >&6; }
   4628 
   4629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4630 $as_echo_n "checking whether ln -s works... " >&6; }
   4631 LN_S=$as_ln_s
   4632 if test "$LN_S" = "ln -s"; then
   4633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4634 $as_echo "yes" >&6; }
   4635 else
   4636   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4637 $as_echo "no, using $LN_S" >&6; }
   4638 fi
   4639 
   4640 # find the maximum length of command line arguments
   4641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4642 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4643 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4644   $as_echo_n "(cached) " >&6
   4645 else
   4646     i=0
   4647   teststring="ABCD"
   4648 
   4649   case $build_os in
   4650   msdosdjgpp*)
   4651     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4652     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4653     # during glob expansion).  Even if it were fixed, the result of this
   4654     # check would be larger than it should be.
   4655     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4656     ;;
   4657 
   4658   gnu*)
   4659     # Under GNU Hurd, this test is not required because there is
   4660     # no limit to the length of command line arguments.
   4661     # Libtool will interpret -1 as no limit whatsoever
   4662     lt_cv_sys_max_cmd_len=-1;
   4663     ;;
   4664 
   4665   cygwin* | mingw* | cegcc*)
   4666     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4667     # about 5 minutes as the teststring grows exponentially.
   4668     # Worse, since 9x/ME are not pre-emptively multitasking,
   4669     # you end up with a "frozen" computer, even though with patience
   4670     # the test eventually succeeds (with a max line length of 256k).
   4671     # Instead, let's just punt: use the minimum linelength reported by
   4672     # all of the supported platforms: 8192 (on NT/2K/XP).
   4673     lt_cv_sys_max_cmd_len=8192;
   4674     ;;
   4675 
   4676   mint*)
   4677     # On MiNT this can take a long time and run out of memory.
   4678     lt_cv_sys_max_cmd_len=8192;
   4679     ;;
   4680 
   4681   amigaos*)
   4682     # On AmigaOS with pdksh, this test takes hours, literally.
   4683     # So we just punt and use a minimum line length of 8192.
   4684     lt_cv_sys_max_cmd_len=8192;
   4685     ;;
   4686 
   4687   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4688     # This has been around since 386BSD, at least.  Likely further.
   4689     if test -x /sbin/sysctl; then
   4690       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4691     elif test -x /usr/sbin/sysctl; then
   4692       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4693     else
   4694       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4695     fi
   4696     # And add a safety zone
   4697     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4698     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4699     ;;
   4700 
   4701   interix*)
   4702     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4703     lt_cv_sys_max_cmd_len=196608
   4704     ;;
   4705 
   4706   os2*)
   4707     # The test takes a long time on OS/2.
   4708     lt_cv_sys_max_cmd_len=8192
   4709     ;;
   4710 
   4711   osf*)
   4712     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4713     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4714     # nice to cause kernel panics so lets avoid the loop below.
   4715     # First set a reasonable default.
   4716     lt_cv_sys_max_cmd_len=16384
   4717     #
   4718     if test -x /sbin/sysconfig; then
   4719       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4720         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4721       esac
   4722     fi
   4723     ;;
   4724   sco3.2v5*)
   4725     lt_cv_sys_max_cmd_len=102400
   4726     ;;
   4727   sysv5* | sco5v6* | sysv4.2uw2*)
   4728     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4729     if test -n "$kargmax"; then
   4730       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4731     else
   4732       lt_cv_sys_max_cmd_len=32768
   4733     fi
   4734     ;;
   4735   *)
   4736     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4737     if test -n "$lt_cv_sys_max_cmd_len"; then
   4738       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4739       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4740     else
   4741       # Make teststring a little bigger before we do anything with it.
   4742       # a 1K string should be a reasonable start.
   4743       for i in 1 2 3 4 5 6 7 8 ; do
   4744         teststring=$teststring$teststring
   4745       done
   4746       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4747       # If test is not a shell built-in, we'll probably end up computing a
   4748       # maximum length that is only half of the actual maximum length, but
   4749       # we can't tell.
   4750       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4751 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4752 	      test $i != 17 # 1/2 MB should be enough
   4753       do
   4754         i=`expr $i + 1`
   4755         teststring=$teststring$teststring
   4756       done
   4757       # Only check the string length outside the loop.
   4758       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4759       teststring=
   4760       # Add a significant safety factor because C++ compilers can tack on
   4761       # massive amounts of additional arguments before passing them to the
   4762       # linker.  It appears as though 1/2 is a usable value.
   4763       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4764     fi
   4765     ;;
   4766   esac
   4767 
   4768 fi
   4769 
   4770 if test -n $lt_cv_sys_max_cmd_len ; then
   4771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4772 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4773 else
   4774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4775 $as_echo "none" >&6; }
   4776 fi
   4777 max_cmd_len=$lt_cv_sys_max_cmd_len
   4778 
   4779 
   4780 
   4781 
   4782 
   4783 
   4784 : ${CP="cp -f"}
   4785 : ${MV="mv -f"}
   4786 : ${RM="rm -f"}
   4787 
   4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4789 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4790 # Try some XSI features
   4791 xsi_shell=no
   4792 ( _lt_dummy="a/b/c"
   4793   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4794       = c,a/b,b/c, \
   4795     && eval 'test $(( 1 + 1 )) -eq 2 \
   4796     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4797   && xsi_shell=yes
   4798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4799 $as_echo "$xsi_shell" >&6; }
   4800 
   4801 
   4802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4803 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4804 lt_shell_append=no
   4805 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4806     >/dev/null 2>&1 \
   4807   && lt_shell_append=yes
   4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4809 $as_echo "$lt_shell_append" >&6; }
   4810 
   4811 
   4812 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4813   lt_unset=unset
   4814 else
   4815   lt_unset=false
   4816 fi
   4817 
   4818 
   4819 
   4820 
   4821 
   4822 # test EBCDIC or ASCII
   4823 case `echo X|tr X '\101'` in
   4824  A) # ASCII based system
   4825     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4826   lt_SP2NL='tr \040 \012'
   4827   lt_NL2SP='tr \015\012 \040\040'
   4828   ;;
   4829  *) # EBCDIC based system
   4830   lt_SP2NL='tr \100 \n'
   4831   lt_NL2SP='tr \r\n \100\100'
   4832   ;;
   4833 esac
   4834 
   4835 
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 
   4842 
   4843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4844 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4845 if ${lt_cv_to_host_file_cmd+:} false; then :
   4846   $as_echo_n "(cached) " >&6
   4847 else
   4848   case $host in
   4849   *-*-mingw* )
   4850     case $build in
   4851       *-*-mingw* ) # actually msys
   4852         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4853         ;;
   4854       *-*-cygwin* )
   4855         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4856         ;;
   4857       * ) # otherwise, assume *nix
   4858         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4859         ;;
   4860     esac
   4861     ;;
   4862   *-*-cygwin* )
   4863     case $build in
   4864       *-*-mingw* ) # actually msys
   4865         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4866         ;;
   4867       *-*-cygwin* )
   4868         lt_cv_to_host_file_cmd=func_convert_file_noop
   4869         ;;
   4870       * ) # otherwise, assume *nix
   4871         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4872         ;;
   4873     esac
   4874     ;;
   4875   * ) # unhandled hosts (and "normal" native builds)
   4876     lt_cv_to_host_file_cmd=func_convert_file_noop
   4877     ;;
   4878 esac
   4879 
   4880 fi
   4881 
   4882 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4884 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4891 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4892 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4893   $as_echo_n "(cached) " >&6
   4894 else
   4895   #assume ordinary cross tools, or native build.
   4896 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4897 case $host in
   4898   *-*-mingw* )
   4899     case $build in
   4900       *-*-mingw* ) # actually msys
   4901         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4902         ;;
   4903     esac
   4904     ;;
   4905 esac
   4906 
   4907 fi
   4908 
   4909 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4911 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4918 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4919 if ${lt_cv_ld_reload_flag+:} false; then :
   4920   $as_echo_n "(cached) " >&6
   4921 else
   4922   lt_cv_ld_reload_flag='-r'
   4923 fi
   4924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4925 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4926 reload_flag=$lt_cv_ld_reload_flag
   4927 case $reload_flag in
   4928 "" | " "*) ;;
   4929 *) reload_flag=" $reload_flag" ;;
   4930 esac
   4931 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4932 case $host_os in
   4933   cygwin* | mingw* | pw32* | cegcc*)
   4934     if test "$GCC" != yes; then
   4935       reload_cmds=false
   4936     fi
   4937     ;;
   4938   darwin*)
   4939     if test "$GCC" = yes; then
   4940       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4941     else
   4942       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4943     fi
   4944     ;;
   4945 esac
   4946 
   4947 
   4948 
   4949 
   4950 
   4951 
   4952 
   4953 
   4954 
   4955 if test -n "$ac_tool_prefix"; then
   4956   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4957 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4959 $as_echo_n "checking for $ac_word... " >&6; }
   4960 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4961   $as_echo_n "(cached) " >&6
   4962 else
   4963   if test -n "$OBJDUMP"; then
   4964   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4965 else
   4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4967 for as_dir in $PATH
   4968 do
   4969   IFS=$as_save_IFS
   4970   test -z "$as_dir" && as_dir=.
   4971     for ac_exec_ext in '' $ac_executable_extensions; do
   4972   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4973     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4974     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4975     break 2
   4976   fi
   4977 done
   4978   done
   4979 IFS=$as_save_IFS
   4980 
   4981 fi
   4982 fi
   4983 OBJDUMP=$ac_cv_prog_OBJDUMP
   4984 if test -n "$OBJDUMP"; then
   4985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4986 $as_echo "$OBJDUMP" >&6; }
   4987 else
   4988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4989 $as_echo "no" >&6; }
   4990 fi
   4991 
   4992 
   4993 fi
   4994 if test -z "$ac_cv_prog_OBJDUMP"; then
   4995   ac_ct_OBJDUMP=$OBJDUMP
   4996   # Extract the first word of "objdump", so it can be a program name with args.
   4997 set dummy objdump; ac_word=$2
   4998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4999 $as_echo_n "checking for $ac_word... " >&6; }
   5000 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5001   $as_echo_n "(cached) " >&6
   5002 else
   5003   if test -n "$ac_ct_OBJDUMP"; then
   5004   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5005 else
   5006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5007 for as_dir in $PATH
   5008 do
   5009   IFS=$as_save_IFS
   5010   test -z "$as_dir" && as_dir=.
   5011     for ac_exec_ext in '' $ac_executable_extensions; do
   5012   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5013     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5014     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5015     break 2
   5016   fi
   5017 done
   5018   done
   5019 IFS=$as_save_IFS
   5020 
   5021 fi
   5022 fi
   5023 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5024 if test -n "$ac_ct_OBJDUMP"; then
   5025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5026 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5027 else
   5028   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5029 $as_echo "no" >&6; }
   5030 fi
   5031 
   5032   if test "x$ac_ct_OBJDUMP" = x; then
   5033     OBJDUMP="false"
   5034   else
   5035     case $cross_compiling:$ac_tool_warned in
   5036 yes:)
   5037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5039 ac_tool_warned=yes ;;
   5040 esac
   5041     OBJDUMP=$ac_ct_OBJDUMP
   5042   fi
   5043 else
   5044   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5045 fi
   5046 
   5047 test -z "$OBJDUMP" && OBJDUMP=objdump
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 
   5056 
   5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5058 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5059 if ${lt_cv_deplibs_check_method+:} false; then :
   5060   $as_echo_n "(cached) " >&6
   5061 else
   5062   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5063 lt_cv_file_magic_test_file=
   5064 lt_cv_deplibs_check_method='unknown'
   5065 # Need to set the preceding variable on all platforms that support
   5066 # interlibrary dependencies.
   5067 # 'none' -- dependencies not supported.
   5068 # `unknown' -- same as none, but documents that we really don't know.
   5069 # 'pass_all' -- all dependencies passed with no checks.
   5070 # 'test_compile' -- check by making test program.
   5071 # 'file_magic [[regex]]' -- check by looking for files in library path
   5072 # which responds to the $file_magic_cmd with a given extended regex.
   5073 # If you have `file' or equivalent on your system and you're not sure
   5074 # whether `pass_all' will *always* work, you probably want this one.
   5075 
   5076 case $host_os in
   5077 aix[4-9]*)
   5078   lt_cv_deplibs_check_method=pass_all
   5079   ;;
   5080 
   5081 beos*)
   5082   lt_cv_deplibs_check_method=pass_all
   5083   ;;
   5084 
   5085 bsdi[45]*)
   5086   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5087   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5088   lt_cv_file_magic_test_file=/shlib/libc.so
   5089   ;;
   5090 
   5091 cygwin*)
   5092   # func_win32_libid is a shell function defined in ltmain.sh
   5093   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5094   lt_cv_file_magic_cmd='func_win32_libid'
   5095   ;;
   5096 
   5097 mingw* | pw32*)
   5098   # Base MSYS/MinGW do not provide the 'file' command needed by
   5099   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5100   # unless we find 'file', for example because we are cross-compiling.
   5101   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5102   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5103     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5104     lt_cv_file_magic_cmd='func_win32_libid'
   5105   else
   5106     # Keep this pattern in sync with the one in func_win32_libid.
   5107     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5108     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5109   fi
   5110   ;;
   5111 
   5112 cegcc*)
   5113   # use the weaker test based on 'objdump'. See mingw*.
   5114   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5115   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5116   ;;
   5117 
   5118 darwin* | rhapsody*)
   5119   lt_cv_deplibs_check_method=pass_all
   5120   ;;
   5121 
   5122 freebsd* | dragonfly*)
   5123   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5124     case $host_cpu in
   5125     i*86 )
   5126       # Not sure whether the presence of OpenBSD here was a mistake.
   5127       # Let's accept both of them until this is cleared up.
   5128       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5129       lt_cv_file_magic_cmd=/usr/bin/file
   5130       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5131       ;;
   5132     esac
   5133   else
   5134     lt_cv_deplibs_check_method=pass_all
   5135   fi
   5136   ;;
   5137 
   5138 gnu*)
   5139   lt_cv_deplibs_check_method=pass_all
   5140   ;;
   5141 
   5142 haiku*)
   5143   lt_cv_deplibs_check_method=pass_all
   5144   ;;
   5145 
   5146 hpux10.20* | hpux11*)
   5147   lt_cv_file_magic_cmd=/usr/bin/file
   5148   case $host_cpu in
   5149   ia64*)
   5150     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5151     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5152     ;;
   5153   hppa*64*)
   5154     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]'
   5155     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5156     ;;
   5157   *)
   5158     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5159     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5160     ;;
   5161   esac
   5162   ;;
   5163 
   5164 interix[3-9]*)
   5165   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5166   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5167   ;;
   5168 
   5169 irix5* | irix6* | nonstopux*)
   5170   case $LD in
   5171   *-32|*"-32 ") libmagic=32-bit;;
   5172   *-n32|*"-n32 ") libmagic=N32;;
   5173   *-64|*"-64 ") libmagic=64-bit;;
   5174   *) libmagic=never-match;;
   5175   esac
   5176   lt_cv_deplibs_check_method=pass_all
   5177   ;;
   5178 
   5179 # This must be glibc/ELF.
   5180 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5181   lt_cv_deplibs_check_method=pass_all
   5182   ;;
   5183 
   5184 netbsd*)
   5185   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5186     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5187   else
   5188     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5189   fi
   5190   ;;
   5191 
   5192 newos6*)
   5193   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5194   lt_cv_file_magic_cmd=/usr/bin/file
   5195   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5196   ;;
   5197 
   5198 *nto* | *qnx*)
   5199   lt_cv_deplibs_check_method=pass_all
   5200   ;;
   5201 
   5202 openbsd*)
   5203   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5204     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5205   else
   5206     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5207   fi
   5208   ;;
   5209 
   5210 osf3* | osf4* | osf5*)
   5211   lt_cv_deplibs_check_method=pass_all
   5212   ;;
   5213 
   5214 rdos*)
   5215   lt_cv_deplibs_check_method=pass_all
   5216   ;;
   5217 
   5218 solaris*)
   5219   lt_cv_deplibs_check_method=pass_all
   5220   ;;
   5221 
   5222 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5223   lt_cv_deplibs_check_method=pass_all
   5224   ;;
   5225 
   5226 sysv4 | sysv4.3*)
   5227   case $host_vendor in
   5228   motorola)
   5229     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]'
   5230     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5231     ;;
   5232   ncr)
   5233     lt_cv_deplibs_check_method=pass_all
   5234     ;;
   5235   sequent)
   5236     lt_cv_file_magic_cmd='/bin/file'
   5237     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5238     ;;
   5239   sni)
   5240     lt_cv_file_magic_cmd='/bin/file'
   5241     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5242     lt_cv_file_magic_test_file=/lib/libc.so
   5243     ;;
   5244   siemens)
   5245     lt_cv_deplibs_check_method=pass_all
   5246     ;;
   5247   pc)
   5248     lt_cv_deplibs_check_method=pass_all
   5249     ;;
   5250   esac
   5251   ;;
   5252 
   5253 tpf*)
   5254   lt_cv_deplibs_check_method=pass_all
   5255   ;;
   5256 esac
   5257 
   5258 fi
   5259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5260 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5261 
   5262 file_magic_glob=
   5263 want_nocaseglob=no
   5264 if test "$build" = "$host"; then
   5265   case $host_os in
   5266   mingw* | pw32*)
   5267     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5268       want_nocaseglob=yes
   5269     else
   5270       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5271     fi
   5272     ;;
   5273   esac
   5274 fi
   5275 
   5276 file_magic_cmd=$lt_cv_file_magic_cmd
   5277 deplibs_check_method=$lt_cv_deplibs_check_method
   5278 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 if test -n "$ac_tool_prefix"; then
   5302   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5303 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5305 $as_echo_n "checking for $ac_word... " >&6; }
   5306 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5307   $as_echo_n "(cached) " >&6
   5308 else
   5309   if test -n "$DLLTOOL"; then
   5310   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5311 else
   5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5313 for as_dir in $PATH
   5314 do
   5315   IFS=$as_save_IFS
   5316   test -z "$as_dir" && as_dir=.
   5317     for ac_exec_ext in '' $ac_executable_extensions; do
   5318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5319     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5321     break 2
   5322   fi
   5323 done
   5324   done
   5325 IFS=$as_save_IFS
   5326 
   5327 fi
   5328 fi
   5329 DLLTOOL=$ac_cv_prog_DLLTOOL
   5330 if test -n "$DLLTOOL"; then
   5331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5332 $as_echo "$DLLTOOL" >&6; }
   5333 else
   5334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5335 $as_echo "no" >&6; }
   5336 fi
   5337 
   5338 
   5339 fi
   5340 if test -z "$ac_cv_prog_DLLTOOL"; then
   5341   ac_ct_DLLTOOL=$DLLTOOL
   5342   # Extract the first word of "dlltool", so it can be a program name with args.
   5343 set dummy dlltool; ac_word=$2
   5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5345 $as_echo_n "checking for $ac_word... " >&6; }
   5346 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5347   $as_echo_n "(cached) " >&6
   5348 else
   5349   if test -n "$ac_ct_DLLTOOL"; then
   5350   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5351 else
   5352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5353 for as_dir in $PATH
   5354 do
   5355   IFS=$as_save_IFS
   5356   test -z "$as_dir" && as_dir=.
   5357     for ac_exec_ext in '' $ac_executable_extensions; do
   5358   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5359     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5360     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5361     break 2
   5362   fi
   5363 done
   5364   done
   5365 IFS=$as_save_IFS
   5366 
   5367 fi
   5368 fi
   5369 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5370 if test -n "$ac_ct_DLLTOOL"; then
   5371   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5372 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5373 else
   5374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5375 $as_echo "no" >&6; }
   5376 fi
   5377 
   5378   if test "x$ac_ct_DLLTOOL" = x; then
   5379     DLLTOOL="false"
   5380   else
   5381     case $cross_compiling:$ac_tool_warned in
   5382 yes:)
   5383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5384 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5385 ac_tool_warned=yes ;;
   5386 esac
   5387     DLLTOOL=$ac_ct_DLLTOOL
   5388   fi
   5389 else
   5390   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5391 fi
   5392 
   5393 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5394 
   5395 
   5396 
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5405 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5406 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5407   $as_echo_n "(cached) " >&6
   5408 else
   5409   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5410 
   5411 case $host_os in
   5412 cygwin* | mingw* | pw32* | cegcc*)
   5413   # two different shell functions defined in ltmain.sh
   5414   # decide which to use based on capabilities of $DLLTOOL
   5415   case `$DLLTOOL --help 2>&1` in
   5416   *--identify-strict*)
   5417     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5418     ;;
   5419   *)
   5420     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5421     ;;
   5422   esac
   5423   ;;
   5424 *)
   5425   # fallback: assume linklib IS sharedlib
   5426   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5427   ;;
   5428 esac
   5429 
   5430 fi
   5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5432 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5433 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5434 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 if test -n "$ac_tool_prefix"; then
   5444   for ac_prog in ar
   5445   do
   5446     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5447 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5449 $as_echo_n "checking for $ac_word... " >&6; }
   5450 if ${ac_cv_prog_AR+:} false; then :
   5451   $as_echo_n "(cached) " >&6
   5452 else
   5453   if test -n "$AR"; then
   5454   ac_cv_prog_AR="$AR" # Let the user override the test.
   5455 else
   5456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5457 for as_dir in $PATH
   5458 do
   5459   IFS=$as_save_IFS
   5460   test -z "$as_dir" && as_dir=.
   5461     for ac_exec_ext in '' $ac_executable_extensions; do
   5462   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5463     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5465     break 2
   5466   fi
   5467 done
   5468   done
   5469 IFS=$as_save_IFS
   5470 
   5471 fi
   5472 fi
   5473 AR=$ac_cv_prog_AR
   5474 if test -n "$AR"; then
   5475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5476 $as_echo "$AR" >&6; }
   5477 else
   5478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5479 $as_echo "no" >&6; }
   5480 fi
   5481 
   5482 
   5483     test -n "$AR" && break
   5484   done
   5485 fi
   5486 if test -z "$AR"; then
   5487   ac_ct_AR=$AR
   5488   for ac_prog in ar
   5489 do
   5490   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5491 set dummy $ac_prog; ac_word=$2
   5492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5493 $as_echo_n "checking for $ac_word... " >&6; }
   5494 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5495   $as_echo_n "(cached) " >&6
   5496 else
   5497   if test -n "$ac_ct_AR"; then
   5498   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5499 else
   5500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5501 for as_dir in $PATH
   5502 do
   5503   IFS=$as_save_IFS
   5504   test -z "$as_dir" && as_dir=.
   5505     for ac_exec_ext in '' $ac_executable_extensions; do
   5506   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5507     ac_cv_prog_ac_ct_AR="$ac_prog"
   5508     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5509     break 2
   5510   fi
   5511 done
   5512   done
   5513 IFS=$as_save_IFS
   5514 
   5515 fi
   5516 fi
   5517 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5518 if test -n "$ac_ct_AR"; then
   5519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5520 $as_echo "$ac_ct_AR" >&6; }
   5521 else
   5522   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5523 $as_echo "no" >&6; }
   5524 fi
   5525 
   5526 
   5527   test -n "$ac_ct_AR" && break
   5528 done
   5529 
   5530   if test "x$ac_ct_AR" = x; then
   5531     AR="false"
   5532   else
   5533     case $cross_compiling:$ac_tool_warned in
   5534 yes:)
   5535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5536 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5537 ac_tool_warned=yes ;;
   5538 esac
   5539     AR=$ac_ct_AR
   5540   fi
   5541 fi
   5542 
   5543 : ${AR=ar}
   5544 : ${AR_FLAGS=cru}
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5557 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5558 if ${lt_cv_ar_at_file+:} false; then :
   5559   $as_echo_n "(cached) " >&6
   5560 else
   5561   lt_cv_ar_at_file=no
   5562    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5563 /* end confdefs.h.  */
   5564 
   5565 int
   5566 main ()
   5567 {
   5568 
   5569   ;
   5570   return 0;
   5571 }
   5572 _ACEOF
   5573 if ac_fn_c_try_compile "$LINENO"; then :
   5574   echo conftest.$ac_objext > conftest.lst
   5575       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5576       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5577   (eval $lt_ar_try) 2>&5
   5578   ac_status=$?
   5579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5580   test $ac_status = 0; }
   5581       if test "$ac_status" -eq 0; then
   5582 	# Ensure the archiver fails upon bogus file names.
   5583 	rm -f conftest.$ac_objext libconftest.a
   5584 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5585   (eval $lt_ar_try) 2>&5
   5586   ac_status=$?
   5587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5588   test $ac_status = 0; }
   5589 	if test "$ac_status" -ne 0; then
   5590           lt_cv_ar_at_file=@
   5591         fi
   5592       fi
   5593       rm -f conftest.* libconftest.a
   5594 
   5595 fi
   5596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5597 
   5598 fi
   5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5600 $as_echo "$lt_cv_ar_at_file" >&6; }
   5601 
   5602 if test "x$lt_cv_ar_at_file" = xno; then
   5603   archiver_list_spec=
   5604 else
   5605   archiver_list_spec=$lt_cv_ar_at_file
   5606 fi
   5607 
   5608 
   5609 
   5610 
   5611 
   5612 
   5613 
   5614 if test -n "$ac_tool_prefix"; then
   5615   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5616 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5618 $as_echo_n "checking for $ac_word... " >&6; }
   5619 if ${ac_cv_prog_STRIP+:} false; then :
   5620   $as_echo_n "(cached) " >&6
   5621 else
   5622   if test -n "$STRIP"; then
   5623   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5624 else
   5625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5626 for as_dir in $PATH
   5627 do
   5628   IFS=$as_save_IFS
   5629   test -z "$as_dir" && as_dir=.
   5630     for ac_exec_ext in '' $ac_executable_extensions; do
   5631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5632     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5634     break 2
   5635   fi
   5636 done
   5637   done
   5638 IFS=$as_save_IFS
   5639 
   5640 fi
   5641 fi
   5642 STRIP=$ac_cv_prog_STRIP
   5643 if test -n "$STRIP"; then
   5644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5645 $as_echo "$STRIP" >&6; }
   5646 else
   5647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5648 $as_echo "no" >&6; }
   5649 fi
   5650 
   5651 
   5652 fi
   5653 if test -z "$ac_cv_prog_STRIP"; then
   5654   ac_ct_STRIP=$STRIP
   5655   # Extract the first word of "strip", so it can be a program name with args.
   5656 set dummy strip; ac_word=$2
   5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5658 $as_echo_n "checking for $ac_word... " >&6; }
   5659 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5660   $as_echo_n "(cached) " >&6
   5661 else
   5662   if test -n "$ac_ct_STRIP"; then
   5663   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5664 else
   5665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5666 for as_dir in $PATH
   5667 do
   5668   IFS=$as_save_IFS
   5669   test -z "$as_dir" && as_dir=.
   5670     for ac_exec_ext in '' $ac_executable_extensions; do
   5671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5672     ac_cv_prog_ac_ct_STRIP="strip"
   5673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5674     break 2
   5675   fi
   5676 done
   5677   done
   5678 IFS=$as_save_IFS
   5679 
   5680 fi
   5681 fi
   5682 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5683 if test -n "$ac_ct_STRIP"; then
   5684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5685 $as_echo "$ac_ct_STRIP" >&6; }
   5686 else
   5687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5688 $as_echo "no" >&6; }
   5689 fi
   5690 
   5691   if test "x$ac_ct_STRIP" = x; then
   5692     STRIP=":"
   5693   else
   5694     case $cross_compiling:$ac_tool_warned in
   5695 yes:)
   5696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5698 ac_tool_warned=yes ;;
   5699 esac
   5700     STRIP=$ac_ct_STRIP
   5701   fi
   5702 else
   5703   STRIP="$ac_cv_prog_STRIP"
   5704 fi
   5705 
   5706 test -z "$STRIP" && STRIP=:
   5707 
   5708 
   5709 
   5710 
   5711 
   5712 
   5713 if test -n "$ac_tool_prefix"; then
   5714   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5715 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5717 $as_echo_n "checking for $ac_word... " >&6; }
   5718 if ${ac_cv_prog_RANLIB+:} false; then :
   5719   $as_echo_n "(cached) " >&6
   5720 else
   5721   if test -n "$RANLIB"; then
   5722   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5723 else
   5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5725 for as_dir in $PATH
   5726 do
   5727   IFS=$as_save_IFS
   5728   test -z "$as_dir" && as_dir=.
   5729     for ac_exec_ext in '' $ac_executable_extensions; do
   5730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5731     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5732     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5733     break 2
   5734   fi
   5735 done
   5736   done
   5737 IFS=$as_save_IFS
   5738 
   5739 fi
   5740 fi
   5741 RANLIB=$ac_cv_prog_RANLIB
   5742 if test -n "$RANLIB"; then
   5743   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5744 $as_echo "$RANLIB" >&6; }
   5745 else
   5746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5747 $as_echo "no" >&6; }
   5748 fi
   5749 
   5750 
   5751 fi
   5752 if test -z "$ac_cv_prog_RANLIB"; then
   5753   ac_ct_RANLIB=$RANLIB
   5754   # Extract the first word of "ranlib", so it can be a program name with args.
   5755 set dummy ranlib; ac_word=$2
   5756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5757 $as_echo_n "checking for $ac_word... " >&6; }
   5758 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5759   $as_echo_n "(cached) " >&6
   5760 else
   5761   if test -n "$ac_ct_RANLIB"; then
   5762   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5763 else
   5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5765 for as_dir in $PATH
   5766 do
   5767   IFS=$as_save_IFS
   5768   test -z "$as_dir" && as_dir=.
   5769     for ac_exec_ext in '' $ac_executable_extensions; do
   5770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5771     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5772     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5773     break 2
   5774   fi
   5775 done
   5776   done
   5777 IFS=$as_save_IFS
   5778 
   5779 fi
   5780 fi
   5781 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5782 if test -n "$ac_ct_RANLIB"; then
   5783   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5784 $as_echo "$ac_ct_RANLIB" >&6; }
   5785 else
   5786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5787 $as_echo "no" >&6; }
   5788 fi
   5789 
   5790   if test "x$ac_ct_RANLIB" = x; then
   5791     RANLIB=":"
   5792   else
   5793     case $cross_compiling:$ac_tool_warned in
   5794 yes:)
   5795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5796 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5797 ac_tool_warned=yes ;;
   5798 esac
   5799     RANLIB=$ac_ct_RANLIB
   5800   fi
   5801 else
   5802   RANLIB="$ac_cv_prog_RANLIB"
   5803 fi
   5804 
   5805 test -z "$RANLIB" && RANLIB=:
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 # Determine commands to create old-style static archives.
   5813 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5814 old_postinstall_cmds='chmod 644 $oldlib'
   5815 old_postuninstall_cmds=
   5816 
   5817 if test -n "$RANLIB"; then
   5818   case $host_os in
   5819   openbsd*)
   5820     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5821     ;;
   5822   *)
   5823     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5824     ;;
   5825   esac
   5826   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5827 fi
   5828 
   5829 case $host_os in
   5830   darwin*)
   5831     lock_old_archive_extraction=yes ;;
   5832   *)
   5833     lock_old_archive_extraction=no ;;
   5834 esac
   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 
   5874 # If no C compiler was specified, use CC.
   5875 LTCC=${LTCC-"$CC"}
   5876 
   5877 # If no C compiler flags were specified, use CFLAGS.
   5878 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5879 
   5880 # Allow CC to be a program name with arguments.
   5881 compiler=$CC
   5882 
   5883 
   5884 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5886 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5887 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5888   $as_echo_n "(cached) " >&6
   5889 else
   5890 
   5891 # These are sane defaults that work on at least a few old systems.
   5892 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5893 
   5894 # Character class describing NM global symbol codes.
   5895 symcode='[BCDEGRST]'
   5896 
   5897 # Regexp to match symbols that can be accessed directly from C.
   5898 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5899 
   5900 # Define system-specific variables.
   5901 case $host_os in
   5902 aix*)
   5903   symcode='[BCDT]'
   5904   ;;
   5905 cygwin* | mingw* | pw32* | cegcc*)
   5906   symcode='[ABCDGISTW]'
   5907   ;;
   5908 hpux*)
   5909   if test "$host_cpu" = ia64; then
   5910     symcode='[ABCDEGRST]'
   5911   fi
   5912   ;;
   5913 irix* | nonstopux*)
   5914   symcode='[BCDEGRST]'
   5915   ;;
   5916 osf*)
   5917   symcode='[BCDEGQRST]'
   5918   ;;
   5919 solaris*)
   5920   symcode='[BDRT]'
   5921   ;;
   5922 sco3.2v5*)
   5923   symcode='[DT]'
   5924   ;;
   5925 sysv4.2uw2*)
   5926   symcode='[DT]'
   5927   ;;
   5928 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5929   symcode='[ABDT]'
   5930   ;;
   5931 sysv4)
   5932   symcode='[DFNSTU]'
   5933   ;;
   5934 esac
   5935 
   5936 # If we're using GNU nm, then use its standard symbol codes.
   5937 case `$NM -V 2>&1` in
   5938 *GNU* | *'with BFD'*)
   5939   symcode='[ABCDGIRSTW]' ;;
   5940 esac
   5941 
   5942 # Transform an extracted symbol line into a proper C declaration.
   5943 # Some systems (esp. on ia64) link data and code symbols differently,
   5944 # so use this general approach.
   5945 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5946 
   5947 # Transform an extracted symbol line into symbol name and symbol address
   5948 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5949 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'"
   5950 
   5951 # Handle CRLF in mingw tool chain
   5952 opt_cr=
   5953 case $build_os in
   5954 mingw*)
   5955   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5956   ;;
   5957 esac
   5958 
   5959 # Try without a prefix underscore, then with it.
   5960 for ac_symprfx in "" "_"; do
   5961 
   5962   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5963   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5964 
   5965   # Write the raw and C identifiers.
   5966   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5967     # Fake it for dumpbin and say T for any non-static function
   5968     # and D for any global variable.
   5969     # Also find C++ and __fastcall symbols from MSVC++,
   5970     # which start with @ or ?.
   5971     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5972 "     {last_section=section; section=\$ 3};"\
   5973 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5974 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5975 "     \$ 0!~/External *\|/{next};"\
   5976 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5977 "     {if(hide[section]) next};"\
   5978 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5979 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5980 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5981 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5982 "     ' prfx=^$ac_symprfx"
   5983   else
   5984     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5985   fi
   5986   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5987 
   5988   # Check to see that the pipe works correctly.
   5989   pipe_works=no
   5990 
   5991   rm -f conftest*
   5992   cat > conftest.$ac_ext <<_LT_EOF
   5993 #ifdef __cplusplus
   5994 extern "C" {
   5995 #endif
   5996 char nm_test_var;
   5997 void nm_test_func(void);
   5998 void nm_test_func(void){}
   5999 #ifdef __cplusplus
   6000 }
   6001 #endif
   6002 int main(){nm_test_var='a';nm_test_func();return(0);}
   6003 _LT_EOF
   6004 
   6005   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6006   (eval $ac_compile) 2>&5
   6007   ac_status=$?
   6008   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6009   test $ac_status = 0; }; then
   6010     # Now try to grab the symbols.
   6011     nlist=conftest.nm
   6012     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6013   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6014   ac_status=$?
   6015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6016   test $ac_status = 0; } && test -s "$nlist"; then
   6017       # Try sorting and uniquifying the output.
   6018       if sort "$nlist" | uniq > "$nlist"T; then
   6019 	mv -f "$nlist"T "$nlist"
   6020       else
   6021 	rm -f "$nlist"T
   6022       fi
   6023 
   6024       # Make sure that we snagged all the symbols we need.
   6025       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6026 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6027 	  cat <<_LT_EOF > conftest.$ac_ext
   6028 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6029 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6030 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6031    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6032 # define LT_DLSYM_CONST
   6033 #elif defined(__osf__)
   6034 /* This system does not cope well with relocations in const data.  */
   6035 # define LT_DLSYM_CONST
   6036 #else
   6037 # define LT_DLSYM_CONST const
   6038 #endif
   6039 
   6040 #ifdef __cplusplus
   6041 extern "C" {
   6042 #endif
   6043 
   6044 _LT_EOF
   6045 	  # Now generate the symbol file.
   6046 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6047 
   6048 	  cat <<_LT_EOF >> conftest.$ac_ext
   6049 
   6050 /* The mapping between symbol names and symbols.  */
   6051 LT_DLSYM_CONST struct {
   6052   const char *name;
   6053   void       *address;
   6054 }
   6055 lt__PROGRAM__LTX_preloaded_symbols[] =
   6056 {
   6057   { "@PROGRAM@", (void *) 0 },
   6058 _LT_EOF
   6059 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6060 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6061   {0, (void *) 0}
   6062 };
   6063 
   6064 /* This works around a problem in FreeBSD linker */
   6065 #ifdef FREEBSD_WORKAROUND
   6066 static const void *lt_preloaded_setup() {
   6067   return lt__PROGRAM__LTX_preloaded_symbols;
   6068 }
   6069 #endif
   6070 
   6071 #ifdef __cplusplus
   6072 }
   6073 #endif
   6074 _LT_EOF
   6075 	  # Now try linking the two files.
   6076 	  mv conftest.$ac_objext conftstm.$ac_objext
   6077 	  lt_globsym_save_LIBS=$LIBS
   6078 	  lt_globsym_save_CFLAGS=$CFLAGS
   6079 	  LIBS="conftstm.$ac_objext"
   6080 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6081 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6082   (eval $ac_link) 2>&5
   6083   ac_status=$?
   6084   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6085   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6086 	    pipe_works=yes
   6087 	  fi
   6088 	  LIBS=$lt_globsym_save_LIBS
   6089 	  CFLAGS=$lt_globsym_save_CFLAGS
   6090 	else
   6091 	  echo "cannot find nm_test_func in $nlist" >&5
   6092 	fi
   6093       else
   6094 	echo "cannot find nm_test_var in $nlist" >&5
   6095       fi
   6096     else
   6097       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6098     fi
   6099   else
   6100     echo "$progname: failed program was:" >&5
   6101     cat conftest.$ac_ext >&5
   6102   fi
   6103   rm -rf conftest* conftst*
   6104 
   6105   # Do not use the global_symbol_pipe unless it works.
   6106   if test "$pipe_works" = yes; then
   6107     break
   6108   else
   6109     lt_cv_sys_global_symbol_pipe=
   6110   fi
   6111 done
   6112 
   6113 fi
   6114 
   6115 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6116   lt_cv_sys_global_symbol_to_cdecl=
   6117 fi
   6118 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6120 $as_echo "failed" >&6; }
   6121 else
   6122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6123 $as_echo "ok" >&6; }
   6124 fi
   6125 
   6126 # Response file support.
   6127 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6128   nm_file_list_spec='@'
   6129 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6130   nm_file_list_spec='@'
   6131 fi
   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 
   6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6160 $as_echo_n "checking for sysroot... " >&6; }
   6161 
   6162 # Check whether --with-sysroot was given.
   6163 if test "${with_sysroot+set}" = set; then :
   6164   withval=$with_sysroot;
   6165 else
   6166   with_sysroot=no
   6167 fi
   6168 
   6169 
   6170 lt_sysroot=
   6171 case ${with_sysroot} in #(
   6172  yes)
   6173    if test "$GCC" = yes; then
   6174      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6175    fi
   6176    ;; #(
   6177  /*)
   6178    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6179    ;; #(
   6180  no|'')
   6181    ;; #(
   6182  *)
   6183    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6184 $as_echo "${with_sysroot}" >&6; }
   6185    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6186    ;;
   6187 esac
   6188 
   6189  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6190 $as_echo "${lt_sysroot:-no}" >&6; }
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 # Check whether --enable-libtool-lock was given.
   6197 if test "${enable_libtool_lock+set}" = set; then :
   6198   enableval=$enable_libtool_lock;
   6199 fi
   6200 
   6201 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6202 
   6203 # Some flags need to be propagated to the compiler or linker for good
   6204 # libtool support.
   6205 case $host in
   6206 ia64-*-hpux*)
   6207   # Find out which ABI we are using.
   6208   echo 'int i;' > conftest.$ac_ext
   6209   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6210   (eval $ac_compile) 2>&5
   6211   ac_status=$?
   6212   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6213   test $ac_status = 0; }; then
   6214     case `/usr/bin/file conftest.$ac_objext` in
   6215       *ELF-32*)
   6216 	HPUX_IA64_MODE="32"
   6217 	;;
   6218       *ELF-64*)
   6219 	HPUX_IA64_MODE="64"
   6220 	;;
   6221     esac
   6222   fi
   6223   rm -rf conftest*
   6224   ;;
   6225 *-*-irix6*)
   6226   # Find out which ABI we are using.
   6227   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6228   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6229   (eval $ac_compile) 2>&5
   6230   ac_status=$?
   6231   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6232   test $ac_status = 0; }; then
   6233     if test "$lt_cv_prog_gnu_ld" = yes; then
   6234       case `/usr/bin/file conftest.$ac_objext` in
   6235 	*32-bit*)
   6236 	  LD="${LD-ld} -melf32bsmip"
   6237 	  ;;
   6238 	*N32*)
   6239 	  LD="${LD-ld} -melf32bmipn32"
   6240 	  ;;
   6241 	*64-bit*)
   6242 	  LD="${LD-ld} -melf64bmip"
   6243 	;;
   6244       esac
   6245     else
   6246       case `/usr/bin/file conftest.$ac_objext` in
   6247 	*32-bit*)
   6248 	  LD="${LD-ld} -32"
   6249 	  ;;
   6250 	*N32*)
   6251 	  LD="${LD-ld} -n32"
   6252 	  ;;
   6253 	*64-bit*)
   6254 	  LD="${LD-ld} -64"
   6255 	  ;;
   6256       esac
   6257     fi
   6258   fi
   6259   rm -rf conftest*
   6260   ;;
   6261 
   6262 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6263 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6264   # Find out which ABI we are using.
   6265   echo 'int i;' > conftest.$ac_ext
   6266   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6267   (eval $ac_compile) 2>&5
   6268   ac_status=$?
   6269   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6270   test $ac_status = 0; }; then
   6271     case `/usr/bin/file conftest.o` in
   6272       *32-bit*)
   6273 	case $host in
   6274 	  x86_64-*kfreebsd*-gnu)
   6275 	    LD="${LD-ld} -m elf_i386_fbsd"
   6276 	    ;;
   6277 	  x86_64-*linux*)
   6278 	    LD="${LD-ld} -m elf_i386"
   6279 	    ;;
   6280 	  ppc64-*linux*|powerpc64-*linux*)
   6281 	    LD="${LD-ld} -m elf32ppclinux"
   6282 	    ;;
   6283 	  s390x-*linux*)
   6284 	    LD="${LD-ld} -m elf_s390"
   6285 	    ;;
   6286 	  sparc64-*linux*)
   6287 	    LD="${LD-ld} -m elf32_sparc"
   6288 	    ;;
   6289 	esac
   6290 	;;
   6291       *64-bit*)
   6292 	case $host in
   6293 	  x86_64-*kfreebsd*-gnu)
   6294 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6295 	    ;;
   6296 	  x86_64-*linux*)
   6297 	    LD="${LD-ld} -m elf_x86_64"
   6298 	    ;;
   6299 	  ppc*-*linux*|powerpc*-*linux*)
   6300 	    LD="${LD-ld} -m elf64ppc"
   6301 	    ;;
   6302 	  s390*-*linux*|s390*-*tpf*)
   6303 	    LD="${LD-ld} -m elf64_s390"
   6304 	    ;;
   6305 	  sparc*-*linux*)
   6306 	    LD="${LD-ld} -m elf64_sparc"
   6307 	    ;;
   6308 	esac
   6309 	;;
   6310     esac
   6311   fi
   6312   rm -rf conftest*
   6313   ;;
   6314 
   6315 *-*-sco3.2v5*)
   6316   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6317   SAVE_CFLAGS="$CFLAGS"
   6318   CFLAGS="$CFLAGS -belf"
   6319   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6320 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6321 if ${lt_cv_cc_needs_belf+:} false; then :
   6322   $as_echo_n "(cached) " >&6
   6323 else
   6324   ac_ext=c
   6325 ac_cpp='$CPP $CPPFLAGS'
   6326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6329 
   6330      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6331 /* end confdefs.h.  */
   6332 
   6333 int
   6334 main ()
   6335 {
   6336 
   6337   ;
   6338   return 0;
   6339 }
   6340 _ACEOF
   6341 if ac_fn_c_try_link "$LINENO"; then :
   6342   lt_cv_cc_needs_belf=yes
   6343 else
   6344   lt_cv_cc_needs_belf=no
   6345 fi
   6346 rm -f core conftest.err conftest.$ac_objext \
   6347     conftest$ac_exeext conftest.$ac_ext
   6348      ac_ext=c
   6349 ac_cpp='$CPP $CPPFLAGS'
   6350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6353 
   6354 fi
   6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6356 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6357   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6358     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6359     CFLAGS="$SAVE_CFLAGS"
   6360   fi
   6361   ;;
   6362 *-*solaris*)
   6363   # Find out which ABI we are using.
   6364   echo 'int i;' > conftest.$ac_ext
   6365   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6366   (eval $ac_compile) 2>&5
   6367   ac_status=$?
   6368   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6369   test $ac_status = 0; }; then
   6370     case `/usr/bin/file conftest.o` in
   6371     *64-bit*)
   6372       case $lt_cv_prog_gnu_ld in
   6373       yes*)
   6374         case $host in
   6375         i?86-*-solaris*)
   6376           LD="${LD-ld} -m elf_x86_64"
   6377           ;;
   6378         sparc*-*-solaris*)
   6379           LD="${LD-ld} -m elf64_sparc"
   6380           ;;
   6381         esac
   6382         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6383         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6384           LD="${LD-ld}_sol2"
   6385         fi
   6386         ;;
   6387       *)
   6388 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6389 	  LD="${LD-ld} -64"
   6390 	fi
   6391 	;;
   6392       esac
   6393       ;;
   6394     esac
   6395   fi
   6396   rm -rf conftest*
   6397   ;;
   6398 esac
   6399 
   6400 need_locks="$enable_libtool_lock"
   6401 
   6402 if test -n "$ac_tool_prefix"; then
   6403   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6404 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6406 $as_echo_n "checking for $ac_word... " >&6; }
   6407 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6408   $as_echo_n "(cached) " >&6
   6409 else
   6410   if test -n "$MANIFEST_TOOL"; then
   6411   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6412 else
   6413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6414 for as_dir in $PATH
   6415 do
   6416   IFS=$as_save_IFS
   6417   test -z "$as_dir" && as_dir=.
   6418     for ac_exec_ext in '' $ac_executable_extensions; do
   6419   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6420     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6421     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6422     break 2
   6423   fi
   6424 done
   6425   done
   6426 IFS=$as_save_IFS
   6427 
   6428 fi
   6429 fi
   6430 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6431 if test -n "$MANIFEST_TOOL"; then
   6432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6433 $as_echo "$MANIFEST_TOOL" >&6; }
   6434 else
   6435   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6436 $as_echo "no" >&6; }
   6437 fi
   6438 
   6439 
   6440 fi
   6441 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6442   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6443   # Extract the first word of "mt", so it can be a program name with args.
   6444 set dummy mt; ac_word=$2
   6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6446 $as_echo_n "checking for $ac_word... " >&6; }
   6447 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6448   $as_echo_n "(cached) " >&6
   6449 else
   6450   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6451   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6452 else
   6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6454 for as_dir in $PATH
   6455 do
   6456   IFS=$as_save_IFS
   6457   test -z "$as_dir" && as_dir=.
   6458     for ac_exec_ext in '' $ac_executable_extensions; do
   6459   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6460     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6461     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6462     break 2
   6463   fi
   6464 done
   6465   done
   6466 IFS=$as_save_IFS
   6467 
   6468 fi
   6469 fi
   6470 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6471 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6473 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6474 else
   6475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6476 $as_echo "no" >&6; }
   6477 fi
   6478 
   6479   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6480     MANIFEST_TOOL=":"
   6481   else
   6482     case $cross_compiling:$ac_tool_warned in
   6483 yes:)
   6484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6486 ac_tool_warned=yes ;;
   6487 esac
   6488     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6489   fi
   6490 else
   6491   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6492 fi
   6493 
   6494 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6496 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6497 if ${lt_cv_path_mainfest_tool+:} false; then :
   6498   $as_echo_n "(cached) " >&6
   6499 else
   6500   lt_cv_path_mainfest_tool=no
   6501   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6502   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6503   cat conftest.err >&5
   6504   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6505     lt_cv_path_mainfest_tool=yes
   6506   fi
   6507   rm -f conftest*
   6508 fi
   6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6510 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6511 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6512   MANIFEST_TOOL=:
   6513 fi
   6514 
   6515 
   6516 
   6517 
   6518 
   6519 
   6520   case $host_os in
   6521     rhapsody* | darwin*)
   6522     if test -n "$ac_tool_prefix"; then
   6523   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6524 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6526 $as_echo_n "checking for $ac_word... " >&6; }
   6527 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6528   $as_echo_n "(cached) " >&6
   6529 else
   6530   if test -n "$DSYMUTIL"; then
   6531   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6532 else
   6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6534 for as_dir in $PATH
   6535 do
   6536   IFS=$as_save_IFS
   6537   test -z "$as_dir" && as_dir=.
   6538     for ac_exec_ext in '' $ac_executable_extensions; do
   6539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6540     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6542     break 2
   6543   fi
   6544 done
   6545   done
   6546 IFS=$as_save_IFS
   6547 
   6548 fi
   6549 fi
   6550 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6551 if test -n "$DSYMUTIL"; then
   6552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6553 $as_echo "$DSYMUTIL" >&6; }
   6554 else
   6555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6556 $as_echo "no" >&6; }
   6557 fi
   6558 
   6559 
   6560 fi
   6561 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6562   ac_ct_DSYMUTIL=$DSYMUTIL
   6563   # Extract the first word of "dsymutil", so it can be a program name with args.
   6564 set dummy dsymutil; ac_word=$2
   6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6566 $as_echo_n "checking for $ac_word... " >&6; }
   6567 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6568   $as_echo_n "(cached) " >&6
   6569 else
   6570   if test -n "$ac_ct_DSYMUTIL"; then
   6571   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6572 else
   6573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6574 for as_dir in $PATH
   6575 do
   6576   IFS=$as_save_IFS
   6577   test -z "$as_dir" && as_dir=.
   6578     for ac_exec_ext in '' $ac_executable_extensions; do
   6579   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6580     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6582     break 2
   6583   fi
   6584 done
   6585   done
   6586 IFS=$as_save_IFS
   6587 
   6588 fi
   6589 fi
   6590 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6591 if test -n "$ac_ct_DSYMUTIL"; then
   6592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6593 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6594 else
   6595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6596 $as_echo "no" >&6; }
   6597 fi
   6598 
   6599   if test "x$ac_ct_DSYMUTIL" = x; then
   6600     DSYMUTIL=":"
   6601   else
   6602     case $cross_compiling:$ac_tool_warned in
   6603 yes:)
   6604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6606 ac_tool_warned=yes ;;
   6607 esac
   6608     DSYMUTIL=$ac_ct_DSYMUTIL
   6609   fi
   6610 else
   6611   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6612 fi
   6613 
   6614     if test -n "$ac_tool_prefix"; then
   6615   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6616 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6618 $as_echo_n "checking for $ac_word... " >&6; }
   6619 if ${ac_cv_prog_NMEDIT+:} false; then :
   6620   $as_echo_n "(cached) " >&6
   6621 else
   6622   if test -n "$NMEDIT"; then
   6623   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6624 else
   6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6626 for as_dir in $PATH
   6627 do
   6628   IFS=$as_save_IFS
   6629   test -z "$as_dir" && as_dir=.
   6630     for ac_exec_ext in '' $ac_executable_extensions; do
   6631   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6632     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6634     break 2
   6635   fi
   6636 done
   6637   done
   6638 IFS=$as_save_IFS
   6639 
   6640 fi
   6641 fi
   6642 NMEDIT=$ac_cv_prog_NMEDIT
   6643 if test -n "$NMEDIT"; then
   6644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6645 $as_echo "$NMEDIT" >&6; }
   6646 else
   6647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6648 $as_echo "no" >&6; }
   6649 fi
   6650 
   6651 
   6652 fi
   6653 if test -z "$ac_cv_prog_NMEDIT"; then
   6654   ac_ct_NMEDIT=$NMEDIT
   6655   # Extract the first word of "nmedit", so it can be a program name with args.
   6656 set dummy nmedit; ac_word=$2
   6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6658 $as_echo_n "checking for $ac_word... " >&6; }
   6659 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6660   $as_echo_n "(cached) " >&6
   6661 else
   6662   if test -n "$ac_ct_NMEDIT"; then
   6663   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6664 else
   6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6666 for as_dir in $PATH
   6667 do
   6668   IFS=$as_save_IFS
   6669   test -z "$as_dir" && as_dir=.
   6670     for ac_exec_ext in '' $ac_executable_extensions; do
   6671   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6672     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6674     break 2
   6675   fi
   6676 done
   6677   done
   6678 IFS=$as_save_IFS
   6679 
   6680 fi
   6681 fi
   6682 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6683 if test -n "$ac_ct_NMEDIT"; then
   6684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6685 $as_echo "$ac_ct_NMEDIT" >&6; }
   6686 else
   6687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6688 $as_echo "no" >&6; }
   6689 fi
   6690 
   6691   if test "x$ac_ct_NMEDIT" = x; then
   6692     NMEDIT=":"
   6693   else
   6694     case $cross_compiling:$ac_tool_warned in
   6695 yes:)
   6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6698 ac_tool_warned=yes ;;
   6699 esac
   6700     NMEDIT=$ac_ct_NMEDIT
   6701   fi
   6702 else
   6703   NMEDIT="$ac_cv_prog_NMEDIT"
   6704 fi
   6705 
   6706     if test -n "$ac_tool_prefix"; then
   6707   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6708 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6710 $as_echo_n "checking for $ac_word... " >&6; }
   6711 if ${ac_cv_prog_LIPO+:} false; then :
   6712   $as_echo_n "(cached) " >&6
   6713 else
   6714   if test -n "$LIPO"; then
   6715   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6716 else
   6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6718 for as_dir in $PATH
   6719 do
   6720   IFS=$as_save_IFS
   6721   test -z "$as_dir" && as_dir=.
   6722     for ac_exec_ext in '' $ac_executable_extensions; do
   6723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6724     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6726     break 2
   6727   fi
   6728 done
   6729   done
   6730 IFS=$as_save_IFS
   6731 
   6732 fi
   6733 fi
   6734 LIPO=$ac_cv_prog_LIPO
   6735 if test -n "$LIPO"; then
   6736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6737 $as_echo "$LIPO" >&6; }
   6738 else
   6739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6740 $as_echo "no" >&6; }
   6741 fi
   6742 
   6743 
   6744 fi
   6745 if test -z "$ac_cv_prog_LIPO"; then
   6746   ac_ct_LIPO=$LIPO
   6747   # Extract the first word of "lipo", so it can be a program name with args.
   6748 set dummy lipo; ac_word=$2
   6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6750 $as_echo_n "checking for $ac_word... " >&6; }
   6751 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6752   $as_echo_n "(cached) " >&6
   6753 else
   6754   if test -n "$ac_ct_LIPO"; then
   6755   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6756 else
   6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6758 for as_dir in $PATH
   6759 do
   6760   IFS=$as_save_IFS
   6761   test -z "$as_dir" && as_dir=.
   6762     for ac_exec_ext in '' $ac_executable_extensions; do
   6763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6764     ac_cv_prog_ac_ct_LIPO="lipo"
   6765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6766     break 2
   6767   fi
   6768 done
   6769   done
   6770 IFS=$as_save_IFS
   6771 
   6772 fi
   6773 fi
   6774 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6775 if test -n "$ac_ct_LIPO"; then
   6776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6777 $as_echo "$ac_ct_LIPO" >&6; }
   6778 else
   6779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6780 $as_echo "no" >&6; }
   6781 fi
   6782 
   6783   if test "x$ac_ct_LIPO" = x; then
   6784     LIPO=":"
   6785   else
   6786     case $cross_compiling:$ac_tool_warned in
   6787 yes:)
   6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6790 ac_tool_warned=yes ;;
   6791 esac
   6792     LIPO=$ac_ct_LIPO
   6793   fi
   6794 else
   6795   LIPO="$ac_cv_prog_LIPO"
   6796 fi
   6797 
   6798     if test -n "$ac_tool_prefix"; then
   6799   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6800 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6802 $as_echo_n "checking for $ac_word... " >&6; }
   6803 if ${ac_cv_prog_OTOOL+:} false; then :
   6804   $as_echo_n "(cached) " >&6
   6805 else
   6806   if test -n "$OTOOL"; then
   6807   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6808 else
   6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6810 for as_dir in $PATH
   6811 do
   6812   IFS=$as_save_IFS
   6813   test -z "$as_dir" && as_dir=.
   6814     for ac_exec_ext in '' $ac_executable_extensions; do
   6815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6816     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6818     break 2
   6819   fi
   6820 done
   6821   done
   6822 IFS=$as_save_IFS
   6823 
   6824 fi
   6825 fi
   6826 OTOOL=$ac_cv_prog_OTOOL
   6827 if test -n "$OTOOL"; then
   6828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6829 $as_echo "$OTOOL" >&6; }
   6830 else
   6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6832 $as_echo "no" >&6; }
   6833 fi
   6834 
   6835 
   6836 fi
   6837 if test -z "$ac_cv_prog_OTOOL"; then
   6838   ac_ct_OTOOL=$OTOOL
   6839   # Extract the first word of "otool", so it can be a program name with args.
   6840 set dummy otool; ac_word=$2
   6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6842 $as_echo_n "checking for $ac_word... " >&6; }
   6843 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6844   $as_echo_n "(cached) " >&6
   6845 else
   6846   if test -n "$ac_ct_OTOOL"; then
   6847   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6848 else
   6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6850 for as_dir in $PATH
   6851 do
   6852   IFS=$as_save_IFS
   6853   test -z "$as_dir" && as_dir=.
   6854     for ac_exec_ext in '' $ac_executable_extensions; do
   6855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6856     ac_cv_prog_ac_ct_OTOOL="otool"
   6857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6858     break 2
   6859   fi
   6860 done
   6861   done
   6862 IFS=$as_save_IFS
   6863 
   6864 fi
   6865 fi
   6866 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6867 if test -n "$ac_ct_OTOOL"; then
   6868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6869 $as_echo "$ac_ct_OTOOL" >&6; }
   6870 else
   6871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6872 $as_echo "no" >&6; }
   6873 fi
   6874 
   6875   if test "x$ac_ct_OTOOL" = x; then
   6876     OTOOL=":"
   6877   else
   6878     case $cross_compiling:$ac_tool_warned in
   6879 yes:)
   6880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6882 ac_tool_warned=yes ;;
   6883 esac
   6884     OTOOL=$ac_ct_OTOOL
   6885   fi
   6886 else
   6887   OTOOL="$ac_cv_prog_OTOOL"
   6888 fi
   6889 
   6890     if test -n "$ac_tool_prefix"; then
   6891   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6892 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6894 $as_echo_n "checking for $ac_word... " >&6; }
   6895 if ${ac_cv_prog_OTOOL64+:} false; then :
   6896   $as_echo_n "(cached) " >&6
   6897 else
   6898   if test -n "$OTOOL64"; then
   6899   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6900 else
   6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6902 for as_dir in $PATH
   6903 do
   6904   IFS=$as_save_IFS
   6905   test -z "$as_dir" && as_dir=.
   6906     for ac_exec_ext in '' $ac_executable_extensions; do
   6907   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6908     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6909     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6910     break 2
   6911   fi
   6912 done
   6913   done
   6914 IFS=$as_save_IFS
   6915 
   6916 fi
   6917 fi
   6918 OTOOL64=$ac_cv_prog_OTOOL64
   6919 if test -n "$OTOOL64"; then
   6920   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6921 $as_echo "$OTOOL64" >&6; }
   6922 else
   6923   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6924 $as_echo "no" >&6; }
   6925 fi
   6926 
   6927 
   6928 fi
   6929 if test -z "$ac_cv_prog_OTOOL64"; then
   6930   ac_ct_OTOOL64=$OTOOL64
   6931   # Extract the first word of "otool64", so it can be a program name with args.
   6932 set dummy otool64; ac_word=$2
   6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6934 $as_echo_n "checking for $ac_word... " >&6; }
   6935 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6936   $as_echo_n "(cached) " >&6
   6937 else
   6938   if test -n "$ac_ct_OTOOL64"; then
   6939   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6940 else
   6941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6942 for as_dir in $PATH
   6943 do
   6944   IFS=$as_save_IFS
   6945   test -z "$as_dir" && as_dir=.
   6946     for ac_exec_ext in '' $ac_executable_extensions; do
   6947   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6948     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6949     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6950     break 2
   6951   fi
   6952 done
   6953   done
   6954 IFS=$as_save_IFS
   6955 
   6956 fi
   6957 fi
   6958 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6959 if test -n "$ac_ct_OTOOL64"; then
   6960   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6961 $as_echo "$ac_ct_OTOOL64" >&6; }
   6962 else
   6963   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6964 $as_echo "no" >&6; }
   6965 fi
   6966 
   6967   if test "x$ac_ct_OTOOL64" = x; then
   6968     OTOOL64=":"
   6969   else
   6970     case $cross_compiling:$ac_tool_warned in
   6971 yes:)
   6972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6974 ac_tool_warned=yes ;;
   6975 esac
   6976     OTOOL64=$ac_ct_OTOOL64
   6977   fi
   6978 else
   6979   OTOOL64="$ac_cv_prog_OTOOL64"
   6980 fi
   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 
   7008     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7009 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7010 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7011   $as_echo_n "(cached) " >&6
   7012 else
   7013   lt_cv_apple_cc_single_mod=no
   7014       if test -z "${LT_MULTI_MODULE}"; then
   7015 	# By default we will add the -single_module flag. You can override
   7016 	# by either setting the environment variable LT_MULTI_MODULE
   7017 	# non-empty at configure time, or by adding -multi_module to the
   7018 	# link flags.
   7019 	rm -rf libconftest.dylib*
   7020 	echo "int foo(void){return 1;}" > conftest.c
   7021 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7022 -dynamiclib -Wl,-single_module conftest.c" >&5
   7023 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7024 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7025         _lt_result=$?
   7026 	# If there is a non-empty error log, and "single_module"
   7027 	# appears in it, assume the flag caused a linker warning
   7028         if test -s conftest.err && $GREP single_module conftest.err; then
   7029 	  cat conftest.err >&5
   7030 	# Otherwise, if the output was created with a 0 exit code from
   7031 	# the compiler, it worked.
   7032 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7033 	  lt_cv_apple_cc_single_mod=yes
   7034 	else
   7035 	  cat conftest.err >&5
   7036 	fi
   7037 	rm -rf libconftest.dylib*
   7038 	rm -f conftest.*
   7039       fi
   7040 fi
   7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7042 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7043 
   7044     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7045 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7046 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7047   $as_echo_n "(cached) " >&6
   7048 else
   7049   lt_cv_ld_exported_symbols_list=no
   7050       save_LDFLAGS=$LDFLAGS
   7051       echo "_main" > conftest.sym
   7052       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7053       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7054 /* end confdefs.h.  */
   7055 
   7056 int
   7057 main ()
   7058 {
   7059 
   7060   ;
   7061   return 0;
   7062 }
   7063 _ACEOF
   7064 if ac_fn_c_try_link "$LINENO"; then :
   7065   lt_cv_ld_exported_symbols_list=yes
   7066 else
   7067   lt_cv_ld_exported_symbols_list=no
   7068 fi
   7069 rm -f core conftest.err conftest.$ac_objext \
   7070     conftest$ac_exeext conftest.$ac_ext
   7071 	LDFLAGS="$save_LDFLAGS"
   7072 
   7073 fi
   7074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7075 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7076 
   7077     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7078 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7079 if ${lt_cv_ld_force_load+:} false; then :
   7080   $as_echo_n "(cached) " >&6
   7081 else
   7082   lt_cv_ld_force_load=no
   7083       cat > conftest.c << _LT_EOF
   7084 int forced_loaded() { return 2;}
   7085 _LT_EOF
   7086       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7087       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7088       echo "$AR cru libconftest.a conftest.o" >&5
   7089       $AR cru libconftest.a conftest.o 2>&5
   7090       echo "$RANLIB libconftest.a" >&5
   7091       $RANLIB libconftest.a 2>&5
   7092       cat > conftest.c << _LT_EOF
   7093 int main() { return 0;}
   7094 _LT_EOF
   7095       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7096       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7097       _lt_result=$?
   7098       if test -s conftest.err && $GREP force_load conftest.err; then
   7099 	cat conftest.err >&5
   7100       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7101 	lt_cv_ld_force_load=yes
   7102       else
   7103 	cat conftest.err >&5
   7104       fi
   7105         rm -f conftest.err libconftest.a conftest conftest.c
   7106         rm -rf conftest.dSYM
   7107 
   7108 fi
   7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7110 $as_echo "$lt_cv_ld_force_load" >&6; }
   7111     case $host_os in
   7112     rhapsody* | darwin1.[012])
   7113       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7114     darwin1.*)
   7115       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7116     darwin*) # darwin 5.x on
   7117       # if running on 10.5 or later, the deployment target defaults
   7118       # to the OS version, if on x86, and 10.4, the deployment
   7119       # target defaults to 10.4. Don't you love it?
   7120       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7121 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7122 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7123 	10.[012]*)
   7124 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7125 	10.*)
   7126 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7127       esac
   7128     ;;
   7129   esac
   7130     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7131       _lt_dar_single_mod='$single_module'
   7132     fi
   7133     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7134       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7135     else
   7136       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7137     fi
   7138     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7139       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7140     else
   7141       _lt_dsymutil=
   7142     fi
   7143     ;;
   7144   esac
   7145 
   7146 ac_ext=c
   7147 ac_cpp='$CPP $CPPFLAGS'
   7148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7152 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7153 # On Suns, sometimes $CPP names a directory.
   7154 if test -n "$CPP" && test -d "$CPP"; then
   7155   CPP=
   7156 fi
   7157 if test -z "$CPP"; then
   7158   if ${ac_cv_prog_CPP+:} false; then :
   7159   $as_echo_n "(cached) " >&6
   7160 else
   7161       # Double quotes because CPP needs to be expanded
   7162     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7163     do
   7164       ac_preproc_ok=false
   7165 for ac_c_preproc_warn_flag in '' yes
   7166 do
   7167   # Use a header file that comes with gcc, so configuring glibc
   7168   # with a fresh cross-compiler works.
   7169   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7170   # <limits.h> exists even on freestanding compilers.
   7171   # On the NeXT, cc -E runs the code through the compiler's parser,
   7172   # not just through cpp. "Syntax error" is here to catch this case.
   7173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7174 /* end confdefs.h.  */
   7175 #ifdef __STDC__
   7176 # include <limits.h>
   7177 #else
   7178 # include <assert.h>
   7179 #endif
   7180 		     Syntax error
   7181 _ACEOF
   7182 if ac_fn_c_try_cpp "$LINENO"; then :
   7183 
   7184 else
   7185   # Broken: fails on valid input.
   7186 continue
   7187 fi
   7188 rm -f conftest.err conftest.i conftest.$ac_ext
   7189 
   7190   # OK, works on sane cases.  Now check whether nonexistent headers
   7191   # can be detected and how.
   7192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7193 /* end confdefs.h.  */
   7194 #include <ac_nonexistent.h>
   7195 _ACEOF
   7196 if ac_fn_c_try_cpp "$LINENO"; then :
   7197   # Broken: success on invalid input.
   7198 continue
   7199 else
   7200   # Passes both tests.
   7201 ac_preproc_ok=:
   7202 break
   7203 fi
   7204 rm -f conftest.err conftest.i conftest.$ac_ext
   7205 
   7206 done
   7207 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7208 rm -f conftest.i conftest.err conftest.$ac_ext
   7209 if $ac_preproc_ok; then :
   7210   break
   7211 fi
   7212 
   7213     done
   7214     ac_cv_prog_CPP=$CPP
   7215 
   7216 fi
   7217   CPP=$ac_cv_prog_CPP
   7218 else
   7219   ac_cv_prog_CPP=$CPP
   7220 fi
   7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7222 $as_echo "$CPP" >&6; }
   7223 ac_preproc_ok=false
   7224 for ac_c_preproc_warn_flag in '' yes
   7225 do
   7226   # Use a header file that comes with gcc, so configuring glibc
   7227   # with a fresh cross-compiler works.
   7228   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7229   # <limits.h> exists even on freestanding compilers.
   7230   # On the NeXT, cc -E runs the code through the compiler's parser,
   7231   # not just through cpp. "Syntax error" is here to catch this case.
   7232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7233 /* end confdefs.h.  */
   7234 #ifdef __STDC__
   7235 # include <limits.h>
   7236 #else
   7237 # include <assert.h>
   7238 #endif
   7239 		     Syntax error
   7240 _ACEOF
   7241 if ac_fn_c_try_cpp "$LINENO"; then :
   7242 
   7243 else
   7244   # Broken: fails on valid input.
   7245 continue
   7246 fi
   7247 rm -f conftest.err conftest.i conftest.$ac_ext
   7248 
   7249   # OK, works on sane cases.  Now check whether nonexistent headers
   7250   # can be detected and how.
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 #include <ac_nonexistent.h>
   7254 _ACEOF
   7255 if ac_fn_c_try_cpp "$LINENO"; then :
   7256   # Broken: success on invalid input.
   7257 continue
   7258 else
   7259   # Passes both tests.
   7260 ac_preproc_ok=:
   7261 break
   7262 fi
   7263 rm -f conftest.err conftest.i conftest.$ac_ext
   7264 
   7265 done
   7266 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7267 rm -f conftest.i conftest.err conftest.$ac_ext
   7268 if $ac_preproc_ok; then :
   7269 
   7270 else
   7271   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7272 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7273 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7274 See \`config.log' for more details" "$LINENO" 5; }
   7275 fi
   7276 
   7277 ac_ext=c
   7278 ac_cpp='$CPP $CPPFLAGS'
   7279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7282 
   7283 
   7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7285 $as_echo_n "checking for ANSI C header files... " >&6; }
   7286 if ${ac_cv_header_stdc+:} false; then :
   7287   $as_echo_n "(cached) " >&6
   7288 else
   7289   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7290 /* end confdefs.h.  */
   7291 #include <stdlib.h>
   7292 #include <stdarg.h>
   7293 #include <string.h>
   7294 #include <float.h>
   7295 
   7296 int
   7297 main ()
   7298 {
   7299 
   7300   ;
   7301   return 0;
   7302 }
   7303 _ACEOF
   7304 if ac_fn_c_try_compile "$LINENO"; then :
   7305   ac_cv_header_stdc=yes
   7306 else
   7307   ac_cv_header_stdc=no
   7308 fi
   7309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7310 
   7311 if test $ac_cv_header_stdc = yes; then
   7312   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7314 /* end confdefs.h.  */
   7315 #include <string.h>
   7316 
   7317 _ACEOF
   7318 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7319   $EGREP "memchr" >/dev/null 2>&1; then :
   7320 
   7321 else
   7322   ac_cv_header_stdc=no
   7323 fi
   7324 rm -f conftest*
   7325 
   7326 fi
   7327 
   7328 if test $ac_cv_header_stdc = yes; then
   7329   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7331 /* end confdefs.h.  */
   7332 #include <stdlib.h>
   7333 
   7334 _ACEOF
   7335 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7336   $EGREP "free" >/dev/null 2>&1; then :
   7337 
   7338 else
   7339   ac_cv_header_stdc=no
   7340 fi
   7341 rm -f conftest*
   7342 
   7343 fi
   7344 
   7345 if test $ac_cv_header_stdc = yes; then
   7346   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7347   if test "$cross_compiling" = yes; then :
   7348   :
   7349 else
   7350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7351 /* end confdefs.h.  */
   7352 #include <ctype.h>
   7353 #include <stdlib.h>
   7354 #if ((' ' & 0x0FF) == 0x020)
   7355 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7356 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7357 #else
   7358 # define ISLOWER(c) \
   7359 		   (('a' <= (c) && (c) <= 'i') \
   7360 		     || ('j' <= (c) && (c) <= 'r') \
   7361 		     || ('s' <= (c) && (c) <= 'z'))
   7362 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7363 #endif
   7364 
   7365 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7366 int
   7367 main ()
   7368 {
   7369   int i;
   7370   for (i = 0; i < 256; i++)
   7371     if (XOR (islower (i), ISLOWER (i))
   7372 	|| toupper (i) != TOUPPER (i))
   7373       return 2;
   7374   return 0;
   7375 }
   7376 _ACEOF
   7377 if ac_fn_c_try_run "$LINENO"; then :
   7378 
   7379 else
   7380   ac_cv_header_stdc=no
   7381 fi
   7382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7383   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7384 fi
   7385 
   7386 fi
   7387 fi
   7388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7389 $as_echo "$ac_cv_header_stdc" >&6; }
   7390 if test $ac_cv_header_stdc = yes; then
   7391 
   7392 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7393 
   7394 fi
   7395 
   7396 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7397 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7398 		  inttypes.h stdint.h unistd.h
   7399 do :
   7400   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7401 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7402 "
   7403 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7404   cat >>confdefs.h <<_ACEOF
   7405 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7406 _ACEOF
   7407 
   7408 fi
   7409 
   7410 done
   7411 
   7412 
   7413 for ac_header in dlfcn.h
   7414 do :
   7415   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7416 "
   7417 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7418   cat >>confdefs.h <<_ACEOF
   7419 #define HAVE_DLFCN_H 1
   7420 _ACEOF
   7421 
   7422 fi
   7423 
   7424 done
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 # Set options
   7431 
   7432 
   7433 
   7434         enable_dlopen=no
   7435 
   7436 
   7437   enable_win32_dll=no
   7438 
   7439 
   7440             # Check whether --enable-shared was given.
   7441 if test "${enable_shared+set}" = set; then :
   7442   enableval=$enable_shared; p=${PACKAGE-default}
   7443     case $enableval in
   7444     yes) enable_shared=yes ;;
   7445     no) enable_shared=no ;;
   7446     *)
   7447       enable_shared=no
   7448       # Look at the argument we got.  We use all the common list separators.
   7449       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7450       for pkg in $enableval; do
   7451 	IFS="$lt_save_ifs"
   7452 	if test "X$pkg" = "X$p"; then
   7453 	  enable_shared=yes
   7454 	fi
   7455       done
   7456       IFS="$lt_save_ifs"
   7457       ;;
   7458     esac
   7459 else
   7460   enable_shared=yes
   7461 fi
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471   # Check whether --enable-static was given.
   7472 if test "${enable_static+set}" = set; then :
   7473   enableval=$enable_static; p=${PACKAGE-default}
   7474     case $enableval in
   7475     yes) enable_static=yes ;;
   7476     no) enable_static=no ;;
   7477     *)
   7478      enable_static=no
   7479       # Look at the argument we got.  We use all the common list separators.
   7480       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7481       for pkg in $enableval; do
   7482 	IFS="$lt_save_ifs"
   7483 	if test "X$pkg" = "X$p"; then
   7484 	  enable_static=yes
   7485 	fi
   7486       done
   7487       IFS="$lt_save_ifs"
   7488       ;;
   7489     esac
   7490 else
   7491   enable_static=yes
   7492 fi
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 # Check whether --with-pic was given.
   7504 if test "${with_pic+set}" = set; then :
   7505   withval=$with_pic; lt_p=${PACKAGE-default}
   7506     case $withval in
   7507     yes|no) pic_mode=$withval ;;
   7508     *)
   7509       pic_mode=default
   7510       # Look at the argument we got.  We use all the common list separators.
   7511       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7512       for lt_pkg in $withval; do
   7513 	IFS="$lt_save_ifs"
   7514 	if test "X$lt_pkg" = "X$lt_p"; then
   7515 	  pic_mode=yes
   7516 	fi
   7517       done
   7518       IFS="$lt_save_ifs"
   7519       ;;
   7520     esac
   7521 else
   7522   pic_mode=default
   7523 fi
   7524 
   7525 
   7526 test -z "$pic_mode" && pic_mode=default
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 
   7534   # Check whether --enable-fast-install was given.
   7535 if test "${enable_fast_install+set}" = set; then :
   7536   enableval=$enable_fast_install; p=${PACKAGE-default}
   7537     case $enableval in
   7538     yes) enable_fast_install=yes ;;
   7539     no) enable_fast_install=no ;;
   7540     *)
   7541       enable_fast_install=no
   7542       # Look at the argument we got.  We use all the common list separators.
   7543       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7544       for pkg in $enableval; do
   7545 	IFS="$lt_save_ifs"
   7546 	if test "X$pkg" = "X$p"; then
   7547 	  enable_fast_install=yes
   7548 	fi
   7549       done
   7550       IFS="$lt_save_ifs"
   7551       ;;
   7552     esac
   7553 else
   7554   enable_fast_install=yes
   7555 fi
   7556 
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564 
   7565 
   7566 
   7567 # This can be used to rebuild libtool when needed
   7568 LIBTOOL_DEPS="$ltmain"
   7569 
   7570 # Always use our own libtool.
   7571 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   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 
   7602 test -z "$LN_S" && LN_S="ln -s"
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 if test -n "${ZSH_VERSION+set}" ; then
   7618    setopt NO_GLOB_SUBST
   7619 fi
   7620 
   7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7622 $as_echo_n "checking for objdir... " >&6; }
   7623 if ${lt_cv_objdir+:} false; then :
   7624   $as_echo_n "(cached) " >&6
   7625 else
   7626   rm -f .libs 2>/dev/null
   7627 mkdir .libs 2>/dev/null
   7628 if test -d .libs; then
   7629   lt_cv_objdir=.libs
   7630 else
   7631   # MS-DOS does not allow filenames that begin with a dot.
   7632   lt_cv_objdir=_libs
   7633 fi
   7634 rmdir .libs 2>/dev/null
   7635 fi
   7636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7637 $as_echo "$lt_cv_objdir" >&6; }
   7638 objdir=$lt_cv_objdir
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 cat >>confdefs.h <<_ACEOF
   7645 #define LT_OBJDIR "$lt_cv_objdir/"
   7646 _ACEOF
   7647 
   7648 
   7649 
   7650 
   7651 case $host_os in
   7652 aix3*)
   7653   # AIX sometimes has problems with the GCC collect2 program.  For some
   7654   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7655   # vanish in a puff of smoke.
   7656   if test "X${COLLECT_NAMES+set}" != Xset; then
   7657     COLLECT_NAMES=
   7658     export COLLECT_NAMES
   7659   fi
   7660   ;;
   7661 esac
   7662 
   7663 # Global variables:
   7664 ofile=libtool
   7665 can_build_shared=yes
   7666 
   7667 # All known linkers require a `.a' archive for static linking (except MSVC,
   7668 # which needs '.lib').
   7669 libext=a
   7670 
   7671 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7672 
   7673 old_CC="$CC"
   7674 old_CFLAGS="$CFLAGS"
   7675 
   7676 # Set sane defaults for various variables
   7677 test -z "$CC" && CC=cc
   7678 test -z "$LTCC" && LTCC=$CC
   7679 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7680 test -z "$LD" && LD=ld
   7681 test -z "$ac_objext" && ac_objext=o
   7682 
   7683 for cc_temp in $compiler""; do
   7684   case $cc_temp in
   7685     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7686     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7687     \-*) ;;
   7688     *) break;;
   7689   esac
   7690 done
   7691 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7692 
   7693 
   7694 # Only perform the check for file, if the check method requires it
   7695 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7696 case $deplibs_check_method in
   7697 file_magic*)
   7698   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7699     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7700 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7701 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7702   $as_echo_n "(cached) " >&6
   7703 else
   7704   case $MAGIC_CMD in
   7705 [\\/*] |  ?:[\\/]*)
   7706   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7707   ;;
   7708 *)
   7709   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7710   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7711   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7712   for ac_dir in $ac_dummy; do
   7713     IFS="$lt_save_ifs"
   7714     test -z "$ac_dir" && ac_dir=.
   7715     if test -f $ac_dir/${ac_tool_prefix}file; then
   7716       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7717       if test -n "$file_magic_test_file"; then
   7718 	case $deplibs_check_method in
   7719 	"file_magic "*)
   7720 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7721 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7722 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7723 	    $EGREP "$file_magic_regex" > /dev/null; then
   7724 	    :
   7725 	  else
   7726 	    cat <<_LT_EOF 1>&2
   7727 
   7728 *** Warning: the command libtool uses to detect shared libraries,
   7729 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7730 *** The result is that libtool may fail to recognize shared libraries
   7731 *** as such.  This will affect the creation of libtool libraries that
   7732 *** depend on shared libraries, but programs linked with such libtool
   7733 *** libraries will work regardless of this problem.  Nevertheless, you
   7734 *** may want to report the problem to your system manager and/or to
   7735 *** bug-libtool@gnu.org
   7736 
   7737 _LT_EOF
   7738 	  fi ;;
   7739 	esac
   7740       fi
   7741       break
   7742     fi
   7743   done
   7744   IFS="$lt_save_ifs"
   7745   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7746   ;;
   7747 esac
   7748 fi
   7749 
   7750 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7751 if test -n "$MAGIC_CMD"; then
   7752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7753 $as_echo "$MAGIC_CMD" >&6; }
   7754 else
   7755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7756 $as_echo "no" >&6; }
   7757 fi
   7758 
   7759 
   7760 
   7761 
   7762 
   7763 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7764   if test -n "$ac_tool_prefix"; then
   7765     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7766 $as_echo_n "checking for file... " >&6; }
   7767 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7768   $as_echo_n "(cached) " >&6
   7769 else
   7770   case $MAGIC_CMD in
   7771 [\\/*] |  ?:[\\/]*)
   7772   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7773   ;;
   7774 *)
   7775   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7776   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7777   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7778   for ac_dir in $ac_dummy; do
   7779     IFS="$lt_save_ifs"
   7780     test -z "$ac_dir" && ac_dir=.
   7781     if test -f $ac_dir/file; then
   7782       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7783       if test -n "$file_magic_test_file"; then
   7784 	case $deplibs_check_method in
   7785 	"file_magic "*)
   7786 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7787 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7788 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7789 	    $EGREP "$file_magic_regex" > /dev/null; then
   7790 	    :
   7791 	  else
   7792 	    cat <<_LT_EOF 1>&2
   7793 
   7794 *** Warning: the command libtool uses to detect shared libraries,
   7795 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7796 *** The result is that libtool may fail to recognize shared libraries
   7797 *** as such.  This will affect the creation of libtool libraries that
   7798 *** depend on shared libraries, but programs linked with such libtool
   7799 *** libraries will work regardless of this problem.  Nevertheless, you
   7800 *** may want to report the problem to your system manager and/or to
   7801 *** bug-libtool@gnu.org
   7802 
   7803 _LT_EOF
   7804 	  fi ;;
   7805 	esac
   7806       fi
   7807       break
   7808     fi
   7809   done
   7810   IFS="$lt_save_ifs"
   7811   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7812   ;;
   7813 esac
   7814 fi
   7815 
   7816 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7817 if test -n "$MAGIC_CMD"; then
   7818   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7819 $as_echo "$MAGIC_CMD" >&6; }
   7820 else
   7821   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7822 $as_echo "no" >&6; }
   7823 fi
   7824 
   7825 
   7826   else
   7827     MAGIC_CMD=:
   7828   fi
   7829 fi
   7830 
   7831   fi
   7832   ;;
   7833 esac
   7834 
   7835 # Use C for the default configuration in the libtool script
   7836 
   7837 lt_save_CC="$CC"
   7838 ac_ext=c
   7839 ac_cpp='$CPP $CPPFLAGS'
   7840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7843 
   7844 
   7845 # Source file extension for C test sources.
   7846 ac_ext=c
   7847 
   7848 # Object file extension for compiled C test sources.
   7849 objext=o
   7850 objext=$objext
   7851 
   7852 # Code to be used in simple compile tests
   7853 lt_simple_compile_test_code="int some_variable = 0;"
   7854 
   7855 # Code to be used in simple link tests
   7856 lt_simple_link_test_code='int main(){return(0);}'
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 # If no C compiler was specified, use CC.
   7865 LTCC=${LTCC-"$CC"}
   7866 
   7867 # If no C compiler flags were specified, use CFLAGS.
   7868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7869 
   7870 # Allow CC to be a program name with arguments.
   7871 compiler=$CC
   7872 
   7873 # Save the default compiler, since it gets overwritten when the other
   7874 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7875 compiler_DEFAULT=$CC
   7876 
   7877 # save warnings/boilerplate of simple test code
   7878 ac_outfile=conftest.$ac_objext
   7879 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7880 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7881 _lt_compiler_boilerplate=`cat conftest.err`
   7882 $RM conftest*
   7883 
   7884 ac_outfile=conftest.$ac_objext
   7885 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7886 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7887 _lt_linker_boilerplate=`cat conftest.err`
   7888 $RM -r conftest*
   7889 
   7890 
   7891 if test -n "$compiler"; then
   7892 
   7893 lt_prog_compiler_no_builtin_flag=
   7894 
   7895 if test "$GCC" = yes; then
   7896   case $cc_basename in
   7897   nvcc*)
   7898     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7899   *)
   7900     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7901   esac
   7902 
   7903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7904 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7905 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7906   $as_echo_n "(cached) " >&6
   7907 else
   7908   lt_cv_prog_compiler_rtti_exceptions=no
   7909    ac_outfile=conftest.$ac_objext
   7910    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7911    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7912    # Insert the option either (1) after the last *FLAGS variable, or
   7913    # (2) before a word containing "conftest.", or (3) at the end.
   7914    # Note that $ac_compile itself does not contain backslashes and begins
   7915    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7916    # The option is referenced via a variable to avoid confusing sed.
   7917    lt_compile=`echo "$ac_compile" | $SED \
   7918    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7919    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7920    -e 's:$: $lt_compiler_flag:'`
   7921    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7922    (eval "$lt_compile" 2>conftest.err)
   7923    ac_status=$?
   7924    cat conftest.err >&5
   7925    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7926    if (exit $ac_status) && test -s "$ac_outfile"; then
   7927      # The compiler can only warn and ignore the option if not recognized
   7928      # So say no if there are warnings other than the usual output.
   7929      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7930      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7931      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7932        lt_cv_prog_compiler_rtti_exceptions=yes
   7933      fi
   7934    fi
   7935    $RM conftest*
   7936 
   7937 fi
   7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7939 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7940 
   7941 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7942     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7943 else
   7944     :
   7945 fi
   7946 
   7947 fi
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954   lt_prog_compiler_wl=
   7955 lt_prog_compiler_pic=
   7956 lt_prog_compiler_static=
   7957 
   7958 
   7959   if test "$GCC" = yes; then
   7960     lt_prog_compiler_wl='-Wl,'
   7961     lt_prog_compiler_static='-static'
   7962 
   7963     case $host_os in
   7964       aix*)
   7965       # All AIX code is PIC.
   7966       if test "$host_cpu" = ia64; then
   7967 	# AIX 5 now supports IA64 processor
   7968 	lt_prog_compiler_static='-Bstatic'
   7969       fi
   7970       ;;
   7971 
   7972     amigaos*)
   7973       case $host_cpu in
   7974       powerpc)
   7975             # see comment about AmigaOS4 .so support
   7976             lt_prog_compiler_pic='-fPIC'
   7977         ;;
   7978       m68k)
   7979             # FIXME: we need at least 68020 code to build shared libraries, but
   7980             # adding the `-m68020' flag to GCC prevents building anything better,
   7981             # like `-m68040'.
   7982             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7983         ;;
   7984       esac
   7985       ;;
   7986 
   7987     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7988       # PIC is the default for these OSes.
   7989       ;;
   7990 
   7991     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7992       # This hack is so that the source file can tell whether it is being
   7993       # built for inclusion in a dll (and should export symbols for example).
   7994       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7995       # (--disable-auto-import) libraries
   7996       lt_prog_compiler_pic='-DDLL_EXPORT'
   7997       ;;
   7998 
   7999     darwin* | rhapsody*)
   8000       # PIC is the default on this platform
   8001       # Common symbols not allowed in MH_DYLIB files
   8002       lt_prog_compiler_pic='-fno-common'
   8003       ;;
   8004 
   8005     haiku*)
   8006       # PIC is the default for Haiku.
   8007       # The "-static" flag exists, but is broken.
   8008       lt_prog_compiler_static=
   8009       ;;
   8010 
   8011     hpux*)
   8012       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8013       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8014       # sets the default TLS model and affects inlining.
   8015       case $host_cpu in
   8016       hppa*64*)
   8017 	# +Z the default
   8018 	;;
   8019       *)
   8020 	lt_prog_compiler_pic='-fPIC'
   8021 	;;
   8022       esac
   8023       ;;
   8024 
   8025     interix[3-9]*)
   8026       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8027       # Instead, we relocate shared libraries at runtime.
   8028       ;;
   8029 
   8030     msdosdjgpp*)
   8031       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8032       # on systems that don't support them.
   8033       lt_prog_compiler_can_build_shared=no
   8034       enable_shared=no
   8035       ;;
   8036 
   8037     *nto* | *qnx*)
   8038       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8039       # it will coredump.
   8040       lt_prog_compiler_pic='-fPIC -shared'
   8041       ;;
   8042 
   8043     sysv4*MP*)
   8044       if test -d /usr/nec; then
   8045 	lt_prog_compiler_pic=-Kconform_pic
   8046       fi
   8047       ;;
   8048 
   8049     *)
   8050       lt_prog_compiler_pic='-fPIC'
   8051       ;;
   8052     esac
   8053 
   8054     case $cc_basename in
   8055     nvcc*) # Cuda Compiler Driver 2.2
   8056       lt_prog_compiler_wl='-Xlinker '
   8057       if test -n "$lt_prog_compiler_pic"; then
   8058         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8059       fi
   8060       ;;
   8061     esac
   8062   else
   8063     # PORTME Check for flag to pass linker flags through the system compiler.
   8064     case $host_os in
   8065     aix*)
   8066       lt_prog_compiler_wl='-Wl,'
   8067       if test "$host_cpu" = ia64; then
   8068 	# AIX 5 now supports IA64 processor
   8069 	lt_prog_compiler_static='-Bstatic'
   8070       else
   8071 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8072       fi
   8073       ;;
   8074 
   8075     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8076       # This hack is so that the source file can tell whether it is being
   8077       # built for inclusion in a dll (and should export symbols for example).
   8078       lt_prog_compiler_pic='-DDLL_EXPORT'
   8079       ;;
   8080 
   8081     hpux9* | hpux10* | hpux11*)
   8082       lt_prog_compiler_wl='-Wl,'
   8083       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8084       # not for PA HP-UX.
   8085       case $host_cpu in
   8086       hppa*64*|ia64*)
   8087 	# +Z the default
   8088 	;;
   8089       *)
   8090 	lt_prog_compiler_pic='+Z'
   8091 	;;
   8092       esac
   8093       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8094       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8095       ;;
   8096 
   8097     irix5* | irix6* | nonstopux*)
   8098       lt_prog_compiler_wl='-Wl,'
   8099       # PIC (with -KPIC) is the default.
   8100       lt_prog_compiler_static='-non_shared'
   8101       ;;
   8102 
   8103     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8104       case $cc_basename in
   8105       # old Intel for x86_64 which still supported -KPIC.
   8106       ecc*)
   8107 	lt_prog_compiler_wl='-Wl,'
   8108 	lt_prog_compiler_pic='-KPIC'
   8109 	lt_prog_compiler_static='-static'
   8110         ;;
   8111       # icc used to be incompatible with GCC.
   8112       # ICC 10 doesn't accept -KPIC any more.
   8113       icc* | ifort*)
   8114 	lt_prog_compiler_wl='-Wl,'
   8115 	lt_prog_compiler_pic='-fPIC'
   8116 	lt_prog_compiler_static='-static'
   8117         ;;
   8118       # Lahey Fortran 8.1.
   8119       lf95*)
   8120 	lt_prog_compiler_wl='-Wl,'
   8121 	lt_prog_compiler_pic='--shared'
   8122 	lt_prog_compiler_static='--static'
   8123 	;;
   8124       nagfor*)
   8125 	# NAG Fortran compiler
   8126 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8127 	lt_prog_compiler_pic='-PIC'
   8128 	lt_prog_compiler_static='-Bstatic'
   8129 	;;
   8130       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8131         # Portland Group compilers (*not* the Pentium gcc compiler,
   8132 	# which looks to be a dead project)
   8133 	lt_prog_compiler_wl='-Wl,'
   8134 	lt_prog_compiler_pic='-fpic'
   8135 	lt_prog_compiler_static='-Bstatic'
   8136         ;;
   8137       ccc*)
   8138         lt_prog_compiler_wl='-Wl,'
   8139         # All Alpha code is PIC.
   8140         lt_prog_compiler_static='-non_shared'
   8141         ;;
   8142       xl* | bgxl* | bgf* | mpixl*)
   8143 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8144 	lt_prog_compiler_wl='-Wl,'
   8145 	lt_prog_compiler_pic='-qpic'
   8146 	lt_prog_compiler_static='-qstaticlink'
   8147 	;;
   8148       *)
   8149 	case `$CC -V 2>&1 | sed 5q` in
   8150 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8151 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8152 	  lt_prog_compiler_pic='-KPIC'
   8153 	  lt_prog_compiler_static='-Bstatic'
   8154 	  lt_prog_compiler_wl=''
   8155 	  ;;
   8156 	*Sun\ F* | *Sun*Fortran*)
   8157 	  lt_prog_compiler_pic='-KPIC'
   8158 	  lt_prog_compiler_static='-Bstatic'
   8159 	  lt_prog_compiler_wl='-Qoption ld '
   8160 	  ;;
   8161 	*Sun\ C*)
   8162 	  # Sun C 5.9
   8163 	  lt_prog_compiler_pic='-KPIC'
   8164 	  lt_prog_compiler_static='-Bstatic'
   8165 	  lt_prog_compiler_wl='-Wl,'
   8166 	  ;;
   8167         *Intel*\ [CF]*Compiler*)
   8168 	  lt_prog_compiler_wl='-Wl,'
   8169 	  lt_prog_compiler_pic='-fPIC'
   8170 	  lt_prog_compiler_static='-static'
   8171 	  ;;
   8172 	*Portland\ Group*)
   8173 	  lt_prog_compiler_wl='-Wl,'
   8174 	  lt_prog_compiler_pic='-fpic'
   8175 	  lt_prog_compiler_static='-Bstatic'
   8176 	  ;;
   8177 	esac
   8178 	;;
   8179       esac
   8180       ;;
   8181 
   8182     newsos6)
   8183       lt_prog_compiler_pic='-KPIC'
   8184       lt_prog_compiler_static='-Bstatic'
   8185       ;;
   8186 
   8187     *nto* | *qnx*)
   8188       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8189       # it will coredump.
   8190       lt_prog_compiler_pic='-fPIC -shared'
   8191       ;;
   8192 
   8193     osf3* | osf4* | osf5*)
   8194       lt_prog_compiler_wl='-Wl,'
   8195       # All OSF/1 code is PIC.
   8196       lt_prog_compiler_static='-non_shared'
   8197       ;;
   8198 
   8199     rdos*)
   8200       lt_prog_compiler_static='-non_shared'
   8201       ;;
   8202 
   8203     solaris*)
   8204       lt_prog_compiler_pic='-KPIC'
   8205       lt_prog_compiler_static='-Bstatic'
   8206       case $cc_basename in
   8207       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8208 	lt_prog_compiler_wl='-Qoption ld ';;
   8209       *)
   8210 	lt_prog_compiler_wl='-Wl,';;
   8211       esac
   8212       ;;
   8213 
   8214     sunos4*)
   8215       lt_prog_compiler_wl='-Qoption ld '
   8216       lt_prog_compiler_pic='-PIC'
   8217       lt_prog_compiler_static='-Bstatic'
   8218       ;;
   8219 
   8220     sysv4 | sysv4.2uw2* | sysv4.3*)
   8221       lt_prog_compiler_wl='-Wl,'
   8222       lt_prog_compiler_pic='-KPIC'
   8223       lt_prog_compiler_static='-Bstatic'
   8224       ;;
   8225 
   8226     sysv4*MP*)
   8227       if test -d /usr/nec ;then
   8228 	lt_prog_compiler_pic='-Kconform_pic'
   8229 	lt_prog_compiler_static='-Bstatic'
   8230       fi
   8231       ;;
   8232 
   8233     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8234       lt_prog_compiler_wl='-Wl,'
   8235       lt_prog_compiler_pic='-KPIC'
   8236       lt_prog_compiler_static='-Bstatic'
   8237       ;;
   8238 
   8239     unicos*)
   8240       lt_prog_compiler_wl='-Wl,'
   8241       lt_prog_compiler_can_build_shared=no
   8242       ;;
   8243 
   8244     uts4*)
   8245       lt_prog_compiler_pic='-pic'
   8246       lt_prog_compiler_static='-Bstatic'
   8247       ;;
   8248 
   8249     *)
   8250       lt_prog_compiler_can_build_shared=no
   8251       ;;
   8252     esac
   8253   fi
   8254 
   8255 case $host_os in
   8256   # For platforms which do not support PIC, -DPIC is meaningless:
   8257   *djgpp*)
   8258     lt_prog_compiler_pic=
   8259     ;;
   8260   *)
   8261     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8262     ;;
   8263 esac
   8264 
   8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8266 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8267 if ${lt_cv_prog_compiler_pic+:} false; then :
   8268   $as_echo_n "(cached) " >&6
   8269 else
   8270   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8271 fi
   8272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8273 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8274 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8275 
   8276 #
   8277 # Check to make sure the PIC flag actually works.
   8278 #
   8279 if test -n "$lt_prog_compiler_pic"; then
   8280   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8281 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8282 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8283   $as_echo_n "(cached) " >&6
   8284 else
   8285   lt_cv_prog_compiler_pic_works=no
   8286    ac_outfile=conftest.$ac_objext
   8287    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8288    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8289    # Insert the option either (1) after the last *FLAGS variable, or
   8290    # (2) before a word containing "conftest.", or (3) at the end.
   8291    # Note that $ac_compile itself does not contain backslashes and begins
   8292    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8293    # The option is referenced via a variable to avoid confusing sed.
   8294    lt_compile=`echo "$ac_compile" | $SED \
   8295    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8296    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8297    -e 's:$: $lt_compiler_flag:'`
   8298    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8299    (eval "$lt_compile" 2>conftest.err)
   8300    ac_status=$?
   8301    cat conftest.err >&5
   8302    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8303    if (exit $ac_status) && test -s "$ac_outfile"; then
   8304      # The compiler can only warn and ignore the option if not recognized
   8305      # So say no if there are warnings other than the usual output.
   8306      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8307      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8308      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8309        lt_cv_prog_compiler_pic_works=yes
   8310      fi
   8311    fi
   8312    $RM conftest*
   8313 
   8314 fi
   8315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8316 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8317 
   8318 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8319     case $lt_prog_compiler_pic in
   8320      "" | " "*) ;;
   8321      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8322      esac
   8323 else
   8324     lt_prog_compiler_pic=
   8325      lt_prog_compiler_can_build_shared=no
   8326 fi
   8327 
   8328 fi
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 
   8338 
   8339 
   8340 #
   8341 # Check to make sure the static flag actually works.
   8342 #
   8343 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8345 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8346 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8347   $as_echo_n "(cached) " >&6
   8348 else
   8349   lt_cv_prog_compiler_static_works=no
   8350    save_LDFLAGS="$LDFLAGS"
   8351    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8352    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8353    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8354      # The linker can only warn and ignore the option if not recognized
   8355      # So say no if there are warnings
   8356      if test -s conftest.err; then
   8357        # Append any errors to the config.log.
   8358        cat conftest.err 1>&5
   8359        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8360        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8361        if diff conftest.exp conftest.er2 >/dev/null; then
   8362          lt_cv_prog_compiler_static_works=yes
   8363        fi
   8364      else
   8365        lt_cv_prog_compiler_static_works=yes
   8366      fi
   8367    fi
   8368    $RM -r conftest*
   8369    LDFLAGS="$save_LDFLAGS"
   8370 
   8371 fi
   8372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8373 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8374 
   8375 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8376     :
   8377 else
   8378     lt_prog_compiler_static=
   8379 fi
   8380 
   8381 
   8382 
   8383 
   8384 
   8385 
   8386 
   8387   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8388 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8389 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8390   $as_echo_n "(cached) " >&6
   8391 else
   8392   lt_cv_prog_compiler_c_o=no
   8393    $RM -r conftest 2>/dev/null
   8394    mkdir conftest
   8395    cd conftest
   8396    mkdir out
   8397    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8398 
   8399    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8400    # Insert the option either (1) after the last *FLAGS variable, or
   8401    # (2) before a word containing "conftest.", or (3) at the end.
   8402    # Note that $ac_compile itself does not contain backslashes and begins
   8403    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8404    lt_compile=`echo "$ac_compile" | $SED \
   8405    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8406    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8407    -e 's:$: $lt_compiler_flag:'`
   8408    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8409    (eval "$lt_compile" 2>out/conftest.err)
   8410    ac_status=$?
   8411    cat out/conftest.err >&5
   8412    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8413    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8414    then
   8415      # The compiler can only warn and ignore the option if not recognized
   8416      # So say no if there are warnings
   8417      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8418      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8419      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8420        lt_cv_prog_compiler_c_o=yes
   8421      fi
   8422    fi
   8423    chmod u+w . 2>&5
   8424    $RM conftest*
   8425    # SGI C++ compiler will create directory out/ii_files/ for
   8426    # template instantiation
   8427    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8428    $RM out/* && rmdir out
   8429    cd ..
   8430    $RM -r conftest
   8431    $RM conftest*
   8432 
   8433 fi
   8434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8435 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8443 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8444 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8445   $as_echo_n "(cached) " >&6
   8446 else
   8447   lt_cv_prog_compiler_c_o=no
   8448    $RM -r conftest 2>/dev/null
   8449    mkdir conftest
   8450    cd conftest
   8451    mkdir out
   8452    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8453 
   8454    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8455    # Insert the option either (1) after the last *FLAGS variable, or
   8456    # (2) before a word containing "conftest.", or (3) at the end.
   8457    # Note that $ac_compile itself does not contain backslashes and begins
   8458    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8459    lt_compile=`echo "$ac_compile" | $SED \
   8460    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8461    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8462    -e 's:$: $lt_compiler_flag:'`
   8463    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8464    (eval "$lt_compile" 2>out/conftest.err)
   8465    ac_status=$?
   8466    cat out/conftest.err >&5
   8467    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8468    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8469    then
   8470      # The compiler can only warn and ignore the option if not recognized
   8471      # So say no if there are warnings
   8472      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8473      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8474      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8475        lt_cv_prog_compiler_c_o=yes
   8476      fi
   8477    fi
   8478    chmod u+w . 2>&5
   8479    $RM conftest*
   8480    # SGI C++ compiler will create directory out/ii_files/ for
   8481    # template instantiation
   8482    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8483    $RM out/* && rmdir out
   8484    cd ..
   8485    $RM -r conftest
   8486    $RM conftest*
   8487 
   8488 fi
   8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8490 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8491 
   8492 
   8493 
   8494 
   8495 hard_links="nottested"
   8496 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8497   # do not overwrite the value of need_locks provided by the user
   8498   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8499 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8500   hard_links=yes
   8501   $RM conftest*
   8502   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8503   touch conftest.a
   8504   ln conftest.a conftest.b 2>&5 || hard_links=no
   8505   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8506   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8507 $as_echo "$hard_links" >&6; }
   8508   if test "$hard_links" = no; then
   8509     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8510 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8511     need_locks=warn
   8512   fi
   8513 else
   8514   need_locks=no
   8515 fi
   8516 
   8517 
   8518 
   8519 
   8520 
   8521 
   8522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8523 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8524 
   8525   runpath_var=
   8526   allow_undefined_flag=
   8527   always_export_symbols=no
   8528   archive_cmds=
   8529   archive_expsym_cmds=
   8530   compiler_needs_object=no
   8531   enable_shared_with_static_runtimes=no
   8532   export_dynamic_flag_spec=
   8533   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8534   hardcode_automatic=no
   8535   hardcode_direct=no
   8536   hardcode_direct_absolute=no
   8537   hardcode_libdir_flag_spec=
   8538   hardcode_libdir_separator=
   8539   hardcode_minus_L=no
   8540   hardcode_shlibpath_var=unsupported
   8541   inherit_rpath=no
   8542   link_all_deplibs=unknown
   8543   module_cmds=
   8544   module_expsym_cmds=
   8545   old_archive_from_new_cmds=
   8546   old_archive_from_expsyms_cmds=
   8547   thread_safe_flag_spec=
   8548   whole_archive_flag_spec=
   8549   # include_expsyms should be a list of space-separated symbols to be *always*
   8550   # included in the symbol list
   8551   include_expsyms=
   8552   # exclude_expsyms can be an extended regexp of symbols to exclude
   8553   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8554   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8555   # as well as any symbol that contains `d'.
   8556   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8557   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8558   # platforms (ab)use it in PIC code, but their linkers get confused if
   8559   # the symbol is explicitly referenced.  Since portable code cannot
   8560   # rely on this symbol name, it's probably fine to never include it in
   8561   # preloaded symbol tables.
   8562   # Exclude shared library initialization/finalization symbols.
   8563   extract_expsyms_cmds=
   8564 
   8565   case $host_os in
   8566   cygwin* | mingw* | pw32* | cegcc*)
   8567     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8568     # When not using gcc, we currently assume that we are using
   8569     # Microsoft Visual C++.
   8570     if test "$GCC" != yes; then
   8571       with_gnu_ld=no
   8572     fi
   8573     ;;
   8574   interix*)
   8575     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8576     with_gnu_ld=yes
   8577     ;;
   8578   openbsd*)
   8579     with_gnu_ld=no
   8580     ;;
   8581   esac
   8582 
   8583   ld_shlibs=yes
   8584 
   8585   # On some targets, GNU ld is compatible enough with the native linker
   8586   # that we're better off using the native interface for both.
   8587   lt_use_gnu_ld_interface=no
   8588   if test "$with_gnu_ld" = yes; then
   8589     case $host_os in
   8590       aix*)
   8591 	# The AIX port of GNU ld has always aspired to compatibility
   8592 	# with the native linker.  However, as the warning in the GNU ld
   8593 	# block says, versions before 2.19.5* couldn't really create working
   8594 	# shared libraries, regardless of the interface used.
   8595 	case `$LD -v 2>&1` in
   8596 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8597 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8598 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8599 	  *)
   8600 	    lt_use_gnu_ld_interface=yes
   8601 	    ;;
   8602 	esac
   8603 	;;
   8604       *)
   8605 	lt_use_gnu_ld_interface=yes
   8606 	;;
   8607     esac
   8608   fi
   8609 
   8610   if test "$lt_use_gnu_ld_interface" = yes; then
   8611     # If archive_cmds runs LD, not CC, wlarc should be empty
   8612     wlarc='${wl}'
   8613 
   8614     # Set some defaults for GNU ld with shared library support. These
   8615     # are reset later if shared libraries are not supported. Putting them
   8616     # here allows them to be overridden if necessary.
   8617     runpath_var=LD_RUN_PATH
   8618     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8619     export_dynamic_flag_spec='${wl}--export-dynamic'
   8620     # ancient GNU ld didn't support --whole-archive et. al.
   8621     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8622       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8623     else
   8624       whole_archive_flag_spec=
   8625     fi
   8626     supports_anon_versioning=no
   8627     case `$LD -v 2>&1` in
   8628       *GNU\ gold*) supports_anon_versioning=yes ;;
   8629       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8630       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8631       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8632       *\ 2.11.*) ;; # other 2.11 versions
   8633       *) supports_anon_versioning=yes ;;
   8634     esac
   8635 
   8636     # See if GNU ld supports shared libraries.
   8637     case $host_os in
   8638     aix[3-9]*)
   8639       # On AIX/PPC, the GNU linker is very broken
   8640       if test "$host_cpu" != ia64; then
   8641 	ld_shlibs=no
   8642 	cat <<_LT_EOF 1>&2
   8643 
   8644 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8645 *** to be unable to reliably create shared libraries on AIX.
   8646 *** Therefore, libtool is disabling shared libraries support.  If you
   8647 *** really care for shared libraries, you may want to install binutils
   8648 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8649 *** You will then need to restart the configuration process.
   8650 
   8651 _LT_EOF
   8652       fi
   8653       ;;
   8654 
   8655     amigaos*)
   8656       case $host_cpu in
   8657       powerpc)
   8658             # see comment about AmigaOS4 .so support
   8659             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8660             archive_expsym_cmds=''
   8661         ;;
   8662       m68k)
   8663             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)'
   8664             hardcode_libdir_flag_spec='-L$libdir'
   8665             hardcode_minus_L=yes
   8666         ;;
   8667       esac
   8668       ;;
   8669 
   8670     beos*)
   8671       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8672 	allow_undefined_flag=unsupported
   8673 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8674 	# support --undefined.  This deserves some investigation.  FIXME
   8675 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8676       else
   8677 	ld_shlibs=no
   8678       fi
   8679       ;;
   8680 
   8681     cygwin* | mingw* | pw32* | cegcc*)
   8682       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8683       # as there is no search path for DLLs.
   8684       hardcode_libdir_flag_spec='-L$libdir'
   8685       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8686       allow_undefined_flag=unsupported
   8687       always_export_symbols=no
   8688       enable_shared_with_static_runtimes=yes
   8689       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'
   8690       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8691 
   8692       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8693         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8694 	# If the export-symbols file already is a .def file (1st line
   8695 	# is EXPORTS), use it as is; otherwise, prepend...
   8696 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8697 	  cp $export_symbols $output_objdir/$soname.def;
   8698 	else
   8699 	  echo EXPORTS > $output_objdir/$soname.def;
   8700 	  cat $export_symbols >> $output_objdir/$soname.def;
   8701 	fi~
   8702 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8703       else
   8704 	ld_shlibs=no
   8705       fi
   8706       ;;
   8707 
   8708     haiku*)
   8709       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8710       link_all_deplibs=yes
   8711       ;;
   8712 
   8713     interix[3-9]*)
   8714       hardcode_direct=no
   8715       hardcode_shlibpath_var=no
   8716       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8717       export_dynamic_flag_spec='${wl}-E'
   8718       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8719       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8720       # default) and relocated if they conflict, which is a slow very memory
   8721       # consuming and fragmenting process.  To avoid this, we pick a random,
   8722       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8723       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8724       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8725       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'
   8726       ;;
   8727 
   8728     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8729       tmp_diet=no
   8730       if test "$host_os" = linux-dietlibc; then
   8731 	case $cc_basename in
   8732 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8733 	esac
   8734       fi
   8735       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8736 	 && test "$tmp_diet" = no
   8737       then
   8738 	tmp_addflag=' $pic_flag'
   8739 	tmp_sharedflag='-shared'
   8740 	case $cc_basename,$host_cpu in
   8741         pgcc*)				# Portland Group C compiler
   8742 	  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'
   8743 	  tmp_addflag=' $pic_flag'
   8744 	  ;;
   8745 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8746 					# Portland Group f77 and f90 compilers
   8747 	  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'
   8748 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8749 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8750 	  tmp_addflag=' -i_dynamic' ;;
   8751 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8752 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8753 	ifc* | ifort*)			# Intel Fortran compiler
   8754 	  tmp_addflag=' -nofor_main' ;;
   8755 	lf95*)				# Lahey Fortran 8.1
   8756 	  whole_archive_flag_spec=
   8757 	  tmp_sharedflag='--shared' ;;
   8758 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8759 	  tmp_sharedflag='-qmkshrobj'
   8760 	  tmp_addflag= ;;
   8761 	nvcc*)	# Cuda Compiler Driver 2.2
   8762 	  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'
   8763 	  compiler_needs_object=yes
   8764 	  ;;
   8765 	esac
   8766 	case `$CC -V 2>&1 | sed 5q` in
   8767 	*Sun\ C*)			# Sun C 5.9
   8768 	  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'
   8769 	  compiler_needs_object=yes
   8770 	  tmp_sharedflag='-G' ;;
   8771 	*Sun\ F*)			# Sun Fortran 8.3
   8772 	  tmp_sharedflag='-G' ;;
   8773 	esac
   8774 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8775 
   8776         if test "x$supports_anon_versioning" = xyes; then
   8777           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8778 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8779 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8780 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8781         fi
   8782 
   8783 	case $cc_basename in
   8784 	xlf* | bgf* | bgxlf* | mpixlf*)
   8785 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8786 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8787 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8788 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8789 	  if test "x$supports_anon_versioning" = xyes; then
   8790 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8791 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8792 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8793 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8794 	  fi
   8795 	  ;;
   8796 	esac
   8797       else
   8798         ld_shlibs=no
   8799       fi
   8800       ;;
   8801 
   8802     netbsd*)
   8803       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8804 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8805 	wlarc=
   8806       else
   8807 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8808 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8809       fi
   8810       ;;
   8811 
   8812     solaris*)
   8813       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8814 	ld_shlibs=no
   8815 	cat <<_LT_EOF 1>&2
   8816 
   8817 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8818 *** create shared libraries on Solaris systems.  Therefore, libtool
   8819 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8820 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8821 *** your PATH or compiler configuration so that the native linker is
   8822 *** used, and then restart.
   8823 
   8824 _LT_EOF
   8825       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8826 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8827 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8828       else
   8829 	ld_shlibs=no
   8830       fi
   8831       ;;
   8832 
   8833     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8834       case `$LD -v 2>&1` in
   8835         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8836 	ld_shlibs=no
   8837 	cat <<_LT_EOF 1>&2
   8838 
   8839 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8840 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8841 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8842 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8843 *** your PATH or compiler configuration so that the native linker is
   8844 *** used, and then restart.
   8845 
   8846 _LT_EOF
   8847 	;;
   8848 	*)
   8849 	  # For security reasons, it is highly recommended that you always
   8850 	  # use absolute paths for naming shared libraries, and exclude the
   8851 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8852 	  # requires that you compile everything twice, which is a pain.
   8853 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8854 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8855 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8856 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8857 	  else
   8858 	    ld_shlibs=no
   8859 	  fi
   8860 	;;
   8861       esac
   8862       ;;
   8863 
   8864     sunos4*)
   8865       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8866       wlarc=
   8867       hardcode_direct=yes
   8868       hardcode_shlibpath_var=no
   8869       ;;
   8870 
   8871     *)
   8872       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8873 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8874 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8875       else
   8876 	ld_shlibs=no
   8877       fi
   8878       ;;
   8879     esac
   8880 
   8881     if test "$ld_shlibs" = no; then
   8882       runpath_var=
   8883       hardcode_libdir_flag_spec=
   8884       export_dynamic_flag_spec=
   8885       whole_archive_flag_spec=
   8886     fi
   8887   else
   8888     # PORTME fill in a description of your system's linker (not GNU ld)
   8889     case $host_os in
   8890     aix3*)
   8891       allow_undefined_flag=unsupported
   8892       always_export_symbols=yes
   8893       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'
   8894       # Note: this linker hardcodes the directories in LIBPATH if there
   8895       # are no directories specified by -L.
   8896       hardcode_minus_L=yes
   8897       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8898 	# Neither direct hardcoding nor static linking is supported with a
   8899 	# broken collect2.
   8900 	hardcode_direct=unsupported
   8901       fi
   8902       ;;
   8903 
   8904     aix[4-9]*)
   8905       if test "$host_cpu" = ia64; then
   8906 	# On IA64, the linker does run time linking by default, so we don't
   8907 	# have to do anything special.
   8908 	aix_use_runtimelinking=no
   8909 	exp_sym_flag='-Bexport'
   8910 	no_entry_flag=""
   8911       else
   8912 	# If we're using GNU nm, then we don't want the "-C" option.
   8913 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8914 	# Also, AIX nm treats weak defined symbols like other global
   8915 	# defined symbols, whereas GNU nm marks them as "W".
   8916 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8917 	  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'
   8918 	else
   8919 	  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'
   8920 	fi
   8921 	aix_use_runtimelinking=no
   8922 
   8923 	# Test if we are trying to use run time linking or normal
   8924 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8925 	# need to do runtime linking.
   8926 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8927 	  for ld_flag in $LDFLAGS; do
   8928 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8929 	    aix_use_runtimelinking=yes
   8930 	    break
   8931 	  fi
   8932 	  done
   8933 	  ;;
   8934 	esac
   8935 
   8936 	exp_sym_flag='-bexport'
   8937 	no_entry_flag='-bnoentry'
   8938       fi
   8939 
   8940       # When large executables or shared objects are built, AIX ld can
   8941       # have problems creating the table of contents.  If linking a library
   8942       # or program results in "error TOC overflow" add -mminimal-toc to
   8943       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8944       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8945 
   8946       archive_cmds=''
   8947       hardcode_direct=yes
   8948       hardcode_direct_absolute=yes
   8949       hardcode_libdir_separator=':'
   8950       link_all_deplibs=yes
   8951       file_list_spec='${wl}-f,'
   8952 
   8953       if test "$GCC" = yes; then
   8954 	case $host_os in aix4.[012]|aix4.[012].*)
   8955 	# We only want to do this on AIX 4.2 and lower, the check
   8956 	# below for broken collect2 doesn't work under 4.3+
   8957 	  collect2name=`${CC} -print-prog-name=collect2`
   8958 	  if test -f "$collect2name" &&
   8959 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8960 	  then
   8961 	  # We have reworked collect2
   8962 	  :
   8963 	  else
   8964 	  # We have old collect2
   8965 	  hardcode_direct=unsupported
   8966 	  # It fails to find uninstalled libraries when the uninstalled
   8967 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8968 	  # to unsupported forces relinking
   8969 	  hardcode_minus_L=yes
   8970 	  hardcode_libdir_flag_spec='-L$libdir'
   8971 	  hardcode_libdir_separator=
   8972 	  fi
   8973 	  ;;
   8974 	esac
   8975 	shared_flag='-shared'
   8976 	if test "$aix_use_runtimelinking" = yes; then
   8977 	  shared_flag="$shared_flag "'${wl}-G'
   8978 	fi
   8979       else
   8980 	# not using gcc
   8981 	if test "$host_cpu" = ia64; then
   8982 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8983 	# chokes on -Wl,-G. The following line is correct:
   8984 	  shared_flag='-G'
   8985 	else
   8986 	  if test "$aix_use_runtimelinking" = yes; then
   8987 	    shared_flag='${wl}-G'
   8988 	  else
   8989 	    shared_flag='${wl}-bM:SRE'
   8990 	  fi
   8991 	fi
   8992       fi
   8993 
   8994       export_dynamic_flag_spec='${wl}-bexpall'
   8995       # It seems that -bexpall does not export symbols beginning with
   8996       # underscore (_), so it is better to generate a list of symbols to export.
   8997       always_export_symbols=yes
   8998       if test "$aix_use_runtimelinking" = yes; then
   8999 	# Warning - without using the other runtime loading flags (-brtl),
   9000 	# -berok will link without error, but may produce a broken library.
   9001 	allow_undefined_flag='-berok'
   9002         # Determine the default libpath from the value encoded in an
   9003         # empty executable.
   9004         if test "${lt_cv_aix_libpath+set}" = set; then
   9005   aix_libpath=$lt_cv_aix_libpath
   9006 else
   9007   if ${lt_cv_aix_libpath_+:} false; then :
   9008   $as_echo_n "(cached) " >&6
   9009 else
   9010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9011 /* end confdefs.h.  */
   9012 
   9013 int
   9014 main ()
   9015 {
   9016 
   9017   ;
   9018   return 0;
   9019 }
   9020 _ACEOF
   9021 if ac_fn_c_try_link "$LINENO"; then :
   9022 
   9023   lt_aix_libpath_sed='
   9024       /Import File Strings/,/^$/ {
   9025 	  /^0/ {
   9026 	      s/^0  *\([^ ]*\) *$/\1/
   9027 	      p
   9028 	  }
   9029       }'
   9030   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9031   # Check for a 64-bit object if we didn't find anything.
   9032   if test -z "$lt_cv_aix_libpath_"; then
   9033     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9034   fi
   9035 fi
   9036 rm -f core conftest.err conftest.$ac_objext \
   9037     conftest$ac_exeext conftest.$ac_ext
   9038   if test -z "$lt_cv_aix_libpath_"; then
   9039     lt_cv_aix_libpath_="/usr/lib:/lib"
   9040   fi
   9041 
   9042 fi
   9043 
   9044   aix_libpath=$lt_cv_aix_libpath_
   9045 fi
   9046 
   9047         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9048         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"
   9049       else
   9050 	if test "$host_cpu" = ia64; then
   9051 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9052 	  allow_undefined_flag="-z nodefs"
   9053 	  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"
   9054 	else
   9055 	 # Determine the default libpath from the value encoded in an
   9056 	 # empty executable.
   9057 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9058   aix_libpath=$lt_cv_aix_libpath
   9059 else
   9060   if ${lt_cv_aix_libpath_+:} false; then :
   9061   $as_echo_n "(cached) " >&6
   9062 else
   9063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9064 /* end confdefs.h.  */
   9065 
   9066 int
   9067 main ()
   9068 {
   9069 
   9070   ;
   9071   return 0;
   9072 }
   9073 _ACEOF
   9074 if ac_fn_c_try_link "$LINENO"; then :
   9075 
   9076   lt_aix_libpath_sed='
   9077       /Import File Strings/,/^$/ {
   9078 	  /^0/ {
   9079 	      s/^0  *\([^ ]*\) *$/\1/
   9080 	      p
   9081 	  }
   9082       }'
   9083   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9084   # Check for a 64-bit object if we didn't find anything.
   9085   if test -z "$lt_cv_aix_libpath_"; then
   9086     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9087   fi
   9088 fi
   9089 rm -f core conftest.err conftest.$ac_objext \
   9090     conftest$ac_exeext conftest.$ac_ext
   9091   if test -z "$lt_cv_aix_libpath_"; then
   9092     lt_cv_aix_libpath_="/usr/lib:/lib"
   9093   fi
   9094 
   9095 fi
   9096 
   9097   aix_libpath=$lt_cv_aix_libpath_
   9098 fi
   9099 
   9100 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9101 	  # Warning - without using the other run time loading flags,
   9102 	  # -berok will link without error, but may produce a broken library.
   9103 	  no_undefined_flag=' ${wl}-bernotok'
   9104 	  allow_undefined_flag=' ${wl}-berok'
   9105 	  if test "$with_gnu_ld" = yes; then
   9106 	    # We only use this code for GNU lds that support --whole-archive.
   9107 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9108 	  else
   9109 	    # Exported symbols can be pulled into shared objects from archives
   9110 	    whole_archive_flag_spec='$convenience'
   9111 	  fi
   9112 	  archive_cmds_need_lc=yes
   9113 	  # This is similar to how AIX traditionally builds its shared libraries.
   9114 	  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'
   9115 	fi
   9116       fi
   9117       ;;
   9118 
   9119     amigaos*)
   9120       case $host_cpu in
   9121       powerpc)
   9122             # see comment about AmigaOS4 .so support
   9123             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9124             archive_expsym_cmds=''
   9125         ;;
   9126       m68k)
   9127             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)'
   9128             hardcode_libdir_flag_spec='-L$libdir'
   9129             hardcode_minus_L=yes
   9130         ;;
   9131       esac
   9132       ;;
   9133 
   9134     bsdi[45]*)
   9135       export_dynamic_flag_spec=-rdynamic
   9136       ;;
   9137 
   9138     cygwin* | mingw* | pw32* | cegcc*)
   9139       # When not using gcc, we currently assume that we are using
   9140       # Microsoft Visual C++.
   9141       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9142       # no search path for DLLs.
   9143       case $cc_basename in
   9144       cl*)
   9145 	# Native MSVC
   9146 	hardcode_libdir_flag_spec=' '
   9147 	allow_undefined_flag=unsupported
   9148 	always_export_symbols=yes
   9149 	file_list_spec='@'
   9150 	# Tell ltmain to make .lib files, not .a files.
   9151 	libext=lib
   9152 	# Tell ltmain to make .dll files, not .so files.
   9153 	shrext_cmds=".dll"
   9154 	# FIXME: Setting linknames here is a bad hack.
   9155 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9156 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9157 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9158 	  else
   9159 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9160 	  fi~
   9161 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9162 	  linknames='
   9163 	# The linker will not automatically build a static lib if we build a DLL.
   9164 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9165 	enable_shared_with_static_runtimes=yes
   9166 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9167 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9168 	# Don't use ranlib
   9169 	old_postinstall_cmds='chmod 644 $oldlib'
   9170 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9171 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9172 	  case $lt_outputfile in
   9173 	    *.exe|*.EXE) ;;
   9174 	    *)
   9175 	      lt_outputfile="$lt_outputfile.exe"
   9176 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9177 	      ;;
   9178 	  esac~
   9179 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9180 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9181 	    $RM "$lt_outputfile.manifest";
   9182 	  fi'
   9183 	;;
   9184       *)
   9185 	# Assume MSVC wrapper
   9186 	hardcode_libdir_flag_spec=' '
   9187 	allow_undefined_flag=unsupported
   9188 	# Tell ltmain to make .lib files, not .a files.
   9189 	libext=lib
   9190 	# Tell ltmain to make .dll files, not .so files.
   9191 	shrext_cmds=".dll"
   9192 	# FIXME: Setting linknames here is a bad hack.
   9193 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9194 	# The linker will automatically build a .lib file if we build a DLL.
   9195 	old_archive_from_new_cmds='true'
   9196 	# FIXME: Should let the user specify the lib program.
   9197 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9198 	enable_shared_with_static_runtimes=yes
   9199 	;;
   9200       esac
   9201       ;;
   9202 
   9203     darwin* | rhapsody*)
   9204 
   9205 
   9206   archive_cmds_need_lc=no
   9207   hardcode_direct=no
   9208   hardcode_automatic=yes
   9209   hardcode_shlibpath_var=unsupported
   9210   if test "$lt_cv_ld_force_load" = "yes"; then
   9211     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\"`'
   9212 
   9213   else
   9214     whole_archive_flag_spec=''
   9215   fi
   9216   link_all_deplibs=yes
   9217   allow_undefined_flag="$_lt_dar_allow_undefined"
   9218   case $cc_basename in
   9219      ifort*) _lt_dar_can_shared=yes ;;
   9220      *) _lt_dar_can_shared=$GCC ;;
   9221   esac
   9222   if test "$_lt_dar_can_shared" = "yes"; then
   9223     output_verbose_link_cmd=func_echo_all
   9224     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9225     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9226     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}"
   9227     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}"
   9228 
   9229   else
   9230   ld_shlibs=no
   9231   fi
   9232 
   9233       ;;
   9234 
   9235     dgux*)
   9236       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9237       hardcode_libdir_flag_spec='-L$libdir'
   9238       hardcode_shlibpath_var=no
   9239       ;;
   9240 
   9241     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9242     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9243     # does not break anything, and helps significantly (at the cost of a little
   9244     # extra space).
   9245     freebsd2.2*)
   9246       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9247       hardcode_libdir_flag_spec='-R$libdir'
   9248       hardcode_direct=yes
   9249       hardcode_shlibpath_var=no
   9250       ;;
   9251 
   9252     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9253     freebsd2.*)
   9254       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9255       hardcode_direct=yes
   9256       hardcode_minus_L=yes
   9257       hardcode_shlibpath_var=no
   9258       ;;
   9259 
   9260     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9261     freebsd* | dragonfly*)
   9262       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9263       hardcode_libdir_flag_spec='-R$libdir'
   9264       hardcode_direct=yes
   9265       hardcode_shlibpath_var=no
   9266       ;;
   9267 
   9268     hpux9*)
   9269       if test "$GCC" = yes; then
   9270 	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'
   9271       else
   9272 	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'
   9273       fi
   9274       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9275       hardcode_libdir_separator=:
   9276       hardcode_direct=yes
   9277 
   9278       # hardcode_minus_L: Not really in the search PATH,
   9279       # but as the default location of the library.
   9280       hardcode_minus_L=yes
   9281       export_dynamic_flag_spec='${wl}-E'
   9282       ;;
   9283 
   9284     hpux10*)
   9285       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9286 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9287       else
   9288 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9289       fi
   9290       if test "$with_gnu_ld" = no; then
   9291 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9292 	hardcode_libdir_separator=:
   9293 	hardcode_direct=yes
   9294 	hardcode_direct_absolute=yes
   9295 	export_dynamic_flag_spec='${wl}-E'
   9296 	# hardcode_minus_L: Not really in the search PATH,
   9297 	# but as the default location of the library.
   9298 	hardcode_minus_L=yes
   9299       fi
   9300       ;;
   9301 
   9302     hpux11*)
   9303       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9304 	case $host_cpu in
   9305 	hppa*64*)
   9306 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9307 	  ;;
   9308 	ia64*)
   9309 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9310 	  ;;
   9311 	*)
   9312 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9313 	  ;;
   9314 	esac
   9315       else
   9316 	case $host_cpu in
   9317 	hppa*64*)
   9318 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9319 	  ;;
   9320 	ia64*)
   9321 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9322 	  ;;
   9323 	*)
   9324 
   9325 	  # Older versions of the 11.00 compiler do not understand -b yet
   9326 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9327 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9328 $as_echo_n "checking if $CC understands -b... " >&6; }
   9329 if ${lt_cv_prog_compiler__b+:} false; then :
   9330   $as_echo_n "(cached) " >&6
   9331 else
   9332   lt_cv_prog_compiler__b=no
   9333    save_LDFLAGS="$LDFLAGS"
   9334    LDFLAGS="$LDFLAGS -b"
   9335    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9336    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9337      # The linker can only warn and ignore the option if not recognized
   9338      # So say no if there are warnings
   9339      if test -s conftest.err; then
   9340        # Append any errors to the config.log.
   9341        cat conftest.err 1>&5
   9342        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9343        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9344        if diff conftest.exp conftest.er2 >/dev/null; then
   9345          lt_cv_prog_compiler__b=yes
   9346        fi
   9347      else
   9348        lt_cv_prog_compiler__b=yes
   9349      fi
   9350    fi
   9351    $RM -r conftest*
   9352    LDFLAGS="$save_LDFLAGS"
   9353 
   9354 fi
   9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9356 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9357 
   9358 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9359     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9360 else
   9361     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9362 fi
   9363 
   9364 	  ;;
   9365 	esac
   9366       fi
   9367       if test "$with_gnu_ld" = no; then
   9368 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9369 	hardcode_libdir_separator=:
   9370 
   9371 	case $host_cpu in
   9372 	hppa*64*|ia64*)
   9373 	  hardcode_direct=no
   9374 	  hardcode_shlibpath_var=no
   9375 	  ;;
   9376 	*)
   9377 	  hardcode_direct=yes
   9378 	  hardcode_direct_absolute=yes
   9379 	  export_dynamic_flag_spec='${wl}-E'
   9380 
   9381 	  # hardcode_minus_L: Not really in the search PATH,
   9382 	  # but as the default location of the library.
   9383 	  hardcode_minus_L=yes
   9384 	  ;;
   9385 	esac
   9386       fi
   9387       ;;
   9388 
   9389     irix5* | irix6* | nonstopux*)
   9390       if test "$GCC" = yes; then
   9391 	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'
   9392 	# Try to use the -exported_symbol ld option, if it does not
   9393 	# work, assume that -exports_file does not work either and
   9394 	# implicitly export all symbols.
   9395 	# This should be the same for all languages, so no per-tag cache variable.
   9396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9397 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9398 if ${lt_cv_irix_exported_symbol+:} false; then :
   9399   $as_echo_n "(cached) " >&6
   9400 else
   9401   save_LDFLAGS="$LDFLAGS"
   9402 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9403 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9404 /* end confdefs.h.  */
   9405 int foo (void) { return 0; }
   9406 _ACEOF
   9407 if ac_fn_c_try_link "$LINENO"; then :
   9408   lt_cv_irix_exported_symbol=yes
   9409 else
   9410   lt_cv_irix_exported_symbol=no
   9411 fi
   9412 rm -f core conftest.err conftest.$ac_objext \
   9413     conftest$ac_exeext conftest.$ac_ext
   9414            LDFLAGS="$save_LDFLAGS"
   9415 fi
   9416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9417 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9418 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9419           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'
   9420 	fi
   9421       else
   9422 	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'
   9423 	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'
   9424       fi
   9425       archive_cmds_need_lc='no'
   9426       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9427       hardcode_libdir_separator=:
   9428       inherit_rpath=yes
   9429       link_all_deplibs=yes
   9430       ;;
   9431 
   9432     netbsd*)
   9433       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9434 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9435       else
   9436 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9437       fi
   9438       hardcode_libdir_flag_spec='-R$libdir'
   9439       hardcode_direct=yes
   9440       hardcode_shlibpath_var=no
   9441       ;;
   9442 
   9443     newsos6)
   9444       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9445       hardcode_direct=yes
   9446       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9447       hardcode_libdir_separator=:
   9448       hardcode_shlibpath_var=no
   9449       ;;
   9450 
   9451     *nto* | *qnx*)
   9452       ;;
   9453 
   9454     openbsd*)
   9455       if test -f /usr/libexec/ld.so; then
   9456 	hardcode_direct=yes
   9457 	hardcode_shlibpath_var=no
   9458 	hardcode_direct_absolute=yes
   9459 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9460 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9461 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9462 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9463 	  export_dynamic_flag_spec='${wl}-E'
   9464 	else
   9465 	  case $host_os in
   9466 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9467 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9468 	     hardcode_libdir_flag_spec='-R$libdir'
   9469 	     ;;
   9470 	   *)
   9471 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9472 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9473 	     ;;
   9474 	  esac
   9475 	fi
   9476       else
   9477 	ld_shlibs=no
   9478       fi
   9479       ;;
   9480 
   9481     os2*)
   9482       hardcode_libdir_flag_spec='-L$libdir'
   9483       hardcode_minus_L=yes
   9484       allow_undefined_flag=unsupported
   9485       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'
   9486       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9487       ;;
   9488 
   9489     osf3*)
   9490       if test "$GCC" = yes; then
   9491 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9492 	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'
   9493       else
   9494 	allow_undefined_flag=' -expect_unresolved \*'
   9495 	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'
   9496       fi
   9497       archive_cmds_need_lc='no'
   9498       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9499       hardcode_libdir_separator=:
   9500       ;;
   9501 
   9502     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9503       if test "$GCC" = yes; then
   9504 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9505 	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'
   9506 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9507       else
   9508 	allow_undefined_flag=' -expect_unresolved \*'
   9509 	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'
   9510 	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~
   9511 	$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'
   9512 
   9513 	# Both c and cxx compiler support -rpath directly
   9514 	hardcode_libdir_flag_spec='-rpath $libdir'
   9515       fi
   9516       archive_cmds_need_lc='no'
   9517       hardcode_libdir_separator=:
   9518       ;;
   9519 
   9520     solaris*)
   9521       no_undefined_flag=' -z defs'
   9522       if test "$GCC" = yes; then
   9523 	wlarc='${wl}'
   9524 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9525 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9526 	  $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'
   9527       else
   9528 	case `$CC -V 2>&1` in
   9529 	*"Compilers 5.0"*)
   9530 	  wlarc=''
   9531 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9532 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9533 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9534 	  ;;
   9535 	*)
   9536 	  wlarc='${wl}'
   9537 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9538 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9539 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9540 	  ;;
   9541 	esac
   9542       fi
   9543       hardcode_libdir_flag_spec='-R$libdir'
   9544       hardcode_shlibpath_var=no
   9545       case $host_os in
   9546       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9547       *)
   9548 	# The compiler driver will combine and reorder linker options,
   9549 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9550 	# but is careful enough not to reorder.
   9551 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9552 	if test "$GCC" = yes; then
   9553 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9554 	else
   9555 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9556 	fi
   9557 	;;
   9558       esac
   9559       link_all_deplibs=yes
   9560       ;;
   9561 
   9562     sunos4*)
   9563       if test "x$host_vendor" = xsequent; then
   9564 	# Use $CC to link under sequent, because it throws in some extra .o
   9565 	# files that make .init and .fini sections work.
   9566 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9567       else
   9568 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9569       fi
   9570       hardcode_libdir_flag_spec='-L$libdir'
   9571       hardcode_direct=yes
   9572       hardcode_minus_L=yes
   9573       hardcode_shlibpath_var=no
   9574       ;;
   9575 
   9576     sysv4)
   9577       case $host_vendor in
   9578 	sni)
   9579 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9580 	  hardcode_direct=yes # is this really true???
   9581 	;;
   9582 	siemens)
   9583 	  ## LD is ld it makes a PLAMLIB
   9584 	  ## CC just makes a GrossModule.
   9585 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9586 	  reload_cmds='$CC -r -o $output$reload_objs'
   9587 	  hardcode_direct=no
   9588         ;;
   9589 	motorola)
   9590 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9591 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9592 	;;
   9593       esac
   9594       runpath_var='LD_RUN_PATH'
   9595       hardcode_shlibpath_var=no
   9596       ;;
   9597 
   9598     sysv4.3*)
   9599       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9600       hardcode_shlibpath_var=no
   9601       export_dynamic_flag_spec='-Bexport'
   9602       ;;
   9603 
   9604     sysv4*MP*)
   9605       if test -d /usr/nec; then
   9606 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9607 	hardcode_shlibpath_var=no
   9608 	runpath_var=LD_RUN_PATH
   9609 	hardcode_runpath_var=yes
   9610 	ld_shlibs=yes
   9611       fi
   9612       ;;
   9613 
   9614     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9615       no_undefined_flag='${wl}-z,text'
   9616       archive_cmds_need_lc=no
   9617       hardcode_shlibpath_var=no
   9618       runpath_var='LD_RUN_PATH'
   9619 
   9620       if test "$GCC" = yes; then
   9621 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9622 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9623       else
   9624 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9625 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9626       fi
   9627       ;;
   9628 
   9629     sysv5* | sco3.2v5* | sco5v6*)
   9630       # Note: We can NOT use -z defs as we might desire, because we do not
   9631       # link with -lc, and that would cause any symbols used from libc to
   9632       # always be unresolved, which means just about no library would
   9633       # ever link correctly.  If we're not using GNU ld we use -z text
   9634       # though, which does catch some bad symbols but isn't as heavy-handed
   9635       # as -z defs.
   9636       no_undefined_flag='${wl}-z,text'
   9637       allow_undefined_flag='${wl}-z,nodefs'
   9638       archive_cmds_need_lc=no
   9639       hardcode_shlibpath_var=no
   9640       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9641       hardcode_libdir_separator=':'
   9642       link_all_deplibs=yes
   9643       export_dynamic_flag_spec='${wl}-Bexport'
   9644       runpath_var='LD_RUN_PATH'
   9645 
   9646       if test "$GCC" = yes; then
   9647 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9648 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9649       else
   9650 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9651 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9652       fi
   9653       ;;
   9654 
   9655     uts4*)
   9656       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9657       hardcode_libdir_flag_spec='-L$libdir'
   9658       hardcode_shlibpath_var=no
   9659       ;;
   9660 
   9661     *)
   9662       ld_shlibs=no
   9663       ;;
   9664     esac
   9665 
   9666     if test x$host_vendor = xsni; then
   9667       case $host in
   9668       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9669 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9670 	;;
   9671       esac
   9672     fi
   9673   fi
   9674 
   9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9676 $as_echo "$ld_shlibs" >&6; }
   9677 test "$ld_shlibs" = no && can_build_shared=no
   9678 
   9679 with_gnu_ld=$with_gnu_ld
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 #
   9696 # Do we need to explicitly link libc?
   9697 #
   9698 case "x$archive_cmds_need_lc" in
   9699 x|xyes)
   9700   # Assume -lc should be added
   9701   archive_cmds_need_lc=yes
   9702 
   9703   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9704     case $archive_cmds in
   9705     *'~'*)
   9706       # FIXME: we may have to deal with multi-command sequences.
   9707       ;;
   9708     '$CC '*)
   9709       # Test whether the compiler implicitly links with -lc since on some
   9710       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9711       # to ld, don't add -lc before -lgcc.
   9712       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9713 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9714 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9715   $as_echo_n "(cached) " >&6
   9716 else
   9717   $RM conftest*
   9718 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9719 
   9720 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9721   (eval $ac_compile) 2>&5
   9722   ac_status=$?
   9723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9724   test $ac_status = 0; } 2>conftest.err; then
   9725 	  soname=conftest
   9726 	  lib=conftest
   9727 	  libobjs=conftest.$ac_objext
   9728 	  deplibs=
   9729 	  wl=$lt_prog_compiler_wl
   9730 	  pic_flag=$lt_prog_compiler_pic
   9731 	  compiler_flags=-v
   9732 	  linker_flags=-v
   9733 	  verstring=
   9734 	  output_objdir=.
   9735 	  libname=conftest
   9736 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9737 	  allow_undefined_flag=
   9738 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9739   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9740   ac_status=$?
   9741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9742   test $ac_status = 0; }
   9743 	  then
   9744 	    lt_cv_archive_cmds_need_lc=no
   9745 	  else
   9746 	    lt_cv_archive_cmds_need_lc=yes
   9747 	  fi
   9748 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9749 	else
   9750 	  cat conftest.err 1>&5
   9751 	fi
   9752 	$RM conftest*
   9753 
   9754 fi
   9755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9756 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9757       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9758       ;;
   9759     esac
   9760   fi
   9761   ;;
   9762 esac
   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 
   9915   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9916 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9917 
   9918 if test "$GCC" = yes; then
   9919   case $host_os in
   9920     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9921     *) lt_awk_arg="/^libraries:/" ;;
   9922   esac
   9923   case $host_os in
   9924     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9925     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9926   esac
   9927   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9928   case $lt_search_path_spec in
   9929   *\;*)
   9930     # if the path contains ";" then we assume it to be the separator
   9931     # otherwise default to the standard path separator (i.e. ":") - it is
   9932     # assumed that no part of a normal pathname contains ";" but that should
   9933     # okay in the real world where ";" in dirpaths is itself problematic.
   9934     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9935     ;;
   9936   *)
   9937     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9938     ;;
   9939   esac
   9940   # Ok, now we have the path, separated by spaces, we can step through it
   9941   # and add multilib dir if necessary.
   9942   lt_tmp_lt_search_path_spec=
   9943   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9944   for lt_sys_path in $lt_search_path_spec; do
   9945     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9946       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9947     else
   9948       test -d "$lt_sys_path" && \
   9949 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9950     fi
   9951   done
   9952   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9953 BEGIN {RS=" "; FS="/|\n";} {
   9954   lt_foo="";
   9955   lt_count=0;
   9956   for (lt_i = NF; lt_i > 0; lt_i--) {
   9957     if ($lt_i != "" && $lt_i != ".") {
   9958       if ($lt_i == "..") {
   9959         lt_count++;
   9960       } else {
   9961         if (lt_count == 0) {
   9962           lt_foo="/" $lt_i lt_foo;
   9963         } else {
   9964           lt_count--;
   9965         }
   9966       }
   9967     }
   9968   }
   9969   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9970   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9971 }'`
   9972   # AWK program above erroneously prepends '/' to C:/dos/paths
   9973   # for these hosts.
   9974   case $host_os in
   9975     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9976       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9977   esac
   9978   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9979 else
   9980   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9981 fi
   9982 library_names_spec=
   9983 libname_spec='lib$name'
   9984 soname_spec=
   9985 shrext_cmds=".so"
   9986 postinstall_cmds=
   9987 postuninstall_cmds=
   9988 finish_cmds=
   9989 finish_eval=
   9990 shlibpath_var=
   9991 shlibpath_overrides_runpath=unknown
   9992 version_type=none
   9993 dynamic_linker="$host_os ld.so"
   9994 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9995 need_lib_prefix=unknown
   9996 hardcode_into_libs=no
   9997 
   9998 # when you set need_version to no, make sure it does not cause -set_version
   9999 # flags to be left without arguments
   10000 need_version=unknown
   10001 
   10002 case $host_os in
   10003 aix3*)
   10004   version_type=linux # correct to gnu/linux during the next big refactor
   10005   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10006   shlibpath_var=LIBPATH
   10007 
   10008   # AIX 3 has no versioning support, so we append a major version to the name.
   10009   soname_spec='${libname}${release}${shared_ext}$major'
   10010   ;;
   10011 
   10012 aix[4-9]*)
   10013   version_type=linux # correct to gnu/linux during the next big refactor
   10014   need_lib_prefix=no
   10015   need_version=no
   10016   hardcode_into_libs=yes
   10017   if test "$host_cpu" = ia64; then
   10018     # AIX 5 supports IA64
   10019     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10020     shlibpath_var=LD_LIBRARY_PATH
   10021   else
   10022     # With GCC up to 2.95.x, collect2 would create an import file
   10023     # for dependence libraries.  The import file would start with
   10024     # the line `#! .'.  This would cause the generated library to
   10025     # depend on `.', always an invalid library.  This was fixed in
   10026     # development snapshots of GCC prior to 3.0.
   10027     case $host_os in
   10028       aix4 | aix4.[01] | aix4.[01].*)
   10029       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10030 	   echo ' yes '
   10031 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10032 	:
   10033       else
   10034 	can_build_shared=no
   10035       fi
   10036       ;;
   10037     esac
   10038     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10039     # soname into executable. Probably we can add versioning support to
   10040     # collect2, so additional links can be useful in future.
   10041     if test "$aix_use_runtimelinking" = yes; then
   10042       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10043       # instead of lib<name>.a to let people know that these are not
   10044       # typical AIX shared libraries.
   10045       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10046     else
   10047       # We preserve .a as extension for shared libraries through AIX4.2
   10048       # and later when we are not doing run time linking.
   10049       library_names_spec='${libname}${release}.a $libname.a'
   10050       soname_spec='${libname}${release}${shared_ext}$major'
   10051     fi
   10052     shlibpath_var=LIBPATH
   10053   fi
   10054   ;;
   10055 
   10056 amigaos*)
   10057   case $host_cpu in
   10058   powerpc)
   10059     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10060     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10061     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10062     ;;
   10063   m68k)
   10064     library_names_spec='$libname.ixlibrary $libname.a'
   10065     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10066     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'
   10067     ;;
   10068   esac
   10069   ;;
   10070 
   10071 beos*)
   10072   library_names_spec='${libname}${shared_ext}'
   10073   dynamic_linker="$host_os ld.so"
   10074   shlibpath_var=LIBRARY_PATH
   10075   ;;
   10076 
   10077 bsdi[45]*)
   10078   version_type=linux # correct to gnu/linux during the next big refactor
   10079   need_version=no
   10080   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10081   soname_spec='${libname}${release}${shared_ext}$major'
   10082   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10083   shlibpath_var=LD_LIBRARY_PATH
   10084   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10085   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10086   # the default ld.so.conf also contains /usr/contrib/lib and
   10087   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10088   # libtool to hard-code these into programs
   10089   ;;
   10090 
   10091 cygwin* | mingw* | pw32* | cegcc*)
   10092   version_type=windows
   10093   shrext_cmds=".dll"
   10094   need_version=no
   10095   need_lib_prefix=no
   10096 
   10097   case $GCC,$cc_basename in
   10098   yes,*)
   10099     # gcc
   10100     library_names_spec='$libname.dll.a'
   10101     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10102     postinstall_cmds='base_file=`basename \${file}`~
   10103       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10104       dldir=$destdir/`dirname \$dlpath`~
   10105       test -d \$dldir || mkdir -p \$dldir~
   10106       $install_prog $dir/$dlname \$dldir/$dlname~
   10107       chmod a+x \$dldir/$dlname~
   10108       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10109         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10110       fi'
   10111     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10112       dlpath=$dir/\$dldll~
   10113        $RM \$dlpath'
   10114     shlibpath_overrides_runpath=yes
   10115 
   10116     case $host_os in
   10117     cygwin*)
   10118       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10119       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10120 
   10121       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10122       ;;
   10123     mingw* | cegcc*)
   10124       # MinGW DLLs use traditional 'lib' prefix
   10125       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10126       ;;
   10127     pw32*)
   10128       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10129       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10130       ;;
   10131     esac
   10132     dynamic_linker='Win32 ld.exe'
   10133     ;;
   10134 
   10135   *,cl*)
   10136     # Native MSVC
   10137     libname_spec='$name'
   10138     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10139     library_names_spec='${libname}.dll.lib'
   10140 
   10141     case $build_os in
   10142     mingw*)
   10143       sys_lib_search_path_spec=
   10144       lt_save_ifs=$IFS
   10145       IFS=';'
   10146       for lt_path in $LIB
   10147       do
   10148         IFS=$lt_save_ifs
   10149         # Let DOS variable expansion print the short 8.3 style file name.
   10150         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10151         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10152       done
   10153       IFS=$lt_save_ifs
   10154       # Convert to MSYS style.
   10155       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10156       ;;
   10157     cygwin*)
   10158       # Convert to unix form, then to dos form, then back to unix form
   10159       # but this time dos style (no spaces!) so that the unix form looks
   10160       # like /cygdrive/c/PROGRA~1:/cygdr...
   10161       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10162       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10163       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10164       ;;
   10165     *)
   10166       sys_lib_search_path_spec="$LIB"
   10167       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10168         # It is most probably a Windows format PATH.
   10169         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10170       else
   10171         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10172       fi
   10173       # FIXME: find the short name or the path components, as spaces are
   10174       # common. (e.g. "Program Files" -> "PROGRA~1")
   10175       ;;
   10176     esac
   10177 
   10178     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10179     postinstall_cmds='base_file=`basename \${file}`~
   10180       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10181       dldir=$destdir/`dirname \$dlpath`~
   10182       test -d \$dldir || mkdir -p \$dldir~
   10183       $install_prog $dir/$dlname \$dldir/$dlname'
   10184     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10185       dlpath=$dir/\$dldll~
   10186        $RM \$dlpath'
   10187     shlibpath_overrides_runpath=yes
   10188     dynamic_linker='Win32 link.exe'
   10189     ;;
   10190 
   10191   *)
   10192     # Assume MSVC wrapper
   10193     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10194     dynamic_linker='Win32 ld.exe'
   10195     ;;
   10196   esac
   10197   # FIXME: first we should search . and the directory the executable is in
   10198   shlibpath_var=PATH
   10199   ;;
   10200 
   10201 darwin* | rhapsody*)
   10202   dynamic_linker="$host_os dyld"
   10203   version_type=darwin
   10204   need_lib_prefix=no
   10205   need_version=no
   10206   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10207   soname_spec='${libname}${release}${major}$shared_ext'
   10208   shlibpath_overrides_runpath=yes
   10209   shlibpath_var=DYLD_LIBRARY_PATH
   10210   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10211 
   10212   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10213   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10214   ;;
   10215 
   10216 dgux*)
   10217   version_type=linux # correct to gnu/linux during the next big refactor
   10218   need_lib_prefix=no
   10219   need_version=no
   10220   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10221   soname_spec='${libname}${release}${shared_ext}$major'
   10222   shlibpath_var=LD_LIBRARY_PATH
   10223   ;;
   10224 
   10225 freebsd* | dragonfly*)
   10226   # DragonFly does not have aout.  When/if they implement a new
   10227   # versioning mechanism, adjust this.
   10228   if test -x /usr/bin/objformat; then
   10229     objformat=`/usr/bin/objformat`
   10230   else
   10231     case $host_os in
   10232     freebsd[23].*) objformat=aout ;;
   10233     *) objformat=elf ;;
   10234     esac
   10235   fi
   10236   version_type=freebsd-$objformat
   10237   case $version_type in
   10238     freebsd-elf*)
   10239       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10240       need_version=no
   10241       need_lib_prefix=no
   10242       ;;
   10243     freebsd-*)
   10244       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10245       need_version=yes
   10246       ;;
   10247   esac
   10248   shlibpath_var=LD_LIBRARY_PATH
   10249   case $host_os in
   10250   freebsd2.*)
   10251     shlibpath_overrides_runpath=yes
   10252     ;;
   10253   freebsd3.[01]* | freebsdelf3.[01]*)
   10254     shlibpath_overrides_runpath=yes
   10255     hardcode_into_libs=yes
   10256     ;;
   10257   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10258   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10259     shlibpath_overrides_runpath=no
   10260     hardcode_into_libs=yes
   10261     ;;
   10262   *) # from 4.6 on, and DragonFly
   10263     shlibpath_overrides_runpath=yes
   10264     hardcode_into_libs=yes
   10265     ;;
   10266   esac
   10267   ;;
   10268 
   10269 gnu*)
   10270   version_type=linux # correct to gnu/linux during the next big refactor
   10271   need_lib_prefix=no
   10272   need_version=no
   10273   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10274   soname_spec='${libname}${release}${shared_ext}$major'
   10275   shlibpath_var=LD_LIBRARY_PATH
   10276   shlibpath_overrides_runpath=no
   10277   hardcode_into_libs=yes
   10278   ;;
   10279 
   10280 haiku*)
   10281   version_type=linux # correct to gnu/linux during the next big refactor
   10282   need_lib_prefix=no
   10283   need_version=no
   10284   dynamic_linker="$host_os runtime_loader"
   10285   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10286   soname_spec='${libname}${release}${shared_ext}$major'
   10287   shlibpath_var=LIBRARY_PATH
   10288   shlibpath_overrides_runpath=yes
   10289   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10290   hardcode_into_libs=yes
   10291   ;;
   10292 
   10293 hpux9* | hpux10* | hpux11*)
   10294   # Give a soname corresponding to the major version so that dld.sl refuses to
   10295   # link against other versions.
   10296   version_type=sunos
   10297   need_lib_prefix=no
   10298   need_version=no
   10299   case $host_cpu in
   10300   ia64*)
   10301     shrext_cmds='.so'
   10302     hardcode_into_libs=yes
   10303     dynamic_linker="$host_os dld.so"
   10304     shlibpath_var=LD_LIBRARY_PATH
   10305     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10306     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10307     soname_spec='${libname}${release}${shared_ext}$major'
   10308     if test "X$HPUX_IA64_MODE" = X32; then
   10309       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10310     else
   10311       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10312     fi
   10313     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10314     ;;
   10315   hppa*64*)
   10316     shrext_cmds='.sl'
   10317     hardcode_into_libs=yes
   10318     dynamic_linker="$host_os dld.sl"
   10319     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10320     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10321     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10322     soname_spec='${libname}${release}${shared_ext}$major'
   10323     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10324     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10325     ;;
   10326   *)
   10327     shrext_cmds='.sl'
   10328     dynamic_linker="$host_os dld.sl"
   10329     shlibpath_var=SHLIB_PATH
   10330     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10331     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10332     soname_spec='${libname}${release}${shared_ext}$major'
   10333     ;;
   10334   esac
   10335   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10336   postinstall_cmds='chmod 555 $lib'
   10337   # or fails outright, so override atomically:
   10338   install_override_mode=555
   10339   ;;
   10340 
   10341 interix[3-9]*)
   10342   version_type=linux # correct to gnu/linux during the next big refactor
   10343   need_lib_prefix=no
   10344   need_version=no
   10345   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10346   soname_spec='${libname}${release}${shared_ext}$major'
   10347   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10348   shlibpath_var=LD_LIBRARY_PATH
   10349   shlibpath_overrides_runpath=no
   10350   hardcode_into_libs=yes
   10351   ;;
   10352 
   10353 irix5* | irix6* | nonstopux*)
   10354   case $host_os in
   10355     nonstopux*) version_type=nonstopux ;;
   10356     *)
   10357 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10358 		version_type=linux # correct to gnu/linux during the next big refactor
   10359 	else
   10360 		version_type=irix
   10361 	fi ;;
   10362   esac
   10363   need_lib_prefix=no
   10364   need_version=no
   10365   soname_spec='${libname}${release}${shared_ext}$major'
   10366   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10367   case $host_os in
   10368   irix5* | nonstopux*)
   10369     libsuff= shlibsuff=
   10370     ;;
   10371   *)
   10372     case $LD in # libtool.m4 will add one of these switches to LD
   10373     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10374       libsuff= shlibsuff= libmagic=32-bit;;
   10375     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10376       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10377     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10378       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10379     *) libsuff= shlibsuff= libmagic=never-match;;
   10380     esac
   10381     ;;
   10382   esac
   10383   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10384   shlibpath_overrides_runpath=no
   10385   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10386   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10387   hardcode_into_libs=yes
   10388   ;;
   10389 
   10390 # No shared lib support for Linux oldld, aout, or coff.
   10391 linux*oldld* | linux*aout* | linux*coff*)
   10392   dynamic_linker=no
   10393   ;;
   10394 
   10395 # This must be glibc/ELF.
   10396 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10397   version_type=linux # correct to gnu/linux during the next big refactor
   10398   need_lib_prefix=no
   10399   need_version=no
   10400   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10401   soname_spec='${libname}${release}${shared_ext}$major'
   10402   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10403   shlibpath_var=LD_LIBRARY_PATH
   10404   shlibpath_overrides_runpath=no
   10405 
   10406   # Some binutils ld are patched to set DT_RUNPATH
   10407   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10408   $as_echo_n "(cached) " >&6
   10409 else
   10410   lt_cv_shlibpath_overrides_runpath=no
   10411     save_LDFLAGS=$LDFLAGS
   10412     save_libdir=$libdir
   10413     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10414 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10415     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10416 /* end confdefs.h.  */
   10417 
   10418 int
   10419 main ()
   10420 {
   10421 
   10422   ;
   10423   return 0;
   10424 }
   10425 _ACEOF
   10426 if ac_fn_c_try_link "$LINENO"; then :
   10427   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10428   lt_cv_shlibpath_overrides_runpath=yes
   10429 fi
   10430 fi
   10431 rm -f core conftest.err conftest.$ac_objext \
   10432     conftest$ac_exeext conftest.$ac_ext
   10433     LDFLAGS=$save_LDFLAGS
   10434     libdir=$save_libdir
   10435 
   10436 fi
   10437 
   10438   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10439 
   10440   # This implies no fast_install, which is unacceptable.
   10441   # Some rework will be needed to allow for fast_install
   10442   # before this can be enabled.
   10443   hardcode_into_libs=yes
   10444 
   10445   # Append ld.so.conf contents to the search path
   10446   if test -f /etc/ld.so.conf; then
   10447     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' ' '`
   10448     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10449   fi
   10450 
   10451   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10452   # powerpc, because MkLinux only supported shared libraries with the
   10453   # GNU dynamic linker.  Since this was broken with cross compilers,
   10454   # most powerpc-linux boxes support dynamic linking these days and
   10455   # people can always --disable-shared, the test was removed, and we
   10456   # assume the GNU/Linux dynamic linker is in use.
   10457   dynamic_linker='GNU/Linux ld.so'
   10458   ;;
   10459 
   10460 netbsd*)
   10461   version_type=sunos
   10462   need_lib_prefix=no
   10463   need_version=no
   10464   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10465     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10466     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10467     dynamic_linker='NetBSD (a.out) ld.so'
   10468   else
   10469     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10470     soname_spec='${libname}${release}${shared_ext}$major'
   10471     dynamic_linker='NetBSD ld.elf_so'
   10472   fi
   10473   shlibpath_var=LD_LIBRARY_PATH
   10474   shlibpath_overrides_runpath=yes
   10475   hardcode_into_libs=yes
   10476   ;;
   10477 
   10478 newsos6)
   10479   version_type=linux # correct to gnu/linux during the next big refactor
   10480   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10481   shlibpath_var=LD_LIBRARY_PATH
   10482   shlibpath_overrides_runpath=yes
   10483   ;;
   10484 
   10485 *nto* | *qnx*)
   10486   version_type=qnx
   10487   need_lib_prefix=no
   10488   need_version=no
   10489   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10490   soname_spec='${libname}${release}${shared_ext}$major'
   10491   shlibpath_var=LD_LIBRARY_PATH
   10492   shlibpath_overrides_runpath=no
   10493   hardcode_into_libs=yes
   10494   dynamic_linker='ldqnx.so'
   10495   ;;
   10496 
   10497 openbsd*)
   10498   version_type=sunos
   10499   sys_lib_dlsearch_path_spec="/usr/lib"
   10500   need_lib_prefix=no
   10501   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10502   case $host_os in
   10503     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10504     *)				need_version=no  ;;
   10505   esac
   10506   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10507   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10508   shlibpath_var=LD_LIBRARY_PATH
   10509   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10510     case $host_os in
   10511       openbsd2.[89] | openbsd2.[89].*)
   10512 	shlibpath_overrides_runpath=no
   10513 	;;
   10514       *)
   10515 	shlibpath_overrides_runpath=yes
   10516 	;;
   10517       esac
   10518   else
   10519     shlibpath_overrides_runpath=yes
   10520   fi
   10521   ;;
   10522 
   10523 os2*)
   10524   libname_spec='$name'
   10525   shrext_cmds=".dll"
   10526   need_lib_prefix=no
   10527   library_names_spec='$libname${shared_ext} $libname.a'
   10528   dynamic_linker='OS/2 ld.exe'
   10529   shlibpath_var=LIBPATH
   10530   ;;
   10531 
   10532 osf3* | osf4* | osf5*)
   10533   version_type=osf
   10534   need_lib_prefix=no
   10535   need_version=no
   10536   soname_spec='${libname}${release}${shared_ext}$major'
   10537   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10538   shlibpath_var=LD_LIBRARY_PATH
   10539   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10540   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10541   ;;
   10542 
   10543 rdos*)
   10544   dynamic_linker=no
   10545   ;;
   10546 
   10547 solaris*)
   10548   version_type=linux # correct to gnu/linux during the next big refactor
   10549   need_lib_prefix=no
   10550   need_version=no
   10551   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10552   soname_spec='${libname}${release}${shared_ext}$major'
   10553   shlibpath_var=LD_LIBRARY_PATH
   10554   shlibpath_overrides_runpath=yes
   10555   hardcode_into_libs=yes
   10556   # ldd complains unless libraries are executable
   10557   postinstall_cmds='chmod +x $lib'
   10558   ;;
   10559 
   10560 sunos4*)
   10561   version_type=sunos
   10562   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10563   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10564   shlibpath_var=LD_LIBRARY_PATH
   10565   shlibpath_overrides_runpath=yes
   10566   if test "$with_gnu_ld" = yes; then
   10567     need_lib_prefix=no
   10568   fi
   10569   need_version=yes
   10570   ;;
   10571 
   10572 sysv4 | sysv4.3*)
   10573   version_type=linux # correct to gnu/linux during the next big refactor
   10574   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10575   soname_spec='${libname}${release}${shared_ext}$major'
   10576   shlibpath_var=LD_LIBRARY_PATH
   10577   case $host_vendor in
   10578     sni)
   10579       shlibpath_overrides_runpath=no
   10580       need_lib_prefix=no
   10581       runpath_var=LD_RUN_PATH
   10582       ;;
   10583     siemens)
   10584       need_lib_prefix=no
   10585       ;;
   10586     motorola)
   10587       need_lib_prefix=no
   10588       need_version=no
   10589       shlibpath_overrides_runpath=no
   10590       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10591       ;;
   10592   esac
   10593   ;;
   10594 
   10595 sysv4*MP*)
   10596   if test -d /usr/nec ;then
   10597     version_type=linux # correct to gnu/linux during the next big refactor
   10598     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10599     soname_spec='$libname${shared_ext}.$major'
   10600     shlibpath_var=LD_LIBRARY_PATH
   10601   fi
   10602   ;;
   10603 
   10604 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10605   version_type=freebsd-elf
   10606   need_lib_prefix=no
   10607   need_version=no
   10608   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10609   soname_spec='${libname}${release}${shared_ext}$major'
   10610   shlibpath_var=LD_LIBRARY_PATH
   10611   shlibpath_overrides_runpath=yes
   10612   hardcode_into_libs=yes
   10613   if test "$with_gnu_ld" = yes; then
   10614     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10615   else
   10616     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10617     case $host_os in
   10618       sco3.2v5*)
   10619         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10620 	;;
   10621     esac
   10622   fi
   10623   sys_lib_dlsearch_path_spec='/usr/lib'
   10624   ;;
   10625 
   10626 tpf*)
   10627   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10628   version_type=linux # correct to gnu/linux during the next big refactor
   10629   need_lib_prefix=no
   10630   need_version=no
   10631   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10632   shlibpath_var=LD_LIBRARY_PATH
   10633   shlibpath_overrides_runpath=no
   10634   hardcode_into_libs=yes
   10635   ;;
   10636 
   10637 uts4*)
   10638   version_type=linux # correct to gnu/linux during the next big refactor
   10639   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10640   soname_spec='${libname}${release}${shared_ext}$major'
   10641   shlibpath_var=LD_LIBRARY_PATH
   10642   ;;
   10643 
   10644 *)
   10645   dynamic_linker=no
   10646   ;;
   10647 esac
   10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10649 $as_echo "$dynamic_linker" >&6; }
   10650 test "$dynamic_linker" = no && can_build_shared=no
   10651 
   10652 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10653 if test "$GCC" = yes; then
   10654   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10655 fi
   10656 
   10657 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10658   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10659 fi
   10660 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10661   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10662 fi
   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 
   10755   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10756 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10757 hardcode_action=
   10758 if test -n "$hardcode_libdir_flag_spec" ||
   10759    test -n "$runpath_var" ||
   10760    test "X$hardcode_automatic" = "Xyes" ; then
   10761 
   10762   # We can hardcode non-existent directories.
   10763   if test "$hardcode_direct" != no &&
   10764      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10765      # have to relink, otherwise we might link with an installed library
   10766      # when we should be linking with a yet-to-be-installed one
   10767      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10768      test "$hardcode_minus_L" != no; then
   10769     # Linking always hardcodes the temporary library directory.
   10770     hardcode_action=relink
   10771   else
   10772     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10773     hardcode_action=immediate
   10774   fi
   10775 else
   10776   # We cannot hardcode anything, or else we can only hardcode existing
   10777   # directories.
   10778   hardcode_action=unsupported
   10779 fi
   10780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10781 $as_echo "$hardcode_action" >&6; }
   10782 
   10783 if test "$hardcode_action" = relink ||
   10784    test "$inherit_rpath" = yes; then
   10785   # Fast installation is not supported
   10786   enable_fast_install=no
   10787 elif test "$shlibpath_overrides_runpath" = yes ||
   10788      test "$enable_shared" = no; then
   10789   # Fast installation is not necessary
   10790   enable_fast_install=needless
   10791 fi
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798   if test "x$enable_dlopen" != xyes; then
   10799   enable_dlopen=unknown
   10800   enable_dlopen_self=unknown
   10801   enable_dlopen_self_static=unknown
   10802 else
   10803   lt_cv_dlopen=no
   10804   lt_cv_dlopen_libs=
   10805 
   10806   case $host_os in
   10807   beos*)
   10808     lt_cv_dlopen="load_add_on"
   10809     lt_cv_dlopen_libs=
   10810     lt_cv_dlopen_self=yes
   10811     ;;
   10812 
   10813   mingw* | pw32* | cegcc*)
   10814     lt_cv_dlopen="LoadLibrary"
   10815     lt_cv_dlopen_libs=
   10816     ;;
   10817 
   10818   cygwin*)
   10819     lt_cv_dlopen="dlopen"
   10820     lt_cv_dlopen_libs=
   10821     ;;
   10822 
   10823   darwin*)
   10824   # if libdl is installed we need to link against it
   10825     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10826 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10827 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10828   $as_echo_n "(cached) " >&6
   10829 else
   10830   ac_check_lib_save_LIBS=$LIBS
   10831 LIBS="-ldl  $LIBS"
   10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10833 /* end confdefs.h.  */
   10834 
   10835 /* Override any GCC internal prototype to avoid an error.
   10836    Use char because int might match the return type of a GCC
   10837    builtin and then its argument prototype would still apply.  */
   10838 #ifdef __cplusplus
   10839 extern "C"
   10840 #endif
   10841 char dlopen ();
   10842 int
   10843 main ()
   10844 {
   10845 return dlopen ();
   10846   ;
   10847   return 0;
   10848 }
   10849 _ACEOF
   10850 if ac_fn_c_try_link "$LINENO"; then :
   10851   ac_cv_lib_dl_dlopen=yes
   10852 else
   10853   ac_cv_lib_dl_dlopen=no
   10854 fi
   10855 rm -f core conftest.err conftest.$ac_objext \
   10856     conftest$ac_exeext conftest.$ac_ext
   10857 LIBS=$ac_check_lib_save_LIBS
   10858 fi
   10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10860 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10861 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10862   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10863 else
   10864 
   10865     lt_cv_dlopen="dyld"
   10866     lt_cv_dlopen_libs=
   10867     lt_cv_dlopen_self=yes
   10868 
   10869 fi
   10870 
   10871     ;;
   10872 
   10873   *)
   10874     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10875 if test "x$ac_cv_func_shl_load" = xyes; then :
   10876   lt_cv_dlopen="shl_load"
   10877 else
   10878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10879 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10880 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10881   $as_echo_n "(cached) " >&6
   10882 else
   10883   ac_check_lib_save_LIBS=$LIBS
   10884 LIBS="-ldld  $LIBS"
   10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10886 /* end confdefs.h.  */
   10887 
   10888 /* Override any GCC internal prototype to avoid an error.
   10889    Use char because int might match the return type of a GCC
   10890    builtin and then its argument prototype would still apply.  */
   10891 #ifdef __cplusplus
   10892 extern "C"
   10893 #endif
   10894 char shl_load ();
   10895 int
   10896 main ()
   10897 {
   10898 return shl_load ();
   10899   ;
   10900   return 0;
   10901 }
   10902 _ACEOF
   10903 if ac_fn_c_try_link "$LINENO"; then :
   10904   ac_cv_lib_dld_shl_load=yes
   10905 else
   10906   ac_cv_lib_dld_shl_load=no
   10907 fi
   10908 rm -f core conftest.err conftest.$ac_objext \
   10909     conftest$ac_exeext conftest.$ac_ext
   10910 LIBS=$ac_check_lib_save_LIBS
   10911 fi
   10912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10913 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10914 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10915   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10916 else
   10917   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10918 if test "x$ac_cv_func_dlopen" = xyes; then :
   10919   lt_cv_dlopen="dlopen"
   10920 else
   10921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10922 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10923 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10924   $as_echo_n "(cached) " >&6
   10925 else
   10926   ac_check_lib_save_LIBS=$LIBS
   10927 LIBS="-ldl  $LIBS"
   10928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10929 /* end confdefs.h.  */
   10930 
   10931 /* Override any GCC internal prototype to avoid an error.
   10932    Use char because int might match the return type of a GCC
   10933    builtin and then its argument prototype would still apply.  */
   10934 #ifdef __cplusplus
   10935 extern "C"
   10936 #endif
   10937 char dlopen ();
   10938 int
   10939 main ()
   10940 {
   10941 return dlopen ();
   10942   ;
   10943   return 0;
   10944 }
   10945 _ACEOF
   10946 if ac_fn_c_try_link "$LINENO"; then :
   10947   ac_cv_lib_dl_dlopen=yes
   10948 else
   10949   ac_cv_lib_dl_dlopen=no
   10950 fi
   10951 rm -f core conftest.err conftest.$ac_objext \
   10952     conftest$ac_exeext conftest.$ac_ext
   10953 LIBS=$ac_check_lib_save_LIBS
   10954 fi
   10955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10956 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10957 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10958   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10959 else
   10960   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10961 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10962 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10963   $as_echo_n "(cached) " >&6
   10964 else
   10965   ac_check_lib_save_LIBS=$LIBS
   10966 LIBS="-lsvld  $LIBS"
   10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10968 /* end confdefs.h.  */
   10969 
   10970 /* Override any GCC internal prototype to avoid an error.
   10971    Use char because int might match the return type of a GCC
   10972    builtin and then its argument prototype would still apply.  */
   10973 #ifdef __cplusplus
   10974 extern "C"
   10975 #endif
   10976 char dlopen ();
   10977 int
   10978 main ()
   10979 {
   10980 return dlopen ();
   10981   ;
   10982   return 0;
   10983 }
   10984 _ACEOF
   10985 if ac_fn_c_try_link "$LINENO"; then :
   10986   ac_cv_lib_svld_dlopen=yes
   10987 else
   10988   ac_cv_lib_svld_dlopen=no
   10989 fi
   10990 rm -f core conftest.err conftest.$ac_objext \
   10991     conftest$ac_exeext conftest.$ac_ext
   10992 LIBS=$ac_check_lib_save_LIBS
   10993 fi
   10994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10995 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10996 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10997   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10998 else
   10999   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11000 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11001 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11002   $as_echo_n "(cached) " >&6
   11003 else
   11004   ac_check_lib_save_LIBS=$LIBS
   11005 LIBS="-ldld  $LIBS"
   11006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11007 /* end confdefs.h.  */
   11008 
   11009 /* Override any GCC internal prototype to avoid an error.
   11010    Use char because int might match the return type of a GCC
   11011    builtin and then its argument prototype would still apply.  */
   11012 #ifdef __cplusplus
   11013 extern "C"
   11014 #endif
   11015 char dld_link ();
   11016 int
   11017 main ()
   11018 {
   11019 return dld_link ();
   11020   ;
   11021   return 0;
   11022 }
   11023 _ACEOF
   11024 if ac_fn_c_try_link "$LINENO"; then :
   11025   ac_cv_lib_dld_dld_link=yes
   11026 else
   11027   ac_cv_lib_dld_dld_link=no
   11028 fi
   11029 rm -f core conftest.err conftest.$ac_objext \
   11030     conftest$ac_exeext conftest.$ac_ext
   11031 LIBS=$ac_check_lib_save_LIBS
   11032 fi
   11033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11034 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11035 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11036   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11037 fi
   11038 
   11039 
   11040 fi
   11041 
   11042 
   11043 fi
   11044 
   11045 
   11046 fi
   11047 
   11048 
   11049 fi
   11050 
   11051 
   11052 fi
   11053 
   11054     ;;
   11055   esac
   11056 
   11057   if test "x$lt_cv_dlopen" != xno; then
   11058     enable_dlopen=yes
   11059   else
   11060     enable_dlopen=no
   11061   fi
   11062 
   11063   case $lt_cv_dlopen in
   11064   dlopen)
   11065     save_CPPFLAGS="$CPPFLAGS"
   11066     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11067 
   11068     save_LDFLAGS="$LDFLAGS"
   11069     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11070 
   11071     save_LIBS="$LIBS"
   11072     LIBS="$lt_cv_dlopen_libs $LIBS"
   11073 
   11074     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11075 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11076 if ${lt_cv_dlopen_self+:} false; then :
   11077   $as_echo_n "(cached) " >&6
   11078 else
   11079   	  if test "$cross_compiling" = yes; then :
   11080   lt_cv_dlopen_self=cross
   11081 else
   11082   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11083   lt_status=$lt_dlunknown
   11084   cat > conftest.$ac_ext <<_LT_EOF
   11085 #line $LINENO "configure"
   11086 #include "confdefs.h"
   11087 
   11088 #if HAVE_DLFCN_H
   11089 #include <dlfcn.h>
   11090 #endif
   11091 
   11092 #include <stdio.h>
   11093 
   11094 #ifdef RTLD_GLOBAL
   11095 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11096 #else
   11097 #  ifdef DL_GLOBAL
   11098 #    define LT_DLGLOBAL		DL_GLOBAL
   11099 #  else
   11100 #    define LT_DLGLOBAL		0
   11101 #  endif
   11102 #endif
   11103 
   11104 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11105    find out it does not work in some platform. */
   11106 #ifndef LT_DLLAZY_OR_NOW
   11107 #  ifdef RTLD_LAZY
   11108 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11109 #  else
   11110 #    ifdef DL_LAZY
   11111 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11112 #    else
   11113 #      ifdef RTLD_NOW
   11114 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11115 #      else
   11116 #        ifdef DL_NOW
   11117 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11118 #        else
   11119 #          define LT_DLLAZY_OR_NOW	0
   11120 #        endif
   11121 #      endif
   11122 #    endif
   11123 #  endif
   11124 #endif
   11125 
   11126 /* When -fvisbility=hidden is used, assume the code has been annotated
   11127    correspondingly for the symbols needed.  */
   11128 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11129 int fnord () __attribute__((visibility("default")));
   11130 #endif
   11131 
   11132 int fnord () { return 42; }
   11133 int main ()
   11134 {
   11135   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11136   int status = $lt_dlunknown;
   11137 
   11138   if (self)
   11139     {
   11140       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11141       else
   11142         {
   11143 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11144           else puts (dlerror ());
   11145 	}
   11146       /* dlclose (self); */
   11147     }
   11148   else
   11149     puts (dlerror ());
   11150 
   11151   return status;
   11152 }
   11153 _LT_EOF
   11154   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11155   (eval $ac_link) 2>&5
   11156   ac_status=$?
   11157   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11158   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11159     (./conftest; exit; ) >&5 2>/dev/null
   11160     lt_status=$?
   11161     case x$lt_status in
   11162       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11163       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11164       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11165     esac
   11166   else :
   11167     # compilation failed
   11168     lt_cv_dlopen_self=no
   11169   fi
   11170 fi
   11171 rm -fr conftest*
   11172 
   11173 
   11174 fi
   11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11176 $as_echo "$lt_cv_dlopen_self" >&6; }
   11177 
   11178     if test "x$lt_cv_dlopen_self" = xyes; then
   11179       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11180       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11181 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11182 if ${lt_cv_dlopen_self_static+:} false; then :
   11183   $as_echo_n "(cached) " >&6
   11184 else
   11185   	  if test "$cross_compiling" = yes; then :
   11186   lt_cv_dlopen_self_static=cross
   11187 else
   11188   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11189   lt_status=$lt_dlunknown
   11190   cat > conftest.$ac_ext <<_LT_EOF
   11191 #line $LINENO "configure"
   11192 #include "confdefs.h"
   11193 
   11194 #if HAVE_DLFCN_H
   11195 #include <dlfcn.h>
   11196 #endif
   11197 
   11198 #include <stdio.h>
   11199 
   11200 #ifdef RTLD_GLOBAL
   11201 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11202 #else
   11203 #  ifdef DL_GLOBAL
   11204 #    define LT_DLGLOBAL		DL_GLOBAL
   11205 #  else
   11206 #    define LT_DLGLOBAL		0
   11207 #  endif
   11208 #endif
   11209 
   11210 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11211    find out it does not work in some platform. */
   11212 #ifndef LT_DLLAZY_OR_NOW
   11213 #  ifdef RTLD_LAZY
   11214 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11215 #  else
   11216 #    ifdef DL_LAZY
   11217 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11218 #    else
   11219 #      ifdef RTLD_NOW
   11220 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11221 #      else
   11222 #        ifdef DL_NOW
   11223 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11224 #        else
   11225 #          define LT_DLLAZY_OR_NOW	0
   11226 #        endif
   11227 #      endif
   11228 #    endif
   11229 #  endif
   11230 #endif
   11231 
   11232 /* When -fvisbility=hidden is used, assume the code has been annotated
   11233    correspondingly for the symbols needed.  */
   11234 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11235 int fnord () __attribute__((visibility("default")));
   11236 #endif
   11237 
   11238 int fnord () { return 42; }
   11239 int main ()
   11240 {
   11241   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11242   int status = $lt_dlunknown;
   11243 
   11244   if (self)
   11245     {
   11246       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11247       else
   11248         {
   11249 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11250           else puts (dlerror ());
   11251 	}
   11252       /* dlclose (self); */
   11253     }
   11254   else
   11255     puts (dlerror ());
   11256 
   11257   return status;
   11258 }
   11259 _LT_EOF
   11260   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11261   (eval $ac_link) 2>&5
   11262   ac_status=$?
   11263   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11264   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11265     (./conftest; exit; ) >&5 2>/dev/null
   11266     lt_status=$?
   11267     case x$lt_status in
   11268       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11269       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11270       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11271     esac
   11272   else :
   11273     # compilation failed
   11274     lt_cv_dlopen_self_static=no
   11275   fi
   11276 fi
   11277 rm -fr conftest*
   11278 
   11279 
   11280 fi
   11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11282 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11283     fi
   11284 
   11285     CPPFLAGS="$save_CPPFLAGS"
   11286     LDFLAGS="$save_LDFLAGS"
   11287     LIBS="$save_LIBS"
   11288     ;;
   11289   esac
   11290 
   11291   case $lt_cv_dlopen_self in
   11292   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11293   *) enable_dlopen_self=unknown ;;
   11294   esac
   11295 
   11296   case $lt_cv_dlopen_self_static in
   11297   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11298   *) enable_dlopen_self_static=unknown ;;
   11299   esac
   11300 fi
   11301 
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308 
   11309 
   11310 
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 striplib=
   11319 old_striplib=
   11320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11321 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11322 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11323   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11324   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11326 $as_echo "yes" >&6; }
   11327 else
   11328 # FIXME - insert some real tests, host_os isn't really good enough
   11329   case $host_os in
   11330   darwin*)
   11331     if test -n "$STRIP" ; then
   11332       striplib="$STRIP -x"
   11333       old_striplib="$STRIP -S"
   11334       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11335 $as_echo "yes" >&6; }
   11336     else
   11337       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11338 $as_echo "no" >&6; }
   11339     fi
   11340     ;;
   11341   *)
   11342     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11343 $as_echo "no" >&6; }
   11344     ;;
   11345   esac
   11346 fi
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359   # Report which library types will actually be built
   11360   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11361 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11363 $as_echo "$can_build_shared" >&6; }
   11364 
   11365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11366 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11367   test "$can_build_shared" = "no" && enable_shared=no
   11368 
   11369   # On AIX, shared libraries and static libraries use the same namespace, and
   11370   # are all built from PIC.
   11371   case $host_os in
   11372   aix3*)
   11373     test "$enable_shared" = yes && enable_static=no
   11374     if test -n "$RANLIB"; then
   11375       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11376       postinstall_cmds='$RANLIB $lib'
   11377     fi
   11378     ;;
   11379 
   11380   aix[4-9]*)
   11381     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11382       test "$enable_shared" = yes && enable_static=no
   11383     fi
   11384     ;;
   11385   esac
   11386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11387 $as_echo "$enable_shared" >&6; }
   11388 
   11389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11390 $as_echo_n "checking whether to build static libraries... " >&6; }
   11391   # Make sure either enable_shared or enable_static is yes.
   11392   test "$enable_shared" = yes || enable_static=yes
   11393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11394 $as_echo "$enable_static" >&6; }
   11395 
   11396 
   11397 
   11398 
   11399 fi
   11400 ac_ext=c
   11401 ac_cpp='$CPP $CPPFLAGS'
   11402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11405 
   11406 CC="$lt_save_CC"
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422         ac_config_commands="$ac_config_commands libtool"
   11423 
   11424 
   11425 
   11426 
   11427 # Only expand once:
   11428 
   11429 
   11430 
   11431 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11444 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11445 if ${ac_cv_prog_cc_c99+:} false; then :
   11446   $as_echo_n "(cached) " >&6
   11447 else
   11448   ac_cv_prog_cc_c99=no
   11449 ac_save_CC=$CC
   11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11451 /* end confdefs.h.  */
   11452 #include <stdarg.h>
   11453 #include <stdbool.h>
   11454 #include <stdlib.h>
   11455 #include <wchar.h>
   11456 #include <stdio.h>
   11457 
   11458 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11459 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11460 #define showlist(...) puts (#__VA_ARGS__)
   11461 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11462 static void
   11463 test_varargs_macros (void)
   11464 {
   11465   int x = 1234;
   11466   int y = 5678;
   11467   debug ("Flag");
   11468   debug ("X = %d\n", x);
   11469   showlist (The first, second, and third items.);
   11470   report (x>y, "x is %d but y is %d", x, y);
   11471 }
   11472 
   11473 // Check long long types.
   11474 #define BIG64 18446744073709551615ull
   11475 #define BIG32 4294967295ul
   11476 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11477 #if !BIG_OK
   11478   your preprocessor is broken;
   11479 #endif
   11480 #if BIG_OK
   11481 #else
   11482   your preprocessor is broken;
   11483 #endif
   11484 static long long int bignum = -9223372036854775807LL;
   11485 static unsigned long long int ubignum = BIG64;
   11486 
   11487 struct incomplete_array
   11488 {
   11489   int datasize;
   11490   double data[];
   11491 };
   11492 
   11493 struct named_init {
   11494   int number;
   11495   const wchar_t *name;
   11496   double average;
   11497 };
   11498 
   11499 typedef const char *ccp;
   11500 
   11501 static inline int
   11502 test_restrict (ccp restrict text)
   11503 {
   11504   // See if C++-style comments work.
   11505   // Iterate through items via the restricted pointer.
   11506   // Also check for declarations in for loops.
   11507   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11508     continue;
   11509   return 0;
   11510 }
   11511 
   11512 // Check varargs and va_copy.
   11513 static void
   11514 test_varargs (const char *format, ...)
   11515 {
   11516   va_list args;
   11517   va_start (args, format);
   11518   va_list args_copy;
   11519   va_copy (args_copy, args);
   11520 
   11521   const char *str;
   11522   int number;
   11523   float fnumber;
   11524 
   11525   while (*format)
   11526     {
   11527       switch (*format++)
   11528 	{
   11529 	case 's': // string
   11530 	  str = va_arg (args_copy, const char *);
   11531 	  break;
   11532 	case 'd': // int
   11533 	  number = va_arg (args_copy, int);
   11534 	  break;
   11535 	case 'f': // float
   11536 	  fnumber = va_arg (args_copy, double);
   11537 	  break;
   11538 	default:
   11539 	  break;
   11540 	}
   11541     }
   11542   va_end (args_copy);
   11543   va_end (args);
   11544 }
   11545 
   11546 int
   11547 main ()
   11548 {
   11549 
   11550   // Check bool.
   11551   _Bool success = false;
   11552 
   11553   // Check restrict.
   11554   if (test_restrict ("String literal") == 0)
   11555     success = true;
   11556   char *restrict newvar = "Another string";
   11557 
   11558   // Check varargs.
   11559   test_varargs ("s, d' f .", "string", 65, 34.234);
   11560   test_varargs_macros ();
   11561 
   11562   // Check flexible array members.
   11563   struct incomplete_array *ia =
   11564     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11565   ia->datasize = 10;
   11566   for (int i = 0; i < ia->datasize; ++i)
   11567     ia->data[i] = i * 1.234;
   11568 
   11569   // Check named initializers.
   11570   struct named_init ni = {
   11571     .number = 34,
   11572     .name = L"Test wide string",
   11573     .average = 543.34343,
   11574   };
   11575 
   11576   ni.number = 58;
   11577 
   11578   int dynamic_array[ni.number];
   11579   dynamic_array[ni.number - 1] = 543;
   11580 
   11581   // work around unused variable warnings
   11582   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11583 	  || dynamic_array[ni.number - 1] != 543);
   11584 
   11585   ;
   11586   return 0;
   11587 }
   11588 _ACEOF
   11589 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11590 do
   11591   CC="$ac_save_CC $ac_arg"
   11592   if ac_fn_c_try_compile "$LINENO"; then :
   11593   ac_cv_prog_cc_c99=$ac_arg
   11594 fi
   11595 rm -f core conftest.err conftest.$ac_objext
   11596   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11597 done
   11598 rm -f conftest.$ac_ext
   11599 CC=$ac_save_CC
   11600 
   11601 fi
   11602 # AC_CACHE_VAL
   11603 case "x$ac_cv_prog_cc_c99" in
   11604   x)
   11605     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11606 $as_echo "none needed" >&6; } ;;
   11607   xno)
   11608     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11609 $as_echo "unsupported" >&6; } ;;
   11610   *)
   11611     CC="$CC $ac_cv_prog_cc_c99"
   11612     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11613 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11614 esac
   11615 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11616 
   11617 fi
   11618 
   11619 
   11620 
   11621 
   11622 
   11623 
   11624 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11625 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11626   CLANGCC="yes"
   11627 else
   11628   CLANGCC="no"
   11629 fi
   11630 
   11631 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11632 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11633   INTELCC="yes"
   11634 else
   11635   INTELCC="no"
   11636 fi
   11637 
   11638 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11639 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11640   SUNCC="yes"
   11641 else
   11642   SUNCC="no"
   11643 fi
   11644 
   11645 
   11646 
   11647 
   11648 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11649 	if test -n "$ac_tool_prefix"; then
   11650   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11651 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11653 $as_echo_n "checking for $ac_word... " >&6; }
   11654 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11655   $as_echo_n "(cached) " >&6
   11656 else
   11657   case $PKG_CONFIG in
   11658   [\\/]* | ?:[\\/]*)
   11659   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11660   ;;
   11661   *)
   11662   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11663 for as_dir in $PATH
   11664 do
   11665   IFS=$as_save_IFS
   11666   test -z "$as_dir" && as_dir=.
   11667     for ac_exec_ext in '' $ac_executable_extensions; do
   11668   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11669     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11670     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11671     break 2
   11672   fi
   11673 done
   11674   done
   11675 IFS=$as_save_IFS
   11676 
   11677   ;;
   11678 esac
   11679 fi
   11680 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11681 if test -n "$PKG_CONFIG"; then
   11682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11683 $as_echo "$PKG_CONFIG" >&6; }
   11684 else
   11685   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11686 $as_echo "no" >&6; }
   11687 fi
   11688 
   11689 
   11690 fi
   11691 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11692   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11693   # Extract the first word of "pkg-config", so it can be a program name with args.
   11694 set dummy pkg-config; ac_word=$2
   11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11696 $as_echo_n "checking for $ac_word... " >&6; }
   11697 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11698   $as_echo_n "(cached) " >&6
   11699 else
   11700   case $ac_pt_PKG_CONFIG in
   11701   [\\/]* | ?:[\\/]*)
   11702   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11703   ;;
   11704   *)
   11705   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11706 for as_dir in $PATH
   11707 do
   11708   IFS=$as_save_IFS
   11709   test -z "$as_dir" && as_dir=.
   11710     for ac_exec_ext in '' $ac_executable_extensions; do
   11711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11712     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11713     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11714     break 2
   11715   fi
   11716 done
   11717   done
   11718 IFS=$as_save_IFS
   11719 
   11720   ;;
   11721 esac
   11722 fi
   11723 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11724 if test -n "$ac_pt_PKG_CONFIG"; then
   11725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11726 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11727 else
   11728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11729 $as_echo "no" >&6; }
   11730 fi
   11731 
   11732   if test "x$ac_pt_PKG_CONFIG" = x; then
   11733     PKG_CONFIG=""
   11734   else
   11735     case $cross_compiling:$ac_tool_warned in
   11736 yes:)
   11737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11738 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11739 ac_tool_warned=yes ;;
   11740 esac
   11741     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11742   fi
   11743 else
   11744   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11745 fi
   11746 
   11747 fi
   11748 if test -n "$PKG_CONFIG"; then
   11749 	_pkg_min_version=0.9.0
   11750 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11751 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11752 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11754 $as_echo "yes" >&6; }
   11755 	else
   11756 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11757 $as_echo "no" >&6; }
   11758 		PKG_CONFIG=""
   11759 	fi
   11760 
   11761 fi
   11762 
   11763 
   11764 
   11765 
   11766 
   11767 # Check whether --enable-selective-werror was given.
   11768 if test "${enable_selective_werror+set}" = set; then :
   11769   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11770 else
   11771   SELECTIVE_WERROR=yes
   11772 fi
   11773 
   11774 
   11775 
   11776 
   11777 
   11778 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11779 if test "x$SUNCC" = "xyes"; then
   11780     BASE_CFLAGS="-v"
   11781 else
   11782     BASE_CFLAGS=""
   11783 fi
   11784 
   11785 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 xorg_testset_save_CFLAGS="$CFLAGS"
   11800 
   11801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11804 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11805 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11806   $as_echo_n "(cached) " >&6
   11807 else
   11808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11809 /* end confdefs.h.  */
   11810 int i;
   11811 _ACEOF
   11812 if ac_fn_c_try_compile "$LINENO"; then :
   11813   xorg_cv_cc_flag_unknown_warning_option=yes
   11814 else
   11815   xorg_cv_cc_flag_unknown_warning_option=no
   11816 fi
   11817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11818 fi
   11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11820 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11822 	CFLAGS="$xorg_testset_save_CFLAGS"
   11823 fi
   11824 
   11825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11828 	fi
   11829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11831 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11832 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11833   $as_echo_n "(cached) " >&6
   11834 else
   11835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11836 /* end confdefs.h.  */
   11837 int i;
   11838 _ACEOF
   11839 if ac_fn_c_try_compile "$LINENO"; then :
   11840   xorg_cv_cc_flag_unused_command_line_argument=yes
   11841 else
   11842   xorg_cv_cc_flag_unused_command_line_argument=no
   11843 fi
   11844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11845 fi
   11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11847 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11849 	CFLAGS="$xorg_testset_save_CFLAGS"
   11850 fi
   11851 
   11852 found="no"
   11853 
   11854 	if test $found = "no" ; then
   11855 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11857 		fi
   11858 
   11859 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11861 		fi
   11862 
   11863 		CFLAGS="$CFLAGS -Wall"
   11864 
   11865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11866 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11867 		cacheid=xorg_cv_cc_flag__Wall
   11868 		if eval \${$cacheid+:} false; then :
   11869   $as_echo_n "(cached) " >&6
   11870 else
   11871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11872 /* end confdefs.h.  */
   11873 int i;
   11874 int
   11875 main ()
   11876 {
   11877 
   11878   ;
   11879   return 0;
   11880 }
   11881 _ACEOF
   11882 if ac_fn_c_try_link "$LINENO"; then :
   11883   eval $cacheid=yes
   11884 else
   11885   eval $cacheid=no
   11886 fi
   11887 rm -f core conftest.err conftest.$ac_objext \
   11888     conftest$ac_exeext conftest.$ac_ext
   11889 fi
   11890 
   11891 
   11892 		CFLAGS="$xorg_testset_save_CFLAGS"
   11893 
   11894 		eval supported=\$$cacheid
   11895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11896 $as_echo "$supported" >&6; }
   11897 		if test "$supported" = "yes" ; then
   11898 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11899 			found="yes"
   11900 		fi
   11901 	fi
   11902 
   11903 
   11904 
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 xorg_testset_save_CFLAGS="$CFLAGS"
   11918 
   11919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11922 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11923 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11924   $as_echo_n "(cached) " >&6
   11925 else
   11926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11927 /* end confdefs.h.  */
   11928 int i;
   11929 _ACEOF
   11930 if ac_fn_c_try_compile "$LINENO"; then :
   11931   xorg_cv_cc_flag_unknown_warning_option=yes
   11932 else
   11933   xorg_cv_cc_flag_unknown_warning_option=no
   11934 fi
   11935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11936 fi
   11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11938 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11940 	CFLAGS="$xorg_testset_save_CFLAGS"
   11941 fi
   11942 
   11943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11946 	fi
   11947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11948 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11949 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11950 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11951   $as_echo_n "(cached) " >&6
   11952 else
   11953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11954 /* end confdefs.h.  */
   11955 int i;
   11956 _ACEOF
   11957 if ac_fn_c_try_compile "$LINENO"; then :
   11958   xorg_cv_cc_flag_unused_command_line_argument=yes
   11959 else
   11960   xorg_cv_cc_flag_unused_command_line_argument=no
   11961 fi
   11962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11963 fi
   11964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11965 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11966 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11967 	CFLAGS="$xorg_testset_save_CFLAGS"
   11968 fi
   11969 
   11970 found="no"
   11971 
   11972 	if test $found = "no" ; then
   11973 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11975 		fi
   11976 
   11977 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11979 		fi
   11980 
   11981 		CFLAGS="$CFLAGS -Wpointer-arith"
   11982 
   11983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11984 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11985 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11986 		if eval \${$cacheid+:} false; then :
   11987   $as_echo_n "(cached) " >&6
   11988 else
   11989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11990 /* end confdefs.h.  */
   11991 int i;
   11992 int
   11993 main ()
   11994 {
   11995 
   11996   ;
   11997   return 0;
   11998 }
   11999 _ACEOF
   12000 if ac_fn_c_try_link "$LINENO"; then :
   12001   eval $cacheid=yes
   12002 else
   12003   eval $cacheid=no
   12004 fi
   12005 rm -f core conftest.err conftest.$ac_objext \
   12006     conftest$ac_exeext conftest.$ac_ext
   12007 fi
   12008 
   12009 
   12010 		CFLAGS="$xorg_testset_save_CFLAGS"
   12011 
   12012 		eval supported=\$$cacheid
   12013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12014 $as_echo "$supported" >&6; }
   12015 		if test "$supported" = "yes" ; then
   12016 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12017 			found="yes"
   12018 		fi
   12019 	fi
   12020 
   12021 
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 xorg_testset_save_CFLAGS="$CFLAGS"
   12036 
   12037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12042   $as_echo_n "(cached) " >&6
   12043 else
   12044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12045 /* end confdefs.h.  */
   12046 int i;
   12047 _ACEOF
   12048 if ac_fn_c_try_compile "$LINENO"; then :
   12049   xorg_cv_cc_flag_unknown_warning_option=yes
   12050 else
   12051   xorg_cv_cc_flag_unknown_warning_option=no
   12052 fi
   12053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12054 fi
   12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12058 	CFLAGS="$xorg_testset_save_CFLAGS"
   12059 fi
   12060 
   12061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12064 	fi
   12065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12069   $as_echo_n "(cached) " >&6
   12070 else
   12071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12072 /* end confdefs.h.  */
   12073 int i;
   12074 _ACEOF
   12075 if ac_fn_c_try_compile "$LINENO"; then :
   12076   xorg_cv_cc_flag_unused_command_line_argument=yes
   12077 else
   12078   xorg_cv_cc_flag_unused_command_line_argument=no
   12079 fi
   12080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12081 fi
   12082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12085 	CFLAGS="$xorg_testset_save_CFLAGS"
   12086 fi
   12087 
   12088 found="no"
   12089 
   12090 	if test $found = "no" ; then
   12091 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12093 		fi
   12094 
   12095 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12097 		fi
   12098 
   12099 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12100 
   12101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12102 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12103 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12104 		if eval \${$cacheid+:} false; then :
   12105   $as_echo_n "(cached) " >&6
   12106 else
   12107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12108 /* end confdefs.h.  */
   12109 int i;
   12110 int
   12111 main ()
   12112 {
   12113 
   12114   ;
   12115   return 0;
   12116 }
   12117 _ACEOF
   12118 if ac_fn_c_try_link "$LINENO"; then :
   12119   eval $cacheid=yes
   12120 else
   12121   eval $cacheid=no
   12122 fi
   12123 rm -f core conftest.err conftest.$ac_objext \
   12124     conftest$ac_exeext conftest.$ac_ext
   12125 fi
   12126 
   12127 
   12128 		CFLAGS="$xorg_testset_save_CFLAGS"
   12129 
   12130 		eval supported=\$$cacheid
   12131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12132 $as_echo "$supported" >&6; }
   12133 		if test "$supported" = "yes" ; then
   12134 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12135 			found="yes"
   12136 		fi
   12137 	fi
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 xorg_testset_save_CFLAGS="$CFLAGS"
   12154 
   12155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12158 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12159 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12160   $as_echo_n "(cached) " >&6
   12161 else
   12162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12163 /* end confdefs.h.  */
   12164 int i;
   12165 _ACEOF
   12166 if ac_fn_c_try_compile "$LINENO"; then :
   12167   xorg_cv_cc_flag_unknown_warning_option=yes
   12168 else
   12169   xorg_cv_cc_flag_unknown_warning_option=no
   12170 fi
   12171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12172 fi
   12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12174 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12176 	CFLAGS="$xorg_testset_save_CFLAGS"
   12177 fi
   12178 
   12179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12182 	fi
   12183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12185 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12186 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12187   $as_echo_n "(cached) " >&6
   12188 else
   12189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12190 /* end confdefs.h.  */
   12191 int i;
   12192 _ACEOF
   12193 if ac_fn_c_try_compile "$LINENO"; then :
   12194   xorg_cv_cc_flag_unused_command_line_argument=yes
   12195 else
   12196   xorg_cv_cc_flag_unused_command_line_argument=no
   12197 fi
   12198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12199 fi
   12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12201 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12203 	CFLAGS="$xorg_testset_save_CFLAGS"
   12204 fi
   12205 
   12206 found="no"
   12207 
   12208 	if test $found = "no" ; then
   12209 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12211 		fi
   12212 
   12213 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12215 		fi
   12216 
   12217 		CFLAGS="$CFLAGS -Wformat=2"
   12218 
   12219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12220 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12221 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12222 		if eval \${$cacheid+:} false; then :
   12223   $as_echo_n "(cached) " >&6
   12224 else
   12225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12226 /* end confdefs.h.  */
   12227 int i;
   12228 int
   12229 main ()
   12230 {
   12231 
   12232   ;
   12233   return 0;
   12234 }
   12235 _ACEOF
   12236 if ac_fn_c_try_link "$LINENO"; then :
   12237   eval $cacheid=yes
   12238 else
   12239   eval $cacheid=no
   12240 fi
   12241 rm -f core conftest.err conftest.$ac_objext \
   12242     conftest$ac_exeext conftest.$ac_ext
   12243 fi
   12244 
   12245 
   12246 		CFLAGS="$xorg_testset_save_CFLAGS"
   12247 
   12248 		eval supported=\$$cacheid
   12249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12250 $as_echo "$supported" >&6; }
   12251 		if test "$supported" = "yes" ; then
   12252 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12253 			found="yes"
   12254 		fi
   12255 	fi
   12256 
   12257 	if test $found = "no" ; then
   12258 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12260 		fi
   12261 
   12262 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12264 		fi
   12265 
   12266 		CFLAGS="$CFLAGS -Wformat"
   12267 
   12268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12269 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12270 		cacheid=xorg_cv_cc_flag__Wformat
   12271 		if eval \${$cacheid+:} false; then :
   12272   $as_echo_n "(cached) " >&6
   12273 else
   12274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12275 /* end confdefs.h.  */
   12276 int i;
   12277 int
   12278 main ()
   12279 {
   12280 
   12281   ;
   12282   return 0;
   12283 }
   12284 _ACEOF
   12285 if ac_fn_c_try_link "$LINENO"; then :
   12286   eval $cacheid=yes
   12287 else
   12288   eval $cacheid=no
   12289 fi
   12290 rm -f core conftest.err conftest.$ac_objext \
   12291     conftest$ac_exeext conftest.$ac_ext
   12292 fi
   12293 
   12294 
   12295 		CFLAGS="$xorg_testset_save_CFLAGS"
   12296 
   12297 		eval supported=\$$cacheid
   12298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12299 $as_echo "$supported" >&6; }
   12300 		if test "$supported" = "yes" ; then
   12301 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12302 			found="yes"
   12303 		fi
   12304 	fi
   12305 
   12306 
   12307 
   12308 
   12309 
   12310 
   12311 
   12312 
   12313 
   12314 
   12315 
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 xorg_testset_save_CFLAGS="$CFLAGS"
   12323 
   12324 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12325 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12326 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12327 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12328 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12329   $as_echo_n "(cached) " >&6
   12330 else
   12331   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12332 /* end confdefs.h.  */
   12333 int i;
   12334 _ACEOF
   12335 if ac_fn_c_try_compile "$LINENO"; then :
   12336   xorg_cv_cc_flag_unknown_warning_option=yes
   12337 else
   12338   xorg_cv_cc_flag_unknown_warning_option=no
   12339 fi
   12340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12341 fi
   12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12343 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12344 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12345 	CFLAGS="$xorg_testset_save_CFLAGS"
   12346 fi
   12347 
   12348 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12349 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12350 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12351 	fi
   12352 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12353 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12354 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12355 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12356   $as_echo_n "(cached) " >&6
   12357 else
   12358   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12359 /* end confdefs.h.  */
   12360 int i;
   12361 _ACEOF
   12362 if ac_fn_c_try_compile "$LINENO"; then :
   12363   xorg_cv_cc_flag_unused_command_line_argument=yes
   12364 else
   12365   xorg_cv_cc_flag_unused_command_line_argument=no
   12366 fi
   12367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12368 fi
   12369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12370 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12371 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12372 	CFLAGS="$xorg_testset_save_CFLAGS"
   12373 fi
   12374 
   12375 found="no"
   12376 
   12377 	if test $found = "no" ; then
   12378 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12379 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12380 		fi
   12381 
   12382 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12383 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12384 		fi
   12385 
   12386 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12387 
   12388 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12389 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12390 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12391 		if eval \${$cacheid+:} false; then :
   12392   $as_echo_n "(cached) " >&6
   12393 else
   12394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12395 /* end confdefs.h.  */
   12396 int i;
   12397 int
   12398 main ()
   12399 {
   12400 
   12401   ;
   12402   return 0;
   12403 }
   12404 _ACEOF
   12405 if ac_fn_c_try_link "$LINENO"; then :
   12406   eval $cacheid=yes
   12407 else
   12408   eval $cacheid=no
   12409 fi
   12410 rm -f core conftest.err conftest.$ac_objext \
   12411     conftest$ac_exeext conftest.$ac_ext
   12412 fi
   12413 
   12414 
   12415 		CFLAGS="$xorg_testset_save_CFLAGS"
   12416 
   12417 		eval supported=\$$cacheid
   12418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12419 $as_echo "$supported" >&6; }
   12420 		if test "$supported" = "yes" ; then
   12421 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12422 			found="yes"
   12423 		fi
   12424 	fi
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 xorg_testset_save_CFLAGS="$CFLAGS"
   12441 
   12442 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12445 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12446 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12447   $as_echo_n "(cached) " >&6
   12448 else
   12449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12450 /* end confdefs.h.  */
   12451 int i;
   12452 _ACEOF
   12453 if ac_fn_c_try_compile "$LINENO"; then :
   12454   xorg_cv_cc_flag_unknown_warning_option=yes
   12455 else
   12456   xorg_cv_cc_flag_unknown_warning_option=no
   12457 fi
   12458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12459 fi
   12460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12461 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12462 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12463 	CFLAGS="$xorg_testset_save_CFLAGS"
   12464 fi
   12465 
   12466 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12467 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12469 	fi
   12470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12472 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12473 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12474   $as_echo_n "(cached) " >&6
   12475 else
   12476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12477 /* end confdefs.h.  */
   12478 int i;
   12479 _ACEOF
   12480 if ac_fn_c_try_compile "$LINENO"; then :
   12481   xorg_cv_cc_flag_unused_command_line_argument=yes
   12482 else
   12483   xorg_cv_cc_flag_unused_command_line_argument=no
   12484 fi
   12485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12486 fi
   12487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12488 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12489 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12490 	CFLAGS="$xorg_testset_save_CFLAGS"
   12491 fi
   12492 
   12493 found="no"
   12494 
   12495 	if test $found = "no" ; then
   12496 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12498 		fi
   12499 
   12500 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12502 		fi
   12503 
   12504 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12505 
   12506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12507 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12508 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12509 		if eval \${$cacheid+:} false; then :
   12510   $as_echo_n "(cached) " >&6
   12511 else
   12512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12513 /* end confdefs.h.  */
   12514 int i;
   12515 int
   12516 main ()
   12517 {
   12518 
   12519   ;
   12520   return 0;
   12521 }
   12522 _ACEOF
   12523 if ac_fn_c_try_link "$LINENO"; then :
   12524   eval $cacheid=yes
   12525 else
   12526   eval $cacheid=no
   12527 fi
   12528 rm -f core conftest.err conftest.$ac_objext \
   12529     conftest$ac_exeext conftest.$ac_ext
   12530 fi
   12531 
   12532 
   12533 		CFLAGS="$xorg_testset_save_CFLAGS"
   12534 
   12535 		eval supported=\$$cacheid
   12536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12537 $as_echo "$supported" >&6; }
   12538 		if test "$supported" = "yes" ; then
   12539 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12540 			found="yes"
   12541 		fi
   12542 	fi
   12543 
   12544 
   12545 
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 xorg_testset_save_CFLAGS="$CFLAGS"
   12559 
   12560 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12561 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12562 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12563 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12564 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12565   $as_echo_n "(cached) " >&6
   12566 else
   12567   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12568 /* end confdefs.h.  */
   12569 int i;
   12570 _ACEOF
   12571 if ac_fn_c_try_compile "$LINENO"; then :
   12572   xorg_cv_cc_flag_unknown_warning_option=yes
   12573 else
   12574   xorg_cv_cc_flag_unknown_warning_option=no
   12575 fi
   12576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12577 fi
   12578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12579 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12580 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12581 	CFLAGS="$xorg_testset_save_CFLAGS"
   12582 fi
   12583 
   12584 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12585 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12586 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12587 	fi
   12588 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12589 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12590 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12591 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12592   $as_echo_n "(cached) " >&6
   12593 else
   12594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12595 /* end confdefs.h.  */
   12596 int i;
   12597 _ACEOF
   12598 if ac_fn_c_try_compile "$LINENO"; then :
   12599   xorg_cv_cc_flag_unused_command_line_argument=yes
   12600 else
   12601   xorg_cv_cc_flag_unused_command_line_argument=no
   12602 fi
   12603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12604 fi
   12605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12606 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12607 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12608 	CFLAGS="$xorg_testset_save_CFLAGS"
   12609 fi
   12610 
   12611 found="no"
   12612 
   12613 	if test $found = "no" ; then
   12614 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12616 		fi
   12617 
   12618 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12620 		fi
   12621 
   12622 		CFLAGS="$CFLAGS -Wnested-externs"
   12623 
   12624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12625 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12626 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12627 		if eval \${$cacheid+:} false; then :
   12628   $as_echo_n "(cached) " >&6
   12629 else
   12630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12631 /* end confdefs.h.  */
   12632 int i;
   12633 int
   12634 main ()
   12635 {
   12636 
   12637   ;
   12638   return 0;
   12639 }
   12640 _ACEOF
   12641 if ac_fn_c_try_link "$LINENO"; then :
   12642   eval $cacheid=yes
   12643 else
   12644   eval $cacheid=no
   12645 fi
   12646 rm -f core conftest.err conftest.$ac_objext \
   12647     conftest$ac_exeext conftest.$ac_ext
   12648 fi
   12649 
   12650 
   12651 		CFLAGS="$xorg_testset_save_CFLAGS"
   12652 
   12653 		eval supported=\$$cacheid
   12654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12655 $as_echo "$supported" >&6; }
   12656 		if test "$supported" = "yes" ; then
   12657 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12658 			found="yes"
   12659 		fi
   12660 	fi
   12661 
   12662 
   12663 
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 xorg_testset_save_CFLAGS="$CFLAGS"
   12677 
   12678 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12679 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12681 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12682 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12683   $as_echo_n "(cached) " >&6
   12684 else
   12685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12686 /* end confdefs.h.  */
   12687 int i;
   12688 _ACEOF
   12689 if ac_fn_c_try_compile "$LINENO"; then :
   12690   xorg_cv_cc_flag_unknown_warning_option=yes
   12691 else
   12692   xorg_cv_cc_flag_unknown_warning_option=no
   12693 fi
   12694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12695 fi
   12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12697 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12698 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12699 	CFLAGS="$xorg_testset_save_CFLAGS"
   12700 fi
   12701 
   12702 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12703 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12704 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12705 	fi
   12706 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12707 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12708 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12709 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12710   $as_echo_n "(cached) " >&6
   12711 else
   12712   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12713 /* end confdefs.h.  */
   12714 int i;
   12715 _ACEOF
   12716 if ac_fn_c_try_compile "$LINENO"; then :
   12717   xorg_cv_cc_flag_unused_command_line_argument=yes
   12718 else
   12719   xorg_cv_cc_flag_unused_command_line_argument=no
   12720 fi
   12721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12722 fi
   12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12724 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12725 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12726 	CFLAGS="$xorg_testset_save_CFLAGS"
   12727 fi
   12728 
   12729 found="no"
   12730 
   12731 	if test $found = "no" ; then
   12732 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12734 		fi
   12735 
   12736 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12738 		fi
   12739 
   12740 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12741 
   12742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12743 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12744 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12745 		if eval \${$cacheid+:} false; then :
   12746   $as_echo_n "(cached) " >&6
   12747 else
   12748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12749 /* end confdefs.h.  */
   12750 int i;
   12751 int
   12752 main ()
   12753 {
   12754 
   12755   ;
   12756   return 0;
   12757 }
   12758 _ACEOF
   12759 if ac_fn_c_try_link "$LINENO"; then :
   12760   eval $cacheid=yes
   12761 else
   12762   eval $cacheid=no
   12763 fi
   12764 rm -f core conftest.err conftest.$ac_objext \
   12765     conftest$ac_exeext conftest.$ac_ext
   12766 fi
   12767 
   12768 
   12769 		CFLAGS="$xorg_testset_save_CFLAGS"
   12770 
   12771 		eval supported=\$$cacheid
   12772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12773 $as_echo "$supported" >&6; }
   12774 		if test "$supported" = "yes" ; then
   12775 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12776 			found="yes"
   12777 		fi
   12778 	fi
   12779 
   12780 
   12781 
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 xorg_testset_save_CFLAGS="$CFLAGS"
   12795 
   12796 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12799 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12800 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12801   $as_echo_n "(cached) " >&6
   12802 else
   12803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12804 /* end confdefs.h.  */
   12805 int i;
   12806 _ACEOF
   12807 if ac_fn_c_try_compile "$LINENO"; then :
   12808   xorg_cv_cc_flag_unknown_warning_option=yes
   12809 else
   12810   xorg_cv_cc_flag_unknown_warning_option=no
   12811 fi
   12812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12813 fi
   12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12815 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12816 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12817 	CFLAGS="$xorg_testset_save_CFLAGS"
   12818 fi
   12819 
   12820 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12821 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12822 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12823 	fi
   12824 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12825 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12826 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12827 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12828   $as_echo_n "(cached) " >&6
   12829 else
   12830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12831 /* end confdefs.h.  */
   12832 int i;
   12833 _ACEOF
   12834 if ac_fn_c_try_compile "$LINENO"; then :
   12835   xorg_cv_cc_flag_unused_command_line_argument=yes
   12836 else
   12837   xorg_cv_cc_flag_unused_command_line_argument=no
   12838 fi
   12839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12840 fi
   12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12842 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12843 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12844 	CFLAGS="$xorg_testset_save_CFLAGS"
   12845 fi
   12846 
   12847 found="no"
   12848 
   12849 	if test $found = "no" ; then
   12850 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12852 		fi
   12853 
   12854 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12856 		fi
   12857 
   12858 		CFLAGS="$CFLAGS -Wold-style-definition"
   12859 
   12860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12861 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12862 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12863 		if eval \${$cacheid+:} false; then :
   12864   $as_echo_n "(cached) " >&6
   12865 else
   12866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12867 /* end confdefs.h.  */
   12868 int i;
   12869 int
   12870 main ()
   12871 {
   12872 
   12873   ;
   12874   return 0;
   12875 }
   12876 _ACEOF
   12877 if ac_fn_c_try_link "$LINENO"; then :
   12878   eval $cacheid=yes
   12879 else
   12880   eval $cacheid=no
   12881 fi
   12882 rm -f core conftest.err conftest.$ac_objext \
   12883     conftest$ac_exeext conftest.$ac_ext
   12884 fi
   12885 
   12886 
   12887 		CFLAGS="$xorg_testset_save_CFLAGS"
   12888 
   12889 		eval supported=\$$cacheid
   12890 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12891 $as_echo "$supported" >&6; }
   12892 		if test "$supported" = "yes" ; then
   12893 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12894 			found="yes"
   12895 		fi
   12896 	fi
   12897 
   12898 	if test $found = "no" ; then
   12899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12901 		fi
   12902 
   12903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12905 		fi
   12906 
   12907 		CFLAGS="$CFLAGS -fd"
   12908 
   12909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   12910 $as_echo_n "checking if $CC supports -fd... " >&6; }
   12911 		cacheid=xorg_cv_cc_flag__fd
   12912 		if eval \${$cacheid+:} false; then :
   12913   $as_echo_n "(cached) " >&6
   12914 else
   12915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12916 /* end confdefs.h.  */
   12917 int i;
   12918 int
   12919 main ()
   12920 {
   12921 
   12922   ;
   12923   return 0;
   12924 }
   12925 _ACEOF
   12926 if ac_fn_c_try_link "$LINENO"; then :
   12927   eval $cacheid=yes
   12928 else
   12929   eval $cacheid=no
   12930 fi
   12931 rm -f core conftest.err conftest.$ac_objext \
   12932     conftest$ac_exeext conftest.$ac_ext
   12933 fi
   12934 
   12935 
   12936 		CFLAGS="$xorg_testset_save_CFLAGS"
   12937 
   12938 		eval supported=\$$cacheid
   12939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12940 $as_echo "$supported" >&6; }
   12941 		if test "$supported" = "yes" ; then
   12942 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   12943 			found="yes"
   12944 		fi
   12945 	fi
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 xorg_testset_save_CFLAGS="$CFLAGS"
   12962 
   12963 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12964 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12965 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12966 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12967 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12968   $as_echo_n "(cached) " >&6
   12969 else
   12970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12971 /* end confdefs.h.  */
   12972 int i;
   12973 _ACEOF
   12974 if ac_fn_c_try_compile "$LINENO"; then :
   12975   xorg_cv_cc_flag_unknown_warning_option=yes
   12976 else
   12977   xorg_cv_cc_flag_unknown_warning_option=no
   12978 fi
   12979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12980 fi
   12981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12982 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12983 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12984 	CFLAGS="$xorg_testset_save_CFLAGS"
   12985 fi
   12986 
   12987 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12988 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12989 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12990 	fi
   12991 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12992 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12993 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12994 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12995   $as_echo_n "(cached) " >&6
   12996 else
   12997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12998 /* end confdefs.h.  */
   12999 int i;
   13000 _ACEOF
   13001 if ac_fn_c_try_compile "$LINENO"; then :
   13002   xorg_cv_cc_flag_unused_command_line_argument=yes
   13003 else
   13004   xorg_cv_cc_flag_unused_command_line_argument=no
   13005 fi
   13006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13007 fi
   13008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13009 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13010 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13011 	CFLAGS="$xorg_testset_save_CFLAGS"
   13012 fi
   13013 
   13014 found="no"
   13015 
   13016 	if test $found = "no" ; then
   13017 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13018 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13019 		fi
   13020 
   13021 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13022 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13023 		fi
   13024 
   13025 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13026 
   13027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13028 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13029 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13030 		if eval \${$cacheid+:} false; then :
   13031   $as_echo_n "(cached) " >&6
   13032 else
   13033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13034 /* end confdefs.h.  */
   13035 int i;
   13036 int
   13037 main ()
   13038 {
   13039 
   13040   ;
   13041   return 0;
   13042 }
   13043 _ACEOF
   13044 if ac_fn_c_try_link "$LINENO"; then :
   13045   eval $cacheid=yes
   13046 else
   13047   eval $cacheid=no
   13048 fi
   13049 rm -f core conftest.err conftest.$ac_objext \
   13050     conftest$ac_exeext conftest.$ac_ext
   13051 fi
   13052 
   13053 
   13054 		CFLAGS="$xorg_testset_save_CFLAGS"
   13055 
   13056 		eval supported=\$$cacheid
   13057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13058 $as_echo "$supported" >&6; }
   13059 		if test "$supported" = "yes" ; then
   13060 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13061 			found="yes"
   13062 		fi
   13063 	fi
   13064 
   13065 
   13066 
   13067 
   13068 
   13069 # This chunk adds additional warnings that could catch undesired effects.
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 
   13082 
   13083 xorg_testset_save_CFLAGS="$CFLAGS"
   13084 
   13085 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13086 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13087 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13088 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13089 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13090   $as_echo_n "(cached) " >&6
   13091 else
   13092   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13093 /* end confdefs.h.  */
   13094 int i;
   13095 _ACEOF
   13096 if ac_fn_c_try_compile "$LINENO"; then :
   13097   xorg_cv_cc_flag_unknown_warning_option=yes
   13098 else
   13099   xorg_cv_cc_flag_unknown_warning_option=no
   13100 fi
   13101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13102 fi
   13103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13104 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13105 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13106 	CFLAGS="$xorg_testset_save_CFLAGS"
   13107 fi
   13108 
   13109 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13110 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13111 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13112 	fi
   13113 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13114 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13115 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13116 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13117   $as_echo_n "(cached) " >&6
   13118 else
   13119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13120 /* end confdefs.h.  */
   13121 int i;
   13122 _ACEOF
   13123 if ac_fn_c_try_compile "$LINENO"; then :
   13124   xorg_cv_cc_flag_unused_command_line_argument=yes
   13125 else
   13126   xorg_cv_cc_flag_unused_command_line_argument=no
   13127 fi
   13128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13129 fi
   13130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13131 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13132 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13133 	CFLAGS="$xorg_testset_save_CFLAGS"
   13134 fi
   13135 
   13136 found="no"
   13137 
   13138 	if test $found = "no" ; then
   13139 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13140 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13141 		fi
   13142 
   13143 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13144 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13145 		fi
   13146 
   13147 		CFLAGS="$CFLAGS -Wunused"
   13148 
   13149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13150 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13151 		cacheid=xorg_cv_cc_flag__Wunused
   13152 		if eval \${$cacheid+:} false; then :
   13153   $as_echo_n "(cached) " >&6
   13154 else
   13155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13156 /* end confdefs.h.  */
   13157 int i;
   13158 int
   13159 main ()
   13160 {
   13161 
   13162   ;
   13163   return 0;
   13164 }
   13165 _ACEOF
   13166 if ac_fn_c_try_link "$LINENO"; then :
   13167   eval $cacheid=yes
   13168 else
   13169   eval $cacheid=no
   13170 fi
   13171 rm -f core conftest.err conftest.$ac_objext \
   13172     conftest$ac_exeext conftest.$ac_ext
   13173 fi
   13174 
   13175 
   13176 		CFLAGS="$xorg_testset_save_CFLAGS"
   13177 
   13178 		eval supported=\$$cacheid
   13179 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13180 $as_echo "$supported" >&6; }
   13181 		if test "$supported" = "yes" ; then
   13182 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13183 			found="yes"
   13184 		fi
   13185 	fi
   13186 
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 
   13200 
   13201 xorg_testset_save_CFLAGS="$CFLAGS"
   13202 
   13203 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13204 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13205 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13206 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13207 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13208   $as_echo_n "(cached) " >&6
   13209 else
   13210   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13211 /* end confdefs.h.  */
   13212 int i;
   13213 _ACEOF
   13214 if ac_fn_c_try_compile "$LINENO"; then :
   13215   xorg_cv_cc_flag_unknown_warning_option=yes
   13216 else
   13217   xorg_cv_cc_flag_unknown_warning_option=no
   13218 fi
   13219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13220 fi
   13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13222 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13223 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13224 	CFLAGS="$xorg_testset_save_CFLAGS"
   13225 fi
   13226 
   13227 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13228 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13229 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13230 	fi
   13231 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13232 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13233 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13234 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13235   $as_echo_n "(cached) " >&6
   13236 else
   13237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13238 /* end confdefs.h.  */
   13239 int i;
   13240 _ACEOF
   13241 if ac_fn_c_try_compile "$LINENO"; then :
   13242   xorg_cv_cc_flag_unused_command_line_argument=yes
   13243 else
   13244   xorg_cv_cc_flag_unused_command_line_argument=no
   13245 fi
   13246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13247 fi
   13248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13249 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13250 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13251 	CFLAGS="$xorg_testset_save_CFLAGS"
   13252 fi
   13253 
   13254 found="no"
   13255 
   13256 	if test $found = "no" ; then
   13257 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13258 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13259 		fi
   13260 
   13261 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13262 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13263 		fi
   13264 
   13265 		CFLAGS="$CFLAGS -Wuninitialized"
   13266 
   13267 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13268 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13269 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13270 		if eval \${$cacheid+:} false; then :
   13271   $as_echo_n "(cached) " >&6
   13272 else
   13273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13274 /* end confdefs.h.  */
   13275 int i;
   13276 int
   13277 main ()
   13278 {
   13279 
   13280   ;
   13281   return 0;
   13282 }
   13283 _ACEOF
   13284 if ac_fn_c_try_link "$LINENO"; then :
   13285   eval $cacheid=yes
   13286 else
   13287   eval $cacheid=no
   13288 fi
   13289 rm -f core conftest.err conftest.$ac_objext \
   13290     conftest$ac_exeext conftest.$ac_ext
   13291 fi
   13292 
   13293 
   13294 		CFLAGS="$xorg_testset_save_CFLAGS"
   13295 
   13296 		eval supported=\$$cacheid
   13297 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13298 $as_echo "$supported" >&6; }
   13299 		if test "$supported" = "yes" ; then
   13300 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13301 			found="yes"
   13302 		fi
   13303 	fi
   13304 
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 xorg_testset_save_CFLAGS="$CFLAGS"
   13320 
   13321 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13322 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13323 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13324 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13325 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13326   $as_echo_n "(cached) " >&6
   13327 else
   13328   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13329 /* end confdefs.h.  */
   13330 int i;
   13331 _ACEOF
   13332 if ac_fn_c_try_compile "$LINENO"; then :
   13333   xorg_cv_cc_flag_unknown_warning_option=yes
   13334 else
   13335   xorg_cv_cc_flag_unknown_warning_option=no
   13336 fi
   13337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13338 fi
   13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13340 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13341 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13342 	CFLAGS="$xorg_testset_save_CFLAGS"
   13343 fi
   13344 
   13345 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13346 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13347 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13348 	fi
   13349 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13350 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13351 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13352 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13353   $as_echo_n "(cached) " >&6
   13354 else
   13355   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13356 /* end confdefs.h.  */
   13357 int i;
   13358 _ACEOF
   13359 if ac_fn_c_try_compile "$LINENO"; then :
   13360   xorg_cv_cc_flag_unused_command_line_argument=yes
   13361 else
   13362   xorg_cv_cc_flag_unused_command_line_argument=no
   13363 fi
   13364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13365 fi
   13366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13367 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13368 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13369 	CFLAGS="$xorg_testset_save_CFLAGS"
   13370 fi
   13371 
   13372 found="no"
   13373 
   13374 	if test $found = "no" ; then
   13375 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13376 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13377 		fi
   13378 
   13379 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13380 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13381 		fi
   13382 
   13383 		CFLAGS="$CFLAGS -Wshadow"
   13384 
   13385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13386 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13387 		cacheid=xorg_cv_cc_flag__Wshadow
   13388 		if eval \${$cacheid+:} false; then :
   13389   $as_echo_n "(cached) " >&6
   13390 else
   13391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13392 /* end confdefs.h.  */
   13393 int i;
   13394 int
   13395 main ()
   13396 {
   13397 
   13398   ;
   13399   return 0;
   13400 }
   13401 _ACEOF
   13402 if ac_fn_c_try_link "$LINENO"; then :
   13403   eval $cacheid=yes
   13404 else
   13405   eval $cacheid=no
   13406 fi
   13407 rm -f core conftest.err conftest.$ac_objext \
   13408     conftest$ac_exeext conftest.$ac_ext
   13409 fi
   13410 
   13411 
   13412 		CFLAGS="$xorg_testset_save_CFLAGS"
   13413 
   13414 		eval supported=\$$cacheid
   13415 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13416 $as_echo "$supported" >&6; }
   13417 		if test "$supported" = "yes" ; then
   13418 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13419 			found="yes"
   13420 		fi
   13421 	fi
   13422 
   13423 
   13424 
   13425 
   13426 
   13427 
   13428 
   13429 
   13430 
   13431 
   13432 
   13433 
   13434 
   13435 
   13436 
   13437 xorg_testset_save_CFLAGS="$CFLAGS"
   13438 
   13439 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13440 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13441 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13442 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13443 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13444   $as_echo_n "(cached) " >&6
   13445 else
   13446   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13447 /* end confdefs.h.  */
   13448 int i;
   13449 _ACEOF
   13450 if ac_fn_c_try_compile "$LINENO"; then :
   13451   xorg_cv_cc_flag_unknown_warning_option=yes
   13452 else
   13453   xorg_cv_cc_flag_unknown_warning_option=no
   13454 fi
   13455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13456 fi
   13457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13458 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13459 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13460 	CFLAGS="$xorg_testset_save_CFLAGS"
   13461 fi
   13462 
   13463 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13464 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13465 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13466 	fi
   13467 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13468 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13469 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13470 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13471   $as_echo_n "(cached) " >&6
   13472 else
   13473   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13474 /* end confdefs.h.  */
   13475 int i;
   13476 _ACEOF
   13477 if ac_fn_c_try_compile "$LINENO"; then :
   13478   xorg_cv_cc_flag_unused_command_line_argument=yes
   13479 else
   13480   xorg_cv_cc_flag_unused_command_line_argument=no
   13481 fi
   13482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13483 fi
   13484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13485 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13486 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13487 	CFLAGS="$xorg_testset_save_CFLAGS"
   13488 fi
   13489 
   13490 found="no"
   13491 
   13492 	if test $found = "no" ; then
   13493 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13494 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13495 		fi
   13496 
   13497 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13498 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13499 		fi
   13500 
   13501 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13502 
   13503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13504 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13505 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13506 		if eval \${$cacheid+:} false; then :
   13507   $as_echo_n "(cached) " >&6
   13508 else
   13509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13510 /* end confdefs.h.  */
   13511 int i;
   13512 int
   13513 main ()
   13514 {
   13515 
   13516   ;
   13517   return 0;
   13518 }
   13519 _ACEOF
   13520 if ac_fn_c_try_link "$LINENO"; then :
   13521   eval $cacheid=yes
   13522 else
   13523   eval $cacheid=no
   13524 fi
   13525 rm -f core conftest.err conftest.$ac_objext \
   13526     conftest$ac_exeext conftest.$ac_ext
   13527 fi
   13528 
   13529 
   13530 		CFLAGS="$xorg_testset_save_CFLAGS"
   13531 
   13532 		eval supported=\$$cacheid
   13533 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13534 $as_echo "$supported" >&6; }
   13535 		if test "$supported" = "yes" ; then
   13536 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13537 			found="yes"
   13538 		fi
   13539 	fi
   13540 
   13541 
   13542 
   13543 
   13544 
   13545 
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 xorg_testset_save_CFLAGS="$CFLAGS"
   13556 
   13557 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13558 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13559 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13560 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13561 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13562   $as_echo_n "(cached) " >&6
   13563 else
   13564   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13565 /* end confdefs.h.  */
   13566 int i;
   13567 _ACEOF
   13568 if ac_fn_c_try_compile "$LINENO"; then :
   13569   xorg_cv_cc_flag_unknown_warning_option=yes
   13570 else
   13571   xorg_cv_cc_flag_unknown_warning_option=no
   13572 fi
   13573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13574 fi
   13575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13576 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13577 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13578 	CFLAGS="$xorg_testset_save_CFLAGS"
   13579 fi
   13580 
   13581 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13582 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13583 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13584 	fi
   13585 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13586 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13587 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13588 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13589   $as_echo_n "(cached) " >&6
   13590 else
   13591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13592 /* end confdefs.h.  */
   13593 int i;
   13594 _ACEOF
   13595 if ac_fn_c_try_compile "$LINENO"; then :
   13596   xorg_cv_cc_flag_unused_command_line_argument=yes
   13597 else
   13598   xorg_cv_cc_flag_unused_command_line_argument=no
   13599 fi
   13600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13601 fi
   13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13603 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13604 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13605 	CFLAGS="$xorg_testset_save_CFLAGS"
   13606 fi
   13607 
   13608 found="no"
   13609 
   13610 	if test $found = "no" ; then
   13611 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13612 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13613 		fi
   13614 
   13615 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13616 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13617 		fi
   13618 
   13619 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13620 
   13621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13622 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13623 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13624 		if eval \${$cacheid+:} false; then :
   13625   $as_echo_n "(cached) " >&6
   13626 else
   13627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13628 /* end confdefs.h.  */
   13629 int i;
   13630 int
   13631 main ()
   13632 {
   13633 
   13634   ;
   13635   return 0;
   13636 }
   13637 _ACEOF
   13638 if ac_fn_c_try_link "$LINENO"; then :
   13639   eval $cacheid=yes
   13640 else
   13641   eval $cacheid=no
   13642 fi
   13643 rm -f core conftest.err conftest.$ac_objext \
   13644     conftest$ac_exeext conftest.$ac_ext
   13645 fi
   13646 
   13647 
   13648 		CFLAGS="$xorg_testset_save_CFLAGS"
   13649 
   13650 		eval supported=\$$cacheid
   13651 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13652 $as_echo "$supported" >&6; }
   13653 		if test "$supported" = "yes" ; then
   13654 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13655 			found="yes"
   13656 		fi
   13657 	fi
   13658 
   13659 
   13660 
   13661 
   13662 
   13663 
   13664 
   13665 
   13666 
   13667 
   13668 
   13669 
   13670 
   13671 
   13672 
   13673 xorg_testset_save_CFLAGS="$CFLAGS"
   13674 
   13675 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13676 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13677 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13678 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13679 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13680   $as_echo_n "(cached) " >&6
   13681 else
   13682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13683 /* end confdefs.h.  */
   13684 int i;
   13685 _ACEOF
   13686 if ac_fn_c_try_compile "$LINENO"; then :
   13687   xorg_cv_cc_flag_unknown_warning_option=yes
   13688 else
   13689   xorg_cv_cc_flag_unknown_warning_option=no
   13690 fi
   13691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13692 fi
   13693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13694 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13695 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13696 	CFLAGS="$xorg_testset_save_CFLAGS"
   13697 fi
   13698 
   13699 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13700 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13701 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13702 	fi
   13703 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13704 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13705 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13706 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13707   $as_echo_n "(cached) " >&6
   13708 else
   13709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13710 /* end confdefs.h.  */
   13711 int i;
   13712 _ACEOF
   13713 if ac_fn_c_try_compile "$LINENO"; then :
   13714   xorg_cv_cc_flag_unused_command_line_argument=yes
   13715 else
   13716   xorg_cv_cc_flag_unused_command_line_argument=no
   13717 fi
   13718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13719 fi
   13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13721 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13722 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13723 	CFLAGS="$xorg_testset_save_CFLAGS"
   13724 fi
   13725 
   13726 found="no"
   13727 
   13728 	if test $found = "no" ; then
   13729 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13730 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13731 		fi
   13732 
   13733 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13734 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13735 		fi
   13736 
   13737 		CFLAGS="$CFLAGS -Wredundant-decls"
   13738 
   13739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13740 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13741 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13742 		if eval \${$cacheid+:} false; then :
   13743   $as_echo_n "(cached) " >&6
   13744 else
   13745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13746 /* end confdefs.h.  */
   13747 int i;
   13748 int
   13749 main ()
   13750 {
   13751 
   13752   ;
   13753   return 0;
   13754 }
   13755 _ACEOF
   13756 if ac_fn_c_try_link "$LINENO"; then :
   13757   eval $cacheid=yes
   13758 else
   13759   eval $cacheid=no
   13760 fi
   13761 rm -f core conftest.err conftest.$ac_objext \
   13762     conftest$ac_exeext conftest.$ac_ext
   13763 fi
   13764 
   13765 
   13766 		CFLAGS="$xorg_testset_save_CFLAGS"
   13767 
   13768 		eval supported=\$$cacheid
   13769 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13770 $as_echo "$supported" >&6; }
   13771 		if test "$supported" = "yes" ; then
   13772 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13773 			found="yes"
   13774 		fi
   13775 	fi
   13776 
   13777 
   13778 
   13779 
   13780 
   13781 
   13782 
   13783 
   13784 
   13785 
   13786 
   13787 
   13788 
   13789 
   13790 
   13791 xorg_testset_save_CFLAGS="$CFLAGS"
   13792 
   13793 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13794 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13796 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13797 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13798   $as_echo_n "(cached) " >&6
   13799 else
   13800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13801 /* end confdefs.h.  */
   13802 int i;
   13803 _ACEOF
   13804 if ac_fn_c_try_compile "$LINENO"; then :
   13805   xorg_cv_cc_flag_unknown_warning_option=yes
   13806 else
   13807   xorg_cv_cc_flag_unknown_warning_option=no
   13808 fi
   13809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13810 fi
   13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13812 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13813 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13814 	CFLAGS="$xorg_testset_save_CFLAGS"
   13815 fi
   13816 
   13817 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13818 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13819 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13820 	fi
   13821 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13822 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13823 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13824 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13825   $as_echo_n "(cached) " >&6
   13826 else
   13827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13828 /* end confdefs.h.  */
   13829 int i;
   13830 _ACEOF
   13831 if ac_fn_c_try_compile "$LINENO"; then :
   13832   xorg_cv_cc_flag_unused_command_line_argument=yes
   13833 else
   13834   xorg_cv_cc_flag_unused_command_line_argument=no
   13835 fi
   13836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13837 fi
   13838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13839 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13840 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13841 	CFLAGS="$xorg_testset_save_CFLAGS"
   13842 fi
   13843 
   13844 found="no"
   13845 
   13846 	if test $found = "no" ; then
   13847 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13848 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13849 		fi
   13850 
   13851 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13852 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13853 		fi
   13854 
   13855 		CFLAGS="$CFLAGS -Wlogical-op"
   13856 
   13857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   13858 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   13859 		cacheid=xorg_cv_cc_flag__Wlogical_op
   13860 		if eval \${$cacheid+:} false; then :
   13861   $as_echo_n "(cached) " >&6
   13862 else
   13863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13864 /* end confdefs.h.  */
   13865 int i;
   13866 int
   13867 main ()
   13868 {
   13869 
   13870   ;
   13871   return 0;
   13872 }
   13873 _ACEOF
   13874 if ac_fn_c_try_link "$LINENO"; then :
   13875   eval $cacheid=yes
   13876 else
   13877   eval $cacheid=no
   13878 fi
   13879 rm -f core conftest.err conftest.$ac_objext \
   13880     conftest$ac_exeext conftest.$ac_ext
   13881 fi
   13882 
   13883 
   13884 		CFLAGS="$xorg_testset_save_CFLAGS"
   13885 
   13886 		eval supported=\$$cacheid
   13887 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13888 $as_echo "$supported" >&6; }
   13889 		if test "$supported" = "yes" ; then
   13890 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   13891 			found="yes"
   13892 		fi
   13893 	fi
   13894 
   13895 
   13896 
   13897 # These are currently disabled because they are noisy.  They will be enabled
   13898 # in the future once the codebase is sufficiently modernized to silence
   13899 # them.  For now, I don't want them to drown out the other warnings.
   13900 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13901 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13902 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   13903 
   13904 # Turn some warnings into errors, so we don't accidently get successful builds
   13905 # when there are problems that should be fixed.
   13906 
   13907 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13908 
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 xorg_testset_save_CFLAGS="$CFLAGS"
   13922 
   13923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13926 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13927 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13928   $as_echo_n "(cached) " >&6
   13929 else
   13930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13931 /* end confdefs.h.  */
   13932 int i;
   13933 _ACEOF
   13934 if ac_fn_c_try_compile "$LINENO"; then :
   13935   xorg_cv_cc_flag_unknown_warning_option=yes
   13936 else
   13937   xorg_cv_cc_flag_unknown_warning_option=no
   13938 fi
   13939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13940 fi
   13941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13942 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13944 	CFLAGS="$xorg_testset_save_CFLAGS"
   13945 fi
   13946 
   13947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13950 	fi
   13951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13953 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13954 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13955   $as_echo_n "(cached) " >&6
   13956 else
   13957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13958 /* end confdefs.h.  */
   13959 int i;
   13960 _ACEOF
   13961 if ac_fn_c_try_compile "$LINENO"; then :
   13962   xorg_cv_cc_flag_unused_command_line_argument=yes
   13963 else
   13964   xorg_cv_cc_flag_unused_command_line_argument=no
   13965 fi
   13966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13967 fi
   13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13969 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13971 	CFLAGS="$xorg_testset_save_CFLAGS"
   13972 fi
   13973 
   13974 found="no"
   13975 
   13976 	if test $found = "no" ; then
   13977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13979 		fi
   13980 
   13981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13983 		fi
   13984 
   13985 		CFLAGS="$CFLAGS -Werror=implicit"
   13986 
   13987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13988 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13989 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   13990 		if eval \${$cacheid+:} false; then :
   13991   $as_echo_n "(cached) " >&6
   13992 else
   13993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13994 /* end confdefs.h.  */
   13995 int i;
   13996 int
   13997 main ()
   13998 {
   13999 
   14000   ;
   14001   return 0;
   14002 }
   14003 _ACEOF
   14004 if ac_fn_c_try_link "$LINENO"; then :
   14005   eval $cacheid=yes
   14006 else
   14007   eval $cacheid=no
   14008 fi
   14009 rm -f core conftest.err conftest.$ac_objext \
   14010     conftest$ac_exeext conftest.$ac_ext
   14011 fi
   14012 
   14013 
   14014 		CFLAGS="$xorg_testset_save_CFLAGS"
   14015 
   14016 		eval supported=\$$cacheid
   14017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14018 $as_echo "$supported" >&6; }
   14019 		if test "$supported" = "yes" ; then
   14020 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14021 			found="yes"
   14022 		fi
   14023 	fi
   14024 
   14025 	if test $found = "no" ; then
   14026 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14027 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14028 		fi
   14029 
   14030 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14031 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14032 		fi
   14033 
   14034 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14035 
   14036 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14037 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14038 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   14039 		if eval \${$cacheid+:} false; then :
   14040   $as_echo_n "(cached) " >&6
   14041 else
   14042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14043 /* end confdefs.h.  */
   14044 int i;
   14045 int
   14046 main ()
   14047 {
   14048 
   14049   ;
   14050   return 0;
   14051 }
   14052 _ACEOF
   14053 if ac_fn_c_try_link "$LINENO"; then :
   14054   eval $cacheid=yes
   14055 else
   14056   eval $cacheid=no
   14057 fi
   14058 rm -f core conftest.err conftest.$ac_objext \
   14059     conftest$ac_exeext conftest.$ac_ext
   14060 fi
   14061 
   14062 
   14063 		CFLAGS="$xorg_testset_save_CFLAGS"
   14064 
   14065 		eval supported=\$$cacheid
   14066 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14067 $as_echo "$supported" >&6; }
   14068 		if test "$supported" = "yes" ; then
   14069 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14070 			found="yes"
   14071 		fi
   14072 	fi
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083 
   14084 
   14085 
   14086 
   14087 
   14088 xorg_testset_save_CFLAGS="$CFLAGS"
   14089 
   14090 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14091 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14092 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14093 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14094 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14095   $as_echo_n "(cached) " >&6
   14096 else
   14097   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14098 /* end confdefs.h.  */
   14099 int i;
   14100 _ACEOF
   14101 if ac_fn_c_try_compile "$LINENO"; then :
   14102   xorg_cv_cc_flag_unknown_warning_option=yes
   14103 else
   14104   xorg_cv_cc_flag_unknown_warning_option=no
   14105 fi
   14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14107 fi
   14108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14109 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14110 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14111 	CFLAGS="$xorg_testset_save_CFLAGS"
   14112 fi
   14113 
   14114 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14115 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14116 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14117 	fi
   14118 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14120 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14121 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14122   $as_echo_n "(cached) " >&6
   14123 else
   14124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14125 /* end confdefs.h.  */
   14126 int i;
   14127 _ACEOF
   14128 if ac_fn_c_try_compile "$LINENO"; then :
   14129   xorg_cv_cc_flag_unused_command_line_argument=yes
   14130 else
   14131   xorg_cv_cc_flag_unused_command_line_argument=no
   14132 fi
   14133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14134 fi
   14135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14136 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14137 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14138 	CFLAGS="$xorg_testset_save_CFLAGS"
   14139 fi
   14140 
   14141 found="no"
   14142 
   14143 	if test $found = "no" ; then
   14144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14146 		fi
   14147 
   14148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14150 		fi
   14151 
   14152 		CFLAGS="$CFLAGS -Werror=nonnull"
   14153 
   14154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14155 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14156 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14157 		if eval \${$cacheid+:} false; then :
   14158   $as_echo_n "(cached) " >&6
   14159 else
   14160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14161 /* end confdefs.h.  */
   14162 int i;
   14163 int
   14164 main ()
   14165 {
   14166 
   14167   ;
   14168   return 0;
   14169 }
   14170 _ACEOF
   14171 if ac_fn_c_try_link "$LINENO"; then :
   14172   eval $cacheid=yes
   14173 else
   14174   eval $cacheid=no
   14175 fi
   14176 rm -f core conftest.err conftest.$ac_objext \
   14177     conftest$ac_exeext conftest.$ac_ext
   14178 fi
   14179 
   14180 
   14181 		CFLAGS="$xorg_testset_save_CFLAGS"
   14182 
   14183 		eval supported=\$$cacheid
   14184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14185 $as_echo "$supported" >&6; }
   14186 		if test "$supported" = "yes" ; then
   14187 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14188 			found="yes"
   14189 		fi
   14190 	fi
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 
   14200 
   14201 
   14202 
   14203 
   14204 
   14205 
   14206 xorg_testset_save_CFLAGS="$CFLAGS"
   14207 
   14208 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14209 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14210 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14211 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14212 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14213   $as_echo_n "(cached) " >&6
   14214 else
   14215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14216 /* end confdefs.h.  */
   14217 int i;
   14218 _ACEOF
   14219 if ac_fn_c_try_compile "$LINENO"; then :
   14220   xorg_cv_cc_flag_unknown_warning_option=yes
   14221 else
   14222   xorg_cv_cc_flag_unknown_warning_option=no
   14223 fi
   14224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14225 fi
   14226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14227 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14228 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14229 	CFLAGS="$xorg_testset_save_CFLAGS"
   14230 fi
   14231 
   14232 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14233 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14234 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14235 	fi
   14236 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14238 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14239 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14240   $as_echo_n "(cached) " >&6
   14241 else
   14242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14243 /* end confdefs.h.  */
   14244 int i;
   14245 _ACEOF
   14246 if ac_fn_c_try_compile "$LINENO"; then :
   14247   xorg_cv_cc_flag_unused_command_line_argument=yes
   14248 else
   14249   xorg_cv_cc_flag_unused_command_line_argument=no
   14250 fi
   14251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14252 fi
   14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14254 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14255 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14256 	CFLAGS="$xorg_testset_save_CFLAGS"
   14257 fi
   14258 
   14259 found="no"
   14260 
   14261 	if test $found = "no" ; then
   14262 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14263 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14264 		fi
   14265 
   14266 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14267 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14268 		fi
   14269 
   14270 		CFLAGS="$CFLAGS -Werror=init-self"
   14271 
   14272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14273 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14274 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14275 		if eval \${$cacheid+:} false; then :
   14276   $as_echo_n "(cached) " >&6
   14277 else
   14278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14279 /* end confdefs.h.  */
   14280 int i;
   14281 int
   14282 main ()
   14283 {
   14284 
   14285   ;
   14286   return 0;
   14287 }
   14288 _ACEOF
   14289 if ac_fn_c_try_link "$LINENO"; then :
   14290   eval $cacheid=yes
   14291 else
   14292   eval $cacheid=no
   14293 fi
   14294 rm -f core conftest.err conftest.$ac_objext \
   14295     conftest$ac_exeext conftest.$ac_ext
   14296 fi
   14297 
   14298 
   14299 		CFLAGS="$xorg_testset_save_CFLAGS"
   14300 
   14301 		eval supported=\$$cacheid
   14302 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14303 $as_echo "$supported" >&6; }
   14304 		if test "$supported" = "yes" ; then
   14305 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14306 			found="yes"
   14307 		fi
   14308 	fi
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322 
   14323 
   14324 xorg_testset_save_CFLAGS="$CFLAGS"
   14325 
   14326 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14329 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14330 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14331   $as_echo_n "(cached) " >&6
   14332 else
   14333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14334 /* end confdefs.h.  */
   14335 int i;
   14336 _ACEOF
   14337 if ac_fn_c_try_compile "$LINENO"; then :
   14338   xorg_cv_cc_flag_unknown_warning_option=yes
   14339 else
   14340   xorg_cv_cc_flag_unknown_warning_option=no
   14341 fi
   14342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14343 fi
   14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14345 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14346 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14347 	CFLAGS="$xorg_testset_save_CFLAGS"
   14348 fi
   14349 
   14350 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14351 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14353 	fi
   14354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14356 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14357 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14358   $as_echo_n "(cached) " >&6
   14359 else
   14360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14361 /* end confdefs.h.  */
   14362 int i;
   14363 _ACEOF
   14364 if ac_fn_c_try_compile "$LINENO"; then :
   14365   xorg_cv_cc_flag_unused_command_line_argument=yes
   14366 else
   14367   xorg_cv_cc_flag_unused_command_line_argument=no
   14368 fi
   14369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14370 fi
   14371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14372 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14373 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14374 	CFLAGS="$xorg_testset_save_CFLAGS"
   14375 fi
   14376 
   14377 found="no"
   14378 
   14379 	if test $found = "no" ; then
   14380 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14382 		fi
   14383 
   14384 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14386 		fi
   14387 
   14388 		CFLAGS="$CFLAGS -Werror=main"
   14389 
   14390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14391 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14392 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14393 		if eval \${$cacheid+:} false; then :
   14394   $as_echo_n "(cached) " >&6
   14395 else
   14396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14397 /* end confdefs.h.  */
   14398 int i;
   14399 int
   14400 main ()
   14401 {
   14402 
   14403   ;
   14404   return 0;
   14405 }
   14406 _ACEOF
   14407 if ac_fn_c_try_link "$LINENO"; then :
   14408   eval $cacheid=yes
   14409 else
   14410   eval $cacheid=no
   14411 fi
   14412 rm -f core conftest.err conftest.$ac_objext \
   14413     conftest$ac_exeext conftest.$ac_ext
   14414 fi
   14415 
   14416 
   14417 		CFLAGS="$xorg_testset_save_CFLAGS"
   14418 
   14419 		eval supported=\$$cacheid
   14420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14421 $as_echo "$supported" >&6; }
   14422 		if test "$supported" = "yes" ; then
   14423 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14424 			found="yes"
   14425 		fi
   14426 	fi
   14427 
   14428 
   14429 
   14430 
   14431 
   14432 
   14433 
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 xorg_testset_save_CFLAGS="$CFLAGS"
   14443 
   14444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14449   $as_echo_n "(cached) " >&6
   14450 else
   14451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14452 /* end confdefs.h.  */
   14453 int i;
   14454 _ACEOF
   14455 if ac_fn_c_try_compile "$LINENO"; then :
   14456   xorg_cv_cc_flag_unknown_warning_option=yes
   14457 else
   14458   xorg_cv_cc_flag_unknown_warning_option=no
   14459 fi
   14460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14461 fi
   14462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14465 	CFLAGS="$xorg_testset_save_CFLAGS"
   14466 fi
   14467 
   14468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14471 	fi
   14472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14476   $as_echo_n "(cached) " >&6
   14477 else
   14478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14479 /* end confdefs.h.  */
   14480 int i;
   14481 _ACEOF
   14482 if ac_fn_c_try_compile "$LINENO"; then :
   14483   xorg_cv_cc_flag_unused_command_line_argument=yes
   14484 else
   14485   xorg_cv_cc_flag_unused_command_line_argument=no
   14486 fi
   14487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14488 fi
   14489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14492 	CFLAGS="$xorg_testset_save_CFLAGS"
   14493 fi
   14494 
   14495 found="no"
   14496 
   14497 	if test $found = "no" ; then
   14498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14500 		fi
   14501 
   14502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14504 		fi
   14505 
   14506 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14507 
   14508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14509 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14510 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14511 		if eval \${$cacheid+:} false; then :
   14512   $as_echo_n "(cached) " >&6
   14513 else
   14514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14515 /* end confdefs.h.  */
   14516 int i;
   14517 int
   14518 main ()
   14519 {
   14520 
   14521   ;
   14522   return 0;
   14523 }
   14524 _ACEOF
   14525 if ac_fn_c_try_link "$LINENO"; then :
   14526   eval $cacheid=yes
   14527 else
   14528   eval $cacheid=no
   14529 fi
   14530 rm -f core conftest.err conftest.$ac_objext \
   14531     conftest$ac_exeext conftest.$ac_ext
   14532 fi
   14533 
   14534 
   14535 		CFLAGS="$xorg_testset_save_CFLAGS"
   14536 
   14537 		eval supported=\$$cacheid
   14538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14539 $as_echo "$supported" >&6; }
   14540 		if test "$supported" = "yes" ; then
   14541 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14542 			found="yes"
   14543 		fi
   14544 	fi
   14545 
   14546 
   14547 
   14548 
   14549 
   14550 
   14551 
   14552 
   14553 
   14554 
   14555 
   14556 
   14557 
   14558 
   14559 
   14560 xorg_testset_save_CFLAGS="$CFLAGS"
   14561 
   14562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14567   $as_echo_n "(cached) " >&6
   14568 else
   14569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14570 /* end confdefs.h.  */
   14571 int i;
   14572 _ACEOF
   14573 if ac_fn_c_try_compile "$LINENO"; then :
   14574   xorg_cv_cc_flag_unknown_warning_option=yes
   14575 else
   14576   xorg_cv_cc_flag_unknown_warning_option=no
   14577 fi
   14578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14579 fi
   14580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14583 	CFLAGS="$xorg_testset_save_CFLAGS"
   14584 fi
   14585 
   14586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14589 	fi
   14590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14594   $as_echo_n "(cached) " >&6
   14595 else
   14596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14597 /* end confdefs.h.  */
   14598 int i;
   14599 _ACEOF
   14600 if ac_fn_c_try_compile "$LINENO"; then :
   14601   xorg_cv_cc_flag_unused_command_line_argument=yes
   14602 else
   14603   xorg_cv_cc_flag_unused_command_line_argument=no
   14604 fi
   14605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14606 fi
   14607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14610 	CFLAGS="$xorg_testset_save_CFLAGS"
   14611 fi
   14612 
   14613 found="no"
   14614 
   14615 	if test $found = "no" ; then
   14616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14618 		fi
   14619 
   14620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14622 		fi
   14623 
   14624 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14625 
   14626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14627 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14628 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14629 		if eval \${$cacheid+:} false; then :
   14630   $as_echo_n "(cached) " >&6
   14631 else
   14632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14633 /* end confdefs.h.  */
   14634 int i;
   14635 int
   14636 main ()
   14637 {
   14638 
   14639   ;
   14640   return 0;
   14641 }
   14642 _ACEOF
   14643 if ac_fn_c_try_link "$LINENO"; then :
   14644   eval $cacheid=yes
   14645 else
   14646   eval $cacheid=no
   14647 fi
   14648 rm -f core conftest.err conftest.$ac_objext \
   14649     conftest$ac_exeext conftest.$ac_ext
   14650 fi
   14651 
   14652 
   14653 		CFLAGS="$xorg_testset_save_CFLAGS"
   14654 
   14655 		eval supported=\$$cacheid
   14656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14657 $as_echo "$supported" >&6; }
   14658 		if test "$supported" = "yes" ; then
   14659 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14660 			found="yes"
   14661 		fi
   14662 	fi
   14663 
   14664 
   14665 
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 xorg_testset_save_CFLAGS="$CFLAGS"
   14679 
   14680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14685   $as_echo_n "(cached) " >&6
   14686 else
   14687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14688 /* end confdefs.h.  */
   14689 int i;
   14690 _ACEOF
   14691 if ac_fn_c_try_compile "$LINENO"; then :
   14692   xorg_cv_cc_flag_unknown_warning_option=yes
   14693 else
   14694   xorg_cv_cc_flag_unknown_warning_option=no
   14695 fi
   14696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14697 fi
   14698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14701 	CFLAGS="$xorg_testset_save_CFLAGS"
   14702 fi
   14703 
   14704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14707 	fi
   14708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14712   $as_echo_n "(cached) " >&6
   14713 else
   14714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14715 /* end confdefs.h.  */
   14716 int i;
   14717 _ACEOF
   14718 if ac_fn_c_try_compile "$LINENO"; then :
   14719   xorg_cv_cc_flag_unused_command_line_argument=yes
   14720 else
   14721   xorg_cv_cc_flag_unused_command_line_argument=no
   14722 fi
   14723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14724 fi
   14725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14728 	CFLAGS="$xorg_testset_save_CFLAGS"
   14729 fi
   14730 
   14731 found="no"
   14732 
   14733 	if test $found = "no" ; then
   14734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14736 		fi
   14737 
   14738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14740 		fi
   14741 
   14742 		CFLAGS="$CFLAGS -Werror=return-type"
   14743 
   14744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14745 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14746 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14747 		if eval \${$cacheid+:} false; then :
   14748   $as_echo_n "(cached) " >&6
   14749 else
   14750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14751 /* end confdefs.h.  */
   14752 int i;
   14753 int
   14754 main ()
   14755 {
   14756 
   14757   ;
   14758   return 0;
   14759 }
   14760 _ACEOF
   14761 if ac_fn_c_try_link "$LINENO"; then :
   14762   eval $cacheid=yes
   14763 else
   14764   eval $cacheid=no
   14765 fi
   14766 rm -f core conftest.err conftest.$ac_objext \
   14767     conftest$ac_exeext conftest.$ac_ext
   14768 fi
   14769 
   14770 
   14771 		CFLAGS="$xorg_testset_save_CFLAGS"
   14772 
   14773 		eval supported=\$$cacheid
   14774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14775 $as_echo "$supported" >&6; }
   14776 		if test "$supported" = "yes" ; then
   14777 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14778 			found="yes"
   14779 		fi
   14780 	fi
   14781 
   14782 	if test $found = "no" ; then
   14783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14785 		fi
   14786 
   14787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14789 		fi
   14790 
   14791 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14792 
   14793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14794 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14795 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14796 		if eval \${$cacheid+:} false; then :
   14797   $as_echo_n "(cached) " >&6
   14798 else
   14799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14800 /* end confdefs.h.  */
   14801 int i;
   14802 int
   14803 main ()
   14804 {
   14805 
   14806   ;
   14807   return 0;
   14808 }
   14809 _ACEOF
   14810 if ac_fn_c_try_link "$LINENO"; then :
   14811   eval $cacheid=yes
   14812 else
   14813   eval $cacheid=no
   14814 fi
   14815 rm -f core conftest.err conftest.$ac_objext \
   14816     conftest$ac_exeext conftest.$ac_ext
   14817 fi
   14818 
   14819 
   14820 		CFLAGS="$xorg_testset_save_CFLAGS"
   14821 
   14822 		eval supported=\$$cacheid
   14823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14824 $as_echo "$supported" >&6; }
   14825 		if test "$supported" = "yes" ; then
   14826 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14827 			found="yes"
   14828 		fi
   14829 	fi
   14830 
   14831 
   14832 
   14833 
   14834 
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 xorg_testset_save_CFLAGS="$CFLAGS"
   14846 
   14847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14850 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14851 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14852   $as_echo_n "(cached) " >&6
   14853 else
   14854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14855 /* end confdefs.h.  */
   14856 int i;
   14857 _ACEOF
   14858 if ac_fn_c_try_compile "$LINENO"; then :
   14859   xorg_cv_cc_flag_unknown_warning_option=yes
   14860 else
   14861   xorg_cv_cc_flag_unknown_warning_option=no
   14862 fi
   14863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14864 fi
   14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14866 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14868 	CFLAGS="$xorg_testset_save_CFLAGS"
   14869 fi
   14870 
   14871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14874 	fi
   14875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14877 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14878 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14879   $as_echo_n "(cached) " >&6
   14880 else
   14881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14882 /* end confdefs.h.  */
   14883 int i;
   14884 _ACEOF
   14885 if ac_fn_c_try_compile "$LINENO"; then :
   14886   xorg_cv_cc_flag_unused_command_line_argument=yes
   14887 else
   14888   xorg_cv_cc_flag_unused_command_line_argument=no
   14889 fi
   14890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14891 fi
   14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14893 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14895 	CFLAGS="$xorg_testset_save_CFLAGS"
   14896 fi
   14897 
   14898 found="no"
   14899 
   14900 	if test $found = "no" ; then
   14901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14903 		fi
   14904 
   14905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14907 		fi
   14908 
   14909 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14910 
   14911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14912 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14913 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14914 		if eval \${$cacheid+:} false; then :
   14915   $as_echo_n "(cached) " >&6
   14916 else
   14917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14918 /* end confdefs.h.  */
   14919 int i;
   14920 int
   14921 main ()
   14922 {
   14923 
   14924   ;
   14925   return 0;
   14926 }
   14927 _ACEOF
   14928 if ac_fn_c_try_link "$LINENO"; then :
   14929   eval $cacheid=yes
   14930 else
   14931   eval $cacheid=no
   14932 fi
   14933 rm -f core conftest.err conftest.$ac_objext \
   14934     conftest$ac_exeext conftest.$ac_ext
   14935 fi
   14936 
   14937 
   14938 		CFLAGS="$xorg_testset_save_CFLAGS"
   14939 
   14940 		eval supported=\$$cacheid
   14941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14942 $as_echo "$supported" >&6; }
   14943 		if test "$supported" = "yes" ; then
   14944 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14945 			found="yes"
   14946 		fi
   14947 	fi
   14948 
   14949 
   14950 
   14951 
   14952 
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 xorg_testset_save_CFLAGS="$CFLAGS"
   14964 
   14965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14970   $as_echo_n "(cached) " >&6
   14971 else
   14972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14973 /* end confdefs.h.  */
   14974 int i;
   14975 _ACEOF
   14976 if ac_fn_c_try_compile "$LINENO"; then :
   14977   xorg_cv_cc_flag_unknown_warning_option=yes
   14978 else
   14979   xorg_cv_cc_flag_unknown_warning_option=no
   14980 fi
   14981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14982 fi
   14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14986 	CFLAGS="$xorg_testset_save_CFLAGS"
   14987 fi
   14988 
   14989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14992 	fi
   14993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14997   $as_echo_n "(cached) " >&6
   14998 else
   14999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15000 /* end confdefs.h.  */
   15001 int i;
   15002 _ACEOF
   15003 if ac_fn_c_try_compile "$LINENO"; then :
   15004   xorg_cv_cc_flag_unused_command_line_argument=yes
   15005 else
   15006   xorg_cv_cc_flag_unused_command_line_argument=no
   15007 fi
   15008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15009 fi
   15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15013 	CFLAGS="$xorg_testset_save_CFLAGS"
   15014 fi
   15015 
   15016 found="no"
   15017 
   15018 	if test $found = "no" ; then
   15019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15021 		fi
   15022 
   15023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15025 		fi
   15026 
   15027 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15028 
   15029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15030 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15031 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   15032 		if eval \${$cacheid+:} false; then :
   15033   $as_echo_n "(cached) " >&6
   15034 else
   15035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15036 /* end confdefs.h.  */
   15037 int i;
   15038 int
   15039 main ()
   15040 {
   15041 
   15042   ;
   15043   return 0;
   15044 }
   15045 _ACEOF
   15046 if ac_fn_c_try_link "$LINENO"; then :
   15047   eval $cacheid=yes
   15048 else
   15049   eval $cacheid=no
   15050 fi
   15051 rm -f core conftest.err conftest.$ac_objext \
   15052     conftest$ac_exeext conftest.$ac_ext
   15053 fi
   15054 
   15055 
   15056 		CFLAGS="$xorg_testset_save_CFLAGS"
   15057 
   15058 		eval supported=\$$cacheid
   15059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15060 $as_echo "$supported" >&6; }
   15061 		if test "$supported" = "yes" ; then
   15062 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15063 			found="yes"
   15064 		fi
   15065 	fi
   15066 
   15067 
   15068 
   15069 
   15070 
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 
   15080 
   15081 xorg_testset_save_CFLAGS="$CFLAGS"
   15082 
   15083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15088   $as_echo_n "(cached) " >&6
   15089 else
   15090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15091 /* end confdefs.h.  */
   15092 int i;
   15093 _ACEOF
   15094 if ac_fn_c_try_compile "$LINENO"; then :
   15095   xorg_cv_cc_flag_unknown_warning_option=yes
   15096 else
   15097   xorg_cv_cc_flag_unknown_warning_option=no
   15098 fi
   15099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15100 fi
   15101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15104 	CFLAGS="$xorg_testset_save_CFLAGS"
   15105 fi
   15106 
   15107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15110 	fi
   15111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15115   $as_echo_n "(cached) " >&6
   15116 else
   15117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15118 /* end confdefs.h.  */
   15119 int i;
   15120 _ACEOF
   15121 if ac_fn_c_try_compile "$LINENO"; then :
   15122   xorg_cv_cc_flag_unused_command_line_argument=yes
   15123 else
   15124   xorg_cv_cc_flag_unused_command_line_argument=no
   15125 fi
   15126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15127 fi
   15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15131 	CFLAGS="$xorg_testset_save_CFLAGS"
   15132 fi
   15133 
   15134 found="no"
   15135 
   15136 	if test $found = "no" ; then
   15137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15139 		fi
   15140 
   15141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15143 		fi
   15144 
   15145 		CFLAGS="$CFLAGS -Werror=write-strings"
   15146 
   15147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15148 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15149 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15150 		if eval \${$cacheid+:} false; then :
   15151   $as_echo_n "(cached) " >&6
   15152 else
   15153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15154 /* end confdefs.h.  */
   15155 int i;
   15156 int
   15157 main ()
   15158 {
   15159 
   15160   ;
   15161   return 0;
   15162 }
   15163 _ACEOF
   15164 if ac_fn_c_try_link "$LINENO"; then :
   15165   eval $cacheid=yes
   15166 else
   15167   eval $cacheid=no
   15168 fi
   15169 rm -f core conftest.err conftest.$ac_objext \
   15170     conftest$ac_exeext conftest.$ac_ext
   15171 fi
   15172 
   15173 
   15174 		CFLAGS="$xorg_testset_save_CFLAGS"
   15175 
   15176 		eval supported=\$$cacheid
   15177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15178 $as_echo "$supported" >&6; }
   15179 		if test "$supported" = "yes" ; then
   15180 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15181 			found="yes"
   15182 		fi
   15183 	fi
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 xorg_testset_save_CFLAGS="$CFLAGS"
   15200 
   15201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15206   $as_echo_n "(cached) " >&6
   15207 else
   15208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15209 /* end confdefs.h.  */
   15210 int i;
   15211 _ACEOF
   15212 if ac_fn_c_try_compile "$LINENO"; then :
   15213   xorg_cv_cc_flag_unknown_warning_option=yes
   15214 else
   15215   xorg_cv_cc_flag_unknown_warning_option=no
   15216 fi
   15217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15218 fi
   15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15222 	CFLAGS="$xorg_testset_save_CFLAGS"
   15223 fi
   15224 
   15225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15228 	fi
   15229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15233   $as_echo_n "(cached) " >&6
   15234 else
   15235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15236 /* end confdefs.h.  */
   15237 int i;
   15238 _ACEOF
   15239 if ac_fn_c_try_compile "$LINENO"; then :
   15240   xorg_cv_cc_flag_unused_command_line_argument=yes
   15241 else
   15242   xorg_cv_cc_flag_unused_command_line_argument=no
   15243 fi
   15244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15245 fi
   15246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15249 	CFLAGS="$xorg_testset_save_CFLAGS"
   15250 fi
   15251 
   15252 found="no"
   15253 
   15254 	if test $found = "no" ; then
   15255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15257 		fi
   15258 
   15259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15261 		fi
   15262 
   15263 		CFLAGS="$CFLAGS -Werror=address"
   15264 
   15265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15266 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15267 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15268 		if eval \${$cacheid+:} false; then :
   15269   $as_echo_n "(cached) " >&6
   15270 else
   15271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15272 /* end confdefs.h.  */
   15273 int i;
   15274 int
   15275 main ()
   15276 {
   15277 
   15278   ;
   15279   return 0;
   15280 }
   15281 _ACEOF
   15282 if ac_fn_c_try_link "$LINENO"; then :
   15283   eval $cacheid=yes
   15284 else
   15285   eval $cacheid=no
   15286 fi
   15287 rm -f core conftest.err conftest.$ac_objext \
   15288     conftest$ac_exeext conftest.$ac_ext
   15289 fi
   15290 
   15291 
   15292 		CFLAGS="$xorg_testset_save_CFLAGS"
   15293 
   15294 		eval supported=\$$cacheid
   15295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15296 $as_echo "$supported" >&6; }
   15297 		if test "$supported" = "yes" ; then
   15298 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15299 			found="yes"
   15300 		fi
   15301 	fi
   15302 
   15303 
   15304 
   15305 
   15306 
   15307 
   15308 
   15309 
   15310 
   15311 
   15312 
   15313 
   15314 
   15315 
   15316 
   15317 xorg_testset_save_CFLAGS="$CFLAGS"
   15318 
   15319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15324   $as_echo_n "(cached) " >&6
   15325 else
   15326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15327 /* end confdefs.h.  */
   15328 int i;
   15329 _ACEOF
   15330 if ac_fn_c_try_compile "$LINENO"; then :
   15331   xorg_cv_cc_flag_unknown_warning_option=yes
   15332 else
   15333   xorg_cv_cc_flag_unknown_warning_option=no
   15334 fi
   15335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15336 fi
   15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15340 	CFLAGS="$xorg_testset_save_CFLAGS"
   15341 fi
   15342 
   15343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15346 	fi
   15347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15351   $as_echo_n "(cached) " >&6
   15352 else
   15353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15354 /* end confdefs.h.  */
   15355 int i;
   15356 _ACEOF
   15357 if ac_fn_c_try_compile "$LINENO"; then :
   15358   xorg_cv_cc_flag_unused_command_line_argument=yes
   15359 else
   15360   xorg_cv_cc_flag_unused_command_line_argument=no
   15361 fi
   15362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15363 fi
   15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15367 	CFLAGS="$xorg_testset_save_CFLAGS"
   15368 fi
   15369 
   15370 found="no"
   15371 
   15372 	if test $found = "no" ; then
   15373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15375 		fi
   15376 
   15377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15379 		fi
   15380 
   15381 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15382 
   15383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15384 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15385 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15386 		if eval \${$cacheid+:} false; then :
   15387   $as_echo_n "(cached) " >&6
   15388 else
   15389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15390 /* end confdefs.h.  */
   15391 int i;
   15392 int
   15393 main ()
   15394 {
   15395 
   15396   ;
   15397   return 0;
   15398 }
   15399 _ACEOF
   15400 if ac_fn_c_try_link "$LINENO"; then :
   15401   eval $cacheid=yes
   15402 else
   15403   eval $cacheid=no
   15404 fi
   15405 rm -f core conftest.err conftest.$ac_objext \
   15406     conftest$ac_exeext conftest.$ac_ext
   15407 fi
   15408 
   15409 
   15410 		CFLAGS="$xorg_testset_save_CFLAGS"
   15411 
   15412 		eval supported=\$$cacheid
   15413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15414 $as_echo "$supported" >&6; }
   15415 		if test "$supported" = "yes" ; then
   15416 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15417 			found="yes"
   15418 		fi
   15419 	fi
   15420 
   15421 	if test $found = "no" ; then
   15422 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15423 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15424 		fi
   15425 
   15426 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15427 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15428 		fi
   15429 
   15430 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15431 
   15432 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15433 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15434 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15435 		if eval \${$cacheid+:} false; then :
   15436   $as_echo_n "(cached) " >&6
   15437 else
   15438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15439 /* end confdefs.h.  */
   15440 int i;
   15441 int
   15442 main ()
   15443 {
   15444 
   15445   ;
   15446   return 0;
   15447 }
   15448 _ACEOF
   15449 if ac_fn_c_try_link "$LINENO"; then :
   15450   eval $cacheid=yes
   15451 else
   15452   eval $cacheid=no
   15453 fi
   15454 rm -f core conftest.err conftest.$ac_objext \
   15455     conftest$ac_exeext conftest.$ac_ext
   15456 fi
   15457 
   15458 
   15459 		CFLAGS="$xorg_testset_save_CFLAGS"
   15460 
   15461 		eval supported=\$$cacheid
   15462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15463 $as_echo "$supported" >&6; }
   15464 		if test "$supported" = "yes" ; then
   15465 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15466 			found="yes"
   15467 		fi
   15468 	fi
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 xorg_testset_save_CFLAGS="$CFLAGS"
   15485 
   15486 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15487 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15489 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15490 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15491   $as_echo_n "(cached) " >&6
   15492 else
   15493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15494 /* end confdefs.h.  */
   15495 int i;
   15496 _ACEOF
   15497 if ac_fn_c_try_compile "$LINENO"; then :
   15498   xorg_cv_cc_flag_unknown_warning_option=yes
   15499 else
   15500   xorg_cv_cc_flag_unknown_warning_option=no
   15501 fi
   15502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15503 fi
   15504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15505 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15506 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15507 	CFLAGS="$xorg_testset_save_CFLAGS"
   15508 fi
   15509 
   15510 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15511 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15512 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15513 	fi
   15514 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15516 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15517 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15518   $as_echo_n "(cached) " >&6
   15519 else
   15520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15521 /* end confdefs.h.  */
   15522 int i;
   15523 _ACEOF
   15524 if ac_fn_c_try_compile "$LINENO"; then :
   15525   xorg_cv_cc_flag_unused_command_line_argument=yes
   15526 else
   15527   xorg_cv_cc_flag_unused_command_line_argument=no
   15528 fi
   15529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15530 fi
   15531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15532 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15533 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15534 	CFLAGS="$xorg_testset_save_CFLAGS"
   15535 fi
   15536 
   15537 found="no"
   15538 
   15539 	if test $found = "no" ; then
   15540 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15541 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15542 		fi
   15543 
   15544 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15545 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15546 		fi
   15547 
   15548 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15549 
   15550 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15551 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15552 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15553 		if eval \${$cacheid+:} false; then :
   15554   $as_echo_n "(cached) " >&6
   15555 else
   15556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15557 /* end confdefs.h.  */
   15558 int i;
   15559 int
   15560 main ()
   15561 {
   15562 
   15563   ;
   15564   return 0;
   15565 }
   15566 _ACEOF
   15567 if ac_fn_c_try_link "$LINENO"; then :
   15568   eval $cacheid=yes
   15569 else
   15570   eval $cacheid=no
   15571 fi
   15572 rm -f core conftest.err conftest.$ac_objext \
   15573     conftest$ac_exeext conftest.$ac_ext
   15574 fi
   15575 
   15576 
   15577 		CFLAGS="$xorg_testset_save_CFLAGS"
   15578 
   15579 		eval supported=\$$cacheid
   15580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15581 $as_echo "$supported" >&6; }
   15582 		if test "$supported" = "yes" ; then
   15583 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15584 			found="yes"
   15585 		fi
   15586 	fi
   15587 
   15588  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15589 else
   15590 { $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
   15591 $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;}
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 xorg_testset_save_CFLAGS="$CFLAGS"
   15606 
   15607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15610 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15611 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15612   $as_echo_n "(cached) " >&6
   15613 else
   15614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15615 /* end confdefs.h.  */
   15616 int i;
   15617 _ACEOF
   15618 if ac_fn_c_try_compile "$LINENO"; then :
   15619   xorg_cv_cc_flag_unknown_warning_option=yes
   15620 else
   15621   xorg_cv_cc_flag_unknown_warning_option=no
   15622 fi
   15623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15624 fi
   15625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15626 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15628 	CFLAGS="$xorg_testset_save_CFLAGS"
   15629 fi
   15630 
   15631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15634 	fi
   15635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15637 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15638 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15639   $as_echo_n "(cached) " >&6
   15640 else
   15641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15642 /* end confdefs.h.  */
   15643 int i;
   15644 _ACEOF
   15645 if ac_fn_c_try_compile "$LINENO"; then :
   15646   xorg_cv_cc_flag_unused_command_line_argument=yes
   15647 else
   15648   xorg_cv_cc_flag_unused_command_line_argument=no
   15649 fi
   15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15651 fi
   15652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15653 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15655 	CFLAGS="$xorg_testset_save_CFLAGS"
   15656 fi
   15657 
   15658 found="no"
   15659 
   15660 	if test $found = "no" ; then
   15661 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15663 		fi
   15664 
   15665 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15667 		fi
   15668 
   15669 		CFLAGS="$CFLAGS -Wimplicit"
   15670 
   15671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15672 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15673 		cacheid=xorg_cv_cc_flag__Wimplicit
   15674 		if eval \${$cacheid+:} false; then :
   15675   $as_echo_n "(cached) " >&6
   15676 else
   15677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15678 /* end confdefs.h.  */
   15679 int i;
   15680 int
   15681 main ()
   15682 {
   15683 
   15684   ;
   15685   return 0;
   15686 }
   15687 _ACEOF
   15688 if ac_fn_c_try_link "$LINENO"; then :
   15689   eval $cacheid=yes
   15690 else
   15691   eval $cacheid=no
   15692 fi
   15693 rm -f core conftest.err conftest.$ac_objext \
   15694     conftest$ac_exeext conftest.$ac_ext
   15695 fi
   15696 
   15697 
   15698 		CFLAGS="$xorg_testset_save_CFLAGS"
   15699 
   15700 		eval supported=\$$cacheid
   15701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15702 $as_echo "$supported" >&6; }
   15703 		if test "$supported" = "yes" ; then
   15704 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15705 			found="yes"
   15706 		fi
   15707 	fi
   15708 
   15709 
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 
   15723 xorg_testset_save_CFLAGS="$CFLAGS"
   15724 
   15725 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15726 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15728 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15729 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15730   $as_echo_n "(cached) " >&6
   15731 else
   15732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15733 /* end confdefs.h.  */
   15734 int i;
   15735 _ACEOF
   15736 if ac_fn_c_try_compile "$LINENO"; then :
   15737   xorg_cv_cc_flag_unknown_warning_option=yes
   15738 else
   15739   xorg_cv_cc_flag_unknown_warning_option=no
   15740 fi
   15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15742 fi
   15743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15744 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15745 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15746 	CFLAGS="$xorg_testset_save_CFLAGS"
   15747 fi
   15748 
   15749 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15750 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15751 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15752 	fi
   15753 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15754 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15755 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15756 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15757   $as_echo_n "(cached) " >&6
   15758 else
   15759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15760 /* end confdefs.h.  */
   15761 int i;
   15762 _ACEOF
   15763 if ac_fn_c_try_compile "$LINENO"; then :
   15764   xorg_cv_cc_flag_unused_command_line_argument=yes
   15765 else
   15766   xorg_cv_cc_flag_unused_command_line_argument=no
   15767 fi
   15768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15769 fi
   15770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15771 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15772 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15773 	CFLAGS="$xorg_testset_save_CFLAGS"
   15774 fi
   15775 
   15776 found="no"
   15777 
   15778 	if test $found = "no" ; then
   15779 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15780 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15781 		fi
   15782 
   15783 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15784 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15785 		fi
   15786 
   15787 		CFLAGS="$CFLAGS -Wnonnull"
   15788 
   15789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15790 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15791 		cacheid=xorg_cv_cc_flag__Wnonnull
   15792 		if eval \${$cacheid+:} false; then :
   15793   $as_echo_n "(cached) " >&6
   15794 else
   15795   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15796 /* end confdefs.h.  */
   15797 int i;
   15798 int
   15799 main ()
   15800 {
   15801 
   15802   ;
   15803   return 0;
   15804 }
   15805 _ACEOF
   15806 if ac_fn_c_try_link "$LINENO"; then :
   15807   eval $cacheid=yes
   15808 else
   15809   eval $cacheid=no
   15810 fi
   15811 rm -f core conftest.err conftest.$ac_objext \
   15812     conftest$ac_exeext conftest.$ac_ext
   15813 fi
   15814 
   15815 
   15816 		CFLAGS="$xorg_testset_save_CFLAGS"
   15817 
   15818 		eval supported=\$$cacheid
   15819 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15820 $as_echo "$supported" >&6; }
   15821 		if test "$supported" = "yes" ; then
   15822 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15823 			found="yes"
   15824 		fi
   15825 	fi
   15826 
   15827 
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 xorg_testset_save_CFLAGS="$CFLAGS"
   15842 
   15843 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15844 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15846 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15847 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15848   $as_echo_n "(cached) " >&6
   15849 else
   15850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15851 /* end confdefs.h.  */
   15852 int i;
   15853 _ACEOF
   15854 if ac_fn_c_try_compile "$LINENO"; then :
   15855   xorg_cv_cc_flag_unknown_warning_option=yes
   15856 else
   15857   xorg_cv_cc_flag_unknown_warning_option=no
   15858 fi
   15859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15860 fi
   15861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15862 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15863 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15864 	CFLAGS="$xorg_testset_save_CFLAGS"
   15865 fi
   15866 
   15867 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15868 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15869 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15870 	fi
   15871 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15872 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15873 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15874 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15875   $as_echo_n "(cached) " >&6
   15876 else
   15877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15878 /* end confdefs.h.  */
   15879 int i;
   15880 _ACEOF
   15881 if ac_fn_c_try_compile "$LINENO"; then :
   15882   xorg_cv_cc_flag_unused_command_line_argument=yes
   15883 else
   15884   xorg_cv_cc_flag_unused_command_line_argument=no
   15885 fi
   15886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15887 fi
   15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15889 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15890 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15891 	CFLAGS="$xorg_testset_save_CFLAGS"
   15892 fi
   15893 
   15894 found="no"
   15895 
   15896 	if test $found = "no" ; then
   15897 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15898 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15899 		fi
   15900 
   15901 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15902 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15903 		fi
   15904 
   15905 		CFLAGS="$CFLAGS -Winit-self"
   15906 
   15907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15908 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15909 		cacheid=xorg_cv_cc_flag__Winit_self
   15910 		if eval \${$cacheid+:} false; then :
   15911   $as_echo_n "(cached) " >&6
   15912 else
   15913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15914 /* end confdefs.h.  */
   15915 int i;
   15916 int
   15917 main ()
   15918 {
   15919 
   15920   ;
   15921   return 0;
   15922 }
   15923 _ACEOF
   15924 if ac_fn_c_try_link "$LINENO"; then :
   15925   eval $cacheid=yes
   15926 else
   15927   eval $cacheid=no
   15928 fi
   15929 rm -f core conftest.err conftest.$ac_objext \
   15930     conftest$ac_exeext conftest.$ac_ext
   15931 fi
   15932 
   15933 
   15934 		CFLAGS="$xorg_testset_save_CFLAGS"
   15935 
   15936 		eval supported=\$$cacheid
   15937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15938 $as_echo "$supported" >&6; }
   15939 		if test "$supported" = "yes" ; then
   15940 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15941 			found="yes"
   15942 		fi
   15943 	fi
   15944 
   15945 
   15946 
   15947 
   15948 
   15949 
   15950 
   15951 
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 xorg_testset_save_CFLAGS="$CFLAGS"
   15960 
   15961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15966   $as_echo_n "(cached) " >&6
   15967 else
   15968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15969 /* end confdefs.h.  */
   15970 int i;
   15971 _ACEOF
   15972 if ac_fn_c_try_compile "$LINENO"; then :
   15973   xorg_cv_cc_flag_unknown_warning_option=yes
   15974 else
   15975   xorg_cv_cc_flag_unknown_warning_option=no
   15976 fi
   15977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15978 fi
   15979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15982 	CFLAGS="$xorg_testset_save_CFLAGS"
   15983 fi
   15984 
   15985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15988 	fi
   15989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15993   $as_echo_n "(cached) " >&6
   15994 else
   15995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15996 /* end confdefs.h.  */
   15997 int i;
   15998 _ACEOF
   15999 if ac_fn_c_try_compile "$LINENO"; then :
   16000   xorg_cv_cc_flag_unused_command_line_argument=yes
   16001 else
   16002   xorg_cv_cc_flag_unused_command_line_argument=no
   16003 fi
   16004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16005 fi
   16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16009 	CFLAGS="$xorg_testset_save_CFLAGS"
   16010 fi
   16011 
   16012 found="no"
   16013 
   16014 	if test $found = "no" ; then
   16015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16017 		fi
   16018 
   16019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16021 		fi
   16022 
   16023 		CFLAGS="$CFLAGS -Wmain"
   16024 
   16025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16026 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16027 		cacheid=xorg_cv_cc_flag__Wmain
   16028 		if eval \${$cacheid+:} false; then :
   16029   $as_echo_n "(cached) " >&6
   16030 else
   16031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16032 /* end confdefs.h.  */
   16033 int i;
   16034 int
   16035 main ()
   16036 {
   16037 
   16038   ;
   16039   return 0;
   16040 }
   16041 _ACEOF
   16042 if ac_fn_c_try_link "$LINENO"; then :
   16043   eval $cacheid=yes
   16044 else
   16045   eval $cacheid=no
   16046 fi
   16047 rm -f core conftest.err conftest.$ac_objext \
   16048     conftest$ac_exeext conftest.$ac_ext
   16049 fi
   16050 
   16051 
   16052 		CFLAGS="$xorg_testset_save_CFLAGS"
   16053 
   16054 		eval supported=\$$cacheid
   16055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16056 $as_echo "$supported" >&6; }
   16057 		if test "$supported" = "yes" ; then
   16058 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16059 			found="yes"
   16060 		fi
   16061 	fi
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071 
   16072 
   16073 
   16074 
   16075 
   16076 
   16077 xorg_testset_save_CFLAGS="$CFLAGS"
   16078 
   16079 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16080 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16081 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16082 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16083 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16084   $as_echo_n "(cached) " >&6
   16085 else
   16086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16087 /* end confdefs.h.  */
   16088 int i;
   16089 _ACEOF
   16090 if ac_fn_c_try_compile "$LINENO"; then :
   16091   xorg_cv_cc_flag_unknown_warning_option=yes
   16092 else
   16093   xorg_cv_cc_flag_unknown_warning_option=no
   16094 fi
   16095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16096 fi
   16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16098 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16099 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16100 	CFLAGS="$xorg_testset_save_CFLAGS"
   16101 fi
   16102 
   16103 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16104 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16105 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16106 	fi
   16107 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16108 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16109 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16110 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16111   $as_echo_n "(cached) " >&6
   16112 else
   16113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16114 /* end confdefs.h.  */
   16115 int i;
   16116 _ACEOF
   16117 if ac_fn_c_try_compile "$LINENO"; then :
   16118   xorg_cv_cc_flag_unused_command_line_argument=yes
   16119 else
   16120   xorg_cv_cc_flag_unused_command_line_argument=no
   16121 fi
   16122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16123 fi
   16124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16125 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16126 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16127 	CFLAGS="$xorg_testset_save_CFLAGS"
   16128 fi
   16129 
   16130 found="no"
   16131 
   16132 	if test $found = "no" ; then
   16133 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16134 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16135 		fi
   16136 
   16137 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16138 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16139 		fi
   16140 
   16141 		CFLAGS="$CFLAGS -Wmissing-braces"
   16142 
   16143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16144 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16145 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16146 		if eval \${$cacheid+:} false; then :
   16147   $as_echo_n "(cached) " >&6
   16148 else
   16149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16150 /* end confdefs.h.  */
   16151 int i;
   16152 int
   16153 main ()
   16154 {
   16155 
   16156   ;
   16157   return 0;
   16158 }
   16159 _ACEOF
   16160 if ac_fn_c_try_link "$LINENO"; then :
   16161   eval $cacheid=yes
   16162 else
   16163   eval $cacheid=no
   16164 fi
   16165 rm -f core conftest.err conftest.$ac_objext \
   16166     conftest$ac_exeext conftest.$ac_ext
   16167 fi
   16168 
   16169 
   16170 		CFLAGS="$xorg_testset_save_CFLAGS"
   16171 
   16172 		eval supported=\$$cacheid
   16173 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16174 $as_echo "$supported" >&6; }
   16175 		if test "$supported" = "yes" ; then
   16176 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16177 			found="yes"
   16178 		fi
   16179 	fi
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187 
   16188 
   16189 
   16190 
   16191 
   16192 
   16193 
   16194 
   16195 xorg_testset_save_CFLAGS="$CFLAGS"
   16196 
   16197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16200 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16201 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16202   $as_echo_n "(cached) " >&6
   16203 else
   16204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16205 /* end confdefs.h.  */
   16206 int i;
   16207 _ACEOF
   16208 if ac_fn_c_try_compile "$LINENO"; then :
   16209   xorg_cv_cc_flag_unknown_warning_option=yes
   16210 else
   16211   xorg_cv_cc_flag_unknown_warning_option=no
   16212 fi
   16213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16214 fi
   16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16216 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16218 	CFLAGS="$xorg_testset_save_CFLAGS"
   16219 fi
   16220 
   16221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16224 	fi
   16225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16227 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16228 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16229   $as_echo_n "(cached) " >&6
   16230 else
   16231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16232 /* end confdefs.h.  */
   16233 int i;
   16234 _ACEOF
   16235 if ac_fn_c_try_compile "$LINENO"; then :
   16236   xorg_cv_cc_flag_unused_command_line_argument=yes
   16237 else
   16238   xorg_cv_cc_flag_unused_command_line_argument=no
   16239 fi
   16240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16241 fi
   16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16243 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16245 	CFLAGS="$xorg_testset_save_CFLAGS"
   16246 fi
   16247 
   16248 found="no"
   16249 
   16250 	if test $found = "no" ; then
   16251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16253 		fi
   16254 
   16255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16257 		fi
   16258 
   16259 		CFLAGS="$CFLAGS -Wsequence-point"
   16260 
   16261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16262 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16263 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16264 		if eval \${$cacheid+:} false; then :
   16265   $as_echo_n "(cached) " >&6
   16266 else
   16267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16268 /* end confdefs.h.  */
   16269 int i;
   16270 int
   16271 main ()
   16272 {
   16273 
   16274   ;
   16275   return 0;
   16276 }
   16277 _ACEOF
   16278 if ac_fn_c_try_link "$LINENO"; then :
   16279   eval $cacheid=yes
   16280 else
   16281   eval $cacheid=no
   16282 fi
   16283 rm -f core conftest.err conftest.$ac_objext \
   16284     conftest$ac_exeext conftest.$ac_ext
   16285 fi
   16286 
   16287 
   16288 		CFLAGS="$xorg_testset_save_CFLAGS"
   16289 
   16290 		eval supported=\$$cacheid
   16291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16292 $as_echo "$supported" >&6; }
   16293 		if test "$supported" = "yes" ; then
   16294 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16295 			found="yes"
   16296 		fi
   16297 	fi
   16298 
   16299 
   16300 
   16301 
   16302 
   16303 
   16304 
   16305 
   16306 
   16307 
   16308 
   16309 
   16310 
   16311 
   16312 
   16313 xorg_testset_save_CFLAGS="$CFLAGS"
   16314 
   16315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16318 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16319 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16320   $as_echo_n "(cached) " >&6
   16321 else
   16322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16323 /* end confdefs.h.  */
   16324 int i;
   16325 _ACEOF
   16326 if ac_fn_c_try_compile "$LINENO"; then :
   16327   xorg_cv_cc_flag_unknown_warning_option=yes
   16328 else
   16329   xorg_cv_cc_flag_unknown_warning_option=no
   16330 fi
   16331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16332 fi
   16333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16334 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16336 	CFLAGS="$xorg_testset_save_CFLAGS"
   16337 fi
   16338 
   16339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16342 	fi
   16343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16345 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16346 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16347   $as_echo_n "(cached) " >&6
   16348 else
   16349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16350 /* end confdefs.h.  */
   16351 int i;
   16352 _ACEOF
   16353 if ac_fn_c_try_compile "$LINENO"; then :
   16354   xorg_cv_cc_flag_unused_command_line_argument=yes
   16355 else
   16356   xorg_cv_cc_flag_unused_command_line_argument=no
   16357 fi
   16358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16359 fi
   16360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16361 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16363 	CFLAGS="$xorg_testset_save_CFLAGS"
   16364 fi
   16365 
   16366 found="no"
   16367 
   16368 	if test $found = "no" ; then
   16369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16371 		fi
   16372 
   16373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16375 		fi
   16376 
   16377 		CFLAGS="$CFLAGS -Wreturn-type"
   16378 
   16379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16380 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16381 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16382 		if eval \${$cacheid+:} false; then :
   16383   $as_echo_n "(cached) " >&6
   16384 else
   16385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16386 /* end confdefs.h.  */
   16387 int i;
   16388 int
   16389 main ()
   16390 {
   16391 
   16392   ;
   16393   return 0;
   16394 }
   16395 _ACEOF
   16396 if ac_fn_c_try_link "$LINENO"; then :
   16397   eval $cacheid=yes
   16398 else
   16399   eval $cacheid=no
   16400 fi
   16401 rm -f core conftest.err conftest.$ac_objext \
   16402     conftest$ac_exeext conftest.$ac_ext
   16403 fi
   16404 
   16405 
   16406 		CFLAGS="$xorg_testset_save_CFLAGS"
   16407 
   16408 		eval supported=\$$cacheid
   16409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16410 $as_echo "$supported" >&6; }
   16411 		if test "$supported" = "yes" ; then
   16412 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16413 			found="yes"
   16414 		fi
   16415 	fi
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 xorg_testset_save_CFLAGS="$CFLAGS"
   16432 
   16433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16436 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16437 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16438   $as_echo_n "(cached) " >&6
   16439 else
   16440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16441 /* end confdefs.h.  */
   16442 int i;
   16443 _ACEOF
   16444 if ac_fn_c_try_compile "$LINENO"; then :
   16445   xorg_cv_cc_flag_unknown_warning_option=yes
   16446 else
   16447   xorg_cv_cc_flag_unknown_warning_option=no
   16448 fi
   16449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16450 fi
   16451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16452 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16454 	CFLAGS="$xorg_testset_save_CFLAGS"
   16455 fi
   16456 
   16457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16460 	fi
   16461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16463 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16464 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16465   $as_echo_n "(cached) " >&6
   16466 else
   16467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16468 /* end confdefs.h.  */
   16469 int i;
   16470 _ACEOF
   16471 if ac_fn_c_try_compile "$LINENO"; then :
   16472   xorg_cv_cc_flag_unused_command_line_argument=yes
   16473 else
   16474   xorg_cv_cc_flag_unused_command_line_argument=no
   16475 fi
   16476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16477 fi
   16478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16479 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16481 	CFLAGS="$xorg_testset_save_CFLAGS"
   16482 fi
   16483 
   16484 found="no"
   16485 
   16486 	if test $found = "no" ; then
   16487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16489 		fi
   16490 
   16491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16493 		fi
   16494 
   16495 		CFLAGS="$CFLAGS -Wtrigraphs"
   16496 
   16497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16498 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16499 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16500 		if eval \${$cacheid+:} false; then :
   16501   $as_echo_n "(cached) " >&6
   16502 else
   16503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16504 /* end confdefs.h.  */
   16505 int i;
   16506 int
   16507 main ()
   16508 {
   16509 
   16510   ;
   16511   return 0;
   16512 }
   16513 _ACEOF
   16514 if ac_fn_c_try_link "$LINENO"; then :
   16515   eval $cacheid=yes
   16516 else
   16517   eval $cacheid=no
   16518 fi
   16519 rm -f core conftest.err conftest.$ac_objext \
   16520     conftest$ac_exeext conftest.$ac_ext
   16521 fi
   16522 
   16523 
   16524 		CFLAGS="$xorg_testset_save_CFLAGS"
   16525 
   16526 		eval supported=\$$cacheid
   16527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16528 $as_echo "$supported" >&6; }
   16529 		if test "$supported" = "yes" ; then
   16530 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16531 			found="yes"
   16532 		fi
   16533 	fi
   16534 
   16535 
   16536 
   16537 
   16538 
   16539 
   16540 
   16541 
   16542 
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 xorg_testset_save_CFLAGS="$CFLAGS"
   16550 
   16551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16554 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16555 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16556   $as_echo_n "(cached) " >&6
   16557 else
   16558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16559 /* end confdefs.h.  */
   16560 int i;
   16561 _ACEOF
   16562 if ac_fn_c_try_compile "$LINENO"; then :
   16563   xorg_cv_cc_flag_unknown_warning_option=yes
   16564 else
   16565   xorg_cv_cc_flag_unknown_warning_option=no
   16566 fi
   16567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16568 fi
   16569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16570 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16572 	CFLAGS="$xorg_testset_save_CFLAGS"
   16573 fi
   16574 
   16575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16578 	fi
   16579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16581 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16582 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16583   $as_echo_n "(cached) " >&6
   16584 else
   16585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16586 /* end confdefs.h.  */
   16587 int i;
   16588 _ACEOF
   16589 if ac_fn_c_try_compile "$LINENO"; then :
   16590   xorg_cv_cc_flag_unused_command_line_argument=yes
   16591 else
   16592   xorg_cv_cc_flag_unused_command_line_argument=no
   16593 fi
   16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16595 fi
   16596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16597 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16599 	CFLAGS="$xorg_testset_save_CFLAGS"
   16600 fi
   16601 
   16602 found="no"
   16603 
   16604 	if test $found = "no" ; then
   16605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16607 		fi
   16608 
   16609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16611 		fi
   16612 
   16613 		CFLAGS="$CFLAGS -Warray-bounds"
   16614 
   16615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16616 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16617 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16618 		if eval \${$cacheid+:} false; then :
   16619   $as_echo_n "(cached) " >&6
   16620 else
   16621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16622 /* end confdefs.h.  */
   16623 int i;
   16624 int
   16625 main ()
   16626 {
   16627 
   16628   ;
   16629   return 0;
   16630 }
   16631 _ACEOF
   16632 if ac_fn_c_try_link "$LINENO"; then :
   16633   eval $cacheid=yes
   16634 else
   16635   eval $cacheid=no
   16636 fi
   16637 rm -f core conftest.err conftest.$ac_objext \
   16638     conftest$ac_exeext conftest.$ac_ext
   16639 fi
   16640 
   16641 
   16642 		CFLAGS="$xorg_testset_save_CFLAGS"
   16643 
   16644 		eval supported=\$$cacheid
   16645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16646 $as_echo "$supported" >&6; }
   16647 		if test "$supported" = "yes" ; then
   16648 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16649 			found="yes"
   16650 		fi
   16651 	fi
   16652 
   16653 
   16654 
   16655 
   16656 
   16657 
   16658 
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 xorg_testset_save_CFLAGS="$CFLAGS"
   16668 
   16669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16674   $as_echo_n "(cached) " >&6
   16675 else
   16676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16677 /* end confdefs.h.  */
   16678 int i;
   16679 _ACEOF
   16680 if ac_fn_c_try_compile "$LINENO"; then :
   16681   xorg_cv_cc_flag_unknown_warning_option=yes
   16682 else
   16683   xorg_cv_cc_flag_unknown_warning_option=no
   16684 fi
   16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16686 fi
   16687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16690 	CFLAGS="$xorg_testset_save_CFLAGS"
   16691 fi
   16692 
   16693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16696 	fi
   16697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16701   $as_echo_n "(cached) " >&6
   16702 else
   16703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16704 /* end confdefs.h.  */
   16705 int i;
   16706 _ACEOF
   16707 if ac_fn_c_try_compile "$LINENO"; then :
   16708   xorg_cv_cc_flag_unused_command_line_argument=yes
   16709 else
   16710   xorg_cv_cc_flag_unused_command_line_argument=no
   16711 fi
   16712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16713 fi
   16714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16717 	CFLAGS="$xorg_testset_save_CFLAGS"
   16718 fi
   16719 
   16720 found="no"
   16721 
   16722 	if test $found = "no" ; then
   16723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16725 		fi
   16726 
   16727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16729 		fi
   16730 
   16731 		CFLAGS="$CFLAGS -Wwrite-strings"
   16732 
   16733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16734 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16735 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16736 		if eval \${$cacheid+:} false; then :
   16737   $as_echo_n "(cached) " >&6
   16738 else
   16739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16740 /* end confdefs.h.  */
   16741 int i;
   16742 int
   16743 main ()
   16744 {
   16745 
   16746   ;
   16747   return 0;
   16748 }
   16749 _ACEOF
   16750 if ac_fn_c_try_link "$LINENO"; then :
   16751   eval $cacheid=yes
   16752 else
   16753   eval $cacheid=no
   16754 fi
   16755 rm -f core conftest.err conftest.$ac_objext \
   16756     conftest$ac_exeext conftest.$ac_ext
   16757 fi
   16758 
   16759 
   16760 		CFLAGS="$xorg_testset_save_CFLAGS"
   16761 
   16762 		eval supported=\$$cacheid
   16763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16764 $as_echo "$supported" >&6; }
   16765 		if test "$supported" = "yes" ; then
   16766 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16767 			found="yes"
   16768 		fi
   16769 	fi
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 xorg_testset_save_CFLAGS="$CFLAGS"
   16786 
   16787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16791 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16792   $as_echo_n "(cached) " >&6
   16793 else
   16794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16795 /* end confdefs.h.  */
   16796 int i;
   16797 _ACEOF
   16798 if ac_fn_c_try_compile "$LINENO"; then :
   16799   xorg_cv_cc_flag_unknown_warning_option=yes
   16800 else
   16801   xorg_cv_cc_flag_unknown_warning_option=no
   16802 fi
   16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16804 fi
   16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16808 	CFLAGS="$xorg_testset_save_CFLAGS"
   16809 fi
   16810 
   16811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16814 	fi
   16815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16819   $as_echo_n "(cached) " >&6
   16820 else
   16821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16822 /* end confdefs.h.  */
   16823 int i;
   16824 _ACEOF
   16825 if ac_fn_c_try_compile "$LINENO"; then :
   16826   xorg_cv_cc_flag_unused_command_line_argument=yes
   16827 else
   16828   xorg_cv_cc_flag_unused_command_line_argument=no
   16829 fi
   16830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16831 fi
   16832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16835 	CFLAGS="$xorg_testset_save_CFLAGS"
   16836 fi
   16837 
   16838 found="no"
   16839 
   16840 	if test $found = "no" ; then
   16841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16843 		fi
   16844 
   16845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16847 		fi
   16848 
   16849 		CFLAGS="$CFLAGS -Waddress"
   16850 
   16851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16852 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16853 		cacheid=xorg_cv_cc_flag__Waddress
   16854 		if eval \${$cacheid+:} false; then :
   16855   $as_echo_n "(cached) " >&6
   16856 else
   16857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16858 /* end confdefs.h.  */
   16859 int i;
   16860 int
   16861 main ()
   16862 {
   16863 
   16864   ;
   16865   return 0;
   16866 }
   16867 _ACEOF
   16868 if ac_fn_c_try_link "$LINENO"; then :
   16869   eval $cacheid=yes
   16870 else
   16871   eval $cacheid=no
   16872 fi
   16873 rm -f core conftest.err conftest.$ac_objext \
   16874     conftest$ac_exeext conftest.$ac_ext
   16875 fi
   16876 
   16877 
   16878 		CFLAGS="$xorg_testset_save_CFLAGS"
   16879 
   16880 		eval supported=\$$cacheid
   16881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16882 $as_echo "$supported" >&6; }
   16883 		if test "$supported" = "yes" ; then
   16884 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16885 			found="yes"
   16886 		fi
   16887 	fi
   16888 
   16889 
   16890 
   16891 
   16892 
   16893 
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 
   16902 
   16903 xorg_testset_save_CFLAGS="$CFLAGS"
   16904 
   16905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16910   $as_echo_n "(cached) " >&6
   16911 else
   16912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16913 /* end confdefs.h.  */
   16914 int i;
   16915 _ACEOF
   16916 if ac_fn_c_try_compile "$LINENO"; then :
   16917   xorg_cv_cc_flag_unknown_warning_option=yes
   16918 else
   16919   xorg_cv_cc_flag_unknown_warning_option=no
   16920 fi
   16921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16922 fi
   16923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16926 	CFLAGS="$xorg_testset_save_CFLAGS"
   16927 fi
   16928 
   16929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16932 	fi
   16933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16937   $as_echo_n "(cached) " >&6
   16938 else
   16939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16940 /* end confdefs.h.  */
   16941 int i;
   16942 _ACEOF
   16943 if ac_fn_c_try_compile "$LINENO"; then :
   16944   xorg_cv_cc_flag_unused_command_line_argument=yes
   16945 else
   16946   xorg_cv_cc_flag_unused_command_line_argument=no
   16947 fi
   16948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16949 fi
   16950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16953 	CFLAGS="$xorg_testset_save_CFLAGS"
   16954 fi
   16955 
   16956 found="no"
   16957 
   16958 	if test $found = "no" ; then
   16959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16961 		fi
   16962 
   16963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16965 		fi
   16966 
   16967 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16968 
   16969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16970 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16971 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16972 		if eval \${$cacheid+:} false; then :
   16973   $as_echo_n "(cached) " >&6
   16974 else
   16975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16976 /* end confdefs.h.  */
   16977 int i;
   16978 int
   16979 main ()
   16980 {
   16981 
   16982   ;
   16983   return 0;
   16984 }
   16985 _ACEOF
   16986 if ac_fn_c_try_link "$LINENO"; then :
   16987   eval $cacheid=yes
   16988 else
   16989   eval $cacheid=no
   16990 fi
   16991 rm -f core conftest.err conftest.$ac_objext \
   16992     conftest$ac_exeext conftest.$ac_ext
   16993 fi
   16994 
   16995 
   16996 		CFLAGS="$xorg_testset_save_CFLAGS"
   16997 
   16998 		eval supported=\$$cacheid
   16999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17000 $as_echo "$supported" >&6; }
   17001 		if test "$supported" = "yes" ; then
   17002 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17003 			found="yes"
   17004 		fi
   17005 	fi
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 xorg_testset_save_CFLAGS="$CFLAGS"
   17022 
   17023 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17024 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17025 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17026 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17027 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17028   $as_echo_n "(cached) " >&6
   17029 else
   17030   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17031 /* end confdefs.h.  */
   17032 int i;
   17033 _ACEOF
   17034 if ac_fn_c_try_compile "$LINENO"; then :
   17035   xorg_cv_cc_flag_unknown_warning_option=yes
   17036 else
   17037   xorg_cv_cc_flag_unknown_warning_option=no
   17038 fi
   17039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17040 fi
   17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17042 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17043 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17044 	CFLAGS="$xorg_testset_save_CFLAGS"
   17045 fi
   17046 
   17047 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17048 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17049 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17050 	fi
   17051 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17052 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17053 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17054 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17055   $as_echo_n "(cached) " >&6
   17056 else
   17057   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17058 /* end confdefs.h.  */
   17059 int i;
   17060 _ACEOF
   17061 if ac_fn_c_try_compile "$LINENO"; then :
   17062   xorg_cv_cc_flag_unused_command_line_argument=yes
   17063 else
   17064   xorg_cv_cc_flag_unused_command_line_argument=no
   17065 fi
   17066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17067 fi
   17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17069 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17070 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17071 	CFLAGS="$xorg_testset_save_CFLAGS"
   17072 fi
   17073 
   17074 found="no"
   17075 
   17076 	if test $found = "no" ; then
   17077 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17078 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17079 		fi
   17080 
   17081 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17082 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17083 		fi
   17084 
   17085 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17086 
   17087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17088 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17089 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17090 		if eval \${$cacheid+:} false; then :
   17091   $as_echo_n "(cached) " >&6
   17092 else
   17093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17094 /* end confdefs.h.  */
   17095 int i;
   17096 int
   17097 main ()
   17098 {
   17099 
   17100   ;
   17101   return 0;
   17102 }
   17103 _ACEOF
   17104 if ac_fn_c_try_link "$LINENO"; then :
   17105   eval $cacheid=yes
   17106 else
   17107   eval $cacheid=no
   17108 fi
   17109 rm -f core conftest.err conftest.$ac_objext \
   17110     conftest$ac_exeext conftest.$ac_ext
   17111 fi
   17112 
   17113 
   17114 		CFLAGS="$xorg_testset_save_CFLAGS"
   17115 
   17116 		eval supported=\$$cacheid
   17117 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17118 $as_echo "$supported" >&6; }
   17119 		if test "$supported" = "yes" ; then
   17120 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17121 			found="yes"
   17122 		fi
   17123 	fi
   17124 
   17125 
   17126 fi
   17127 
   17128 
   17129 
   17130 
   17131 
   17132 
   17133 
   17134 		CWARNFLAGS="$BASE_CFLAGS"
   17135 		if  test "x$GCC" = xyes ; then
   17136 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17137 		fi
   17138 
   17139 
   17140 
   17141 
   17142 
   17143 
   17144 
   17145 
   17146 # Check whether --enable-strict-compilation was given.
   17147 if test "${enable_strict_compilation+set}" = set; then :
   17148   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17149 else
   17150   STRICT_COMPILE=no
   17151 fi
   17152 
   17153 
   17154 
   17155 
   17156 
   17157 
   17158 STRICT_CFLAGS=""
   17159 
   17160 
   17161 
   17162 
   17163 
   17164 
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 xorg_testset_save_CFLAGS="$CFLAGS"
   17173 
   17174 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17175 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17176 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17177 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17178 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17179   $as_echo_n "(cached) " >&6
   17180 else
   17181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17182 /* end confdefs.h.  */
   17183 int i;
   17184 _ACEOF
   17185 if ac_fn_c_try_compile "$LINENO"; then :
   17186   xorg_cv_cc_flag_unknown_warning_option=yes
   17187 else
   17188   xorg_cv_cc_flag_unknown_warning_option=no
   17189 fi
   17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17191 fi
   17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17193 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17194 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17195 	CFLAGS="$xorg_testset_save_CFLAGS"
   17196 fi
   17197 
   17198 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17199 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17200 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17201 	fi
   17202 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17204 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17205 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17206   $as_echo_n "(cached) " >&6
   17207 else
   17208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17209 /* end confdefs.h.  */
   17210 int i;
   17211 _ACEOF
   17212 if ac_fn_c_try_compile "$LINENO"; then :
   17213   xorg_cv_cc_flag_unused_command_line_argument=yes
   17214 else
   17215   xorg_cv_cc_flag_unused_command_line_argument=no
   17216 fi
   17217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17218 fi
   17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17220 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17221 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17222 	CFLAGS="$xorg_testset_save_CFLAGS"
   17223 fi
   17224 
   17225 found="no"
   17226 
   17227 	if test $found = "no" ; then
   17228 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17229 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17230 		fi
   17231 
   17232 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17233 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17234 		fi
   17235 
   17236 		CFLAGS="$CFLAGS -pedantic"
   17237 
   17238 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17239 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17240 		cacheid=xorg_cv_cc_flag__pedantic
   17241 		if eval \${$cacheid+:} false; then :
   17242   $as_echo_n "(cached) " >&6
   17243 else
   17244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17245 /* end confdefs.h.  */
   17246 int i;
   17247 int
   17248 main ()
   17249 {
   17250 
   17251   ;
   17252   return 0;
   17253 }
   17254 _ACEOF
   17255 if ac_fn_c_try_link "$LINENO"; then :
   17256   eval $cacheid=yes
   17257 else
   17258   eval $cacheid=no
   17259 fi
   17260 rm -f core conftest.err conftest.$ac_objext \
   17261     conftest$ac_exeext conftest.$ac_ext
   17262 fi
   17263 
   17264 
   17265 		CFLAGS="$xorg_testset_save_CFLAGS"
   17266 
   17267 		eval supported=\$$cacheid
   17268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17269 $as_echo "$supported" >&6; }
   17270 		if test "$supported" = "yes" ; then
   17271 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17272 			found="yes"
   17273 		fi
   17274 	fi
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 xorg_testset_save_CFLAGS="$CFLAGS"
   17291 
   17292 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17293 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17294 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17295 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17296 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17297   $as_echo_n "(cached) " >&6
   17298 else
   17299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17300 /* end confdefs.h.  */
   17301 int i;
   17302 _ACEOF
   17303 if ac_fn_c_try_compile "$LINENO"; then :
   17304   xorg_cv_cc_flag_unknown_warning_option=yes
   17305 else
   17306   xorg_cv_cc_flag_unknown_warning_option=no
   17307 fi
   17308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17309 fi
   17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17311 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17312 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17313 	CFLAGS="$xorg_testset_save_CFLAGS"
   17314 fi
   17315 
   17316 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17317 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17318 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17319 	fi
   17320 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17322 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17323 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17324   $as_echo_n "(cached) " >&6
   17325 else
   17326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17327 /* end confdefs.h.  */
   17328 int i;
   17329 _ACEOF
   17330 if ac_fn_c_try_compile "$LINENO"; then :
   17331   xorg_cv_cc_flag_unused_command_line_argument=yes
   17332 else
   17333   xorg_cv_cc_flag_unused_command_line_argument=no
   17334 fi
   17335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17336 fi
   17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17338 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17339 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17340 	CFLAGS="$xorg_testset_save_CFLAGS"
   17341 fi
   17342 
   17343 found="no"
   17344 
   17345 	if test $found = "no" ; then
   17346 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17347 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17348 		fi
   17349 
   17350 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17351 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17352 		fi
   17353 
   17354 		CFLAGS="$CFLAGS -Werror"
   17355 
   17356 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17357 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17358 		cacheid=xorg_cv_cc_flag__Werror
   17359 		if eval \${$cacheid+:} false; then :
   17360   $as_echo_n "(cached) " >&6
   17361 else
   17362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17363 /* end confdefs.h.  */
   17364 int i;
   17365 int
   17366 main ()
   17367 {
   17368 
   17369   ;
   17370   return 0;
   17371 }
   17372 _ACEOF
   17373 if ac_fn_c_try_link "$LINENO"; then :
   17374   eval $cacheid=yes
   17375 else
   17376   eval $cacheid=no
   17377 fi
   17378 rm -f core conftest.err conftest.$ac_objext \
   17379     conftest$ac_exeext conftest.$ac_ext
   17380 fi
   17381 
   17382 
   17383 		CFLAGS="$xorg_testset_save_CFLAGS"
   17384 
   17385 		eval supported=\$$cacheid
   17386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17387 $as_echo "$supported" >&6; }
   17388 		if test "$supported" = "yes" ; then
   17389 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17390 			found="yes"
   17391 		fi
   17392 	fi
   17393 
   17394 	if test $found = "no" ; then
   17395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17397 		fi
   17398 
   17399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17401 		fi
   17402 
   17403 		CFLAGS="$CFLAGS -errwarn"
   17404 
   17405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17406 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17407 		cacheid=xorg_cv_cc_flag__errwarn
   17408 		if eval \${$cacheid+:} false; then :
   17409   $as_echo_n "(cached) " >&6
   17410 else
   17411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17412 /* end confdefs.h.  */
   17413 int i;
   17414 int
   17415 main ()
   17416 {
   17417 
   17418   ;
   17419   return 0;
   17420 }
   17421 _ACEOF
   17422 if ac_fn_c_try_link "$LINENO"; then :
   17423   eval $cacheid=yes
   17424 else
   17425   eval $cacheid=no
   17426 fi
   17427 rm -f core conftest.err conftest.$ac_objext \
   17428     conftest$ac_exeext conftest.$ac_ext
   17429 fi
   17430 
   17431 
   17432 		CFLAGS="$xorg_testset_save_CFLAGS"
   17433 
   17434 		eval supported=\$$cacheid
   17435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17436 $as_echo "$supported" >&6; }
   17437 		if test "$supported" = "yes" ; then
   17438 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17439 			found="yes"
   17440 		fi
   17441 	fi
   17442 
   17443 
   17444 
   17445 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17446 # activate it with -Werror, so we add it here explicitly.
   17447 
   17448 
   17449 
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 
   17460 xorg_testset_save_CFLAGS="$CFLAGS"
   17461 
   17462 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17465 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17466 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17467   $as_echo_n "(cached) " >&6
   17468 else
   17469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17470 /* end confdefs.h.  */
   17471 int i;
   17472 _ACEOF
   17473 if ac_fn_c_try_compile "$LINENO"; then :
   17474   xorg_cv_cc_flag_unknown_warning_option=yes
   17475 else
   17476   xorg_cv_cc_flag_unknown_warning_option=no
   17477 fi
   17478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17479 fi
   17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17481 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17483 	CFLAGS="$xorg_testset_save_CFLAGS"
   17484 fi
   17485 
   17486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17489 	fi
   17490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17492 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17493 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17494   $as_echo_n "(cached) " >&6
   17495 else
   17496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17497 /* end confdefs.h.  */
   17498 int i;
   17499 _ACEOF
   17500 if ac_fn_c_try_compile "$LINENO"; then :
   17501   xorg_cv_cc_flag_unused_command_line_argument=yes
   17502 else
   17503   xorg_cv_cc_flag_unused_command_line_argument=no
   17504 fi
   17505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17506 fi
   17507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17508 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17509 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17510 	CFLAGS="$xorg_testset_save_CFLAGS"
   17511 fi
   17512 
   17513 found="no"
   17514 
   17515 	if test $found = "no" ; then
   17516 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17518 		fi
   17519 
   17520 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17522 		fi
   17523 
   17524 		CFLAGS="$CFLAGS -Werror=attributes"
   17525 
   17526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17527 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17528 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17529 		if eval \${$cacheid+:} false; then :
   17530   $as_echo_n "(cached) " >&6
   17531 else
   17532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17533 /* end confdefs.h.  */
   17534 int i;
   17535 int
   17536 main ()
   17537 {
   17538 
   17539   ;
   17540   return 0;
   17541 }
   17542 _ACEOF
   17543 if ac_fn_c_try_link "$LINENO"; then :
   17544   eval $cacheid=yes
   17545 else
   17546   eval $cacheid=no
   17547 fi
   17548 rm -f core conftest.err conftest.$ac_objext \
   17549     conftest$ac_exeext conftest.$ac_ext
   17550 fi
   17551 
   17552 
   17553 		CFLAGS="$xorg_testset_save_CFLAGS"
   17554 
   17555 		eval supported=\$$cacheid
   17556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17557 $as_echo "$supported" >&6; }
   17558 		if test "$supported" = "yes" ; then
   17559 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17560 			found="yes"
   17561 		fi
   17562 	fi
   17563 
   17564 
   17565 
   17566 if test "x$STRICT_COMPILE" = "xyes"; then
   17567     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17568     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17569 fi
   17570 
   17571 
   17572 
   17573 
   17574 
   17575 
   17576 cat >>confdefs.h <<_ACEOF
   17577 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17578 _ACEOF
   17579 
   17580 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17581 	if test "x$PVM" = "x"; then
   17582 		PVM="0"
   17583 	fi
   17584 
   17585 cat >>confdefs.h <<_ACEOF
   17586 #define PACKAGE_VERSION_MINOR $PVM
   17587 _ACEOF
   17588 
   17589 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17590 	if test "x$PVP" = "x"; then
   17591 		PVP="0"
   17592 	fi
   17593 
   17594 cat >>confdefs.h <<_ACEOF
   17595 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17596 _ACEOF
   17597 
   17598 
   17599 
   17600 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17601 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17602 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17603 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17604 
   17605 
   17606 
   17607 
   17608 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17609 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17610 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17611 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17612 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17613 
   17614 
   17615 
   17616 
   17617 
   17618 
   17619 if test x$APP_MAN_SUFFIX = x    ; then
   17620     APP_MAN_SUFFIX=1
   17621 fi
   17622 if test x$APP_MAN_DIR = x    ; then
   17623     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17624 fi
   17625 
   17626 if test x$LIB_MAN_SUFFIX = x    ; then
   17627     LIB_MAN_SUFFIX=3
   17628 fi
   17629 if test x$LIB_MAN_DIR = x    ; then
   17630     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17631 fi
   17632 
   17633 if test x$FILE_MAN_SUFFIX = x    ; then
   17634     case $host_os in
   17635 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17636 	*)		FILE_MAN_SUFFIX=5  ;;
   17637     esac
   17638 fi
   17639 if test x$FILE_MAN_DIR = x    ; then
   17640     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17641 fi
   17642 
   17643 if test x$MISC_MAN_SUFFIX = x    ; then
   17644     case $host_os in
   17645 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17646 	*)		MISC_MAN_SUFFIX=7  ;;
   17647     esac
   17648 fi
   17649 if test x$MISC_MAN_DIR = x    ; then
   17650     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17651 fi
   17652 
   17653 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17654     case $host_os in
   17655 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17656 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17657     esac
   17658 fi
   17659 if test x$DRIVER_MAN_DIR = x    ; then
   17660     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17661 fi
   17662 
   17663 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17664     case $host_os in
   17665 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17666 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17667     esac
   17668 fi
   17669 if test x$ADMIN_MAN_DIR = x    ; then
   17670     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17671 fi
   17672 
   17673 
   17674 
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 XORG_MAN_PAGE="X Version 11"
   17688 
   17689 MAN_SUBSTS="\
   17690 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17691 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17692 	-e 's|__xservername__|Xorg|g' \
   17693 	-e 's|__xconfigfile__|xorg.conf|g' \
   17694 	-e 's|__projectroot__|\$(prefix)|g' \
   17695 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17696 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17697 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17698 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17699 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17700 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17701 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17702 
   17703 
   17704 
   17705 # Check whether --enable-silent-rules was given.
   17706 if test "${enable_silent_rules+set}" = set; then :
   17707   enableval=$enable_silent_rules;
   17708 fi
   17709 
   17710 case $enable_silent_rules in # (((
   17711   yes) AM_DEFAULT_VERBOSITY=0;;
   17712    no) AM_DEFAULT_VERBOSITY=1;;
   17713     *) AM_DEFAULT_VERBOSITY=0;;
   17714 esac
   17715 am_make=${MAKE-make}
   17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17717 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17718 if ${am_cv_make_support_nested_variables+:} false; then :
   17719   $as_echo_n "(cached) " >&6
   17720 else
   17721   if $as_echo 'TRUE=$(BAR$(V))
   17722 BAR0=false
   17723 BAR1=true
   17724 V=1
   17725 am__doit:
   17726 	@$(TRUE)
   17727 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17728   am_cv_make_support_nested_variables=yes
   17729 else
   17730   am_cv_make_support_nested_variables=no
   17731 fi
   17732 fi
   17733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17734 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17735 if test $am_cv_make_support_nested_variables = yes; then
   17736     AM_V='$(V)'
   17737   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17738 else
   17739   AM_V=$AM_DEFAULT_VERBOSITY
   17740   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17741 fi
   17742 AM_BACKSLASH='\'
   17743 
   17744 
   17745 
   17746 # Set library version for Xft.h from package version set in AC_INIT
   17747 # copied from PACKAGE_VERSION_* settings in XORG_VERSION
   17748 ac_config_headers="$ac_config_headers include/X11/Xft/Xft.h"
   17749 
   17750 
   17751 cat >>confdefs.h <<_ACEOF
   17752 #define XFT_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17753 _ACEOF
   17754 
   17755 
   17756 cat >>confdefs.h <<_ACEOF
   17757 #define XFT_MINOR `echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17758 _ACEOF
   17759 
   17760 
   17761 cat >>confdefs.h <<_ACEOF
   17762 #define XFT_REVISION `echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17763 _ACEOF
   17764 
   17765 
   17766 XFT_LT_VERSION=`echo $PACKAGE_VERSION | tr '.' ':'`
   17767 
   17768 
   17769 #
   17770 # Check for Xrender
   17771 #
   17772 
   17773 pkg_failed=no
   17774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRENDER" >&5
   17775 $as_echo_n "checking for XRENDER... " >&6; }
   17776 
   17777 if test -n "$XRENDER_CFLAGS"; then
   17778     pkg_cv_XRENDER_CFLAGS="$XRENDER_CFLAGS"
   17779  elif test -n "$PKG_CONFIG"; then
   17780     if test -n "$PKG_CONFIG" && \
   17781     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 x11\""; } >&5
   17782   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 x11") 2>&5
   17783   ac_status=$?
   17784   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17785   test $ac_status = 0; }; then
   17786   pkg_cv_XRENDER_CFLAGS=`$PKG_CONFIG --cflags "xrender >= 0.8.2 x11" 2>/dev/null`
   17787 else
   17788   pkg_failed=yes
   17789 fi
   17790  else
   17791     pkg_failed=untried
   17792 fi
   17793 if test -n "$XRENDER_LIBS"; then
   17794     pkg_cv_XRENDER_LIBS="$XRENDER_LIBS"
   17795  elif test -n "$PKG_CONFIG"; then
   17796     if test -n "$PKG_CONFIG" && \
   17797     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xrender >= 0.8.2 x11\""; } >&5
   17798   ($PKG_CONFIG --exists --print-errors "xrender >= 0.8.2 x11") 2>&5
   17799   ac_status=$?
   17800   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17801   test $ac_status = 0; }; then
   17802   pkg_cv_XRENDER_LIBS=`$PKG_CONFIG --libs "xrender >= 0.8.2 x11" 2>/dev/null`
   17803 else
   17804   pkg_failed=yes
   17805 fi
   17806  else
   17807     pkg_failed=untried
   17808 fi
   17809 
   17810 
   17811 
   17812 if test $pkg_failed = yes; then
   17813 
   17814 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17815         _pkg_short_errors_supported=yes
   17816 else
   17817         _pkg_short_errors_supported=no
   17818 fi
   17819         if test $_pkg_short_errors_supported = yes; then
   17820 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xrender >= 0.8.2 x11" 2>&1`
   17821         else
   17822 	        XRENDER_PKG_ERRORS=`$PKG_CONFIG --print-errors "xrender >= 0.8.2 x11" 2>&1`
   17823         fi
   17824 	# Put the nasty error message in config.log where it belongs
   17825 	echo "$XRENDER_PKG_ERRORS" >&5
   17826 
   17827 	as_fn_error $? "Package requirements (xrender >= 0.8.2 x11) were not met:
   17828 
   17829 $XRENDER_PKG_ERRORS
   17830 
   17831 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17832 installed software in a non-standard prefix.
   17833 
   17834 Alternatively, you may set the environment variables XRENDER_CFLAGS
   17835 and XRENDER_LIBS to avoid the need to call pkg-config.
   17836 See the pkg-config man page for more details.
   17837 " "$LINENO" 5
   17838 elif test $pkg_failed = untried; then
   17839 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17840 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17841 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17842 is in your PATH or set the PKG_CONFIG environment variable to the full
   17843 path to pkg-config.
   17844 
   17845 Alternatively, you may set the environment variables XRENDER_CFLAGS
   17846 and XRENDER_LIBS to avoid the need to call pkg-config.
   17847 See the pkg-config man page for more details.
   17848 
   17849 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17850 See \`config.log' for more details" "$LINENO" 5; }
   17851 else
   17852 	XRENDER_CFLAGS=$pkg_cv_XRENDER_CFLAGS
   17853 	XRENDER_LIBS=$pkg_cv_XRENDER_LIBS
   17854         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17855 $as_echo "yes" >&6; }
   17856 	:
   17857 fi
   17858 
   17859 # Check freetype configuration
   17860 
   17861 pkg_failed=no
   17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FREETYPE" >&5
   17863 $as_echo_n "checking for FREETYPE... " >&6; }
   17864 
   17865 if test -n "$FREETYPE_CFLAGS"; then
   17866     pkg_cv_FREETYPE_CFLAGS="$FREETYPE_CFLAGS"
   17867  elif test -n "$PKG_CONFIG"; then
   17868     if test -n "$PKG_CONFIG" && \
   17869     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.1.6\""; } >&5
   17870   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.1.6") 2>&5
   17871   ac_status=$?
   17872   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17873   test $ac_status = 0; }; then
   17874   pkg_cv_FREETYPE_CFLAGS=`$PKG_CONFIG --cflags "freetype2 >= 2.1.6" 2>/dev/null`
   17875 else
   17876   pkg_failed=yes
   17877 fi
   17878  else
   17879     pkg_failed=untried
   17880 fi
   17881 if test -n "$FREETYPE_LIBS"; then
   17882     pkg_cv_FREETYPE_LIBS="$FREETYPE_LIBS"
   17883  elif test -n "$PKG_CONFIG"; then
   17884     if test -n "$PKG_CONFIG" && \
   17885     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"freetype2 >= 2.1.6\""; } >&5
   17886   ($PKG_CONFIG --exists --print-errors "freetype2 >= 2.1.6") 2>&5
   17887   ac_status=$?
   17888   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17889   test $ac_status = 0; }; then
   17890   pkg_cv_FREETYPE_LIBS=`$PKG_CONFIG --libs "freetype2 >= 2.1.6" 2>/dev/null`
   17891 else
   17892   pkg_failed=yes
   17893 fi
   17894  else
   17895     pkg_failed=untried
   17896 fi
   17897 
   17898 
   17899 
   17900 if test $pkg_failed = yes; then
   17901 
   17902 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17903         _pkg_short_errors_supported=yes
   17904 else
   17905         _pkg_short_errors_supported=no
   17906 fi
   17907         if test $_pkg_short_errors_supported = yes; then
   17908 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "freetype2 >= 2.1.6" 2>&1`
   17909         else
   17910 	        FREETYPE_PKG_ERRORS=`$PKG_CONFIG --print-errors "freetype2 >= 2.1.6" 2>&1`
   17911         fi
   17912 	# Put the nasty error message in config.log where it belongs
   17913 	echo "$FREETYPE_PKG_ERRORS" >&5
   17914 
   17915 	as_fn_error $? "Package requirements (freetype2 >= 2.1.6) were not met:
   17916 
   17917 $FREETYPE_PKG_ERRORS
   17918 
   17919 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17920 installed software in a non-standard prefix.
   17921 
   17922 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   17923 and FREETYPE_LIBS to avoid the need to call pkg-config.
   17924 See the pkg-config man page for more details.
   17925 " "$LINENO" 5
   17926 elif test $pkg_failed = untried; then
   17927 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17929 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17930 is in your PATH or set the PKG_CONFIG environment variable to the full
   17931 path to pkg-config.
   17932 
   17933 Alternatively, you may set the environment variables FREETYPE_CFLAGS
   17934 and FREETYPE_LIBS to avoid the need to call pkg-config.
   17935 See the pkg-config man page for more details.
   17936 
   17937 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17938 See \`config.log' for more details" "$LINENO" 5; }
   17939 else
   17940 	FREETYPE_CFLAGS=$pkg_cv_FREETYPE_CFLAGS
   17941 	FREETYPE_LIBS=$pkg_cv_FREETYPE_LIBS
   17942         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17943 $as_echo "yes" >&6; }
   17944 	:
   17945 fi
   17946 
   17947 # Check fontconfig configuration
   17948 
   17949 pkg_failed=no
   17950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FONTCONFIG" >&5
   17951 $as_echo_n "checking for FONTCONFIG... " >&6; }
   17952 
   17953 if test -n "$FONTCONFIG_CFLAGS"; then
   17954     pkg_cv_FONTCONFIG_CFLAGS="$FONTCONFIG_CFLAGS"
   17955  elif test -n "$PKG_CONFIG"; then
   17956     if test -n "$PKG_CONFIG" && \
   17957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.92\""; } >&5
   17958   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92") 2>&5
   17959   ac_status=$?
   17960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17961   test $ac_status = 0; }; then
   17962   pkg_cv_FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags "fontconfig >= 2.5.92" 2>/dev/null`
   17963 else
   17964   pkg_failed=yes
   17965 fi
   17966  else
   17967     pkg_failed=untried
   17968 fi
   17969 if test -n "$FONTCONFIG_LIBS"; then
   17970     pkg_cv_FONTCONFIG_LIBS="$FONTCONFIG_LIBS"
   17971  elif test -n "$PKG_CONFIG"; then
   17972     if test -n "$PKG_CONFIG" && \
   17973     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"fontconfig >= 2.5.92\""; } >&5
   17974   ($PKG_CONFIG --exists --print-errors "fontconfig >= 2.5.92") 2>&5
   17975   ac_status=$?
   17976   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17977   test $ac_status = 0; }; then
   17978   pkg_cv_FONTCONFIG_LIBS=`$PKG_CONFIG --libs "fontconfig >= 2.5.92" 2>/dev/null`
   17979 else
   17980   pkg_failed=yes
   17981 fi
   17982  else
   17983     pkg_failed=untried
   17984 fi
   17985 
   17986 
   17987 
   17988 if test $pkg_failed = yes; then
   17989 
   17990 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17991         _pkg_short_errors_supported=yes
   17992 else
   17993         _pkg_short_errors_supported=no
   17994 fi
   17995         if test $_pkg_short_errors_supported = yes; then
   17996 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "fontconfig >= 2.5.92" 2>&1`
   17997         else
   17998 	        FONTCONFIG_PKG_ERRORS=`$PKG_CONFIG --print-errors "fontconfig >= 2.5.92" 2>&1`
   17999         fi
   18000 	# Put the nasty error message in config.log where it belongs
   18001 	echo "$FONTCONFIG_PKG_ERRORS" >&5
   18002 
   18003 	as_fn_error $? "Package requirements (fontconfig >= 2.5.92) were not met:
   18004 
   18005 $FONTCONFIG_PKG_ERRORS
   18006 
   18007 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18008 installed software in a non-standard prefix.
   18009 
   18010 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   18011 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   18012 See the pkg-config man page for more details.
   18013 " "$LINENO" 5
   18014 elif test $pkg_failed = untried; then
   18015 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18017 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18018 is in your PATH or set the PKG_CONFIG environment variable to the full
   18019 path to pkg-config.
   18020 
   18021 Alternatively, you may set the environment variables FONTCONFIG_CFLAGS
   18022 and FONTCONFIG_LIBS to avoid the need to call pkg-config.
   18023 See the pkg-config man page for more details.
   18024 
   18025 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18026 See \`config.log' for more details" "$LINENO" 5; }
   18027 else
   18028 	FONTCONFIG_CFLAGS=$pkg_cv_FONTCONFIG_CFLAGS
   18029 	FONTCONFIG_LIBS=$pkg_cv_FONTCONFIG_LIBS
   18030         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18031 $as_echo "yes" >&6; }
   18032 	:
   18033 fi
   18034 
   18035 
   18036 
   18037 
   18038 
   18039 
   18040 
   18041 
   18042 if test "$VERSION" = "" ; then
   18043        VERSION=$PACKAGE_VERSION;
   18044 fi
   18045 
   18046 ac_config_files="$ac_config_files Makefile xft.pc src/Makefile man/Makefile"
   18047 
   18048 cat >confcache <<\_ACEOF
   18049 # This file is a shell script that caches the results of configure
   18050 # tests run on this system so they can be shared between configure
   18051 # scripts and configure runs, see configure's option --config-cache.
   18052 # It is not useful on other systems.  If it contains results you don't
   18053 # want to keep, you may remove or edit it.
   18054 #
   18055 # config.status only pays attention to the cache file if you give it
   18056 # the --recheck option to rerun configure.
   18057 #
   18058 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18059 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18060 # following values.
   18061 
   18062 _ACEOF
   18063 
   18064 # The following way of writing the cache mishandles newlines in values,
   18065 # but we know of no workaround that is simple, portable, and efficient.
   18066 # So, we kill variables containing newlines.
   18067 # Ultrix sh set writes to stderr and can't be redirected directly,
   18068 # and sets the high bit in the cache file unless we assign to the vars.
   18069 (
   18070   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18071     eval ac_val=\$$ac_var
   18072     case $ac_val in #(
   18073     *${as_nl}*)
   18074       case $ac_var in #(
   18075       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18076 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18077       esac
   18078       case $ac_var in #(
   18079       _ | IFS | as_nl) ;; #(
   18080       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18081       *) { eval $ac_var=; unset $ac_var;} ;;
   18082       esac ;;
   18083     esac
   18084   done
   18085 
   18086   (set) 2>&1 |
   18087     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18088     *${as_nl}ac_space=\ *)
   18089       # `set' does not quote correctly, so add quotes: double-quote
   18090       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18091       sed -n \
   18092 	"s/'/'\\\\''/g;
   18093 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18094       ;; #(
   18095     *)
   18096       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18097       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18098       ;;
   18099     esac |
   18100     sort
   18101 ) |
   18102   sed '
   18103      /^ac_cv_env_/b end
   18104      t clear
   18105      :clear
   18106      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18107      t end
   18108      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18109      :end' >>confcache
   18110 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18111   if test -w "$cache_file"; then
   18112     if test "x$cache_file" != "x/dev/null"; then
   18113       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18114 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18115       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18116 	cat confcache >"$cache_file"
   18117       else
   18118         case $cache_file in #(
   18119         */* | ?:*)
   18120 	  mv -f confcache "$cache_file"$$ &&
   18121 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18122         *)
   18123 	  mv -f confcache "$cache_file" ;;
   18124 	esac
   18125       fi
   18126     fi
   18127   else
   18128     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18129 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18130   fi
   18131 fi
   18132 rm -f confcache
   18133 
   18134 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18135 # Let make expand exec_prefix.
   18136 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18137 
   18138 DEFS=-DHAVE_CONFIG_H
   18139 
   18140 ac_libobjs=
   18141 ac_ltlibobjs=
   18142 U=
   18143 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18144   # 1. Remove the extension, and $U if already installed.
   18145   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18146   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18147   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18148   #    will be set to the directory where LIBOBJS objects are built.
   18149   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18150   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18151 done
   18152 LIBOBJS=$ac_libobjs
   18153 
   18154 LTLIBOBJS=$ac_ltlibobjs
   18155 
   18156 
   18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18158 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18159    if test -n "$am_sleep_pid"; then
   18160      # Hide warnings about reused PIDs.
   18161      wait $am_sleep_pid 2>/dev/null
   18162    fi
   18163    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18164 $as_echo "done" >&6; }
   18165  if test -n "$EXEEXT"; then
   18166   am__EXEEXT_TRUE=
   18167   am__EXEEXT_FALSE='#'
   18168 else
   18169   am__EXEEXT_TRUE='#'
   18170   am__EXEEXT_FALSE=
   18171 fi
   18172 
   18173 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18174   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18176 fi
   18177 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18178   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18180 fi
   18181 
   18182 : "${CONFIG_STATUS=./config.status}"
   18183 ac_write_fail=0
   18184 ac_clean_files_save=$ac_clean_files
   18185 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18187 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18188 as_write_fail=0
   18189 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18190 #! $SHELL
   18191 # Generated by $as_me.
   18192 # Run this file to recreate the current configuration.
   18193 # Compiler output produced by configure, useful for debugging
   18194 # configure, is in config.log if it exists.
   18195 
   18196 debug=false
   18197 ac_cs_recheck=false
   18198 ac_cs_silent=false
   18199 
   18200 SHELL=\${CONFIG_SHELL-$SHELL}
   18201 export SHELL
   18202 _ASEOF
   18203 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18204 ## -------------------- ##
   18205 ## M4sh Initialization. ##
   18206 ## -------------------- ##
   18207 
   18208 # Be more Bourne compatible
   18209 DUALCASE=1; export DUALCASE # for MKS sh
   18210 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18211   emulate sh
   18212   NULLCMD=:
   18213   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18214   # is contrary to our usage.  Disable this feature.
   18215   alias -g '${1+"$@"}'='"$@"'
   18216   setopt NO_GLOB_SUBST
   18217 else
   18218   case `(set -o) 2>/dev/null` in #(
   18219   *posix*) :
   18220     set -o posix ;; #(
   18221   *) :
   18222      ;;
   18223 esac
   18224 fi
   18225 
   18226 
   18227 as_nl='
   18228 '
   18229 export as_nl
   18230 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18231 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18232 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18233 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18234 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18235 # but without wasting forks for bash or zsh.
   18236 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18237     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18238   as_echo='print -r --'
   18239   as_echo_n='print -rn --'
   18240 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18241   as_echo='printf %s\n'
   18242   as_echo_n='printf %s'
   18243 else
   18244   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18245     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18246     as_echo_n='/usr/ucb/echo -n'
   18247   else
   18248     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18249     as_echo_n_body='eval
   18250       arg=$1;
   18251       case $arg in #(
   18252       *"$as_nl"*)
   18253 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18254 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18255       esac;
   18256       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18257     '
   18258     export as_echo_n_body
   18259     as_echo_n='sh -c $as_echo_n_body as_echo'
   18260   fi
   18261   export as_echo_body
   18262   as_echo='sh -c $as_echo_body as_echo'
   18263 fi
   18264 
   18265 # The user is always right.
   18266 if test "${PATH_SEPARATOR+set}" != set; then
   18267   PATH_SEPARATOR=:
   18268   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18269     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18270       PATH_SEPARATOR=';'
   18271   }
   18272 fi
   18273 
   18274 
   18275 # IFS
   18276 # We need space, tab and new line, in precisely that order.  Quoting is
   18277 # there to prevent editors from complaining about space-tab.
   18278 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18279 # splitting by setting IFS to empty value.)
   18280 IFS=" ""	$as_nl"
   18281 
   18282 # Find who we are.  Look in the path if we contain no directory separator.
   18283 as_myself=
   18284 case $0 in #((
   18285   *[\\/]* ) as_myself=$0 ;;
   18286   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18287 for as_dir in $PATH
   18288 do
   18289   IFS=$as_save_IFS
   18290   test -z "$as_dir" && as_dir=.
   18291     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18292   done
   18293 IFS=$as_save_IFS
   18294 
   18295      ;;
   18296 esac
   18297 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18298 # in which case we are not to be found in the path.
   18299 if test "x$as_myself" = x; then
   18300   as_myself=$0
   18301 fi
   18302 if test ! -f "$as_myself"; then
   18303   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18304   exit 1
   18305 fi
   18306 
   18307 # Unset variables that we do not need and which cause bugs (e.g. in
   18308 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18309 # suppresses any "Segmentation fault" message there.  '((' could
   18310 # trigger a bug in pdksh 5.2.14.
   18311 for as_var in BASH_ENV ENV MAIL MAILPATH
   18312 do eval test x\${$as_var+set} = xset \
   18313   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18314 done
   18315 PS1='$ '
   18316 PS2='> '
   18317 PS4='+ '
   18318 
   18319 # NLS nuisances.
   18320 LC_ALL=C
   18321 export LC_ALL
   18322 LANGUAGE=C
   18323 export LANGUAGE
   18324 
   18325 # CDPATH.
   18326 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18327 
   18328 
   18329 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18330 # ----------------------------------------
   18331 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18332 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18333 # script with STATUS, using 1 if that was 0.
   18334 as_fn_error ()
   18335 {
   18336   as_status=$1; test $as_status -eq 0 && as_status=1
   18337   if test "$4"; then
   18338     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18339     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18340   fi
   18341   $as_echo "$as_me: error: $2" >&2
   18342   as_fn_exit $as_status
   18343 } # as_fn_error
   18344 
   18345 
   18346 # as_fn_set_status STATUS
   18347 # -----------------------
   18348 # Set $? to STATUS, without forking.
   18349 as_fn_set_status ()
   18350 {
   18351   return $1
   18352 } # as_fn_set_status
   18353 
   18354 # as_fn_exit STATUS
   18355 # -----------------
   18356 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18357 as_fn_exit ()
   18358 {
   18359   set +e
   18360   as_fn_set_status $1
   18361   exit $1
   18362 } # as_fn_exit
   18363 
   18364 # as_fn_unset VAR
   18365 # ---------------
   18366 # Portably unset VAR.
   18367 as_fn_unset ()
   18368 {
   18369   { eval $1=; unset $1;}
   18370 }
   18371 as_unset=as_fn_unset
   18372 # as_fn_append VAR VALUE
   18373 # ----------------------
   18374 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18375 # advantage of any shell optimizations that allow amortized linear growth over
   18376 # repeated appends, instead of the typical quadratic growth present in naive
   18377 # implementations.
   18378 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18379   eval 'as_fn_append ()
   18380   {
   18381     eval $1+=\$2
   18382   }'
   18383 else
   18384   as_fn_append ()
   18385   {
   18386     eval $1=\$$1\$2
   18387   }
   18388 fi # as_fn_append
   18389 
   18390 # as_fn_arith ARG...
   18391 # ------------------
   18392 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18393 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18394 # must be portable across $(()) and expr.
   18395 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18396   eval 'as_fn_arith ()
   18397   {
   18398     as_val=$(( $* ))
   18399   }'
   18400 else
   18401   as_fn_arith ()
   18402   {
   18403     as_val=`expr "$@" || test $? -eq 1`
   18404   }
   18405 fi # as_fn_arith
   18406 
   18407 
   18408 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18409    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18410   as_expr=expr
   18411 else
   18412   as_expr=false
   18413 fi
   18414 
   18415 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18416   as_basename=basename
   18417 else
   18418   as_basename=false
   18419 fi
   18420 
   18421 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18422   as_dirname=dirname
   18423 else
   18424   as_dirname=false
   18425 fi
   18426 
   18427 as_me=`$as_basename -- "$0" ||
   18428 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18429 	 X"$0" : 'X\(//\)$' \| \
   18430 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18431 $as_echo X/"$0" |
   18432     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18433 	    s//\1/
   18434 	    q
   18435 	  }
   18436 	  /^X\/\(\/\/\)$/{
   18437 	    s//\1/
   18438 	    q
   18439 	  }
   18440 	  /^X\/\(\/\).*/{
   18441 	    s//\1/
   18442 	    q
   18443 	  }
   18444 	  s/.*/./; q'`
   18445 
   18446 # Avoid depending upon Character Ranges.
   18447 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18448 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18449 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18450 as_cr_digits='0123456789'
   18451 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18452 
   18453 ECHO_C= ECHO_N= ECHO_T=
   18454 case `echo -n x` in #(((((
   18455 -n*)
   18456   case `echo 'xy\c'` in
   18457   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18458   xy)  ECHO_C='\c';;
   18459   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18460        ECHO_T='	';;
   18461   esac;;
   18462 *)
   18463   ECHO_N='-n';;
   18464 esac
   18465 
   18466 rm -f conf$$ conf$$.exe conf$$.file
   18467 if test -d conf$$.dir; then
   18468   rm -f conf$$.dir/conf$$.file
   18469 else
   18470   rm -f conf$$.dir
   18471   mkdir conf$$.dir 2>/dev/null
   18472 fi
   18473 if (echo >conf$$.file) 2>/dev/null; then
   18474   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18475     as_ln_s='ln -s'
   18476     # ... but there are two gotchas:
   18477     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18478     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18479     # In both cases, we have to default to `cp -p'.
   18480     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18481       as_ln_s='cp -p'
   18482   elif ln conf$$.file conf$$ 2>/dev/null; then
   18483     as_ln_s=ln
   18484   else
   18485     as_ln_s='cp -p'
   18486   fi
   18487 else
   18488   as_ln_s='cp -p'
   18489 fi
   18490 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18491 rmdir conf$$.dir 2>/dev/null
   18492 
   18493 
   18494 # as_fn_mkdir_p
   18495 # -------------
   18496 # Create "$as_dir" as a directory, including parents if necessary.
   18497 as_fn_mkdir_p ()
   18498 {
   18499 
   18500   case $as_dir in #(
   18501   -*) as_dir=./$as_dir;;
   18502   esac
   18503   test -d "$as_dir" || eval $as_mkdir_p || {
   18504     as_dirs=
   18505     while :; do
   18506       case $as_dir in #(
   18507       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18508       *) as_qdir=$as_dir;;
   18509       esac
   18510       as_dirs="'$as_qdir' $as_dirs"
   18511       as_dir=`$as_dirname -- "$as_dir" ||
   18512 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18513 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18514 	 X"$as_dir" : 'X\(//\)$' \| \
   18515 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18516 $as_echo X"$as_dir" |
   18517     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18518 	    s//\1/
   18519 	    q
   18520 	  }
   18521 	  /^X\(\/\/\)[^/].*/{
   18522 	    s//\1/
   18523 	    q
   18524 	  }
   18525 	  /^X\(\/\/\)$/{
   18526 	    s//\1/
   18527 	    q
   18528 	  }
   18529 	  /^X\(\/\).*/{
   18530 	    s//\1/
   18531 	    q
   18532 	  }
   18533 	  s/.*/./; q'`
   18534       test -d "$as_dir" && break
   18535     done
   18536     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18537   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18538 
   18539 
   18540 } # as_fn_mkdir_p
   18541 if mkdir -p . 2>/dev/null; then
   18542   as_mkdir_p='mkdir -p "$as_dir"'
   18543 else
   18544   test -d ./-p && rmdir ./-p
   18545   as_mkdir_p=false
   18546 fi
   18547 
   18548 if test -x / >/dev/null 2>&1; then
   18549   as_test_x='test -x'
   18550 else
   18551   if ls -dL / >/dev/null 2>&1; then
   18552     as_ls_L_option=L
   18553   else
   18554     as_ls_L_option=
   18555   fi
   18556   as_test_x='
   18557     eval sh -c '\''
   18558       if test -d "$1"; then
   18559 	test -d "$1/.";
   18560       else
   18561 	case $1 in #(
   18562 	-*)set "./$1";;
   18563 	esac;
   18564 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18565 	???[sx]*):;;*)false;;esac;fi
   18566     '\'' sh
   18567   '
   18568 fi
   18569 as_executable_p=$as_test_x
   18570 
   18571 # Sed expression to map a string onto a valid CPP name.
   18572 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18573 
   18574 # Sed expression to map a string onto a valid variable name.
   18575 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18576 
   18577 
   18578 exec 6>&1
   18579 ## ----------------------------------- ##
   18580 ## Main body of $CONFIG_STATUS script. ##
   18581 ## ----------------------------------- ##
   18582 _ASEOF
   18583 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18584 
   18585 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18586 # Save the log message, to keep $0 and so on meaningful, and to
   18587 # report actual input values of CONFIG_FILES etc. instead of their
   18588 # values after options handling.
   18589 ac_log="
   18590 This file was extended by libXft $as_me 2.3.2, which was
   18591 generated by GNU Autoconf 2.68.  Invocation command line was
   18592 
   18593   CONFIG_FILES    = $CONFIG_FILES
   18594   CONFIG_HEADERS  = $CONFIG_HEADERS
   18595   CONFIG_LINKS    = $CONFIG_LINKS
   18596   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18597   $ $0 $@
   18598 
   18599 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18600 "
   18601 
   18602 _ACEOF
   18603 
   18604 case $ac_config_files in *"
   18605 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18606 esac
   18607 
   18608 case $ac_config_headers in *"
   18609 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18610 esac
   18611 
   18612 
   18613 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18614 # Files that config.status was made for.
   18615 config_files="$ac_config_files"
   18616 config_headers="$ac_config_headers"
   18617 config_commands="$ac_config_commands"
   18618 
   18619 _ACEOF
   18620 
   18621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18622 ac_cs_usage="\
   18623 \`$as_me' instantiates files and other configuration actions
   18624 from templates according to the current configuration.  Unless the files
   18625 and actions are specified as TAGs, all are instantiated by default.
   18626 
   18627 Usage: $0 [OPTION]... [TAG]...
   18628 
   18629   -h, --help       print this help, then exit
   18630   -V, --version    print version number and configuration settings, then exit
   18631       --config     print configuration, then exit
   18632   -q, --quiet, --silent
   18633                    do not print progress messages
   18634   -d, --debug      don't remove temporary files
   18635       --recheck    update $as_me by reconfiguring in the same conditions
   18636       --file=FILE[:TEMPLATE]
   18637                    instantiate the configuration file FILE
   18638       --header=FILE[:TEMPLATE]
   18639                    instantiate the configuration header FILE
   18640 
   18641 Configuration files:
   18642 $config_files
   18643 
   18644 Configuration headers:
   18645 $config_headers
   18646 
   18647 Configuration commands:
   18648 $config_commands
   18649 
   18650 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18651 
   18652 _ACEOF
   18653 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18654 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18655 ac_cs_version="\\
   18656 libXft config.status 2.3.2
   18657 configured by $0, generated by GNU Autoconf 2.68,
   18658   with options \\"\$ac_cs_config\\"
   18659 
   18660 Copyright (C) 2010 Free Software Foundation, Inc.
   18661 This config.status script is free software; the Free Software Foundation
   18662 gives unlimited permission to copy, distribute and modify it."
   18663 
   18664 ac_pwd='$ac_pwd'
   18665 srcdir='$srcdir'
   18666 INSTALL='$INSTALL'
   18667 MKDIR_P='$MKDIR_P'
   18668 AWK='$AWK'
   18669 test -n "\$AWK" || AWK=awk
   18670 _ACEOF
   18671 
   18672 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18673 # The default lists apply if the user does not specify any file.
   18674 ac_need_defaults=:
   18675 while test $# != 0
   18676 do
   18677   case $1 in
   18678   --*=?*)
   18679     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18680     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18681     ac_shift=:
   18682     ;;
   18683   --*=)
   18684     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18685     ac_optarg=
   18686     ac_shift=:
   18687     ;;
   18688   *)
   18689     ac_option=$1
   18690     ac_optarg=$2
   18691     ac_shift=shift
   18692     ;;
   18693   esac
   18694 
   18695   case $ac_option in
   18696   # Handling of the options.
   18697   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18698     ac_cs_recheck=: ;;
   18699   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18700     $as_echo "$ac_cs_version"; exit ;;
   18701   --config | --confi | --conf | --con | --co | --c )
   18702     $as_echo "$ac_cs_config"; exit ;;
   18703   --debug | --debu | --deb | --de | --d | -d )
   18704     debug=: ;;
   18705   --file | --fil | --fi | --f )
   18706     $ac_shift
   18707     case $ac_optarg in
   18708     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18709     '') as_fn_error $? "missing file argument" ;;
   18710     esac
   18711     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18712     ac_need_defaults=false;;
   18713   --header | --heade | --head | --hea )
   18714     $ac_shift
   18715     case $ac_optarg in
   18716     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18717     esac
   18718     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18719     ac_need_defaults=false;;
   18720   --he | --h)
   18721     # Conflict between --help and --header
   18722     as_fn_error $? "ambiguous option: \`$1'
   18723 Try \`$0 --help' for more information.";;
   18724   --help | --hel | -h )
   18725     $as_echo "$ac_cs_usage"; exit ;;
   18726   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18727   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18728     ac_cs_silent=: ;;
   18729 
   18730   # This is an error.
   18731   -*) as_fn_error $? "unrecognized option: \`$1'
   18732 Try \`$0 --help' for more information." ;;
   18733 
   18734   *) as_fn_append ac_config_targets " $1"
   18735      ac_need_defaults=false ;;
   18736 
   18737   esac
   18738   shift
   18739 done
   18740 
   18741 ac_configure_extra_args=
   18742 
   18743 if $ac_cs_silent; then
   18744   exec 6>/dev/null
   18745   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18746 fi
   18747 
   18748 _ACEOF
   18749 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18750 if \$ac_cs_recheck; then
   18751   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18752   shift
   18753   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18754   CONFIG_SHELL='$SHELL'
   18755   export CONFIG_SHELL
   18756   exec "\$@"
   18757 fi
   18758 
   18759 _ACEOF
   18760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18761 exec 5>>config.log
   18762 {
   18763   echo
   18764   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18765 ## Running $as_me. ##
   18766 _ASBOX
   18767   $as_echo "$ac_log"
   18768 } >&5
   18769 
   18770 _ACEOF
   18771 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18772 #
   18773 # INIT-COMMANDS
   18774 #
   18775 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18776 
   18777 
   18778 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18779 # if CDPATH is set.
   18780 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18781 
   18782 sed_quote_subst='$sed_quote_subst'
   18783 double_quote_subst='$double_quote_subst'
   18784 delay_variable_subst='$delay_variable_subst'
   18785 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18786 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18787 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18788 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18789 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18790 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18791 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18792 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18793 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18794 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18795 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18796 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18797 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18798 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18799 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18800 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18801 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18802 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18803 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18804 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18805 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18806 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18807 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18808 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18809 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18810 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18811 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18812 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18813 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18814 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18815 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18816 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18817 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18818 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18819 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18820 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18821 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18822 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18823 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18824 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18825 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18826 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18827 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18828 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18829 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18830 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18831 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18832 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18833 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18834 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18835 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18836 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18837 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18838 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18839 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18840 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18841 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"`'
   18842 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18843 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18844 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18845 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18846 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18847 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18848 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18849 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18850 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18851 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18852 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18853 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18854 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18855 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18856 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18857 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18858 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18859 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18860 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18861 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18862 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18863 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18864 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18865 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18866 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18867 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18868 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18869 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18870 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18871 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18872 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18873 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18874 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18875 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18876 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18877 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18878 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18879 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18880 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18881 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18882 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18883 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18884 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18885 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18886 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18887 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18888 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18889 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18890 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18891 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18892 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18893 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18894 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18895 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18896 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18897 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18898 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18899 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18900 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18901 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18902 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18903 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18904 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18905 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18906 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18907 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18908 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18909 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18910 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18911 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18912 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18913 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18914 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18915 
   18916 LTCC='$LTCC'
   18917 LTCFLAGS='$LTCFLAGS'
   18918 compiler='$compiler_DEFAULT'
   18919 
   18920 # A function that is used when there is no print builtin or printf.
   18921 func_fallback_echo ()
   18922 {
   18923   eval 'cat <<_LTECHO_EOF
   18924 \$1
   18925 _LTECHO_EOF'
   18926 }
   18927 
   18928 # Quote evaled strings.
   18929 for var in SHELL \
   18930 ECHO \
   18931 PATH_SEPARATOR \
   18932 SED \
   18933 GREP \
   18934 EGREP \
   18935 FGREP \
   18936 LD \
   18937 NM \
   18938 LN_S \
   18939 lt_SP2NL \
   18940 lt_NL2SP \
   18941 reload_flag \
   18942 OBJDUMP \
   18943 deplibs_check_method \
   18944 file_magic_cmd \
   18945 file_magic_glob \
   18946 want_nocaseglob \
   18947 DLLTOOL \
   18948 sharedlib_from_linklib_cmd \
   18949 AR \
   18950 AR_FLAGS \
   18951 archiver_list_spec \
   18952 STRIP \
   18953 RANLIB \
   18954 CC \
   18955 CFLAGS \
   18956 compiler \
   18957 lt_cv_sys_global_symbol_pipe \
   18958 lt_cv_sys_global_symbol_to_cdecl \
   18959 lt_cv_sys_global_symbol_to_c_name_address \
   18960 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18961 nm_file_list_spec \
   18962 lt_prog_compiler_no_builtin_flag \
   18963 lt_prog_compiler_pic \
   18964 lt_prog_compiler_wl \
   18965 lt_prog_compiler_static \
   18966 lt_cv_prog_compiler_c_o \
   18967 need_locks \
   18968 MANIFEST_TOOL \
   18969 DSYMUTIL \
   18970 NMEDIT \
   18971 LIPO \
   18972 OTOOL \
   18973 OTOOL64 \
   18974 shrext_cmds \
   18975 export_dynamic_flag_spec \
   18976 whole_archive_flag_spec \
   18977 compiler_needs_object \
   18978 with_gnu_ld \
   18979 allow_undefined_flag \
   18980 no_undefined_flag \
   18981 hardcode_libdir_flag_spec \
   18982 hardcode_libdir_separator \
   18983 exclude_expsyms \
   18984 include_expsyms \
   18985 file_list_spec \
   18986 variables_saved_for_relink \
   18987 libname_spec \
   18988 library_names_spec \
   18989 soname_spec \
   18990 install_override_mode \
   18991 finish_eval \
   18992 old_striplib \
   18993 striplib; do
   18994     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18995     *[\\\\\\\`\\"\\\$]*)
   18996       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18997       ;;
   18998     *)
   18999       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19000       ;;
   19001     esac
   19002 done
   19003 
   19004 # Double-quote double-evaled strings.
   19005 for var in reload_cmds \
   19006 old_postinstall_cmds \
   19007 old_postuninstall_cmds \
   19008 old_archive_cmds \
   19009 extract_expsyms_cmds \
   19010 old_archive_from_new_cmds \
   19011 old_archive_from_expsyms_cmds \
   19012 archive_cmds \
   19013 archive_expsym_cmds \
   19014 module_cmds \
   19015 module_expsym_cmds \
   19016 export_symbols_cmds \
   19017 prelink_cmds \
   19018 postlink_cmds \
   19019 postinstall_cmds \
   19020 postuninstall_cmds \
   19021 finish_cmds \
   19022 sys_lib_search_path_spec \
   19023 sys_lib_dlsearch_path_spec; do
   19024     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19025     *[\\\\\\\`\\"\\\$]*)
   19026       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19027       ;;
   19028     *)
   19029       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19030       ;;
   19031     esac
   19032 done
   19033 
   19034 ac_aux_dir='$ac_aux_dir'
   19035 xsi_shell='$xsi_shell'
   19036 lt_shell_append='$lt_shell_append'
   19037 
   19038 # See if we are running on zsh, and set the options which allow our
   19039 # commands through without removal of \ escapes INIT.
   19040 if test -n "\${ZSH_VERSION+set}" ; then
   19041    setopt NO_GLOB_SUBST
   19042 fi
   19043 
   19044 
   19045     PACKAGE='$PACKAGE'
   19046     VERSION='$VERSION'
   19047     TIMESTAMP='$TIMESTAMP'
   19048     RM='$RM'
   19049     ofile='$ofile'
   19050 
   19051 
   19052 
   19053 
   19054 _ACEOF
   19055 
   19056 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19057 
   19058 # Handling of arguments.
   19059 for ac_config_target in $ac_config_targets
   19060 do
   19061   case $ac_config_target in
   19062     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19063     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19064     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19065     "include/X11/Xft/Xft.h") CONFIG_HEADERS="$CONFIG_HEADERS include/X11/Xft/Xft.h" ;;
   19066     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19067     "xft.pc") CONFIG_FILES="$CONFIG_FILES xft.pc" ;;
   19068     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19069     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19070 
   19071   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19072   esac
   19073 done
   19074 
   19075 
   19076 # If the user did not use the arguments to specify the items to instantiate,
   19077 # then the envvar interface is used.  Set only those that are not.
   19078 # We use the long form for the default assignment because of an extremely
   19079 # bizarre bug on SunOS 4.1.3.
   19080 if $ac_need_defaults; then
   19081   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19082   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19083   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19084 fi
   19085 
   19086 # Have a temporary directory for convenience.  Make it in the build tree
   19087 # simply because there is no reason against having it here, and in addition,
   19088 # creating and moving files from /tmp can sometimes cause problems.
   19089 # Hook for its removal unless debugging.
   19090 # Note that there is a small window in which the directory will not be cleaned:
   19091 # after its creation but before its name has been assigned to `$tmp'.
   19092 $debug ||
   19093 {
   19094   tmp= ac_tmp=
   19095   trap 'exit_status=$?
   19096   : "${ac_tmp:=$tmp}"
   19097   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19098 ' 0
   19099   trap 'as_fn_exit 1' 1 2 13 15
   19100 }
   19101 # Create a (secure) tmp directory for tmp files.
   19102 
   19103 {
   19104   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19105   test -d "$tmp"
   19106 }  ||
   19107 {
   19108   tmp=./conf$$-$RANDOM
   19109   (umask 077 && mkdir "$tmp")
   19110 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19111 ac_tmp=$tmp
   19112 
   19113 # Set up the scripts for CONFIG_FILES section.
   19114 # No need to generate them if there are no CONFIG_FILES.
   19115 # This happens for instance with `./config.status config.h'.
   19116 if test -n "$CONFIG_FILES"; then
   19117 
   19118 
   19119 ac_cr=`echo X | tr X '\015'`
   19120 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19121 # But we know of no other shell where ac_cr would be empty at this
   19122 # point, so we can use a bashism as a fallback.
   19123 if test "x$ac_cr" = x; then
   19124   eval ac_cr=\$\'\\r\'
   19125 fi
   19126 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19127 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19128   ac_cs_awk_cr='\\r'
   19129 else
   19130   ac_cs_awk_cr=$ac_cr
   19131 fi
   19132 
   19133 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19134 _ACEOF
   19135 
   19136 
   19137 {
   19138   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19139   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19140   echo "_ACEOF"
   19141 } >conf$$subs.sh ||
   19142   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19143 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19144 ac_delim='%!_!# '
   19145 for ac_last_try in false false false false false :; do
   19146   . ./conf$$subs.sh ||
   19147     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19148 
   19149   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19150   if test $ac_delim_n = $ac_delim_num; then
   19151     break
   19152   elif $ac_last_try; then
   19153     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19154   else
   19155     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19156   fi
   19157 done
   19158 rm -f conf$$subs.sh
   19159 
   19160 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19161 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19162 _ACEOF
   19163 sed -n '
   19164 h
   19165 s/^/S["/; s/!.*/"]=/
   19166 p
   19167 g
   19168 s/^[^!]*!//
   19169 :repl
   19170 t repl
   19171 s/'"$ac_delim"'$//
   19172 t delim
   19173 :nl
   19174 h
   19175 s/\(.\{148\}\)..*/\1/
   19176 t more1
   19177 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19178 p
   19179 n
   19180 b repl
   19181 :more1
   19182 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19183 p
   19184 g
   19185 s/.\{148\}//
   19186 t nl
   19187 :delim
   19188 h
   19189 s/\(.\{148\}\)..*/\1/
   19190 t more2
   19191 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19192 p
   19193 b
   19194 :more2
   19195 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19196 p
   19197 g
   19198 s/.\{148\}//
   19199 t delim
   19200 ' <conf$$subs.awk | sed '
   19201 /^[^""]/{
   19202   N
   19203   s/\n//
   19204 }
   19205 ' >>$CONFIG_STATUS || ac_write_fail=1
   19206 rm -f conf$$subs.awk
   19207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19208 _ACAWK
   19209 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19210   for (key in S) S_is_set[key] = 1
   19211   FS = ""
   19212 
   19213 }
   19214 {
   19215   line = $ 0
   19216   nfields = split(line, field, "@")
   19217   substed = 0
   19218   len = length(field[1])
   19219   for (i = 2; i < nfields; i++) {
   19220     key = field[i]
   19221     keylen = length(key)
   19222     if (S_is_set[key]) {
   19223       value = S[key]
   19224       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19225       len += length(value) + length(field[++i])
   19226       substed = 1
   19227     } else
   19228       len += 1 + keylen
   19229   }
   19230 
   19231   print line
   19232 }
   19233 
   19234 _ACAWK
   19235 _ACEOF
   19236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19237 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19238   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19239 else
   19240   cat
   19241 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19242   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19243 _ACEOF
   19244 
   19245 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19246 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19247 # trailing colons and then remove the whole line if VPATH becomes empty
   19248 # (actually we leave an empty line to preserve line numbers).
   19249 if test "x$srcdir" = x.; then
   19250   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19251 h
   19252 s///
   19253 s/^/:/
   19254 s/[	 ]*$/:/
   19255 s/:\$(srcdir):/:/g
   19256 s/:\${srcdir}:/:/g
   19257 s/:@srcdir@:/:/g
   19258 s/^:*//
   19259 s/:*$//
   19260 x
   19261 s/\(=[	 ]*\).*/\1/
   19262 G
   19263 s/\n//
   19264 s/^[^=]*=[	 ]*$//
   19265 }'
   19266 fi
   19267 
   19268 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19269 fi # test -n "$CONFIG_FILES"
   19270 
   19271 # Set up the scripts for CONFIG_HEADERS section.
   19272 # No need to generate them if there are no CONFIG_HEADERS.
   19273 # This happens for instance with `./config.status Makefile'.
   19274 if test -n "$CONFIG_HEADERS"; then
   19275 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19276 BEGIN {
   19277 _ACEOF
   19278 
   19279 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19280 # here-document in config.status, that substitutes the proper values into
   19281 # config.h.in to produce config.h.
   19282 
   19283 # Create a delimiter string that does not exist in confdefs.h, to ease
   19284 # handling of long lines.
   19285 ac_delim='%!_!# '
   19286 for ac_last_try in false false :; do
   19287   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19288   if test -z "$ac_tt"; then
   19289     break
   19290   elif $ac_last_try; then
   19291     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19292   else
   19293     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19294   fi
   19295 done
   19296 
   19297 # For the awk script, D is an array of macro values keyed by name,
   19298 # likewise P contains macro parameters if any.  Preserve backslash
   19299 # newline sequences.
   19300 
   19301 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19302 sed -n '
   19303 s/.\{148\}/&'"$ac_delim"'/g
   19304 t rset
   19305 :rset
   19306 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19307 t def
   19308 d
   19309 :def
   19310 s/\\$//
   19311 t bsnl
   19312 s/["\\]/\\&/g
   19313 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19314 D["\1"]=" \3"/p
   19315 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19316 d
   19317 :bsnl
   19318 s/["\\]/\\&/g
   19319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19320 D["\1"]=" \3\\\\\\n"\\/p
   19321 t cont
   19322 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19323 t cont
   19324 d
   19325 :cont
   19326 n
   19327 s/.\{148\}/&'"$ac_delim"'/g
   19328 t clear
   19329 :clear
   19330 s/\\$//
   19331 t bsnlc
   19332 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19333 d
   19334 :bsnlc
   19335 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19336 b cont
   19337 ' <confdefs.h | sed '
   19338 s/'"$ac_delim"'/"\\\
   19339 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19340 
   19341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19342   for (key in D) D_is_set[key] = 1
   19343   FS = ""
   19344 }
   19345 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19346   line = \$ 0
   19347   split(line, arg, " ")
   19348   if (arg[1] == "#") {
   19349     defundef = arg[2]
   19350     mac1 = arg[3]
   19351   } else {
   19352     defundef = substr(arg[1], 2)
   19353     mac1 = arg[2]
   19354   }
   19355   split(mac1, mac2, "(") #)
   19356   macro = mac2[1]
   19357   prefix = substr(line, 1, index(line, defundef) - 1)
   19358   if (D_is_set[macro]) {
   19359     # Preserve the white space surrounding the "#".
   19360     print prefix "define", macro P[macro] D[macro]
   19361     next
   19362   } else {
   19363     # Replace #undef with comments.  This is necessary, for example,
   19364     # in the case of _POSIX_SOURCE, which is predefined and required
   19365     # on some systems where configure will not decide to define it.
   19366     if (defundef == "undef") {
   19367       print "/*", prefix defundef, macro, "*/"
   19368       next
   19369     }
   19370   }
   19371 }
   19372 { print }
   19373 _ACAWK
   19374 _ACEOF
   19375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19376   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19377 fi # test -n "$CONFIG_HEADERS"
   19378 
   19379 
   19380 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19381 shift
   19382 for ac_tag
   19383 do
   19384   case $ac_tag in
   19385   :[FHLC]) ac_mode=$ac_tag; continue;;
   19386   esac
   19387   case $ac_mode$ac_tag in
   19388   :[FHL]*:*);;
   19389   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19390   :[FH]-) ac_tag=-:-;;
   19391   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19392   esac
   19393   ac_save_IFS=$IFS
   19394   IFS=:
   19395   set x $ac_tag
   19396   IFS=$ac_save_IFS
   19397   shift
   19398   ac_file=$1
   19399   shift
   19400 
   19401   case $ac_mode in
   19402   :L) ac_source=$1;;
   19403   :[FH])
   19404     ac_file_inputs=
   19405     for ac_f
   19406     do
   19407       case $ac_f in
   19408       -) ac_f="$ac_tmp/stdin";;
   19409       *) # Look for the file first in the build tree, then in the source tree
   19410 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19411 	 # because $ac_f cannot contain `:'.
   19412 	 test -f "$ac_f" ||
   19413 	   case $ac_f in
   19414 	   [\\/$]*) false;;
   19415 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19416 	   esac ||
   19417 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19418       esac
   19419       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19420       as_fn_append ac_file_inputs " '$ac_f'"
   19421     done
   19422 
   19423     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19424     # use $as_me), people would be surprised to read:
   19425     #    /* config.h.  Generated by config.status.  */
   19426     configure_input='Generated from '`
   19427 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19428 	`' by configure.'
   19429     if test x"$ac_file" != x-; then
   19430       configure_input="$ac_file.  $configure_input"
   19431       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19432 $as_echo "$as_me: creating $ac_file" >&6;}
   19433     fi
   19434     # Neutralize special characters interpreted by sed in replacement strings.
   19435     case $configure_input in #(
   19436     *\&* | *\|* | *\\* )
   19437        ac_sed_conf_input=`$as_echo "$configure_input" |
   19438        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19439     *) ac_sed_conf_input=$configure_input;;
   19440     esac
   19441 
   19442     case $ac_tag in
   19443     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19444       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19445     esac
   19446     ;;
   19447   esac
   19448 
   19449   ac_dir=`$as_dirname -- "$ac_file" ||
   19450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19451 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19452 	 X"$ac_file" : 'X\(//\)$' \| \
   19453 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19454 $as_echo X"$ac_file" |
   19455     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19456 	    s//\1/
   19457 	    q
   19458 	  }
   19459 	  /^X\(\/\/\)[^/].*/{
   19460 	    s//\1/
   19461 	    q
   19462 	  }
   19463 	  /^X\(\/\/\)$/{
   19464 	    s//\1/
   19465 	    q
   19466 	  }
   19467 	  /^X\(\/\).*/{
   19468 	    s//\1/
   19469 	    q
   19470 	  }
   19471 	  s/.*/./; q'`
   19472   as_dir="$ac_dir"; as_fn_mkdir_p
   19473   ac_builddir=.
   19474 
   19475 case "$ac_dir" in
   19476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19477 *)
   19478   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19479   # A ".." for each directory in $ac_dir_suffix.
   19480   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19481   case $ac_top_builddir_sub in
   19482   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19483   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19484   esac ;;
   19485 esac
   19486 ac_abs_top_builddir=$ac_pwd
   19487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19488 # for backward compatibility:
   19489 ac_top_builddir=$ac_top_build_prefix
   19490 
   19491 case $srcdir in
   19492   .)  # We are building in place.
   19493     ac_srcdir=.
   19494     ac_top_srcdir=$ac_top_builddir_sub
   19495     ac_abs_top_srcdir=$ac_pwd ;;
   19496   [\\/]* | ?:[\\/]* )  # Absolute name.
   19497     ac_srcdir=$srcdir$ac_dir_suffix;
   19498     ac_top_srcdir=$srcdir
   19499     ac_abs_top_srcdir=$srcdir ;;
   19500   *) # Relative name.
   19501     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19502     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19503     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19504 esac
   19505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19506 
   19507 
   19508   case $ac_mode in
   19509   :F)
   19510   #
   19511   # CONFIG_FILE
   19512   #
   19513 
   19514   case $INSTALL in
   19515   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19516   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19517   esac
   19518   ac_MKDIR_P=$MKDIR_P
   19519   case $MKDIR_P in
   19520   [\\/$]* | ?:[\\/]* ) ;;
   19521   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19522   esac
   19523 _ACEOF
   19524 
   19525 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19526 # If the template does not know about datarootdir, expand it.
   19527 # FIXME: This hack should be removed a few years after 2.60.
   19528 ac_datarootdir_hack=; ac_datarootdir_seen=
   19529 ac_sed_dataroot='
   19530 /datarootdir/ {
   19531   p
   19532   q
   19533 }
   19534 /@datadir@/p
   19535 /@docdir@/p
   19536 /@infodir@/p
   19537 /@localedir@/p
   19538 /@mandir@/p'
   19539 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19540 *datarootdir*) ac_datarootdir_seen=yes;;
   19541 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19542   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19543 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19544 _ACEOF
   19545 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19546   ac_datarootdir_hack='
   19547   s&@datadir@&$datadir&g
   19548   s&@docdir@&$docdir&g
   19549   s&@infodir@&$infodir&g
   19550   s&@localedir@&$localedir&g
   19551   s&@mandir@&$mandir&g
   19552   s&\\\${datarootdir}&$datarootdir&g' ;;
   19553 esac
   19554 _ACEOF
   19555 
   19556 # Neutralize VPATH when `$srcdir' = `.'.
   19557 # Shell code in configure.ac might set extrasub.
   19558 # FIXME: do we really want to maintain this feature?
   19559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19560 ac_sed_extra="$ac_vpsub
   19561 $extrasub
   19562 _ACEOF
   19563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19564 :t
   19565 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19566 s|@configure_input@|$ac_sed_conf_input|;t t
   19567 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19568 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19569 s&@srcdir@&$ac_srcdir&;t t
   19570 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19571 s&@top_srcdir@&$ac_top_srcdir&;t t
   19572 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19573 s&@builddir@&$ac_builddir&;t t
   19574 s&@abs_builddir@&$ac_abs_builddir&;t t
   19575 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19576 s&@INSTALL@&$ac_INSTALL&;t t
   19577 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19578 $ac_datarootdir_hack
   19579 "
   19580 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19581   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19582 
   19583 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19584   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19585   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19586       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19587   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19588 which seems to be undefined.  Please make sure it is defined" >&5
   19589 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19590 which seems to be undefined.  Please make sure it is defined" >&2;}
   19591 
   19592   rm -f "$ac_tmp/stdin"
   19593   case $ac_file in
   19594   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19595   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19596   esac \
   19597   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19598  ;;
   19599   :H)
   19600   #
   19601   # CONFIG_HEADER
   19602   #
   19603   if test x"$ac_file" != x-; then
   19604     {
   19605       $as_echo "/* $configure_input  */" \
   19606       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19607     } >"$ac_tmp/config.h" \
   19608       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19609     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19610       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19611 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19612     else
   19613       rm -f "$ac_file"
   19614       mv "$ac_tmp/config.h" "$ac_file" \
   19615 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19616     fi
   19617   else
   19618     $as_echo "/* $configure_input  */" \
   19619       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19620       || as_fn_error $? "could not create -" "$LINENO" 5
   19621   fi
   19622 # Compute "$ac_file"'s index in $config_headers.
   19623 _am_arg="$ac_file"
   19624 _am_stamp_count=1
   19625 for _am_header in $config_headers :; do
   19626   case $_am_header in
   19627     $_am_arg | $_am_arg:* )
   19628       break ;;
   19629     * )
   19630       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19631   esac
   19632 done
   19633 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19634 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19635 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19636 	 X"$_am_arg" : 'X\(//\)$' \| \
   19637 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19638 $as_echo X"$_am_arg" |
   19639     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19640 	    s//\1/
   19641 	    q
   19642 	  }
   19643 	  /^X\(\/\/\)[^/].*/{
   19644 	    s//\1/
   19645 	    q
   19646 	  }
   19647 	  /^X\(\/\/\)$/{
   19648 	    s//\1/
   19649 	    q
   19650 	  }
   19651 	  /^X\(\/\).*/{
   19652 	    s//\1/
   19653 	    q
   19654 	  }
   19655 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19656  ;;
   19657 
   19658   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19659 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19660  ;;
   19661   esac
   19662 
   19663 
   19664   case $ac_file$ac_mode in
   19665     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19666   # Older Autoconf quotes --file arguments for eval, but not when files
   19667   # are listed without --file.  Let's play safe and only enable the eval
   19668   # if we detect the quoting.
   19669   case $CONFIG_FILES in
   19670   *\'*) eval set x "$CONFIG_FILES" ;;
   19671   *)   set x $CONFIG_FILES ;;
   19672   esac
   19673   shift
   19674   for mf
   19675   do
   19676     # Strip MF so we end up with the name of the file.
   19677     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19678     # Check whether this is an Automake generated Makefile or not.
   19679     # We used to match only the files named 'Makefile.in', but
   19680     # some people rename them; so instead we look at the file content.
   19681     # Grep'ing the first line is not enough: some people post-process
   19682     # each Makefile.in and add a new line on top of each file to say so.
   19683     # Grep'ing the whole file is not good either: AIX grep has a line
   19684     # limit of 2048, but all sed's we know have understand at least 4000.
   19685     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19686       dirpart=`$as_dirname -- "$mf" ||
   19687 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19688 	 X"$mf" : 'X\(//\)[^/]' \| \
   19689 	 X"$mf" : 'X\(//\)$' \| \
   19690 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19691 $as_echo X"$mf" |
   19692     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19693 	    s//\1/
   19694 	    q
   19695 	  }
   19696 	  /^X\(\/\/\)[^/].*/{
   19697 	    s//\1/
   19698 	    q
   19699 	  }
   19700 	  /^X\(\/\/\)$/{
   19701 	    s//\1/
   19702 	    q
   19703 	  }
   19704 	  /^X\(\/\).*/{
   19705 	    s//\1/
   19706 	    q
   19707 	  }
   19708 	  s/.*/./; q'`
   19709     else
   19710       continue
   19711     fi
   19712     # Extract the definition of DEPDIR, am__include, and am__quote
   19713     # from the Makefile without running 'make'.
   19714     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19715     test -z "$DEPDIR" && continue
   19716     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19717     test -z "$am__include" && continue
   19718     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19719     # Find all dependency output files, they are included files with
   19720     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19721     # simplest approach to changing $(DEPDIR) to its actual value in the
   19722     # expansion.
   19723     for file in `sed -n "
   19724       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19725 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19726       # Make sure the directory exists.
   19727       test -f "$dirpart/$file" && continue
   19728       fdir=`$as_dirname -- "$file" ||
   19729 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19730 	 X"$file" : 'X\(//\)[^/]' \| \
   19731 	 X"$file" : 'X\(//\)$' \| \
   19732 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19733 $as_echo X"$file" |
   19734     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19735 	    s//\1/
   19736 	    q
   19737 	  }
   19738 	  /^X\(\/\/\)[^/].*/{
   19739 	    s//\1/
   19740 	    q
   19741 	  }
   19742 	  /^X\(\/\/\)$/{
   19743 	    s//\1/
   19744 	    q
   19745 	  }
   19746 	  /^X\(\/\).*/{
   19747 	    s//\1/
   19748 	    q
   19749 	  }
   19750 	  s/.*/./; q'`
   19751       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19752       # echo "creating $dirpart/$file"
   19753       echo '# dummy' > "$dirpart/$file"
   19754     done
   19755   done
   19756 }
   19757  ;;
   19758     "libtool":C)
   19759 
   19760     # See if we are running on zsh, and set the options which allow our
   19761     # commands through without removal of \ escapes.
   19762     if test -n "${ZSH_VERSION+set}" ; then
   19763       setopt NO_GLOB_SUBST
   19764     fi
   19765 
   19766     cfgfile="${ofile}T"
   19767     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19768     $RM "$cfgfile"
   19769 
   19770     cat <<_LT_EOF >> "$cfgfile"
   19771 #! $SHELL
   19772 
   19773 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19774 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19775 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19776 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19777 #
   19778 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19779 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19780 #                 Foundation, Inc.
   19781 #   Written by Gordon Matzigkeit, 1996
   19782 #
   19783 #   This file is part of GNU Libtool.
   19784 #
   19785 # GNU Libtool is free software; you can redistribute it and/or
   19786 # modify it under the terms of the GNU General Public License as
   19787 # published by the Free Software Foundation; either version 2 of
   19788 # the License, or (at your option) any later version.
   19789 #
   19790 # As a special exception to the GNU General Public License,
   19791 # if you distribute this file as part of a program or library that
   19792 # is built using GNU Libtool, you may include this file under the
   19793 # same distribution terms that you use for the rest of that program.
   19794 #
   19795 # GNU Libtool is distributed in the hope that it will be useful,
   19796 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19797 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19798 # GNU General Public License for more details.
   19799 #
   19800 # You should have received a copy of the GNU General Public License
   19801 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19802 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19803 # obtained by writing to the Free Software Foundation, Inc.,
   19804 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19805 
   19806 
   19807 # The names of the tagged configurations supported by this script.
   19808 available_tags=""
   19809 
   19810 # ### BEGIN LIBTOOL CONFIG
   19811 
   19812 # Which release of libtool.m4 was used?
   19813 macro_version=$macro_version
   19814 macro_revision=$macro_revision
   19815 
   19816 # Whether or not to build shared libraries.
   19817 build_libtool_libs=$enable_shared
   19818 
   19819 # Whether or not to build static libraries.
   19820 build_old_libs=$enable_static
   19821 
   19822 # What type of objects to build.
   19823 pic_mode=$pic_mode
   19824 
   19825 # Whether or not to optimize for fast installation.
   19826 fast_install=$enable_fast_install
   19827 
   19828 # Shell to use when invoking shell scripts.
   19829 SHELL=$lt_SHELL
   19830 
   19831 # An echo program that protects backslashes.
   19832 ECHO=$lt_ECHO
   19833 
   19834 # The PATH separator for the build system.
   19835 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19836 
   19837 # The host system.
   19838 host_alias=$host_alias
   19839 host=$host
   19840 host_os=$host_os
   19841 
   19842 # The build system.
   19843 build_alias=$build_alias
   19844 build=$build
   19845 build_os=$build_os
   19846 
   19847 # A sed program that does not truncate output.
   19848 SED=$lt_SED
   19849 
   19850 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19851 Xsed="\$SED -e 1s/^X//"
   19852 
   19853 # A grep program that handles long lines.
   19854 GREP=$lt_GREP
   19855 
   19856 # An ERE matcher.
   19857 EGREP=$lt_EGREP
   19858 
   19859 # A literal string matcher.
   19860 FGREP=$lt_FGREP
   19861 
   19862 # A BSD- or MS-compatible name lister.
   19863 NM=$lt_NM
   19864 
   19865 # Whether we need soft or hard links.
   19866 LN_S=$lt_LN_S
   19867 
   19868 # What is the maximum length of a command?
   19869 max_cmd_len=$max_cmd_len
   19870 
   19871 # Object file suffix (normally "o").
   19872 objext=$ac_objext
   19873 
   19874 # Executable file suffix (normally "").
   19875 exeext=$exeext
   19876 
   19877 # whether the shell understands "unset".
   19878 lt_unset=$lt_unset
   19879 
   19880 # turn spaces into newlines.
   19881 SP2NL=$lt_lt_SP2NL
   19882 
   19883 # turn newlines into spaces.
   19884 NL2SP=$lt_lt_NL2SP
   19885 
   19886 # convert \$build file names to \$host format.
   19887 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19888 
   19889 # convert \$build files to toolchain format.
   19890 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19891 
   19892 # An object symbol dumper.
   19893 OBJDUMP=$lt_OBJDUMP
   19894 
   19895 # Method to check whether dependent libraries are shared objects.
   19896 deplibs_check_method=$lt_deplibs_check_method
   19897 
   19898 # Command to use when deplibs_check_method = "file_magic".
   19899 file_magic_cmd=$lt_file_magic_cmd
   19900 
   19901 # How to find potential files when deplibs_check_method = "file_magic".
   19902 file_magic_glob=$lt_file_magic_glob
   19903 
   19904 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19905 want_nocaseglob=$lt_want_nocaseglob
   19906 
   19907 # DLL creation program.
   19908 DLLTOOL=$lt_DLLTOOL
   19909 
   19910 # Command to associate shared and link libraries.
   19911 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19912 
   19913 # The archiver.
   19914 AR=$lt_AR
   19915 
   19916 # Flags to create an archive.
   19917 AR_FLAGS=$lt_AR_FLAGS
   19918 
   19919 # How to feed a file listing to the archiver.
   19920 archiver_list_spec=$lt_archiver_list_spec
   19921 
   19922 # A symbol stripping program.
   19923 STRIP=$lt_STRIP
   19924 
   19925 # Commands used to install an old-style archive.
   19926 RANLIB=$lt_RANLIB
   19927 old_postinstall_cmds=$lt_old_postinstall_cmds
   19928 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19929 
   19930 # Whether to use a lock for old archive extraction.
   19931 lock_old_archive_extraction=$lock_old_archive_extraction
   19932 
   19933 # A C compiler.
   19934 LTCC=$lt_CC
   19935 
   19936 # LTCC compiler flags.
   19937 LTCFLAGS=$lt_CFLAGS
   19938 
   19939 # Take the output of nm and produce a listing of raw symbols and C names.
   19940 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19941 
   19942 # Transform the output of nm in a proper C declaration.
   19943 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19944 
   19945 # Transform the output of nm in a C name address pair.
   19946 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19947 
   19948 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19949 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19950 
   19951 # Specify filename containing input files for \$NM.
   19952 nm_file_list_spec=$lt_nm_file_list_spec
   19953 
   19954 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19955 lt_sysroot=$lt_sysroot
   19956 
   19957 # The name of the directory that contains temporary libtool files.
   19958 objdir=$objdir
   19959 
   19960 # Used to examine libraries when file_magic_cmd begins with "file".
   19961 MAGIC_CMD=$MAGIC_CMD
   19962 
   19963 # Must we lock files when doing compilation?
   19964 need_locks=$lt_need_locks
   19965 
   19966 # Manifest tool.
   19967 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19968 
   19969 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19970 DSYMUTIL=$lt_DSYMUTIL
   19971 
   19972 # Tool to change global to local symbols on Mac OS X.
   19973 NMEDIT=$lt_NMEDIT
   19974 
   19975 # Tool to manipulate fat objects and archives on Mac OS X.
   19976 LIPO=$lt_LIPO
   19977 
   19978 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19979 OTOOL=$lt_OTOOL
   19980 
   19981 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19982 OTOOL64=$lt_OTOOL64
   19983 
   19984 # Old archive suffix (normally "a").
   19985 libext=$libext
   19986 
   19987 # Shared library suffix (normally ".so").
   19988 shrext_cmds=$lt_shrext_cmds
   19989 
   19990 # The commands to extract the exported symbol list from a shared archive.
   19991 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19992 
   19993 # Variables whose values should be saved in libtool wrapper scripts and
   19994 # restored at link time.
   19995 variables_saved_for_relink=$lt_variables_saved_for_relink
   19996 
   19997 # Do we need the "lib" prefix for modules?
   19998 need_lib_prefix=$need_lib_prefix
   19999 
   20000 # Do we need a version for libraries?
   20001 need_version=$need_version
   20002 
   20003 # Library versioning type.
   20004 version_type=$version_type
   20005 
   20006 # Shared library runtime path variable.
   20007 runpath_var=$runpath_var
   20008 
   20009 # Shared library path variable.
   20010 shlibpath_var=$shlibpath_var
   20011 
   20012 # Is shlibpath searched before the hard-coded library search path?
   20013 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20014 
   20015 # Format of library name prefix.
   20016 libname_spec=$lt_libname_spec
   20017 
   20018 # List of archive names.  First name is the real one, the rest are links.
   20019 # The last name is the one that the linker finds with -lNAME
   20020 library_names_spec=$lt_library_names_spec
   20021 
   20022 # The coded name of the library, if different from the real name.
   20023 soname_spec=$lt_soname_spec
   20024 
   20025 # Permission mode override for installation of shared libraries.
   20026 install_override_mode=$lt_install_override_mode
   20027 
   20028 # Command to use after installation of a shared archive.
   20029 postinstall_cmds=$lt_postinstall_cmds
   20030 
   20031 # Command to use after uninstallation of a shared archive.
   20032 postuninstall_cmds=$lt_postuninstall_cmds
   20033 
   20034 # Commands used to finish a libtool library installation in a directory.
   20035 finish_cmds=$lt_finish_cmds
   20036 
   20037 # As "finish_cmds", except a single script fragment to be evaled but
   20038 # not shown.
   20039 finish_eval=$lt_finish_eval
   20040 
   20041 # Whether we should hardcode library paths into libraries.
   20042 hardcode_into_libs=$hardcode_into_libs
   20043 
   20044 # Compile-time system search path for libraries.
   20045 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20046 
   20047 # Run-time system search path for libraries.
   20048 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20049 
   20050 # Whether dlopen is supported.
   20051 dlopen_support=$enable_dlopen
   20052 
   20053 # Whether dlopen of programs is supported.
   20054 dlopen_self=$enable_dlopen_self
   20055 
   20056 # Whether dlopen of statically linked programs is supported.
   20057 dlopen_self_static=$enable_dlopen_self_static
   20058 
   20059 # Commands to strip libraries.
   20060 old_striplib=$lt_old_striplib
   20061 striplib=$lt_striplib
   20062 
   20063 
   20064 # The linker used to build libraries.
   20065 LD=$lt_LD
   20066 
   20067 # How to create reloadable object files.
   20068 reload_flag=$lt_reload_flag
   20069 reload_cmds=$lt_reload_cmds
   20070 
   20071 # Commands used to build an old-style archive.
   20072 old_archive_cmds=$lt_old_archive_cmds
   20073 
   20074 # A language specific compiler.
   20075 CC=$lt_compiler
   20076 
   20077 # Is the compiler the GNU compiler?
   20078 with_gcc=$GCC
   20079 
   20080 # Compiler flag to turn off builtin functions.
   20081 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20082 
   20083 # Additional compiler flags for building library objects.
   20084 pic_flag=$lt_lt_prog_compiler_pic
   20085 
   20086 # How to pass a linker flag through the compiler.
   20087 wl=$lt_lt_prog_compiler_wl
   20088 
   20089 # Compiler flag to prevent dynamic linking.
   20090 link_static_flag=$lt_lt_prog_compiler_static
   20091 
   20092 # Does compiler simultaneously support -c and -o options?
   20093 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20094 
   20095 # Whether or not to add -lc for building shared libraries.
   20096 build_libtool_need_lc=$archive_cmds_need_lc
   20097 
   20098 # Whether or not to disallow shared libs when runtime libs are static.
   20099 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20100 
   20101 # Compiler flag to allow reflexive dlopens.
   20102 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20103 
   20104 # Compiler flag to generate shared objects directly from archives.
   20105 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20106 
   20107 # Whether the compiler copes with passing no objects directly.
   20108 compiler_needs_object=$lt_compiler_needs_object
   20109 
   20110 # Create an old-style archive from a shared archive.
   20111 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20112 
   20113 # Create a temporary old-style archive to link instead of a shared archive.
   20114 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20115 
   20116 # Commands used to build a shared archive.
   20117 archive_cmds=$lt_archive_cmds
   20118 archive_expsym_cmds=$lt_archive_expsym_cmds
   20119 
   20120 # Commands used to build a loadable module if different from building
   20121 # a shared archive.
   20122 module_cmds=$lt_module_cmds
   20123 module_expsym_cmds=$lt_module_expsym_cmds
   20124 
   20125 # Whether we are building with GNU ld or not.
   20126 with_gnu_ld=$lt_with_gnu_ld
   20127 
   20128 # Flag that allows shared libraries with undefined symbols to be built.
   20129 allow_undefined_flag=$lt_allow_undefined_flag
   20130 
   20131 # Flag that enforces no undefined symbols.
   20132 no_undefined_flag=$lt_no_undefined_flag
   20133 
   20134 # Flag to hardcode \$libdir into a binary during linking.
   20135 # This must work even if \$libdir does not exist
   20136 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20137 
   20138 # Whether we need a single "-rpath" flag with a separated argument.
   20139 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20140 
   20141 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20142 # DIR into the resulting binary.
   20143 hardcode_direct=$hardcode_direct
   20144 
   20145 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20146 # DIR into the resulting binary and the resulting library dependency is
   20147 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20148 # library is relocated.
   20149 hardcode_direct_absolute=$hardcode_direct_absolute
   20150 
   20151 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20152 # into the resulting binary.
   20153 hardcode_minus_L=$hardcode_minus_L
   20154 
   20155 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20156 # into the resulting binary.
   20157 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20158 
   20159 # Set to "yes" if building a shared library automatically hardcodes DIR
   20160 # into the library and all subsequent libraries and executables linked
   20161 # against it.
   20162 hardcode_automatic=$hardcode_automatic
   20163 
   20164 # Set to yes if linker adds runtime paths of dependent libraries
   20165 # to runtime path list.
   20166 inherit_rpath=$inherit_rpath
   20167 
   20168 # Whether libtool must link a program against all its dependency libraries.
   20169 link_all_deplibs=$link_all_deplibs
   20170 
   20171 # Set to "yes" if exported symbols are required.
   20172 always_export_symbols=$always_export_symbols
   20173 
   20174 # The commands to list exported symbols.
   20175 export_symbols_cmds=$lt_export_symbols_cmds
   20176 
   20177 # Symbols that should not be listed in the preloaded symbols.
   20178 exclude_expsyms=$lt_exclude_expsyms
   20179 
   20180 # Symbols that must always be exported.
   20181 include_expsyms=$lt_include_expsyms
   20182 
   20183 # Commands necessary for linking programs (against libraries) with templates.
   20184 prelink_cmds=$lt_prelink_cmds
   20185 
   20186 # Commands necessary for finishing linking programs.
   20187 postlink_cmds=$lt_postlink_cmds
   20188 
   20189 # Specify filename containing input files.
   20190 file_list_spec=$lt_file_list_spec
   20191 
   20192 # How to hardcode a shared library path into an executable.
   20193 hardcode_action=$hardcode_action
   20194 
   20195 # ### END LIBTOOL CONFIG
   20196 
   20197 _LT_EOF
   20198 
   20199   case $host_os in
   20200   aix3*)
   20201     cat <<\_LT_EOF >> "$cfgfile"
   20202 # AIX sometimes has problems with the GCC collect2 program.  For some
   20203 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20204 # vanish in a puff of smoke.
   20205 if test "X${COLLECT_NAMES+set}" != Xset; then
   20206   COLLECT_NAMES=
   20207   export COLLECT_NAMES
   20208 fi
   20209 _LT_EOF
   20210     ;;
   20211   esac
   20212 
   20213 
   20214 ltmain="$ac_aux_dir/ltmain.sh"
   20215 
   20216 
   20217   # We use sed instead of cat because bash on DJGPP gets confused if
   20218   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20219   # text mode, it properly converts lines to CR/LF.  This bash problem
   20220   # is reportedly fixed, but why not run on old versions too?
   20221   sed '$q' "$ltmain" >> "$cfgfile" \
   20222      || (rm -f "$cfgfile"; exit 1)
   20223 
   20224   if test x"$xsi_shell" = xyes; then
   20225   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20226 func_dirname ()\
   20227 {\
   20228 \    case ${1} in\
   20229 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20230 \      *  ) func_dirname_result="${3}" ;;\
   20231 \    esac\
   20232 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20233   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20234     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20235 test 0 -eq $? || _lt_function_replace_fail=:
   20236 
   20237 
   20238   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20239 func_basename ()\
   20240 {\
   20241 \    func_basename_result="${1##*/}"\
   20242 } # Extended-shell func_basename 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_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20249 func_dirname_and_basename ()\
   20250 {\
   20251 \    case ${1} in\
   20252 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20253 \      *  ) func_dirname_result="${3}" ;;\
   20254 \    esac\
   20255 \    func_basename_result="${1##*/}"\
   20256 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20257   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20258     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20259 test 0 -eq $? || _lt_function_replace_fail=:
   20260 
   20261 
   20262   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20263 func_stripname ()\
   20264 {\
   20265 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20266 \    # positional parameters, so assign one to ordinary parameter first.\
   20267 \    func_stripname_result=${3}\
   20268 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20269 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20270 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20271   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20272     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20273 test 0 -eq $? || _lt_function_replace_fail=:
   20274 
   20275 
   20276   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20277 func_split_long_opt ()\
   20278 {\
   20279 \    func_split_long_opt_name=${1%%=*}\
   20280 \    func_split_long_opt_arg=${1#*=}\
   20281 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20282   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20283     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20284 test 0 -eq $? || _lt_function_replace_fail=:
   20285 
   20286 
   20287   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20288 func_split_short_opt ()\
   20289 {\
   20290 \    func_split_short_opt_arg=${1#??}\
   20291 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20292 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20293   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20294     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20295 test 0 -eq $? || _lt_function_replace_fail=:
   20296 
   20297 
   20298   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20299 func_lo2o ()\
   20300 {\
   20301 \    case ${1} in\
   20302 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20303 \      *)    func_lo2o_result=${1} ;;\
   20304 \    esac\
   20305 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20306   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20307     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20308 test 0 -eq $? || _lt_function_replace_fail=:
   20309 
   20310 
   20311   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20312 func_xform ()\
   20313 {\
   20314     func_xform_result=${1%.*}.lo\
   20315 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20316   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20317     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20318 test 0 -eq $? || _lt_function_replace_fail=:
   20319 
   20320 
   20321   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20322 func_arith ()\
   20323 {\
   20324     func_arith_result=$(( $* ))\
   20325 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20326   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20327     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20328 test 0 -eq $? || _lt_function_replace_fail=:
   20329 
   20330 
   20331   sed -e '/^func_len ()$/,/^} # func_len /c\
   20332 func_len ()\
   20333 {\
   20334     func_len_result=${#1}\
   20335 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20336   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20337     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20338 test 0 -eq $? || _lt_function_replace_fail=:
   20339 
   20340 fi
   20341 
   20342 if test x"$lt_shell_append" = xyes; then
   20343   sed -e '/^func_append ()$/,/^} # func_append /c\
   20344 func_append ()\
   20345 {\
   20346     eval "${1}+=\\${2}"\
   20347 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20348   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20349     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20350 test 0 -eq $? || _lt_function_replace_fail=:
   20351 
   20352 
   20353   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20354 func_append_quoted ()\
   20355 {\
   20356 \    func_quote_for_eval "${2}"\
   20357 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20358 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20359   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20360     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20361 test 0 -eq $? || _lt_function_replace_fail=:
   20362 
   20363 
   20364   # Save a `func_append' function call where possible by direct use of '+='
   20365   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20366     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20367       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20368   test 0 -eq $? || _lt_function_replace_fail=:
   20369 else
   20370   # Save a `func_append' function call even when '+=' is not available
   20371   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20372     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20373       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20374   test 0 -eq $? || _lt_function_replace_fail=:
   20375 fi
   20376 
   20377 if test x"$_lt_function_replace_fail" = x":"; then
   20378   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20379 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20380 fi
   20381 
   20382 
   20383    mv -f "$cfgfile" "$ofile" ||
   20384     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20385   chmod +x "$ofile"
   20386 
   20387  ;;
   20388 
   20389   esac
   20390 done # for ac_tag
   20391 
   20392 
   20393 as_fn_exit 0
   20394 _ACEOF
   20395 ac_clean_files=$ac_clean_files_save
   20396 
   20397 test $ac_write_fail = 0 ||
   20398   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20399 
   20400 
   20401 # configure is writing to config.log, and then calls config.status.
   20402 # config.status does its own redirection, appending to config.log.
   20403 # Unfortunately, on DOS this fails, as config.log is still kept open
   20404 # by configure, so config.status won't be able to write to it; its
   20405 # output is simply discarded.  So we exec the FD to /dev/null,
   20406 # effectively closing config.log, so it can be properly (re)opened and
   20407 # appended to by config.status.  When coming back to configure, we
   20408 # need to make the FD available again.
   20409 if test "$no_create" != yes; then
   20410   ac_cs_success=:
   20411   ac_config_status_args=
   20412   test "$silent" = yes &&
   20413     ac_config_status_args="$ac_config_status_args --quiet"
   20414   exec 5>/dev/null
   20415   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20416   exec 5>>config.log
   20417   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20418   # would make configure fail if this is the last instruction.
   20419   $ac_cs_success || as_fn_exit 1
   20420 fi
   20421 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20422   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20423 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20424 fi
   20425 
   20426