Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXt 1.1.4.
      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 as_awk_strverscmp='
    551   # Use only awk features that work with 7th edition Unix awk (1978).
    552   # My, what an old awk you have, Mr. Solaris!
    553   END {
    554     while (length(v1) && length(v2)) {
    555       # Set d1 to be the next thing to compare from v1, and likewise for d2.
    556       # Normally this is a single character, but if v1 and v2 contain digits,
    557       # compare them as integers and fractions as strverscmp does.
    558       if (v1 ~ /^[0-9]/ && v2 ~ /^[0-9]/) {
    559 	# Split v1 and v2 into their leading digit string components d1 and d2,
    560 	# and advance v1 and v2 past the leading digit strings.
    561 	for (len1 = 1; substr(v1, len1 + 1) ~ /^[0-9]/; len1++) continue
    562 	for (len2 = 1; substr(v2, len2 + 1) ~ /^[0-9]/; len2++) continue
    563 	d1 = substr(v1, 1, len1); v1 = substr(v1, len1 + 1)
    564 	d2 = substr(v2, 1, len2); v2 = substr(v2, len2 + 1)
    565 	if (d1 ~ /^0/) {
    566 	  if (d2 ~ /^0/) {
    567 	    # Compare two fractions.
    568 	    while (d1 ~ /^0/ && d2 ~ /^0/) {
    569 	      d1 = substr(d1, 2); len1--
    570 	      d2 = substr(d2, 2); len2--
    571 	    }
    572 	    if (len1 != len2 && ! (len1 && len2 && substr(d1, 1, 1) == substr(d2, 1, 1))) {
    573 	      # The two components differ in length, and the common prefix
    574 	      # contains only leading zeros.  Consider the longer to be less.
    575 	      d1 = -len1
    576 	      d2 = -len2
    577 	    } else {
    578 	      # Otherwise, compare as strings.
    579 	      d1 = "x" d1
    580 	      d2 = "x" d2
    581 	    }
    582 	  } else {
    583 	    # A fraction is less than an integer.
    584 	    exit 1
    585 	  }
    586 	} else {
    587 	  if (d2 ~ /^0/) {
    588 	    # An integer is greater than a fraction.
    589 	    exit 2
    590 	  } else {
    591 	    # Compare two integers.
    592 	    d1 += 0
    593 	    d2 += 0
    594 	  }
    595 	}
    596       } else {
    597 	# The normal case, without worrying about digits.
    598 	d1 = substr(v1, 1, 1); v1 = substr(v1, 2)
    599 	d2 = substr(v2, 1, 1); v2 = substr(v2, 2)
    600       }
    601       if (d1 < d2) exit 1
    602       if (d1 > d2) exit 2
    603     }
    604     # Beware Solaris /usr/xgp4/bin/awk (at least through Solaris 10),
    605     # which mishandles some comparisons of empty strings to integers.
    606     if (length(v2)) exit 1
    607     if (length(v1)) exit 2
    608   }
    609 '
    610 
    611 test -n "$DJDIR" || exec 7<&0 </dev/null
    612 exec 6>&1
    613 
    614 # Name of the host.
    615 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    616 # so uname gets run too.
    617 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    618 
    619 #
    620 # Initializations.
    621 #
    622 ac_default_prefix=/usr/local
    623 ac_clean_files=
    624 ac_config_libobj_dir=.
    625 LIBOBJS=
    626 cross_compiling=no
    627 subdirs=
    628 MFLAGS=
    629 MAKEFLAGS=
    630 
    631 # Identity of this package.
    632 PACKAGE_NAME='libXt'
    633 PACKAGE_TARNAME='libXt'
    634 PACKAGE_VERSION='1.1.4'
    635 PACKAGE_STRING='libXt 1.1.4'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 ERRORDBDIR
    681 STRINGSABIOPTIONS
    682 appdefaultdir
    683 XFILESEARCHPATHDEFAULT
    684 MALLOC_DEBUG_ENV
    685 HAVE_GLIB_FALSE
    686 HAVE_GLIB_TRUE
    687 GLIB_LIBS
    688 GLIB_CFLAGS
    689 ENABLE_UNIT_TESTS_FALSE
    690 ENABLE_UNIT_TESTS_TRUE
    691 XORG_MALLOC_DEBUG_ENV
    692 LDFLAGS_FOR_BUILD
    693 CFLAGS_FOR_BUILD
    694 CC_FOR_BUILD
    695 XT_LIBS
    696 XT_CFLAGS
    697 HAVE_PERL_FALSE
    698 HAVE_PERL_TRUE
    699 PERL
    700 RAWCPPFLAGS
    701 RAWCPP
    702 HAVE_STYLESHEETS_FALSE
    703 HAVE_STYLESHEETS_TRUE
    704 XSL_STYLESHEET
    705 STYLESHEET_SRCDIR
    706 XORG_SGML_PATH
    707 HAVE_XSLTPROC_FALSE
    708 HAVE_XSLTPROC_TRUE
    709 XSLTPROC
    710 HAVE_FOP_FALSE
    711 HAVE_FOP_TRUE
    712 FOP
    713 HAVE_XMLTO_FALSE
    714 HAVE_XMLTO_TRUE
    715 HAVE_XMLTO_TEXT_FALSE
    716 HAVE_XMLTO_TEXT_TRUE
    717 XMLTO
    718 ENABLE_SPECS_FALSE
    719 ENABLE_SPECS_TRUE
    720 XTMALLOC_ZERO_CFLAGS
    721 XMALLOC_ZERO_CFLAGS
    722 MALLOC_ZERO_CFLAGS
    723 MAN_SUBSTS
    724 XORG_MAN_PAGE
    725 ADMIN_MAN_DIR
    726 DRIVER_MAN_DIR
    727 MISC_MAN_DIR
    728 FILE_MAN_DIR
    729 LIB_MAN_DIR
    730 APP_MAN_DIR
    731 ADMIN_MAN_SUFFIX
    732 DRIVER_MAN_SUFFIX
    733 MISC_MAN_SUFFIX
    734 FILE_MAN_SUFFIX
    735 LIB_MAN_SUFFIX
    736 APP_MAN_SUFFIX
    737 INSTALL_CMD
    738 PKG_CONFIG
    739 CHANGELOG_CMD
    740 STRICT_CFLAGS
    741 CWARNFLAGS
    742 BASE_CFLAGS
    743 CPP
    744 OTOOL64
    745 OTOOL
    746 LIPO
    747 NMEDIT
    748 DSYMUTIL
    749 MANIFEST_TOOL
    750 RANLIB
    751 ac_ct_AR
    752 AR
    753 DLLTOOL
    754 OBJDUMP
    755 LN_S
    756 NM
    757 ac_ct_DUMPBIN
    758 DUMPBIN
    759 LD
    760 FGREP
    761 EGREP
    762 GREP
    763 SED
    764 am__fastdepCC_FALSE
    765 am__fastdepCC_TRUE
    766 CCDEPMODE
    767 am__nodep
    768 AMDEPBACKSLASH
    769 AMDEP_FALSE
    770 AMDEP_TRUE
    771 am__quote
    772 am__include
    773 DEPDIR
    774 OBJEXT
    775 EXEEXT
    776 ac_ct_CC
    777 CPPFLAGS
    778 LDFLAGS
    779 CFLAGS
    780 CC
    781 host_os
    782 host_vendor
    783 host_cpu
    784 host
    785 build_os
    786 build_vendor
    787 build_cpu
    788 build
    789 LIBTOOL
    790 AM_BACKSLASH
    791 AM_DEFAULT_VERBOSITY
    792 AM_DEFAULT_V
    793 AM_V
    794 am__untar
    795 am__tar
    796 AMTAR
    797 am__leading_dot
    798 SET_MAKE
    799 AWK
    800 mkdir_p
    801 MKDIR_P
    802 INSTALL_STRIP_PROGRAM
    803 STRIP
    804 install_sh
    805 MAKEINFO
    806 AUTOHEADER
    807 AUTOMAKE
    808 AUTOCONF
    809 ACLOCAL
    810 VERSION
    811 PACKAGE
    812 CYGPATH_W
    813 am__isrc
    814 INSTALL_DATA
    815 INSTALL_SCRIPT
    816 INSTALL_PROGRAM
    817 target_alias
    818 host_alias
    819 build_alias
    820 LIBS
    821 ECHO_T
    822 ECHO_N
    823 ECHO_C
    824 DEFS
    825 mandir
    826 localedir
    827 libdir
    828 psdir
    829 pdfdir
    830 dvidir
    831 htmldir
    832 infodir
    833 docdir
    834 oldincludedir
    835 includedir
    836 localstatedir
    837 sharedstatedir
    838 sysconfdir
    839 datadir
    840 datarootdir
    841 libexecdir
    842 sbindir
    843 bindir
    844 program_transform_name
    845 prefix
    846 exec_prefix
    847 PACKAGE_URL
    848 PACKAGE_BUGREPORT
    849 PACKAGE_STRING
    850 PACKAGE_VERSION
    851 PACKAGE_TARNAME
    852 PACKAGE_NAME
    853 PATH_SEPARATOR
    854 SHELL'
    855 ac_subst_files=''
    856 ac_user_opts='
    857 enable_option_checking
    858 enable_silent_rules
    859 enable_shared
    860 enable_static
    861 with_pic
    862 enable_fast_install
    863 enable_dependency_tracking
    864 with_gnu_ld
    865 with_sysroot
    866 enable_libtool_lock
    867 enable_selective_werror
    868 enable_strict_compilation
    869 enable_malloc0returnsnull
    870 enable_specs
    871 with_xmlto
    872 with_fop
    873 with_xsltproc
    874 with_perl
    875 enable_xkb
    876 enable_unit_tests
    877 with_glib
    878 with_xfile_search_path
    879 with_appdefaultdir
    880 '
    881       ac_precious_vars='build_alias
    882 host_alias
    883 target_alias
    884 CC
    885 CFLAGS
    886 LDFLAGS
    887 LIBS
    888 CPPFLAGS
    889 CPP
    890 PKG_CONFIG
    891 XMLTO
    892 FOP
    893 XSLTPROC
    894 PERL
    895 XT_CFLAGS
    896 XT_LIBS
    897 XORG_MALLOC_DEBUG_ENV
    898 GLIB_CFLAGS
    899 GLIB_LIBS'
    900 
    901 
    902 # Initialize some variables set by options.
    903 ac_init_help=
    904 ac_init_version=false
    905 ac_unrecognized_opts=
    906 ac_unrecognized_sep=
    907 # The variables have the same names as the options, with
    908 # dashes changed to underlines.
    909 cache_file=/dev/null
    910 exec_prefix=NONE
    911 no_create=
    912 no_recursion=
    913 prefix=NONE
    914 program_prefix=NONE
    915 program_suffix=NONE
    916 program_transform_name=s,x,x,
    917 silent=
    918 site=
    919 srcdir=
    920 verbose=
    921 x_includes=NONE
    922 x_libraries=NONE
    923 
    924 # Installation directory options.
    925 # These are left unexpanded so users can "make install exec_prefix=/foo"
    926 # and all the variables that are supposed to be based on exec_prefix
    927 # by default will actually change.
    928 # Use braces instead of parens because sh, perl, etc. also accept them.
    929 # (The list follows the same order as the GNU Coding Standards.)
    930 bindir='${exec_prefix}/bin'
    931 sbindir='${exec_prefix}/sbin'
    932 libexecdir='${exec_prefix}/libexec'
    933 datarootdir='${prefix}/share'
    934 datadir='${datarootdir}'
    935 sysconfdir='${prefix}/etc'
    936 sharedstatedir='${prefix}/com'
    937 localstatedir='${prefix}/var'
    938 includedir='${prefix}/include'
    939 oldincludedir='/usr/include'
    940 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    941 infodir='${datarootdir}/info'
    942 htmldir='${docdir}'
    943 dvidir='${docdir}'
    944 pdfdir='${docdir}'
    945 psdir='${docdir}'
    946 libdir='${exec_prefix}/lib'
    947 localedir='${datarootdir}/locale'
    948 mandir='${datarootdir}/man'
    949 
    950 ac_prev=
    951 ac_dashdash=
    952 for ac_option
    953 do
    954   # If the previous option needs an argument, assign it.
    955   if test -n "$ac_prev"; then
    956     eval $ac_prev=\$ac_option
    957     ac_prev=
    958     continue
    959   fi
    960 
    961   case $ac_option in
    962   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    963   *=)   ac_optarg= ;;
    964   *)    ac_optarg=yes ;;
    965   esac
    966 
    967   # Accept the important Cygnus configure options, so we can diagnose typos.
    968 
    969   case $ac_dashdash$ac_option in
    970   --)
    971     ac_dashdash=yes ;;
    972 
    973   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    974     ac_prev=bindir ;;
    975   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    976     bindir=$ac_optarg ;;
    977 
    978   -build | --build | --buil | --bui | --bu)
    979     ac_prev=build_alias ;;
    980   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    981     build_alias=$ac_optarg ;;
    982 
    983   -cache-file | --cache-file | --cache-fil | --cache-fi \
    984   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    985     ac_prev=cache_file ;;
    986   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    987   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    988     cache_file=$ac_optarg ;;
    989 
    990   --config-cache | -C)
    991     cache_file=config.cache ;;
    992 
    993   -datadir | --datadir | --datadi | --datad)
    994     ac_prev=datadir ;;
    995   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    996     datadir=$ac_optarg ;;
    997 
    998   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    999   | --dataroo | --dataro | --datar)
   1000     ac_prev=datarootdir ;;
   1001   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   1002   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   1003     datarootdir=$ac_optarg ;;
   1004 
   1005   -disable-* | --disable-*)
   1006     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   1007     # Reject names that are not valid shell variable names.
   1008     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1009       as_fn_error $? "invalid feature name: $ac_useropt"
   1010     ac_useropt_orig=$ac_useropt
   1011     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1012     case $ac_user_opts in
   1013       *"
   1014 "enable_$ac_useropt"
   1015 "*) ;;
   1016       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   1017 	 ac_unrecognized_sep=', ';;
   1018     esac
   1019     eval enable_$ac_useropt=no ;;
   1020 
   1021   -docdir | --docdir | --docdi | --doc | --do)
   1022     ac_prev=docdir ;;
   1023   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1024     docdir=$ac_optarg ;;
   1025 
   1026   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1027     ac_prev=dvidir ;;
   1028   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1029     dvidir=$ac_optarg ;;
   1030 
   1031   -enable-* | --enable-*)
   1032     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1033     # Reject names that are not valid shell variable names.
   1034     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1035       as_fn_error $? "invalid feature name: $ac_useropt"
   1036     ac_useropt_orig=$ac_useropt
   1037     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1038     case $ac_user_opts in
   1039       *"
   1040 "enable_$ac_useropt"
   1041 "*) ;;
   1042       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1043 	 ac_unrecognized_sep=', ';;
   1044     esac
   1045     eval enable_$ac_useropt=\$ac_optarg ;;
   1046 
   1047   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1048   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1049   | --exec | --exe | --ex)
   1050     ac_prev=exec_prefix ;;
   1051   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1052   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1053   | --exec=* | --exe=* | --ex=*)
   1054     exec_prefix=$ac_optarg ;;
   1055 
   1056   -gas | --gas | --ga | --g)
   1057     # Obsolete; use --with-gas.
   1058     with_gas=yes ;;
   1059 
   1060   -help | --help | --hel | --he | -h)
   1061     ac_init_help=long ;;
   1062   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1063     ac_init_help=recursive ;;
   1064   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1065     ac_init_help=short ;;
   1066 
   1067   -host | --host | --hos | --ho)
   1068     ac_prev=host_alias ;;
   1069   -host=* | --host=* | --hos=* | --ho=*)
   1070     host_alias=$ac_optarg ;;
   1071 
   1072   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1073     ac_prev=htmldir ;;
   1074   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1075   | --ht=*)
   1076     htmldir=$ac_optarg ;;
   1077 
   1078   -includedir | --includedir | --includedi | --included | --include \
   1079   | --includ | --inclu | --incl | --inc)
   1080     ac_prev=includedir ;;
   1081   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1082   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1083     includedir=$ac_optarg ;;
   1084 
   1085   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1086     ac_prev=infodir ;;
   1087   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1088     infodir=$ac_optarg ;;
   1089 
   1090   -libdir | --libdir | --libdi | --libd)
   1091     ac_prev=libdir ;;
   1092   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1093     libdir=$ac_optarg ;;
   1094 
   1095   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1096   | --libexe | --libex | --libe)
   1097     ac_prev=libexecdir ;;
   1098   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1099   | --libexe=* | --libex=* | --libe=*)
   1100     libexecdir=$ac_optarg ;;
   1101 
   1102   -localedir | --localedir | --localedi | --localed | --locale)
   1103     ac_prev=localedir ;;
   1104   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1105     localedir=$ac_optarg ;;
   1106 
   1107   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1108   | --localstate | --localstat | --localsta | --localst | --locals)
   1109     ac_prev=localstatedir ;;
   1110   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1111   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1112     localstatedir=$ac_optarg ;;
   1113 
   1114   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1115     ac_prev=mandir ;;
   1116   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1117     mandir=$ac_optarg ;;
   1118 
   1119   -nfp | --nfp | --nf)
   1120     # Obsolete; use --without-fp.
   1121     with_fp=no ;;
   1122 
   1123   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1124   | --no-cr | --no-c | -n)
   1125     no_create=yes ;;
   1126 
   1127   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1128   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1129     no_recursion=yes ;;
   1130 
   1131   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1132   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1133   | --oldin | --oldi | --old | --ol | --o)
   1134     ac_prev=oldincludedir ;;
   1135   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1136   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1137   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1138     oldincludedir=$ac_optarg ;;
   1139 
   1140   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1141     ac_prev=prefix ;;
   1142   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1143     prefix=$ac_optarg ;;
   1144 
   1145   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1146   | --program-pre | --program-pr | --program-p)
   1147     ac_prev=program_prefix ;;
   1148   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1149   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1150     program_prefix=$ac_optarg ;;
   1151 
   1152   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1153   | --program-suf | --program-su | --program-s)
   1154     ac_prev=program_suffix ;;
   1155   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1156   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1157     program_suffix=$ac_optarg ;;
   1158 
   1159   -program-transform-name | --program-transform-name \
   1160   | --program-transform-nam | --program-transform-na \
   1161   | --program-transform-n | --program-transform- \
   1162   | --program-transform | --program-transfor \
   1163   | --program-transfo | --program-transf \
   1164   | --program-trans | --program-tran \
   1165   | --progr-tra | --program-tr | --program-t)
   1166     ac_prev=program_transform_name ;;
   1167   -program-transform-name=* | --program-transform-name=* \
   1168   | --program-transform-nam=* | --program-transform-na=* \
   1169   | --program-transform-n=* | --program-transform-=* \
   1170   | --program-transform=* | --program-transfor=* \
   1171   | --program-transfo=* | --program-transf=* \
   1172   | --program-trans=* | --program-tran=* \
   1173   | --progr-tra=* | --program-tr=* | --program-t=*)
   1174     program_transform_name=$ac_optarg ;;
   1175 
   1176   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1177     ac_prev=pdfdir ;;
   1178   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1179     pdfdir=$ac_optarg ;;
   1180 
   1181   -psdir | --psdir | --psdi | --psd | --ps)
   1182     ac_prev=psdir ;;
   1183   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1184     psdir=$ac_optarg ;;
   1185 
   1186   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1187   | -silent | --silent | --silen | --sile | --sil)
   1188     silent=yes ;;
   1189 
   1190   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1191     ac_prev=sbindir ;;
   1192   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1193   | --sbi=* | --sb=*)
   1194     sbindir=$ac_optarg ;;
   1195 
   1196   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1197   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1198   | --sharedst | --shareds | --shared | --share | --shar \
   1199   | --sha | --sh)
   1200     ac_prev=sharedstatedir ;;
   1201   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1202   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1203   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1204   | --sha=* | --sh=*)
   1205     sharedstatedir=$ac_optarg ;;
   1206 
   1207   -site | --site | --sit)
   1208     ac_prev=site ;;
   1209   -site=* | --site=* | --sit=*)
   1210     site=$ac_optarg ;;
   1211 
   1212   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1213     ac_prev=srcdir ;;
   1214   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1215     srcdir=$ac_optarg ;;
   1216 
   1217   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1218   | --syscon | --sysco | --sysc | --sys | --sy)
   1219     ac_prev=sysconfdir ;;
   1220   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1221   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1222     sysconfdir=$ac_optarg ;;
   1223 
   1224   -target | --target | --targe | --targ | --tar | --ta | --t)
   1225     ac_prev=target_alias ;;
   1226   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1227     target_alias=$ac_optarg ;;
   1228 
   1229   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1230     verbose=yes ;;
   1231 
   1232   -version | --version | --versio | --versi | --vers | -V)
   1233     ac_init_version=: ;;
   1234 
   1235   -with-* | --with-*)
   1236     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1237     # Reject names that are not valid shell variable names.
   1238     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1239       as_fn_error $? "invalid package name: $ac_useropt"
   1240     ac_useropt_orig=$ac_useropt
   1241     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1242     case $ac_user_opts in
   1243       *"
   1244 "with_$ac_useropt"
   1245 "*) ;;
   1246       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1247 	 ac_unrecognized_sep=', ';;
   1248     esac
   1249     eval with_$ac_useropt=\$ac_optarg ;;
   1250 
   1251   -without-* | --without-*)
   1252     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1253     # Reject names that are not valid shell variable names.
   1254     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1255       as_fn_error $? "invalid package name: $ac_useropt"
   1256     ac_useropt_orig=$ac_useropt
   1257     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1258     case $ac_user_opts in
   1259       *"
   1260 "with_$ac_useropt"
   1261 "*) ;;
   1262       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1263 	 ac_unrecognized_sep=', ';;
   1264     esac
   1265     eval with_$ac_useropt=no ;;
   1266 
   1267   --x)
   1268     # Obsolete; use --with-x.
   1269     with_x=yes ;;
   1270 
   1271   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1272   | --x-incl | --x-inc | --x-in | --x-i)
   1273     ac_prev=x_includes ;;
   1274   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1275   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1276     x_includes=$ac_optarg ;;
   1277 
   1278   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1279   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1280     ac_prev=x_libraries ;;
   1281   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1282   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1283     x_libraries=$ac_optarg ;;
   1284 
   1285   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1286 Try \`$0 --help' for more information"
   1287     ;;
   1288 
   1289   *=*)
   1290     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1291     # Reject names that are not valid shell variable names.
   1292     case $ac_envvar in #(
   1293       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1294       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1295     esac
   1296     eval $ac_envvar=\$ac_optarg
   1297     export $ac_envvar ;;
   1298 
   1299   *)
   1300     # FIXME: should be removed in autoconf 3.0.
   1301     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1302     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1303       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1304     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1305     ;;
   1306 
   1307   esac
   1308 done
   1309 
   1310 if test -n "$ac_prev"; then
   1311   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1312   as_fn_error $? "missing argument to $ac_option"
   1313 fi
   1314 
   1315 if test -n "$ac_unrecognized_opts"; then
   1316   case $enable_option_checking in
   1317     no) ;;
   1318     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1319     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1320   esac
   1321 fi
   1322 
   1323 # Check all directory arguments for consistency.
   1324 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1325 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1326 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1327 		libdir localedir mandir
   1328 do
   1329   eval ac_val=\$$ac_var
   1330   # Remove trailing slashes.
   1331   case $ac_val in
   1332     */ )
   1333       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1334       eval $ac_var=\$ac_val;;
   1335   esac
   1336   # Be sure to have absolute directory names.
   1337   case $ac_val in
   1338     [\\/$]* | ?:[\\/]* )  continue;;
   1339     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1340   esac
   1341   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1342 done
   1343 
   1344 # There might be people who depend on the old broken behavior: `$host'
   1345 # used to hold the argument of --host etc.
   1346 # FIXME: To remove some day.
   1347 build=$build_alias
   1348 host=$host_alias
   1349 target=$target_alias
   1350 
   1351 # FIXME: To remove some day.
   1352 if test "x$host_alias" != x; then
   1353   if test "x$build_alias" = x; then
   1354     cross_compiling=maybe
   1355     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1356     If a cross compiler is detected then cross compile mode will be used" >&2
   1357   elif test "x$build_alias" != "x$host_alias"; then
   1358     cross_compiling=yes
   1359   fi
   1360 fi
   1361 
   1362 ac_tool_prefix=
   1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1364 
   1365 test "$silent" = yes && exec 6>/dev/null
   1366 
   1367 
   1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1369 ac_ls_di=`ls -di .` &&
   1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1371   as_fn_error $? "working directory cannot be determined"
   1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1373   as_fn_error $? "pwd does not report name of working directory"
   1374 
   1375 
   1376 # Find the source files, if location was not specified.
   1377 if test -z "$srcdir"; then
   1378   ac_srcdir_defaulted=yes
   1379   # Try the directory containing this script, then the parent directory.
   1380   ac_confdir=`$as_dirname -- "$as_myself" ||
   1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1382 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1383 	 X"$as_myself" : 'X\(//\)$' \| \
   1384 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1385 $as_echo X"$as_myself" |
   1386     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1387 	    s//\1/
   1388 	    q
   1389 	  }
   1390 	  /^X\(\/\/\)[^/].*/{
   1391 	    s//\1/
   1392 	    q
   1393 	  }
   1394 	  /^X\(\/\/\)$/{
   1395 	    s//\1/
   1396 	    q
   1397 	  }
   1398 	  /^X\(\/\).*/{
   1399 	    s//\1/
   1400 	    q
   1401 	  }
   1402 	  s/.*/./; q'`
   1403   srcdir=$ac_confdir
   1404   if test ! -r "$srcdir/$ac_unique_file"; then
   1405     srcdir=..
   1406   fi
   1407 else
   1408   ac_srcdir_defaulted=no
   1409 fi
   1410 if test ! -r "$srcdir/$ac_unique_file"; then
   1411   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1412   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1413 fi
   1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1415 ac_abs_confdir=`(
   1416 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1417 	pwd)`
   1418 # When building in place, set srcdir=.
   1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1420   srcdir=.
   1421 fi
   1422 # Remove unnecessary trailing slashes from srcdir.
   1423 # Double slashes in file names in object file debugging info
   1424 # mess up M-x gdb in Emacs.
   1425 case $srcdir in
   1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1427 esac
   1428 for ac_var in $ac_precious_vars; do
   1429   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1430   eval ac_env_${ac_var}_value=\$${ac_var}
   1431   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1432   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1433 done
   1434 
   1435 #
   1436 # Report the --help message.
   1437 #
   1438 if test "$ac_init_help" = "long"; then
   1439   # Omit some internal or obsolete options to make the list less imposing.
   1440   # This message is too long to be a string in the A/UX 3.1 sh.
   1441   cat <<_ACEOF
   1442 \`configure' configures libXt 1.1.4 to adapt to many kinds of systems.
   1443 
   1444 Usage: $0 [OPTION]... [VAR=VALUE]...
   1445 
   1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1447 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1448 
   1449 Defaults for the options are specified in brackets.
   1450 
   1451 Configuration:
   1452   -h, --help              display this help and exit
   1453       --help=short        display options specific to this package
   1454       --help=recursive    display the short help of all the included packages
   1455   -V, --version           display version information and exit
   1456   -q, --quiet, --silent   do not print \`checking ...' messages
   1457       --cache-file=FILE   cache test results in FILE [disabled]
   1458   -C, --config-cache      alias for \`--cache-file=config.cache'
   1459   -n, --no-create         do not create output files
   1460       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1461 
   1462 Installation directories:
   1463   --prefix=PREFIX         install architecture-independent files in PREFIX
   1464                           [$ac_default_prefix]
   1465   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1466                           [PREFIX]
   1467 
   1468 By default, \`make install' will install all the files in
   1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1471 for instance \`--prefix=\$HOME'.
   1472 
   1473 For better control, use the options below.
   1474 
   1475 Fine tuning of the installation directories:
   1476   --bindir=DIR            user executables [EPREFIX/bin]
   1477   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1478   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1479   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1480   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1481   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1482   --libdir=DIR            object code libraries [EPREFIX/lib]
   1483   --includedir=DIR        C header files [PREFIX/include]
   1484   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1485   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1486   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1487   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1488   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1489   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1490   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXt]
   1491   --htmldir=DIR           html documentation [DOCDIR]
   1492   --dvidir=DIR            dvi documentation [DOCDIR]
   1493   --pdfdir=DIR            pdf documentation [DOCDIR]
   1494   --psdir=DIR             ps documentation [DOCDIR]
   1495 _ACEOF
   1496 
   1497   cat <<\_ACEOF
   1498 
   1499 Program names:
   1500   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1501   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1502   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1503 
   1504 System types:
   1505   --build=BUILD     configure for building on BUILD [guessed]
   1506   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1507 _ACEOF
   1508 fi
   1509 
   1510 if test -n "$ac_init_help"; then
   1511   case $ac_init_help in
   1512      short | recursive ) echo "Configuration of libXt 1.1.4:";;
   1513    esac
   1514   cat <<\_ACEOF
   1515 
   1516 Optional Features:
   1517   --disable-option-checking  ignore unrecognized --enable/--with options
   1518   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1519   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1520   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1521   --disable-silent-rules  verbose build output (undo: "make V=0")
   1522   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1523   --enable-static[=PKGS]  build static libraries [default=yes]
   1524   --enable-fast-install[=PKGS]
   1525                           optimize for fast installation [default=yes]
   1526   --enable-dependency-tracking
   1527                           do not reject slow dependency extractors
   1528   --disable-dependency-tracking
   1529                           speeds up one-time build
   1530   --disable-libtool-lock  avoid locking (might break parallel builds)
   1531   --disable-selective-werror
   1532                           Turn off selective compiler errors. (default:
   1533                           enabled)
   1534   --enable-strict-compilation
   1535                           Enable all warnings from compiler and make them
   1536                           errors (default: disabled)
   1537   --enable-malloc0returnsnull
   1538                           malloc(0) returns NULL (default: auto)
   1539   --enable-specs          Enable building the specs (default: yes)
   1540   --disable-xkb           Disable XKB support
   1541   --enable-unit-tests     Enable building unit test cases (default: auto)
   1542 
   1543 Optional Packages:
   1544   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1545   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1546   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1547                           both]
   1548   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1549   --with-sysroot=DIR Search for dependent libraries within DIR
   1550                         (or the compiler's sysroot if not specified).
   1551   --with-xmlto            Use xmlto to regenerate documentation (default:
   1552                           auto)
   1553   --with-fop              Use fop to regenerate documentation (default: auto)
   1554   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1555                           (default: auto)
   1556   --with-perl             Use perl for extracting information from files
   1557                           (default: auto)
   1558   --with-glib             Use GLib library for unit testing (default: auto)
   1559   --with-xfile-search-path=<path>
   1560                           Set path to search for app-defaults and other files
   1561   --with-appdefaultdir=<path>
   1562                           Set app-default directory (default:
   1563                           ${datadir}/X11/app-defaults)
   1564 
   1565 Some influential environment variables:
   1566   CC          C compiler command
   1567   CFLAGS      C compiler flags
   1568   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1569               nonstandard directory <lib dir>
   1570   LIBS        libraries to pass to the linker, e.g. -l<library>
   1571   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1572               you have headers in a nonstandard directory <include dir>
   1573   CPP         C preprocessor
   1574   PKG_CONFIG  path to pkg-config utility
   1575   XMLTO       Path to xmlto command
   1576   FOP         Path to fop command
   1577   XSLTPROC    Path to xsltproc command
   1578   PERL        Path to perl command
   1579   XT_CFLAGS   C compiler flags for XT, overriding pkg-config
   1580   XT_LIBS     linker flags for XT, overriding pkg-config
   1581   XORG_MALLOC_DEBUG_ENV
   1582               Environment variables to enable memory checking in tests
   1583   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
   1584   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
   1585 
   1586 Use these variables to override the choices made by `configure' or to help
   1587 it to find libraries and programs with nonstandard names/locations.
   1588 
   1589 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1590 _ACEOF
   1591 ac_status=$?
   1592 fi
   1593 
   1594 if test "$ac_init_help" = "recursive"; then
   1595   # If there are subdirs, report their specific --help.
   1596   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1597     test -d "$ac_dir" ||
   1598       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1599       continue
   1600     ac_builddir=.
   1601 
   1602 case "$ac_dir" in
   1603 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1604 *)
   1605   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1606   # A ".." for each directory in $ac_dir_suffix.
   1607   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1608   case $ac_top_builddir_sub in
   1609   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1610   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1611   esac ;;
   1612 esac
   1613 ac_abs_top_builddir=$ac_pwd
   1614 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1615 # for backward compatibility:
   1616 ac_top_builddir=$ac_top_build_prefix
   1617 
   1618 case $srcdir in
   1619   .)  # We are building in place.
   1620     ac_srcdir=.
   1621     ac_top_srcdir=$ac_top_builddir_sub
   1622     ac_abs_top_srcdir=$ac_pwd ;;
   1623   [\\/]* | ?:[\\/]* )  # Absolute name.
   1624     ac_srcdir=$srcdir$ac_dir_suffix;
   1625     ac_top_srcdir=$srcdir
   1626     ac_abs_top_srcdir=$srcdir ;;
   1627   *) # Relative name.
   1628     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1629     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1630     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1631 esac
   1632 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1633 
   1634     cd "$ac_dir" || { ac_status=$?; continue; }
   1635     # Check for guested configure.
   1636     if test -f "$ac_srcdir/configure.gnu"; then
   1637       echo &&
   1638       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1639     elif test -f "$ac_srcdir/configure"; then
   1640       echo &&
   1641       $SHELL "$ac_srcdir/configure" --help=recursive
   1642     else
   1643       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1644     fi || ac_status=$?
   1645     cd "$ac_pwd" || { ac_status=$?; break; }
   1646   done
   1647 fi
   1648 
   1649 test -n "$ac_init_help" && exit $ac_status
   1650 if $ac_init_version; then
   1651   cat <<\_ACEOF
   1652 libXt configure 1.1.4
   1653 generated by GNU Autoconf 2.68
   1654 
   1655 Copyright (C) 2010 Free Software Foundation, Inc.
   1656 This configure script is free software; the Free Software Foundation
   1657 gives unlimited permission to copy, distribute and modify it.
   1658 _ACEOF
   1659   exit
   1660 fi
   1661 
   1662 ## ------------------------ ##
   1663 ## Autoconf initialization. ##
   1664 ## ------------------------ ##
   1665 
   1666 # ac_fn_c_try_compile LINENO
   1667 # --------------------------
   1668 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1669 ac_fn_c_try_compile ()
   1670 {
   1671   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1672   rm -f conftest.$ac_objext
   1673   if { { ac_try="$ac_compile"
   1674 case "(($ac_try" in
   1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1676   *) ac_try_echo=$ac_try;;
   1677 esac
   1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1679 $as_echo "$ac_try_echo"; } >&5
   1680   (eval "$ac_compile") 2>conftest.err
   1681   ac_status=$?
   1682   if test -s conftest.err; then
   1683     grep -v '^ *+' conftest.err >conftest.er1
   1684     cat conftest.er1 >&5
   1685     mv -f conftest.er1 conftest.err
   1686   fi
   1687   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1688   test $ac_status = 0; } && {
   1689 	 test -z "$ac_c_werror_flag" ||
   1690 	 test ! -s conftest.err
   1691        } && test -s conftest.$ac_objext; then :
   1692   ac_retval=0
   1693 else
   1694   $as_echo "$as_me: failed program was:" >&5
   1695 sed 's/^/| /' conftest.$ac_ext >&5
   1696 
   1697 	ac_retval=1
   1698 fi
   1699   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1700   as_fn_set_status $ac_retval
   1701 
   1702 } # ac_fn_c_try_compile
   1703 
   1704 # ac_fn_c_try_link LINENO
   1705 # -----------------------
   1706 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1707 ac_fn_c_try_link ()
   1708 {
   1709   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1710   rm -f conftest.$ac_objext conftest$ac_exeext
   1711   if { { ac_try="$ac_link"
   1712 case "(($ac_try" in
   1713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1714   *) ac_try_echo=$ac_try;;
   1715 esac
   1716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1717 $as_echo "$ac_try_echo"; } >&5
   1718   (eval "$ac_link") 2>conftest.err
   1719   ac_status=$?
   1720   if test -s conftest.err; then
   1721     grep -v '^ *+' conftest.err >conftest.er1
   1722     cat conftest.er1 >&5
   1723     mv -f conftest.er1 conftest.err
   1724   fi
   1725   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1726   test $ac_status = 0; } && {
   1727 	 test -z "$ac_c_werror_flag" ||
   1728 	 test ! -s conftest.err
   1729        } && test -s conftest$ac_exeext && {
   1730 	 test "$cross_compiling" = yes ||
   1731 	 $as_test_x conftest$ac_exeext
   1732        }; then :
   1733   ac_retval=0
   1734 else
   1735   $as_echo "$as_me: failed program was:" >&5
   1736 sed 's/^/| /' conftest.$ac_ext >&5
   1737 
   1738 	ac_retval=1
   1739 fi
   1740   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1741   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1742   # interfere with the next link command; also delete a directory that is
   1743   # left behind by Apple's compiler.  We do this before executing the actions.
   1744   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1745   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1746   as_fn_set_status $ac_retval
   1747 
   1748 } # ac_fn_c_try_link
   1749 
   1750 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1751 # -------------------------------------------------------
   1752 # Tests whether HEADER exists and can be compiled using the include files in
   1753 # INCLUDES, setting the cache variable VAR accordingly.
   1754 ac_fn_c_check_header_compile ()
   1755 {
   1756   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1757   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1758 $as_echo_n "checking for $2... " >&6; }
   1759 if eval \${$3+:} false; then :
   1760   $as_echo_n "(cached) " >&6
   1761 else
   1762   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1763 /* end confdefs.h.  */
   1764 $4
   1765 #include <$2>
   1766 _ACEOF
   1767 if ac_fn_c_try_compile "$LINENO"; then :
   1768   eval "$3=yes"
   1769 else
   1770   eval "$3=no"
   1771 fi
   1772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1773 fi
   1774 eval ac_res=\$$3
   1775 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1776 $as_echo "$ac_res" >&6; }
   1777   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1778 
   1779 } # ac_fn_c_check_header_compile
   1780 
   1781 # ac_fn_c_try_cpp LINENO
   1782 # ----------------------
   1783 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1784 ac_fn_c_try_cpp ()
   1785 {
   1786   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1787   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1788 case "(($ac_try" in
   1789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1790   *) ac_try_echo=$ac_try;;
   1791 esac
   1792 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1793 $as_echo "$ac_try_echo"; } >&5
   1794   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1795   ac_status=$?
   1796   if test -s conftest.err; then
   1797     grep -v '^ *+' conftest.err >conftest.er1
   1798     cat conftest.er1 >&5
   1799     mv -f conftest.er1 conftest.err
   1800   fi
   1801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1802   test $ac_status = 0; } > conftest.i && {
   1803 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1804 	 test ! -s conftest.err
   1805        }; then :
   1806   ac_retval=0
   1807 else
   1808   $as_echo "$as_me: failed program was:" >&5
   1809 sed 's/^/| /' conftest.$ac_ext >&5
   1810 
   1811     ac_retval=1
   1812 fi
   1813   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1814   as_fn_set_status $ac_retval
   1815 
   1816 } # ac_fn_c_try_cpp
   1817 
   1818 # ac_fn_c_try_run LINENO
   1819 # ----------------------
   1820 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1821 # that executables *can* be run.
   1822 ac_fn_c_try_run ()
   1823 {
   1824   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1825   if { { ac_try="$ac_link"
   1826 case "(($ac_try" in
   1827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1828   *) ac_try_echo=$ac_try;;
   1829 esac
   1830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1831 $as_echo "$ac_try_echo"; } >&5
   1832   (eval "$ac_link") 2>&5
   1833   ac_status=$?
   1834   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1835   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1836   { { case "(($ac_try" in
   1837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1838   *) ac_try_echo=$ac_try;;
   1839 esac
   1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1841 $as_echo "$ac_try_echo"; } >&5
   1842   (eval "$ac_try") 2>&5
   1843   ac_status=$?
   1844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1845   test $ac_status = 0; }; }; then :
   1846   ac_retval=0
   1847 else
   1848   $as_echo "$as_me: program exited with status $ac_status" >&5
   1849        $as_echo "$as_me: failed program was:" >&5
   1850 sed 's/^/| /' conftest.$ac_ext >&5
   1851 
   1852        ac_retval=$ac_status
   1853 fi
   1854   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1855   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1856   as_fn_set_status $ac_retval
   1857 
   1858 } # ac_fn_c_try_run
   1859 
   1860 # ac_fn_c_check_func LINENO FUNC VAR
   1861 # ----------------------------------
   1862 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1863 ac_fn_c_check_func ()
   1864 {
   1865   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1866   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1867 $as_echo_n "checking for $2... " >&6; }
   1868 if eval \${$3+:} false; then :
   1869   $as_echo_n "(cached) " >&6
   1870 else
   1871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1872 /* end confdefs.h.  */
   1873 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1874    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1875 #define $2 innocuous_$2
   1876 
   1877 /* System header to define __stub macros and hopefully few prototypes,
   1878     which can conflict with char $2 (); below.
   1879     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1880     <limits.h> exists even on freestanding compilers.  */
   1881 
   1882 #ifdef __STDC__
   1883 # include <limits.h>
   1884 #else
   1885 # include <assert.h>
   1886 #endif
   1887 
   1888 #undef $2
   1889 
   1890 /* Override any GCC internal prototype to avoid an error.
   1891    Use char because int might match the return type of a GCC
   1892    builtin and then its argument prototype would still apply.  */
   1893 #ifdef __cplusplus
   1894 extern "C"
   1895 #endif
   1896 char $2 ();
   1897 /* The GNU C library defines this for functions which it implements
   1898     to always fail with ENOSYS.  Some functions are actually named
   1899     something starting with __ and the normal name is an alias.  */
   1900 #if defined __stub_$2 || defined __stub___$2
   1901 choke me
   1902 #endif
   1903 
   1904 int
   1905 main ()
   1906 {
   1907 return $2 ();
   1908   ;
   1909   return 0;
   1910 }
   1911 _ACEOF
   1912 if ac_fn_c_try_link "$LINENO"; then :
   1913   eval "$3=yes"
   1914 else
   1915   eval "$3=no"
   1916 fi
   1917 rm -f core conftest.err conftest.$ac_objext \
   1918     conftest$ac_exeext conftest.$ac_ext
   1919 fi
   1920 eval ac_res=\$$3
   1921 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1922 $as_echo "$ac_res" >&6; }
   1923   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1924 
   1925 } # ac_fn_c_check_func
   1926 
   1927 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1928 # ---------------------------------------------
   1929 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1930 # accordingly.
   1931 ac_fn_c_check_decl ()
   1932 {
   1933   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1934   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1935   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1937 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1938 if eval \${$3+:} false; then :
   1939   $as_echo_n "(cached) " >&6
   1940 else
   1941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1942 /* end confdefs.h.  */
   1943 $4
   1944 int
   1945 main ()
   1946 {
   1947 #ifndef $as_decl_name
   1948 #ifdef __cplusplus
   1949   (void) $as_decl_use;
   1950 #else
   1951   (void) $as_decl_name;
   1952 #endif
   1953 #endif
   1954 
   1955   ;
   1956   return 0;
   1957 }
   1958 _ACEOF
   1959 if ac_fn_c_try_compile "$LINENO"; then :
   1960   eval "$3=yes"
   1961 else
   1962   eval "$3=no"
   1963 fi
   1964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1965 fi
   1966 eval ac_res=\$$3
   1967 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1968 $as_echo "$ac_res" >&6; }
   1969   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1970 
   1971 } # ac_fn_c_check_decl
   1972 
   1973 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1974 # -------------------------------------------------------
   1975 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1976 # the include files in INCLUDES and setting the cache variable VAR
   1977 # accordingly.
   1978 ac_fn_c_check_header_mongrel ()
   1979 {
   1980   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1981   if eval \${$3+:} false; then :
   1982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1983 $as_echo_n "checking for $2... " >&6; }
   1984 if eval \${$3+:} false; then :
   1985   $as_echo_n "(cached) " >&6
   1986 fi
   1987 eval ac_res=\$$3
   1988 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1989 $as_echo "$ac_res" >&6; }
   1990 else
   1991   # Is the header compilable?
   1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1993 $as_echo_n "checking $2 usability... " >&6; }
   1994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1995 /* end confdefs.h.  */
   1996 $4
   1997 #include <$2>
   1998 _ACEOF
   1999 if ac_fn_c_try_compile "$LINENO"; then :
   2000   ac_header_compiler=yes
   2001 else
   2002   ac_header_compiler=no
   2003 fi
   2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   2006 $as_echo "$ac_header_compiler" >&6; }
   2007 
   2008 # Is the header present?
   2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   2010 $as_echo_n "checking $2 presence... " >&6; }
   2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2012 /* end confdefs.h.  */
   2013 #include <$2>
   2014 _ACEOF
   2015 if ac_fn_c_try_cpp "$LINENO"; then :
   2016   ac_header_preproc=yes
   2017 else
   2018   ac_header_preproc=no
   2019 fi
   2020 rm -f conftest.err conftest.i conftest.$ac_ext
   2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   2022 $as_echo "$ac_header_preproc" >&6; }
   2023 
   2024 # So?  What about this header?
   2025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   2026   yes:no: )
   2027     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   2028 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   2029     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2030 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2031     ;;
   2032   no:yes:* )
   2033     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   2034 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   2035     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   2036 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   2037     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   2038 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   2039     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   2040 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   2041     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   2042 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   2043 ( $as_echo "## ---------------------------------------------------------------------- ##
   2044 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   2045 ## ---------------------------------------------------------------------- ##"
   2046      ) | sed "s/^/$as_me: WARNING:     /" >&2
   2047     ;;
   2048 esac
   2049   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2050 $as_echo_n "checking for $2... " >&6; }
   2051 if eval \${$3+:} false; then :
   2052   $as_echo_n "(cached) " >&6
   2053 else
   2054   eval "$3=\$ac_header_compiler"
   2055 fi
   2056 eval ac_res=\$$3
   2057 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2058 $as_echo "$ac_res" >&6; }
   2059 fi
   2060   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2061 
   2062 } # ac_fn_c_check_header_mongrel
   2063 cat >config.log <<_ACEOF
   2064 This file contains any messages produced by compilers while
   2065 running configure, to aid debugging if configure makes a mistake.
   2066 
   2067 It was created by libXt $as_me 1.1.4, which was
   2068 generated by GNU Autoconf 2.68.  Invocation command line was
   2069 
   2070   $ $0 $@
   2071 
   2072 _ACEOF
   2073 exec 5>>config.log
   2074 {
   2075 cat <<_ASUNAME
   2076 ## --------- ##
   2077 ## Platform. ##
   2078 ## --------- ##
   2079 
   2080 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2081 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2082 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2083 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2084 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2085 
   2086 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2087 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2088 
   2089 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2090 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2091 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2092 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2093 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2094 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2095 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2096 
   2097 _ASUNAME
   2098 
   2099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2100 for as_dir in $PATH
   2101 do
   2102   IFS=$as_save_IFS
   2103   test -z "$as_dir" && as_dir=.
   2104     $as_echo "PATH: $as_dir"
   2105   done
   2106 IFS=$as_save_IFS
   2107 
   2108 } >&5
   2109 
   2110 cat >&5 <<_ACEOF
   2111 
   2112 
   2113 ## ----------- ##
   2114 ## Core tests. ##
   2115 ## ----------- ##
   2116 
   2117 _ACEOF
   2118 
   2119 
   2120 # Keep a trace of the command line.
   2121 # Strip out --no-create and --no-recursion so they do not pile up.
   2122 # Strip out --silent because we don't want to record it for future runs.
   2123 # Also quote any args containing shell meta-characters.
   2124 # Make two passes to allow for proper duplicate-argument suppression.
   2125 ac_configure_args=
   2126 ac_configure_args0=
   2127 ac_configure_args1=
   2128 ac_must_keep_next=false
   2129 for ac_pass in 1 2
   2130 do
   2131   for ac_arg
   2132   do
   2133     case $ac_arg in
   2134     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2135     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2136     | -silent | --silent | --silen | --sile | --sil)
   2137       continue ;;
   2138     *\'*)
   2139       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2140     esac
   2141     case $ac_pass in
   2142     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2143     2)
   2144       as_fn_append ac_configure_args1 " '$ac_arg'"
   2145       if test $ac_must_keep_next = true; then
   2146 	ac_must_keep_next=false # Got value, back to normal.
   2147       else
   2148 	case $ac_arg in
   2149 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2150 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2151 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2152 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2153 	    case "$ac_configure_args0 " in
   2154 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2155 	    esac
   2156 	    ;;
   2157 	  -* ) ac_must_keep_next=true ;;
   2158 	esac
   2159       fi
   2160       as_fn_append ac_configure_args " '$ac_arg'"
   2161       ;;
   2162     esac
   2163   done
   2164 done
   2165 { ac_configure_args0=; unset ac_configure_args0;}
   2166 { ac_configure_args1=; unset ac_configure_args1;}
   2167 
   2168 # When interrupted or exit'd, cleanup temporary files, and complete
   2169 # config.log.  We remove comments because anyway the quotes in there
   2170 # would cause problems or look ugly.
   2171 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2172 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2173 trap 'exit_status=$?
   2174   # Save into config.log some information that might help in debugging.
   2175   {
   2176     echo
   2177 
   2178     $as_echo "## ---------------- ##
   2179 ## Cache variables. ##
   2180 ## ---------------- ##"
   2181     echo
   2182     # The following way of writing the cache mishandles newlines in values,
   2183 (
   2184   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2185     eval ac_val=\$$ac_var
   2186     case $ac_val in #(
   2187     *${as_nl}*)
   2188       case $ac_var in #(
   2189       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2190 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2191       esac
   2192       case $ac_var in #(
   2193       _ | IFS | as_nl) ;; #(
   2194       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2195       *) { eval $ac_var=; unset $ac_var;} ;;
   2196       esac ;;
   2197     esac
   2198   done
   2199   (set) 2>&1 |
   2200     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2201     *${as_nl}ac_space=\ *)
   2202       sed -n \
   2203 	"s/'\''/'\''\\\\'\'''\''/g;
   2204 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2205       ;; #(
   2206     *)
   2207       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2208       ;;
   2209     esac |
   2210     sort
   2211 )
   2212     echo
   2213 
   2214     $as_echo "## ----------------- ##
   2215 ## Output variables. ##
   2216 ## ----------------- ##"
   2217     echo
   2218     for ac_var in $ac_subst_vars
   2219     do
   2220       eval ac_val=\$$ac_var
   2221       case $ac_val in
   2222       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2223       esac
   2224       $as_echo "$ac_var='\''$ac_val'\''"
   2225     done | sort
   2226     echo
   2227 
   2228     if test -n "$ac_subst_files"; then
   2229       $as_echo "## ------------------- ##
   2230 ## File substitutions. ##
   2231 ## ------------------- ##"
   2232       echo
   2233       for ac_var in $ac_subst_files
   2234       do
   2235 	eval ac_val=\$$ac_var
   2236 	case $ac_val in
   2237 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2238 	esac
   2239 	$as_echo "$ac_var='\''$ac_val'\''"
   2240       done | sort
   2241       echo
   2242     fi
   2243 
   2244     if test -s confdefs.h; then
   2245       $as_echo "## ----------- ##
   2246 ## confdefs.h. ##
   2247 ## ----------- ##"
   2248       echo
   2249       cat confdefs.h
   2250       echo
   2251     fi
   2252     test "$ac_signal" != 0 &&
   2253       $as_echo "$as_me: caught signal $ac_signal"
   2254     $as_echo "$as_me: exit $exit_status"
   2255   } >&5
   2256   rm -f core *.core core.conftest.* &&
   2257     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2258     exit $exit_status
   2259 ' 0
   2260 for ac_signal in 1 2 13 15; do
   2261   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2262 done
   2263 ac_signal=0
   2264 
   2265 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2266 rm -f -r conftest* confdefs.h
   2267 
   2268 $as_echo "/* confdefs.h */" > confdefs.h
   2269 
   2270 # Predefined preprocessor variables.
   2271 
   2272 cat >>confdefs.h <<_ACEOF
   2273 #define PACKAGE_NAME "$PACKAGE_NAME"
   2274 _ACEOF
   2275 
   2276 cat >>confdefs.h <<_ACEOF
   2277 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2278 _ACEOF
   2279 
   2280 cat >>confdefs.h <<_ACEOF
   2281 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2282 _ACEOF
   2283 
   2284 cat >>confdefs.h <<_ACEOF
   2285 #define PACKAGE_STRING "$PACKAGE_STRING"
   2286 _ACEOF
   2287 
   2288 cat >>confdefs.h <<_ACEOF
   2289 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2290 _ACEOF
   2291 
   2292 cat >>confdefs.h <<_ACEOF
   2293 #define PACKAGE_URL "$PACKAGE_URL"
   2294 _ACEOF
   2295 
   2296 
   2297 # Let the site file select an alternate cache file if it wants to.
   2298 # Prefer an explicitly selected file to automatically selected ones.
   2299 ac_site_file1=NONE
   2300 ac_site_file2=NONE
   2301 if test -n "$CONFIG_SITE"; then
   2302   # We do not want a PATH search for config.site.
   2303   case $CONFIG_SITE in #((
   2304     -*)  ac_site_file1=./$CONFIG_SITE;;
   2305     */*) ac_site_file1=$CONFIG_SITE;;
   2306     *)   ac_site_file1=./$CONFIG_SITE;;
   2307   esac
   2308 elif test "x$prefix" != xNONE; then
   2309   ac_site_file1=$prefix/share/config.site
   2310   ac_site_file2=$prefix/etc/config.site
   2311 else
   2312   ac_site_file1=$ac_default_prefix/share/config.site
   2313   ac_site_file2=$ac_default_prefix/etc/config.site
   2314 fi
   2315 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2316 do
   2317   test "x$ac_site_file" = xNONE && continue
   2318   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2319     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2320 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2321     sed 's/^/| /' "$ac_site_file" >&5
   2322     . "$ac_site_file" \
   2323       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2325 as_fn_error $? "failed to load site script $ac_site_file
   2326 See \`config.log' for more details" "$LINENO" 5; }
   2327   fi
   2328 done
   2329 
   2330 if test -r "$cache_file"; then
   2331   # Some versions of bash will fail to source /dev/null (special files
   2332   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2333   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2334     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2335 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2336     case $cache_file in
   2337       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2338       *)                      . "./$cache_file";;
   2339     esac
   2340   fi
   2341 else
   2342   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2343 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2344   >$cache_file
   2345 fi
   2346 
   2347 # Check that the precious variables saved in the cache have kept the same
   2348 # value.
   2349 ac_cache_corrupted=false
   2350 for ac_var in $ac_precious_vars; do
   2351   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2352   eval ac_new_set=\$ac_env_${ac_var}_set
   2353   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2354   eval ac_new_val=\$ac_env_${ac_var}_value
   2355   case $ac_old_set,$ac_new_set in
   2356     set,)
   2357       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2358 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2359       ac_cache_corrupted=: ;;
   2360     ,set)
   2361       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2362 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2363       ac_cache_corrupted=: ;;
   2364     ,);;
   2365     *)
   2366       if test "x$ac_old_val" != "x$ac_new_val"; then
   2367 	# differences in whitespace do not lead to failure.
   2368 	ac_old_val_w=`echo x $ac_old_val`
   2369 	ac_new_val_w=`echo x $ac_new_val`
   2370 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2371 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2372 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2373 	  ac_cache_corrupted=:
   2374 	else
   2375 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2376 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2377 	  eval $ac_var=\$ac_old_val
   2378 	fi
   2379 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2380 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2381 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2382 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2383       fi;;
   2384   esac
   2385   # Pass precious variables to config.status.
   2386   if test "$ac_new_set" = set; then
   2387     case $ac_new_val in
   2388     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2389     *) ac_arg=$ac_var=$ac_new_val ;;
   2390     esac
   2391     case " $ac_configure_args " in
   2392       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2393       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2394     esac
   2395   fi
   2396 done
   2397 if $ac_cache_corrupted; then
   2398   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2399 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2400   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2401 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2402   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2403 fi
   2404 ## -------------------- ##
   2405 ## Main body of script. ##
   2406 ## -------------------- ##
   2407 
   2408 ac_ext=c
   2409 ac_cpp='$CPP $CPPFLAGS'
   2410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2413 
   2414 
   2415 
   2416 ac_config_headers="$ac_config_headers config.h"
   2417 
   2418 
   2419 
   2420 # Initialize Automake
   2421 am__api_version='1.13'
   2422 
   2423 ac_aux_dir=
   2424 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2425   if test -f "$ac_dir/install-sh"; then
   2426     ac_aux_dir=$ac_dir
   2427     ac_install_sh="$ac_aux_dir/install-sh -c"
   2428     break
   2429   elif test -f "$ac_dir/install.sh"; then
   2430     ac_aux_dir=$ac_dir
   2431     ac_install_sh="$ac_aux_dir/install.sh -c"
   2432     break
   2433   elif test -f "$ac_dir/shtool"; then
   2434     ac_aux_dir=$ac_dir
   2435     ac_install_sh="$ac_aux_dir/shtool install -c"
   2436     break
   2437   fi
   2438 done
   2439 if test -z "$ac_aux_dir"; then
   2440   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2441 fi
   2442 
   2443 # These three variables are undocumented and unsupported,
   2444 # and are intended to be withdrawn in a future Autoconf release.
   2445 # They can cause serious problems if a builder's source tree is in a directory
   2446 # whose full name contains unusual characters.
   2447 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2448 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2449 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2450 
   2451 
   2452 # Find a good install program.  We prefer a C program (faster),
   2453 # so one script is as good as another.  But avoid the broken or
   2454 # incompatible versions:
   2455 # SysV /etc/install, /usr/sbin/install
   2456 # SunOS /usr/etc/install
   2457 # IRIX /sbin/install
   2458 # AIX /bin/install
   2459 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2460 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2461 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2462 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2463 # OS/2's system install, which has a completely different semantic
   2464 # ./install, which can be erroneously created by make from ./install.sh.
   2465 # Reject install programs that cannot install multiple files.
   2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2467 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2468 if test -z "$INSTALL"; then
   2469 if ${ac_cv_path_install+:} false; then :
   2470   $as_echo_n "(cached) " >&6
   2471 else
   2472   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2473 for as_dir in $PATH
   2474 do
   2475   IFS=$as_save_IFS
   2476   test -z "$as_dir" && as_dir=.
   2477     # Account for people who put trailing slashes in PATH elements.
   2478 case $as_dir/ in #((
   2479   ./ | .// | /[cC]/* | \
   2480   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2481   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2482   /usr/ucb/* ) ;;
   2483   *)
   2484     # OSF1 and SCO ODT 3.0 have their own names for install.
   2485     # Don't use installbsd from OSF since it installs stuff as root
   2486     # by default.
   2487     for ac_prog in ginstall scoinst install; do
   2488       for ac_exec_ext in '' $ac_executable_extensions; do
   2489 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2490 	  if test $ac_prog = install &&
   2491 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2492 	    # AIX install.  It has an incompatible calling convention.
   2493 	    :
   2494 	  elif test $ac_prog = install &&
   2495 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2496 	    # program-specific install script used by HP pwplus--don't use.
   2497 	    :
   2498 	  else
   2499 	    rm -rf conftest.one conftest.two conftest.dir
   2500 	    echo one > conftest.one
   2501 	    echo two > conftest.two
   2502 	    mkdir conftest.dir
   2503 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2504 	      test -s conftest.one && test -s conftest.two &&
   2505 	      test -s conftest.dir/conftest.one &&
   2506 	      test -s conftest.dir/conftest.two
   2507 	    then
   2508 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2509 	      break 3
   2510 	    fi
   2511 	  fi
   2512 	fi
   2513       done
   2514     done
   2515     ;;
   2516 esac
   2517 
   2518   done
   2519 IFS=$as_save_IFS
   2520 
   2521 rm -rf conftest.one conftest.two conftest.dir
   2522 
   2523 fi
   2524   if test "${ac_cv_path_install+set}" = set; then
   2525     INSTALL=$ac_cv_path_install
   2526   else
   2527     # As a last resort, use the slow shell script.  Don't cache a
   2528     # value for INSTALL within a source directory, because that will
   2529     # break other packages using the cache if that directory is
   2530     # removed, or if the value is a relative name.
   2531     INSTALL=$ac_install_sh
   2532   fi
   2533 fi
   2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2535 $as_echo "$INSTALL" >&6; }
   2536 
   2537 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2538 # It thinks the first close brace ends the variable substitution.
   2539 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2540 
   2541 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2542 
   2543 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2544 
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2546 $as_echo_n "checking whether build environment is sane... " >&6; }
   2547 # Reject unsafe characters in $srcdir or the absolute working directory
   2548 # name.  Accept space and tab only in the latter.
   2549 am_lf='
   2550 '
   2551 case `pwd` in
   2552   *[\\\"\#\$\&\'\`$am_lf]*)
   2553     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2554 esac
   2555 case $srcdir in
   2556   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2557     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2558 esac
   2559 
   2560 # Do 'set' in a subshell so we don't clobber the current shell's
   2561 # arguments.  Must try -L first in case configure is actually a
   2562 # symlink; some systems play weird games with the mod time of symlinks
   2563 # (eg FreeBSD returns the mod time of the symlink's containing
   2564 # directory).
   2565 if (
   2566    am_has_slept=no
   2567    for am_try in 1 2; do
   2568      echo "timestamp, slept: $am_has_slept" > conftest.file
   2569      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2570      if test "$*" = "X"; then
   2571 	# -L didn't work.
   2572 	set X `ls -t "$srcdir/configure" conftest.file`
   2573      fi
   2574      if test "$*" != "X $srcdir/configure conftest.file" \
   2575 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2576 
   2577 	# If neither matched, then we have a broken ls.  This can happen
   2578 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2579 	# broken ls alias from the environment.  This has actually
   2580 	# happened.  Such a system could not be considered "sane".
   2581 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2582   alias in your environment" "$LINENO" 5
   2583      fi
   2584      if test "$2" = conftest.file || test $am_try -eq 2; then
   2585        break
   2586      fi
   2587      # Just in case.
   2588      sleep 1
   2589      am_has_slept=yes
   2590    done
   2591    test "$2" = conftest.file
   2592    )
   2593 then
   2594    # Ok.
   2595    :
   2596 else
   2597    as_fn_error $? "newly created file is older than distributed files!
   2598 Check your system clock" "$LINENO" 5
   2599 fi
   2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2601 $as_echo "yes" >&6; }
   2602 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2603 # generated files are strictly newer.
   2604 am_sleep_pid=
   2605 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2606   ( sleep 1 ) &
   2607   am_sleep_pid=$!
   2608 fi
   2609 
   2610 rm -f conftest.file
   2611 
   2612 test "$program_prefix" != NONE &&
   2613   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2614 # Use a double $ so make ignores it.
   2615 test "$program_suffix" != NONE &&
   2616   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2617 # Double any \ or $.
   2618 # By default was `s,x,x', remove it if useless.
   2619 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2620 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2621 
   2622 # expand $ac_aux_dir to an absolute path
   2623 am_aux_dir=`cd $ac_aux_dir && pwd`
   2624 
   2625 if test x"${MISSING+set}" != xset; then
   2626   case $am_aux_dir in
   2627   *\ * | *\	*)
   2628     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2629   *)
   2630     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2631   esac
   2632 fi
   2633 # Use eval to expand $SHELL
   2634 if eval "$MISSING --is-lightweight"; then
   2635   am_missing_run="$MISSING "
   2636 else
   2637   am_missing_run=
   2638   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2639 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2640 fi
   2641 
   2642 if test x"${install_sh}" != xset; then
   2643   case $am_aux_dir in
   2644   *\ * | *\	*)
   2645     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2646   *)
   2647     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2648   esac
   2649 fi
   2650 
   2651 # Installed binaries are usually stripped using 'strip' when the user
   2652 # run "make install-strip".  However 'strip' might not be the right
   2653 # tool to use in cross-compilation environments, therefore Automake
   2654 # will honor the 'STRIP' environment variable to overrule this program.
   2655 if test "$cross_compiling" != no; then
   2656   if test -n "$ac_tool_prefix"; then
   2657   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2658 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2660 $as_echo_n "checking for $ac_word... " >&6; }
   2661 if ${ac_cv_prog_STRIP+:} false; then :
   2662   $as_echo_n "(cached) " >&6
   2663 else
   2664   if test -n "$STRIP"; then
   2665   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2666 else
   2667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2668 for as_dir in $PATH
   2669 do
   2670   IFS=$as_save_IFS
   2671   test -z "$as_dir" && as_dir=.
   2672     for ac_exec_ext in '' $ac_executable_extensions; do
   2673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2674     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2676     break 2
   2677   fi
   2678 done
   2679   done
   2680 IFS=$as_save_IFS
   2681 
   2682 fi
   2683 fi
   2684 STRIP=$ac_cv_prog_STRIP
   2685 if test -n "$STRIP"; then
   2686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2687 $as_echo "$STRIP" >&6; }
   2688 else
   2689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2690 $as_echo "no" >&6; }
   2691 fi
   2692 
   2693 
   2694 fi
   2695 if test -z "$ac_cv_prog_STRIP"; then
   2696   ac_ct_STRIP=$STRIP
   2697   # Extract the first word of "strip", so it can be a program name with args.
   2698 set dummy strip; ac_word=$2
   2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2700 $as_echo_n "checking for $ac_word... " >&6; }
   2701 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2702   $as_echo_n "(cached) " >&6
   2703 else
   2704   if test -n "$ac_ct_STRIP"; then
   2705   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2706 else
   2707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2708 for as_dir in $PATH
   2709 do
   2710   IFS=$as_save_IFS
   2711   test -z "$as_dir" && as_dir=.
   2712     for ac_exec_ext in '' $ac_executable_extensions; do
   2713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2714     ac_cv_prog_ac_ct_STRIP="strip"
   2715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2716     break 2
   2717   fi
   2718 done
   2719   done
   2720 IFS=$as_save_IFS
   2721 
   2722 fi
   2723 fi
   2724 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2725 if test -n "$ac_ct_STRIP"; then
   2726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2727 $as_echo "$ac_ct_STRIP" >&6; }
   2728 else
   2729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2730 $as_echo "no" >&6; }
   2731 fi
   2732 
   2733   if test "x$ac_ct_STRIP" = x; then
   2734     STRIP=":"
   2735   else
   2736     case $cross_compiling:$ac_tool_warned in
   2737 yes:)
   2738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2740 ac_tool_warned=yes ;;
   2741 esac
   2742     STRIP=$ac_ct_STRIP
   2743   fi
   2744 else
   2745   STRIP="$ac_cv_prog_STRIP"
   2746 fi
   2747 
   2748 fi
   2749 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2750 
   2751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2752 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2753 if test -z "$MKDIR_P"; then
   2754   if ${ac_cv_path_mkdir+:} false; then :
   2755   $as_echo_n "(cached) " >&6
   2756 else
   2757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2758 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2759 do
   2760   IFS=$as_save_IFS
   2761   test -z "$as_dir" && as_dir=.
   2762     for ac_prog in mkdir gmkdir; do
   2763 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2764 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2765 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2766 	     'mkdir (GNU coreutils) '* | \
   2767 	     'mkdir (coreutils) '* | \
   2768 	     'mkdir (fileutils) '4.1*)
   2769 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2770 	       break 3;;
   2771 	   esac
   2772 	 done
   2773        done
   2774   done
   2775 IFS=$as_save_IFS
   2776 
   2777 fi
   2778 
   2779   test -d ./--version && rmdir ./--version
   2780   if test "${ac_cv_path_mkdir+set}" = set; then
   2781     MKDIR_P="$ac_cv_path_mkdir -p"
   2782   else
   2783     # As a last resort, use the slow shell script.  Don't cache a
   2784     # value for MKDIR_P within a source directory, because that will
   2785     # break other packages using the cache if that directory is
   2786     # removed, or if the value is a relative name.
   2787     MKDIR_P="$ac_install_sh -d"
   2788   fi
   2789 fi
   2790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2791 $as_echo "$MKDIR_P" >&6; }
   2792 
   2793 for ac_prog in gawk mawk nawk awk
   2794 do
   2795   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2796 set dummy $ac_prog; ac_word=$2
   2797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2798 $as_echo_n "checking for $ac_word... " >&6; }
   2799 if ${ac_cv_prog_AWK+:} false; then :
   2800   $as_echo_n "(cached) " >&6
   2801 else
   2802   if test -n "$AWK"; then
   2803   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2804 else
   2805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2806 for as_dir in $PATH
   2807 do
   2808   IFS=$as_save_IFS
   2809   test -z "$as_dir" && as_dir=.
   2810     for ac_exec_ext in '' $ac_executable_extensions; do
   2811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2812     ac_cv_prog_AWK="$ac_prog"
   2813     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2814     break 2
   2815   fi
   2816 done
   2817   done
   2818 IFS=$as_save_IFS
   2819 
   2820 fi
   2821 fi
   2822 AWK=$ac_cv_prog_AWK
   2823 if test -n "$AWK"; then
   2824   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2825 $as_echo "$AWK" >&6; }
   2826 else
   2827   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2828 $as_echo "no" >&6; }
   2829 fi
   2830 
   2831 
   2832   test -n "$AWK" && break
   2833 done
   2834 
   2835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2836 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2837 set x ${MAKE-make}
   2838 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2839 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2840   $as_echo_n "(cached) " >&6
   2841 else
   2842   cat >conftest.make <<\_ACEOF
   2843 SHELL = /bin/sh
   2844 all:
   2845 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2846 _ACEOF
   2847 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2848 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2849   *@@@%%%=?*=@@@%%%*)
   2850     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2851   *)
   2852     eval ac_cv_prog_make_${ac_make}_set=no;;
   2853 esac
   2854 rm -f conftest.make
   2855 fi
   2856 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2858 $as_echo "yes" >&6; }
   2859   SET_MAKE=
   2860 else
   2861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2862 $as_echo "no" >&6; }
   2863   SET_MAKE="MAKE=${MAKE-make}"
   2864 fi
   2865 
   2866 rm -rf .tst 2>/dev/null
   2867 mkdir .tst 2>/dev/null
   2868 if test -d .tst; then
   2869   am__leading_dot=.
   2870 else
   2871   am__leading_dot=_
   2872 fi
   2873 rmdir .tst 2>/dev/null
   2874 
   2875 # Check whether --enable-silent-rules was given.
   2876 if test "${enable_silent_rules+set}" = set; then :
   2877   enableval=$enable_silent_rules;
   2878 fi
   2879 
   2880 case $enable_silent_rules in # (((
   2881   yes) AM_DEFAULT_VERBOSITY=0;;
   2882    no) AM_DEFAULT_VERBOSITY=1;;
   2883     *) AM_DEFAULT_VERBOSITY=1;;
   2884 esac
   2885 am_make=${MAKE-make}
   2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2887 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2888 if ${am_cv_make_support_nested_variables+:} false; then :
   2889   $as_echo_n "(cached) " >&6
   2890 else
   2891   if $as_echo 'TRUE=$(BAR$(V))
   2892 BAR0=false
   2893 BAR1=true
   2894 V=1
   2895 am__doit:
   2896 	@$(TRUE)
   2897 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2898   am_cv_make_support_nested_variables=yes
   2899 else
   2900   am_cv_make_support_nested_variables=no
   2901 fi
   2902 fi
   2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2904 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2905 if test $am_cv_make_support_nested_variables = yes; then
   2906     AM_V='$(V)'
   2907   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2908 else
   2909   AM_V=$AM_DEFAULT_VERBOSITY
   2910   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2911 fi
   2912 AM_BACKSLASH='\'
   2913 
   2914 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2915   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2916   # is not polluted with repeated "-I."
   2917   am__isrc=' -I$(srcdir)'
   2918   # test to see if srcdir already configured
   2919   if test -f $srcdir/config.status; then
   2920     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2921   fi
   2922 fi
   2923 
   2924 # test whether we have cygpath
   2925 if test -z "$CYGPATH_W"; then
   2926   if (cygpath --version) >/dev/null 2>/dev/null; then
   2927     CYGPATH_W='cygpath -w'
   2928   else
   2929     CYGPATH_W=echo
   2930   fi
   2931 fi
   2932 
   2933 
   2934 # Define the identity of the package.
   2935  PACKAGE='libXt'
   2936  VERSION='1.1.4'
   2937 
   2938 
   2939 cat >>confdefs.h <<_ACEOF
   2940 #define PACKAGE "$PACKAGE"
   2941 _ACEOF
   2942 
   2943 
   2944 cat >>confdefs.h <<_ACEOF
   2945 #define VERSION "$VERSION"
   2946 _ACEOF
   2947 
   2948 # Some tools Automake needs.
   2949 
   2950 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2951 
   2952 
   2953 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2954 
   2955 
   2956 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2957 
   2958 
   2959 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2960 
   2961 
   2962 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2963 
   2964 # For better backward compatibility.  To be removed once Automake 1.9.x
   2965 # dies out for good.  For more background, see:
   2966 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2967 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2968 mkdir_p='$(MKDIR_P)'
   2969 
   2970 # We need awk for the "check" target.  The system "awk" is bad on
   2971 # some platforms.
   2972 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2973 # in the wild :-(  We should find a proper way to deprecate it ...
   2974 AMTAR='$${TAR-tar}'
   2975 
   2976 
   2977 # We'll loop over all known methods to create a tar archive until one works.
   2978 _am_tools='gnutar  pax cpio none'
   2979 
   2980 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2981 
   2982 
   2983 
   2984 
   2985 
   2986 
   2987 
   2988 # Initialize libtool
   2989 case `pwd` in
   2990   *\ * | *\	*)
   2991     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2992 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2993 esac
   2994 
   2995 
   2996 
   2997 macro_version='2.4.2'
   2998 macro_revision='1.3337'
   2999 
   3000 
   3001 
   3002 
   3003 
   3004 
   3005 
   3006 
   3007 
   3008 
   3009 
   3010 
   3011 
   3012 ltmain="$ac_aux_dir/ltmain.sh"
   3013 
   3014 # Make sure we can run config.sub.
   3015 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   3016   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   3017 
   3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   3019 $as_echo_n "checking build system type... " >&6; }
   3020 if ${ac_cv_build+:} false; then :
   3021   $as_echo_n "(cached) " >&6
   3022 else
   3023   ac_build_alias=$build_alias
   3024 test "x$ac_build_alias" = x &&
   3025   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   3026 test "x$ac_build_alias" = x &&
   3027   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   3028 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   3029   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   3030 
   3031 fi
   3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   3033 $as_echo "$ac_cv_build" >&6; }
   3034 case $ac_cv_build in
   3035 *-*-*) ;;
   3036 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   3037 esac
   3038 build=$ac_cv_build
   3039 ac_save_IFS=$IFS; IFS='-'
   3040 set x $ac_cv_build
   3041 shift
   3042 build_cpu=$1
   3043 build_vendor=$2
   3044 shift; shift
   3045 # Remember, the first character of IFS is used to create $*,
   3046 # except with old shells:
   3047 build_os=$*
   3048 IFS=$ac_save_IFS
   3049 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   3050 
   3051 
   3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   3053 $as_echo_n "checking host system type... " >&6; }
   3054 if ${ac_cv_host+:} false; then :
   3055   $as_echo_n "(cached) " >&6
   3056 else
   3057   if test "x$host_alias" = x; then
   3058   ac_cv_host=$ac_cv_build
   3059 else
   3060   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   3061     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   3062 fi
   3063 
   3064 fi
   3065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   3066 $as_echo "$ac_cv_host" >&6; }
   3067 case $ac_cv_host in
   3068 *-*-*) ;;
   3069 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   3070 esac
   3071 host=$ac_cv_host
   3072 ac_save_IFS=$IFS; IFS='-'
   3073 set x $ac_cv_host
   3074 shift
   3075 host_cpu=$1
   3076 host_vendor=$2
   3077 shift; shift
   3078 # Remember, the first character of IFS is used to create $*,
   3079 # except with old shells:
   3080 host_os=$*
   3081 IFS=$ac_save_IFS
   3082 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   3083 
   3084 
   3085 # Backslashify metacharacters that are still active within
   3086 # double-quoted strings.
   3087 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   3088 
   3089 # Same as above, but do not quote variable references.
   3090 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   3091 
   3092 # Sed substitution to delay expansion of an escaped shell variable in a
   3093 # double_quote_subst'ed string.
   3094 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   3095 
   3096 # Sed substitution to delay expansion of an escaped single quote.
   3097 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   3098 
   3099 # Sed substitution to avoid accidental globbing in evaled expressions
   3100 no_glob_subst='s/\*/\\\*/g'
   3101 
   3102 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   3103 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   3104 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   3105 
   3106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   3107 $as_echo_n "checking how to print strings... " >&6; }
   3108 # Test print first, because it will be a builtin if present.
   3109 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   3110    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   3111   ECHO='print -r --'
   3112 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   3113   ECHO='printf %s\n'
   3114 else
   3115   # Use this function as a fallback that always works.
   3116   func_fallback_echo ()
   3117   {
   3118     eval 'cat <<_LTECHO_EOF
   3119 $1
   3120 _LTECHO_EOF'
   3121   }
   3122   ECHO='func_fallback_echo'
   3123 fi
   3124 
   3125 # func_echo_all arg...
   3126 # Invoke $ECHO with all args, space-separated.
   3127 func_echo_all ()
   3128 {
   3129     $ECHO ""
   3130 }
   3131 
   3132 case "$ECHO" in
   3133   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3134 $as_echo "printf" >&6; } ;;
   3135   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3136 $as_echo "print -r" >&6; } ;;
   3137   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3138 $as_echo "cat" >&6; } ;;
   3139 esac
   3140 
   3141 
   3142 
   3143 
   3144 
   3145 
   3146 
   3147 
   3148 
   3149 
   3150 
   3151 
   3152 
   3153 
   3154 DEPDIR="${am__leading_dot}deps"
   3155 
   3156 ac_config_commands="$ac_config_commands depfiles"
   3157 
   3158 
   3159 am_make=${MAKE-make}
   3160 cat > confinc << 'END'
   3161 am__doit:
   3162 	@echo this is the am__doit target
   3163 .PHONY: am__doit
   3164 END
   3165 # If we don't find an include directive, just comment out the code.
   3166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3167 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3168 am__include="#"
   3169 am__quote=
   3170 _am_result=none
   3171 # First try GNU make style include.
   3172 echo "include confinc" > confmf
   3173 # Ignore all kinds of additional output from 'make'.
   3174 case `$am_make -s -f confmf 2> /dev/null` in #(
   3175 *the\ am__doit\ target*)
   3176   am__include=include
   3177   am__quote=
   3178   _am_result=GNU
   3179   ;;
   3180 esac
   3181 # Now try BSD make style include.
   3182 if test "$am__include" = "#"; then
   3183    echo '.include "confinc"' > confmf
   3184    case `$am_make -s -f confmf 2> /dev/null` in #(
   3185    *the\ am__doit\ target*)
   3186      am__include=.include
   3187      am__quote="\""
   3188      _am_result=BSD
   3189      ;;
   3190    esac
   3191 fi
   3192 
   3193 
   3194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3195 $as_echo "$_am_result" >&6; }
   3196 rm -f confinc confmf
   3197 
   3198 # Check whether --enable-dependency-tracking was given.
   3199 if test "${enable_dependency_tracking+set}" = set; then :
   3200   enableval=$enable_dependency_tracking;
   3201 fi
   3202 
   3203 if test "x$enable_dependency_tracking" != xno; then
   3204   am_depcomp="$ac_aux_dir/depcomp"
   3205   AMDEPBACKSLASH='\'
   3206   am__nodep='_no'
   3207 fi
   3208  if test "x$enable_dependency_tracking" != xno; then
   3209   AMDEP_TRUE=
   3210   AMDEP_FALSE='#'
   3211 else
   3212   AMDEP_TRUE='#'
   3213   AMDEP_FALSE=
   3214 fi
   3215 
   3216 
   3217 ac_ext=c
   3218 ac_cpp='$CPP $CPPFLAGS'
   3219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3222 if test -n "$ac_tool_prefix"; then
   3223   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3224 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3226 $as_echo_n "checking for $ac_word... " >&6; }
   3227 if ${ac_cv_prog_CC+:} false; then :
   3228   $as_echo_n "(cached) " >&6
   3229 else
   3230   if test -n "$CC"; then
   3231   ac_cv_prog_CC="$CC" # Let the user override the test.
   3232 else
   3233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3234 for as_dir in $PATH
   3235 do
   3236   IFS=$as_save_IFS
   3237   test -z "$as_dir" && as_dir=.
   3238     for ac_exec_ext in '' $ac_executable_extensions; do
   3239   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3240     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3241     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3242     break 2
   3243   fi
   3244 done
   3245   done
   3246 IFS=$as_save_IFS
   3247 
   3248 fi
   3249 fi
   3250 CC=$ac_cv_prog_CC
   3251 if test -n "$CC"; then
   3252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3253 $as_echo "$CC" >&6; }
   3254 else
   3255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3256 $as_echo "no" >&6; }
   3257 fi
   3258 
   3259 
   3260 fi
   3261 if test -z "$ac_cv_prog_CC"; then
   3262   ac_ct_CC=$CC
   3263   # Extract the first word of "gcc", so it can be a program name with args.
   3264 set dummy gcc; ac_word=$2
   3265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3266 $as_echo_n "checking for $ac_word... " >&6; }
   3267 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3268   $as_echo_n "(cached) " >&6
   3269 else
   3270   if test -n "$ac_ct_CC"; then
   3271   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3272 else
   3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3274 for as_dir in $PATH
   3275 do
   3276   IFS=$as_save_IFS
   3277   test -z "$as_dir" && as_dir=.
   3278     for ac_exec_ext in '' $ac_executable_extensions; do
   3279   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3280     ac_cv_prog_ac_ct_CC="gcc"
   3281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3282     break 2
   3283   fi
   3284 done
   3285   done
   3286 IFS=$as_save_IFS
   3287 
   3288 fi
   3289 fi
   3290 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3291 if test -n "$ac_ct_CC"; then
   3292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3293 $as_echo "$ac_ct_CC" >&6; }
   3294 else
   3295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3296 $as_echo "no" >&6; }
   3297 fi
   3298 
   3299   if test "x$ac_ct_CC" = x; then
   3300     CC=""
   3301   else
   3302     case $cross_compiling:$ac_tool_warned in
   3303 yes:)
   3304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3306 ac_tool_warned=yes ;;
   3307 esac
   3308     CC=$ac_ct_CC
   3309   fi
   3310 else
   3311   CC="$ac_cv_prog_CC"
   3312 fi
   3313 
   3314 if test -z "$CC"; then
   3315           if test -n "$ac_tool_prefix"; then
   3316     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3317 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3319 $as_echo_n "checking for $ac_word... " >&6; }
   3320 if ${ac_cv_prog_CC+:} false; then :
   3321   $as_echo_n "(cached) " >&6
   3322 else
   3323   if test -n "$CC"; then
   3324   ac_cv_prog_CC="$CC" # Let the user override the test.
   3325 else
   3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3327 for as_dir in $PATH
   3328 do
   3329   IFS=$as_save_IFS
   3330   test -z "$as_dir" && as_dir=.
   3331     for ac_exec_ext in '' $ac_executable_extensions; do
   3332   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3333     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3334     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3335     break 2
   3336   fi
   3337 done
   3338   done
   3339 IFS=$as_save_IFS
   3340 
   3341 fi
   3342 fi
   3343 CC=$ac_cv_prog_CC
   3344 if test -n "$CC"; then
   3345   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3346 $as_echo "$CC" >&6; }
   3347 else
   3348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3349 $as_echo "no" >&6; }
   3350 fi
   3351 
   3352 
   3353   fi
   3354 fi
   3355 if test -z "$CC"; then
   3356   # Extract the first word of "cc", so it can be a program name with args.
   3357 set dummy cc; ac_word=$2
   3358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3359 $as_echo_n "checking for $ac_word... " >&6; }
   3360 if ${ac_cv_prog_CC+:} false; then :
   3361   $as_echo_n "(cached) " >&6
   3362 else
   3363   if test -n "$CC"; then
   3364   ac_cv_prog_CC="$CC" # Let the user override the test.
   3365 else
   3366   ac_prog_rejected=no
   3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3368 for as_dir in $PATH
   3369 do
   3370   IFS=$as_save_IFS
   3371   test -z "$as_dir" && as_dir=.
   3372     for ac_exec_ext in '' $ac_executable_extensions; do
   3373   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3374     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3375        ac_prog_rejected=yes
   3376        continue
   3377      fi
   3378     ac_cv_prog_CC="cc"
   3379     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3380     break 2
   3381   fi
   3382 done
   3383   done
   3384 IFS=$as_save_IFS
   3385 
   3386 if test $ac_prog_rejected = yes; then
   3387   # We found a bogon in the path, so make sure we never use it.
   3388   set dummy $ac_cv_prog_CC
   3389   shift
   3390   if test $# != 0; then
   3391     # We chose a different compiler from the bogus one.
   3392     # However, it has the same basename, so the bogon will be chosen
   3393     # first if we set CC to just the basename; use the full file name.
   3394     shift
   3395     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3396   fi
   3397 fi
   3398 fi
   3399 fi
   3400 CC=$ac_cv_prog_CC
   3401 if test -n "$CC"; then
   3402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3403 $as_echo "$CC" >&6; }
   3404 else
   3405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3406 $as_echo "no" >&6; }
   3407 fi
   3408 
   3409 
   3410 fi
   3411 if test -z "$CC"; then
   3412   if test -n "$ac_tool_prefix"; then
   3413   for ac_prog in cl.exe
   3414   do
   3415     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3416 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3418 $as_echo_n "checking for $ac_word... " >&6; }
   3419 if ${ac_cv_prog_CC+:} false; then :
   3420   $as_echo_n "(cached) " >&6
   3421 else
   3422   if test -n "$CC"; then
   3423   ac_cv_prog_CC="$CC" # Let the user override the test.
   3424 else
   3425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3426 for as_dir in $PATH
   3427 do
   3428   IFS=$as_save_IFS
   3429   test -z "$as_dir" && as_dir=.
   3430     for ac_exec_ext in '' $ac_executable_extensions; do
   3431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3432     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3433     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3434     break 2
   3435   fi
   3436 done
   3437   done
   3438 IFS=$as_save_IFS
   3439 
   3440 fi
   3441 fi
   3442 CC=$ac_cv_prog_CC
   3443 if test -n "$CC"; then
   3444   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3445 $as_echo "$CC" >&6; }
   3446 else
   3447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3448 $as_echo "no" >&6; }
   3449 fi
   3450 
   3451 
   3452     test -n "$CC" && break
   3453   done
   3454 fi
   3455 if test -z "$CC"; then
   3456   ac_ct_CC=$CC
   3457   for ac_prog in cl.exe
   3458 do
   3459   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3460 set dummy $ac_prog; ac_word=$2
   3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3462 $as_echo_n "checking for $ac_word... " >&6; }
   3463 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3464   $as_echo_n "(cached) " >&6
   3465 else
   3466   if test -n "$ac_ct_CC"; then
   3467   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3468 else
   3469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3470 for as_dir in $PATH
   3471 do
   3472   IFS=$as_save_IFS
   3473   test -z "$as_dir" && as_dir=.
   3474     for ac_exec_ext in '' $ac_executable_extensions; do
   3475   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3476     ac_cv_prog_ac_ct_CC="$ac_prog"
   3477     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3478     break 2
   3479   fi
   3480 done
   3481   done
   3482 IFS=$as_save_IFS
   3483 
   3484 fi
   3485 fi
   3486 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3487 if test -n "$ac_ct_CC"; then
   3488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3489 $as_echo "$ac_ct_CC" >&6; }
   3490 else
   3491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3492 $as_echo "no" >&6; }
   3493 fi
   3494 
   3495 
   3496   test -n "$ac_ct_CC" && break
   3497 done
   3498 
   3499   if test "x$ac_ct_CC" = x; then
   3500     CC=""
   3501   else
   3502     case $cross_compiling:$ac_tool_warned in
   3503 yes:)
   3504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3506 ac_tool_warned=yes ;;
   3507 esac
   3508     CC=$ac_ct_CC
   3509   fi
   3510 fi
   3511 
   3512 fi
   3513 
   3514 
   3515 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3517 as_fn_error $? "no acceptable C compiler found in \$PATH
   3518 See \`config.log' for more details" "$LINENO" 5; }
   3519 
   3520 # Provide some information about the compiler.
   3521 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3522 set X $ac_compile
   3523 ac_compiler=$2
   3524 for ac_option in --version -v -V -qversion; do
   3525   { { ac_try="$ac_compiler $ac_option >&5"
   3526 case "(($ac_try" in
   3527   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3528   *) ac_try_echo=$ac_try;;
   3529 esac
   3530 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3531 $as_echo "$ac_try_echo"; } >&5
   3532   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3533   ac_status=$?
   3534   if test -s conftest.err; then
   3535     sed '10a\
   3536 ... rest of stderr output deleted ...
   3537          10q' conftest.err >conftest.er1
   3538     cat conftest.er1 >&5
   3539   fi
   3540   rm -f conftest.er1 conftest.err
   3541   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3542   test $ac_status = 0; }
   3543 done
   3544 
   3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3546 /* end confdefs.h.  */
   3547 
   3548 int
   3549 main ()
   3550 {
   3551 
   3552   ;
   3553   return 0;
   3554 }
   3555 _ACEOF
   3556 ac_clean_files_save=$ac_clean_files
   3557 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3558 # Try to create an executable without -o first, disregard a.out.
   3559 # It will help us diagnose broken compilers, and finding out an intuition
   3560 # of exeext.
   3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3562 $as_echo_n "checking whether the C compiler works... " >&6; }
   3563 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3564 
   3565 # The possible output files:
   3566 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3567 
   3568 ac_rmfiles=
   3569 for ac_file in $ac_files
   3570 do
   3571   case $ac_file in
   3572     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3573     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3574   esac
   3575 done
   3576 rm -f $ac_rmfiles
   3577 
   3578 if { { ac_try="$ac_link_default"
   3579 case "(($ac_try" in
   3580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3581   *) ac_try_echo=$ac_try;;
   3582 esac
   3583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3584 $as_echo "$ac_try_echo"; } >&5
   3585   (eval "$ac_link_default") 2>&5
   3586   ac_status=$?
   3587   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3588   test $ac_status = 0; }; then :
   3589   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3590 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3591 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3592 # so that the user can short-circuit this test for compilers unknown to
   3593 # Autoconf.
   3594 for ac_file in $ac_files ''
   3595 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 | *.o | *.obj )
   3599 	;;
   3600     [ab].out )
   3601 	# We found the default executable, but exeext='' is most
   3602 	# certainly right.
   3603 	break;;
   3604     *.* )
   3605 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3606 	then :; else
   3607 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3608 	fi
   3609 	# We set ac_cv_exeext here because the later test for it is not
   3610 	# safe: cross compilers may not add the suffix if given an `-o'
   3611 	# argument, so we may need to know it at that point already.
   3612 	# Even if this section looks crufty: it has the advantage of
   3613 	# actually working.
   3614 	break;;
   3615     * )
   3616 	break;;
   3617   esac
   3618 done
   3619 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3620 
   3621 else
   3622   ac_file=''
   3623 fi
   3624 if test -z "$ac_file"; then :
   3625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3626 $as_echo "no" >&6; }
   3627 $as_echo "$as_me: failed program was:" >&5
   3628 sed 's/^/| /' conftest.$ac_ext >&5
   3629 
   3630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3632 as_fn_error 77 "C compiler cannot create executables
   3633 See \`config.log' for more details" "$LINENO" 5; }
   3634 else
   3635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3636 $as_echo "yes" >&6; }
   3637 fi
   3638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3639 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3641 $as_echo "$ac_file" >&6; }
   3642 ac_exeext=$ac_cv_exeext
   3643 
   3644 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3645 ac_clean_files=$ac_clean_files_save
   3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3647 $as_echo_n "checking for suffix of executables... " >&6; }
   3648 if { { ac_try="$ac_link"
   3649 case "(($ac_try" in
   3650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3651   *) ac_try_echo=$ac_try;;
   3652 esac
   3653 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3654 $as_echo "$ac_try_echo"; } >&5
   3655   (eval "$ac_link") 2>&5
   3656   ac_status=$?
   3657   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3658   test $ac_status = 0; }; then :
   3659   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3660 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3661 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3662 # `rm'.
   3663 for ac_file in conftest.exe conftest conftest.*; do
   3664   test -f "$ac_file" || continue
   3665   case $ac_file in
   3666     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3667     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3668 	  break;;
   3669     * ) break;;
   3670   esac
   3671 done
   3672 else
   3673   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3675 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3676 See \`config.log' for more details" "$LINENO" 5; }
   3677 fi
   3678 rm -f conftest conftest$ac_cv_exeext
   3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3680 $as_echo "$ac_cv_exeext" >&6; }
   3681 
   3682 rm -f conftest.$ac_ext
   3683 EXEEXT=$ac_cv_exeext
   3684 ac_exeext=$EXEEXT
   3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3686 /* end confdefs.h.  */
   3687 #include <stdio.h>
   3688 int
   3689 main ()
   3690 {
   3691 FILE *f = fopen ("conftest.out", "w");
   3692  return ferror (f) || fclose (f) != 0;
   3693 
   3694   ;
   3695   return 0;
   3696 }
   3697 _ACEOF
   3698 ac_clean_files="$ac_clean_files conftest.out"
   3699 # Check that the compiler produces executables we can run.  If not, either
   3700 # the compiler is broken, or we cross compile.
   3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3702 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3703 if test "$cross_compiling" != yes; then
   3704   { { ac_try="$ac_link"
   3705 case "(($ac_try" in
   3706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3707   *) ac_try_echo=$ac_try;;
   3708 esac
   3709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3710 $as_echo "$ac_try_echo"; } >&5
   3711   (eval "$ac_link") 2>&5
   3712   ac_status=$?
   3713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3714   test $ac_status = 0; }
   3715   if { ac_try='./conftest$ac_cv_exeext'
   3716   { { case "(($ac_try" in
   3717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3718   *) ac_try_echo=$ac_try;;
   3719 esac
   3720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3721 $as_echo "$ac_try_echo"; } >&5
   3722   (eval "$ac_try") 2>&5
   3723   ac_status=$?
   3724   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3725   test $ac_status = 0; }; }; then
   3726     cross_compiling=no
   3727   else
   3728     if test "$cross_compiling" = maybe; then
   3729 	cross_compiling=yes
   3730     else
   3731 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3733 as_fn_error $? "cannot run C compiled programs.
   3734 If you meant to cross compile, use \`--host'.
   3735 See \`config.log' for more details" "$LINENO" 5; }
   3736     fi
   3737   fi
   3738 fi
   3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3740 $as_echo "$cross_compiling" >&6; }
   3741 
   3742 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3743 ac_clean_files=$ac_clean_files_save
   3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3745 $as_echo_n "checking for suffix of object files... " >&6; }
   3746 if ${ac_cv_objext+:} false; then :
   3747   $as_echo_n "(cached) " >&6
   3748 else
   3749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3750 /* end confdefs.h.  */
   3751 
   3752 int
   3753 main ()
   3754 {
   3755 
   3756   ;
   3757   return 0;
   3758 }
   3759 _ACEOF
   3760 rm -f conftest.o conftest.obj
   3761 if { { ac_try="$ac_compile"
   3762 case "(($ac_try" in
   3763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3764   *) ac_try_echo=$ac_try;;
   3765 esac
   3766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3767 $as_echo "$ac_try_echo"; } >&5
   3768   (eval "$ac_compile") 2>&5
   3769   ac_status=$?
   3770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3771   test $ac_status = 0; }; then :
   3772   for ac_file in conftest.o conftest.obj conftest.*; do
   3773   test -f "$ac_file" || continue;
   3774   case $ac_file in
   3775     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3776     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3777        break;;
   3778   esac
   3779 done
   3780 else
   3781   $as_echo "$as_me: failed program was:" >&5
   3782 sed 's/^/| /' conftest.$ac_ext >&5
   3783 
   3784 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3785 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3786 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3787 See \`config.log' for more details" "$LINENO" 5; }
   3788 fi
   3789 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3790 fi
   3791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3792 $as_echo "$ac_cv_objext" >&6; }
   3793 OBJEXT=$ac_cv_objext
   3794 ac_objext=$OBJEXT
   3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3796 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3797 if ${ac_cv_c_compiler_gnu+:} false; then :
   3798   $as_echo_n "(cached) " >&6
   3799 else
   3800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3801 /* end confdefs.h.  */
   3802 
   3803 int
   3804 main ()
   3805 {
   3806 #ifndef __GNUC__
   3807        choke me
   3808 #endif
   3809 
   3810   ;
   3811   return 0;
   3812 }
   3813 _ACEOF
   3814 if ac_fn_c_try_compile "$LINENO"; then :
   3815   ac_compiler_gnu=yes
   3816 else
   3817   ac_compiler_gnu=no
   3818 fi
   3819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3820 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3821 
   3822 fi
   3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3824 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3825 if test $ac_compiler_gnu = yes; then
   3826   GCC=yes
   3827 else
   3828   GCC=
   3829 fi
   3830 ac_test_CFLAGS=${CFLAGS+set}
   3831 ac_save_CFLAGS=$CFLAGS
   3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3833 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3834 if ${ac_cv_prog_cc_g+:} false; then :
   3835   $as_echo_n "(cached) " >&6
   3836 else
   3837   ac_save_c_werror_flag=$ac_c_werror_flag
   3838    ac_c_werror_flag=yes
   3839    ac_cv_prog_cc_g=no
   3840    CFLAGS="-g"
   3841    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3842 /* end confdefs.h.  */
   3843 
   3844 int
   3845 main ()
   3846 {
   3847 
   3848   ;
   3849   return 0;
   3850 }
   3851 _ACEOF
   3852 if ac_fn_c_try_compile "$LINENO"; then :
   3853   ac_cv_prog_cc_g=yes
   3854 else
   3855   CFLAGS=""
   3856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3857 /* end confdefs.h.  */
   3858 
   3859 int
   3860 main ()
   3861 {
   3862 
   3863   ;
   3864   return 0;
   3865 }
   3866 _ACEOF
   3867 if ac_fn_c_try_compile "$LINENO"; then :
   3868 
   3869 else
   3870   ac_c_werror_flag=$ac_save_c_werror_flag
   3871 	 CFLAGS="-g"
   3872 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3873 /* end confdefs.h.  */
   3874 
   3875 int
   3876 main ()
   3877 {
   3878 
   3879   ;
   3880   return 0;
   3881 }
   3882 _ACEOF
   3883 if ac_fn_c_try_compile "$LINENO"; then :
   3884   ac_cv_prog_cc_g=yes
   3885 fi
   3886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3887 fi
   3888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3889 fi
   3890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3891    ac_c_werror_flag=$ac_save_c_werror_flag
   3892 fi
   3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3894 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3895 if test "$ac_test_CFLAGS" = set; then
   3896   CFLAGS=$ac_save_CFLAGS
   3897 elif test $ac_cv_prog_cc_g = yes; then
   3898   if test "$GCC" = yes; then
   3899     CFLAGS="-g -O2"
   3900   else
   3901     CFLAGS="-g"
   3902   fi
   3903 else
   3904   if test "$GCC" = yes; then
   3905     CFLAGS="-O2"
   3906   else
   3907     CFLAGS=
   3908   fi
   3909 fi
   3910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3911 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3912 if ${ac_cv_prog_cc_c89+:} false; then :
   3913   $as_echo_n "(cached) " >&6
   3914 else
   3915   ac_cv_prog_cc_c89=no
   3916 ac_save_CC=$CC
   3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3918 /* end confdefs.h.  */
   3919 #include <stdarg.h>
   3920 #include <stdio.h>
   3921 #include <sys/types.h>
   3922 #include <sys/stat.h>
   3923 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3924 struct buf { int x; };
   3925 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3926 static char *e (p, i)
   3927      char **p;
   3928      int i;
   3929 {
   3930   return p[i];
   3931 }
   3932 static char *f (char * (*g) (char **, int), char **p, ...)
   3933 {
   3934   char *s;
   3935   va_list v;
   3936   va_start (v,p);
   3937   s = g (p, va_arg (v,int));
   3938   va_end (v);
   3939   return s;
   3940 }
   3941 
   3942 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3943    function prototypes and stuff, but not '\xHH' hex character constants.
   3944    These don't provoke an error unfortunately, instead are silently treated
   3945    as 'x'.  The following induces an error, until -std is added to get
   3946    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3947    array size at least.  It's necessary to write '\x00'==0 to get something
   3948    that's true only with -std.  */
   3949 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3950 
   3951 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3952    inside strings and character constants.  */
   3953 #define FOO(x) 'x'
   3954 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3955 
   3956 int test (int i, double x);
   3957 struct s1 {int (*f) (int a);};
   3958 struct s2 {int (*f) (double a);};
   3959 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3960 int argc;
   3961 char **argv;
   3962 int
   3963 main ()
   3964 {
   3965 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3966   ;
   3967   return 0;
   3968 }
   3969 _ACEOF
   3970 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3971 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3972 do
   3973   CC="$ac_save_CC $ac_arg"
   3974   if ac_fn_c_try_compile "$LINENO"; then :
   3975   ac_cv_prog_cc_c89=$ac_arg
   3976 fi
   3977 rm -f core conftest.err conftest.$ac_objext
   3978   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3979 done
   3980 rm -f conftest.$ac_ext
   3981 CC=$ac_save_CC
   3982 
   3983 fi
   3984 # AC_CACHE_VAL
   3985 case "x$ac_cv_prog_cc_c89" in
   3986   x)
   3987     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3988 $as_echo "none needed" >&6; } ;;
   3989   xno)
   3990     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3991 $as_echo "unsupported" >&6; } ;;
   3992   *)
   3993     CC="$CC $ac_cv_prog_cc_c89"
   3994     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3995 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3996 esac
   3997 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3998 
   3999 fi
   4000 
   4001 ac_ext=c
   4002 ac_cpp='$CPP $CPPFLAGS'
   4003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4006 
   4007 depcc="$CC"   am_compiler_list=
   4008 
   4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4010 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4011 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4012   $as_echo_n "(cached) " >&6
   4013 else
   4014   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4015   # We make a subdir and do the tests there.  Otherwise we can end up
   4016   # making bogus files that we don't know about and never remove.  For
   4017   # instance it was reported that on HP-UX the gcc test will end up
   4018   # making a dummy file named 'D' -- because '-MD' means "put the output
   4019   # in D".
   4020   rm -rf conftest.dir
   4021   mkdir conftest.dir
   4022   # Copy depcomp to subdir because otherwise we won't find it if we're
   4023   # using a relative directory.
   4024   cp "$am_depcomp" conftest.dir
   4025   cd conftest.dir
   4026   # We will build objects and dependencies in a subdirectory because
   4027   # it helps to detect inapplicable dependency modes.  For instance
   4028   # both Tru64's cc and ICC support -MD to output dependencies as a
   4029   # side effect of compilation, but ICC will put the dependencies in
   4030   # the current directory while Tru64 will put them in the object
   4031   # directory.
   4032   mkdir sub
   4033 
   4034   am_cv_CC_dependencies_compiler_type=none
   4035   if test "$am_compiler_list" = ""; then
   4036      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4037   fi
   4038   am__universal=false
   4039   case " $depcc " in #(
   4040      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4041      esac
   4042 
   4043   for depmode in $am_compiler_list; do
   4044     # Setup a source with many dependencies, because some compilers
   4045     # like to wrap large dependency lists on column 80 (with \), and
   4046     # we should not choose a depcomp mode which is confused by this.
   4047     #
   4048     # We need to recreate these files for each test, as the compiler may
   4049     # overwrite some of them when testing with obscure command lines.
   4050     # This happens at least with the AIX C compiler.
   4051     : > sub/conftest.c
   4052     for i in 1 2 3 4 5 6; do
   4053       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4054       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4055       # Solaris 10 /bin/sh.
   4056       echo '/* dummy */' > sub/conftst$i.h
   4057     done
   4058     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4059 
   4060     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4061     # mode.  It turns out that the SunPro C++ compiler does not properly
   4062     # handle '-M -o', and we need to detect this.  Also, some Intel
   4063     # versions had trouble with output in subdirs.
   4064     am__obj=sub/conftest.${OBJEXT-o}
   4065     am__minus_obj="-o $am__obj"
   4066     case $depmode in
   4067     gcc)
   4068       # This depmode causes a compiler race in universal mode.
   4069       test "$am__universal" = false || continue
   4070       ;;
   4071     nosideeffect)
   4072       # After this tag, mechanisms are not by side-effect, so they'll
   4073       # only be used when explicitly requested.
   4074       if test "x$enable_dependency_tracking" = xyes; then
   4075 	continue
   4076       else
   4077 	break
   4078       fi
   4079       ;;
   4080     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4081       # This compiler won't grok '-c -o', but also, the minuso test has
   4082       # not run yet.  These depmodes are late enough in the game, and
   4083       # so weak that their functioning should not be impacted.
   4084       am__obj=conftest.${OBJEXT-o}
   4085       am__minus_obj=
   4086       ;;
   4087     none) break ;;
   4088     esac
   4089     if depmode=$depmode \
   4090        source=sub/conftest.c object=$am__obj \
   4091        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4092        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4093          >/dev/null 2>conftest.err &&
   4094        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4095        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4096        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4097        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4098       # icc doesn't choke on unknown options, it will just issue warnings
   4099       # or remarks (even with -Werror).  So we grep stderr for any message
   4100       # that says an option was ignored or not supported.
   4101       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4102       #   icc: Command line warning: ignoring option '-M'; no argument required
   4103       # The diagnosis changed in icc 8.0:
   4104       #   icc: Command line remark: option '-MP' not supported
   4105       if (grep 'ignoring option' conftest.err ||
   4106           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4107         am_cv_CC_dependencies_compiler_type=$depmode
   4108         break
   4109       fi
   4110     fi
   4111   done
   4112 
   4113   cd ..
   4114   rm -rf conftest.dir
   4115 else
   4116   am_cv_CC_dependencies_compiler_type=none
   4117 fi
   4118 
   4119 fi
   4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4121 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4122 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4123 
   4124  if
   4125   test "x$enable_dependency_tracking" != xno \
   4126   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4127   am__fastdepCC_TRUE=
   4128   am__fastdepCC_FALSE='#'
   4129 else
   4130   am__fastdepCC_TRUE='#'
   4131   am__fastdepCC_FALSE=
   4132 fi
   4133 
   4134 
   4135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4136 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4137 if ${ac_cv_path_SED+:} false; then :
   4138   $as_echo_n "(cached) " >&6
   4139 else
   4140             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4141      for ac_i in 1 2 3 4 5 6 7; do
   4142        ac_script="$ac_script$as_nl$ac_script"
   4143      done
   4144      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4145      { ac_script=; unset ac_script;}
   4146      if test -z "$SED"; then
   4147   ac_path_SED_found=false
   4148   # Loop through the user's path and test for each of PROGNAME-LIST
   4149   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4150 for as_dir in $PATH
   4151 do
   4152   IFS=$as_save_IFS
   4153   test -z "$as_dir" && as_dir=.
   4154     for ac_prog in sed gsed; do
   4155     for ac_exec_ext in '' $ac_executable_extensions; do
   4156       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4157       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   4158 # Check for GNU ac_path_SED and select it if it is found.
   4159   # Check for GNU $ac_path_SED
   4160 case `"$ac_path_SED" --version 2>&1` in
   4161 *GNU*)
   4162   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4163 *)
   4164   ac_count=0
   4165   $as_echo_n 0123456789 >"conftest.in"
   4166   while :
   4167   do
   4168     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4169     mv "conftest.tmp" "conftest.in"
   4170     cp "conftest.in" "conftest.nl"
   4171     $as_echo '' >> "conftest.nl"
   4172     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4173     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4174     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4175     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4176       # Best one so far, save it but keep looking for a better one
   4177       ac_cv_path_SED="$ac_path_SED"
   4178       ac_path_SED_max=$ac_count
   4179     fi
   4180     # 10*(2^10) chars as input seems more than enough
   4181     test $ac_count -gt 10 && break
   4182   done
   4183   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4184 esac
   4185 
   4186       $ac_path_SED_found && break 3
   4187     done
   4188   done
   4189   done
   4190 IFS=$as_save_IFS
   4191   if test -z "$ac_cv_path_SED"; then
   4192     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4193   fi
   4194 else
   4195   ac_cv_path_SED=$SED
   4196 fi
   4197 
   4198 fi
   4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4200 $as_echo "$ac_cv_path_SED" >&6; }
   4201  SED="$ac_cv_path_SED"
   4202   rm -f conftest.sed
   4203 
   4204 test -z "$SED" && SED=sed
   4205 Xsed="$SED -e 1s/^X//"
   4206 
   4207 
   4208 
   4209 
   4210 
   4211 
   4212 
   4213 
   4214 
   4215 
   4216 
   4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4218 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4219 if ${ac_cv_path_GREP+:} false; then :
   4220   $as_echo_n "(cached) " >&6
   4221 else
   4222   if test -z "$GREP"; then
   4223   ac_path_GREP_found=false
   4224   # Loop through the user's path and test for each of PROGNAME-LIST
   4225   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4226 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4227 do
   4228   IFS=$as_save_IFS
   4229   test -z "$as_dir" && as_dir=.
   4230     for ac_prog in grep ggrep; do
   4231     for ac_exec_ext in '' $ac_executable_extensions; do
   4232       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4233       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4234 # Check for GNU ac_path_GREP and select it if it is found.
   4235   # Check for GNU $ac_path_GREP
   4236 case `"$ac_path_GREP" --version 2>&1` in
   4237 *GNU*)
   4238   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4239 *)
   4240   ac_count=0
   4241   $as_echo_n 0123456789 >"conftest.in"
   4242   while :
   4243   do
   4244     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4245     mv "conftest.tmp" "conftest.in"
   4246     cp "conftest.in" "conftest.nl"
   4247     $as_echo 'GREP' >> "conftest.nl"
   4248     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4249     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4250     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4251     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4252       # Best one so far, save it but keep looking for a better one
   4253       ac_cv_path_GREP="$ac_path_GREP"
   4254       ac_path_GREP_max=$ac_count
   4255     fi
   4256     # 10*(2^10) chars as input seems more than enough
   4257     test $ac_count -gt 10 && break
   4258   done
   4259   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4260 esac
   4261 
   4262       $ac_path_GREP_found && break 3
   4263     done
   4264   done
   4265   done
   4266 IFS=$as_save_IFS
   4267   if test -z "$ac_cv_path_GREP"; then
   4268     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4269   fi
   4270 else
   4271   ac_cv_path_GREP=$GREP
   4272 fi
   4273 
   4274 fi
   4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4276 $as_echo "$ac_cv_path_GREP" >&6; }
   4277  GREP="$ac_cv_path_GREP"
   4278 
   4279 
   4280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4281 $as_echo_n "checking for egrep... " >&6; }
   4282 if ${ac_cv_path_EGREP+:} false; then :
   4283   $as_echo_n "(cached) " >&6
   4284 else
   4285   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4286    then ac_cv_path_EGREP="$GREP -E"
   4287    else
   4288      if test -z "$EGREP"; then
   4289   ac_path_EGREP_found=false
   4290   # Loop through the user's path and test for each of PROGNAME-LIST
   4291   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4292 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4293 do
   4294   IFS=$as_save_IFS
   4295   test -z "$as_dir" && as_dir=.
   4296     for ac_prog in egrep; do
   4297     for ac_exec_ext in '' $ac_executable_extensions; do
   4298       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4299       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4300 # Check for GNU ac_path_EGREP and select it if it is found.
   4301   # Check for GNU $ac_path_EGREP
   4302 case `"$ac_path_EGREP" --version 2>&1` in
   4303 *GNU*)
   4304   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4305 *)
   4306   ac_count=0
   4307   $as_echo_n 0123456789 >"conftest.in"
   4308   while :
   4309   do
   4310     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4311     mv "conftest.tmp" "conftest.in"
   4312     cp "conftest.in" "conftest.nl"
   4313     $as_echo 'EGREP' >> "conftest.nl"
   4314     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4315     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4316     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4317     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4318       # Best one so far, save it but keep looking for a better one
   4319       ac_cv_path_EGREP="$ac_path_EGREP"
   4320       ac_path_EGREP_max=$ac_count
   4321     fi
   4322     # 10*(2^10) chars as input seems more than enough
   4323     test $ac_count -gt 10 && break
   4324   done
   4325   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4326 esac
   4327 
   4328       $ac_path_EGREP_found && break 3
   4329     done
   4330   done
   4331   done
   4332 IFS=$as_save_IFS
   4333   if test -z "$ac_cv_path_EGREP"; then
   4334     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4335   fi
   4336 else
   4337   ac_cv_path_EGREP=$EGREP
   4338 fi
   4339 
   4340    fi
   4341 fi
   4342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4343 $as_echo "$ac_cv_path_EGREP" >&6; }
   4344  EGREP="$ac_cv_path_EGREP"
   4345 
   4346 
   4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4348 $as_echo_n "checking for fgrep... " >&6; }
   4349 if ${ac_cv_path_FGREP+:} false; then :
   4350   $as_echo_n "(cached) " >&6
   4351 else
   4352   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4353    then ac_cv_path_FGREP="$GREP -F"
   4354    else
   4355      if test -z "$FGREP"; then
   4356   ac_path_FGREP_found=false
   4357   # Loop through the user's path and test for each of PROGNAME-LIST
   4358   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4359 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4360 do
   4361   IFS=$as_save_IFS
   4362   test -z "$as_dir" && as_dir=.
   4363     for ac_prog in fgrep; do
   4364     for ac_exec_ext in '' $ac_executable_extensions; do
   4365       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4366       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4367 # Check for GNU ac_path_FGREP and select it if it is found.
   4368   # Check for GNU $ac_path_FGREP
   4369 case `"$ac_path_FGREP" --version 2>&1` in
   4370 *GNU*)
   4371   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4372 *)
   4373   ac_count=0
   4374   $as_echo_n 0123456789 >"conftest.in"
   4375   while :
   4376   do
   4377     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4378     mv "conftest.tmp" "conftest.in"
   4379     cp "conftest.in" "conftest.nl"
   4380     $as_echo 'FGREP' >> "conftest.nl"
   4381     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4382     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4383     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4384     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4385       # Best one so far, save it but keep looking for a better one
   4386       ac_cv_path_FGREP="$ac_path_FGREP"
   4387       ac_path_FGREP_max=$ac_count
   4388     fi
   4389     # 10*(2^10) chars as input seems more than enough
   4390     test $ac_count -gt 10 && break
   4391   done
   4392   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4393 esac
   4394 
   4395       $ac_path_FGREP_found && break 3
   4396     done
   4397   done
   4398   done
   4399 IFS=$as_save_IFS
   4400   if test -z "$ac_cv_path_FGREP"; then
   4401     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4402   fi
   4403 else
   4404   ac_cv_path_FGREP=$FGREP
   4405 fi
   4406 
   4407    fi
   4408 fi
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4410 $as_echo "$ac_cv_path_FGREP" >&6; }
   4411  FGREP="$ac_cv_path_FGREP"
   4412 
   4413 
   4414 test -z "$GREP" && GREP=grep
   4415 
   4416 
   4417 
   4418 
   4419 
   4420 
   4421 
   4422 
   4423 
   4424 
   4425 
   4426 
   4427 
   4428 
   4429 
   4430 
   4431 
   4432 
   4433 
   4434 # Check whether --with-gnu-ld was given.
   4435 if test "${with_gnu_ld+set}" = set; then :
   4436   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4437 else
   4438   with_gnu_ld=no
   4439 fi
   4440 
   4441 ac_prog=ld
   4442 if test "$GCC" = yes; then
   4443   # Check if gcc -print-prog-name=ld gives a path.
   4444   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4445 $as_echo_n "checking for ld used by $CC... " >&6; }
   4446   case $host in
   4447   *-*-mingw*)
   4448     # gcc leaves a trailing carriage return which upsets mingw
   4449     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4450   *)
   4451     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4452   esac
   4453   case $ac_prog in
   4454     # Accept absolute paths.
   4455     [\\/]* | ?:[\\/]*)
   4456       re_direlt='/[^/][^/]*/\.\./'
   4457       # Canonicalize the pathname of ld
   4458       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4459       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4460 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4461       done
   4462       test -z "$LD" && LD="$ac_prog"
   4463       ;;
   4464   "")
   4465     # If it fails, then pretend we aren't using GCC.
   4466     ac_prog=ld
   4467     ;;
   4468   *)
   4469     # If it is relative, then search for the first ld in PATH.
   4470     with_gnu_ld=unknown
   4471     ;;
   4472   esac
   4473 elif test "$with_gnu_ld" = yes; then
   4474   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4475 $as_echo_n "checking for GNU ld... " >&6; }
   4476 else
   4477   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4478 $as_echo_n "checking for non-GNU ld... " >&6; }
   4479 fi
   4480 if ${lt_cv_path_LD+:} false; then :
   4481   $as_echo_n "(cached) " >&6
   4482 else
   4483   if test -z "$LD"; then
   4484   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4485   for ac_dir in $PATH; do
   4486     IFS="$lt_save_ifs"
   4487     test -z "$ac_dir" && ac_dir=.
   4488     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4489       lt_cv_path_LD="$ac_dir/$ac_prog"
   4490       # Check to see if the program is GNU ld.  I'd rather use --version,
   4491       # but apparently some variants of GNU ld only accept -v.
   4492       # Break only if it was the GNU/non-GNU ld that we prefer.
   4493       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4494       *GNU* | *'with BFD'*)
   4495 	test "$with_gnu_ld" != no && break
   4496 	;;
   4497       *)
   4498 	test "$with_gnu_ld" != yes && break
   4499 	;;
   4500       esac
   4501     fi
   4502   done
   4503   IFS="$lt_save_ifs"
   4504 else
   4505   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4506 fi
   4507 fi
   4508 
   4509 LD="$lt_cv_path_LD"
   4510 if test -n "$LD"; then
   4511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4512 $as_echo "$LD" >&6; }
   4513 else
   4514   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4515 $as_echo "no" >&6; }
   4516 fi
   4517 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4519 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4520 if ${lt_cv_prog_gnu_ld+:} false; then :
   4521   $as_echo_n "(cached) " >&6
   4522 else
   4523   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4524 case `$LD -v 2>&1 </dev/null` in
   4525 *GNU* | *'with BFD'*)
   4526   lt_cv_prog_gnu_ld=yes
   4527   ;;
   4528 *)
   4529   lt_cv_prog_gnu_ld=no
   4530   ;;
   4531 esac
   4532 fi
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4534 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4535 with_gnu_ld=$lt_cv_prog_gnu_ld
   4536 
   4537 
   4538 
   4539 
   4540 
   4541 
   4542 
   4543 
   4544 
   4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4546 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4547 if ${lt_cv_path_NM+:} false; then :
   4548   $as_echo_n "(cached) " >&6
   4549 else
   4550   if test -n "$NM"; then
   4551   # Let the user override the test.
   4552   lt_cv_path_NM="$NM"
   4553 else
   4554   lt_nm_to_check="${ac_tool_prefix}nm"
   4555   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4556     lt_nm_to_check="$lt_nm_to_check nm"
   4557   fi
   4558   for lt_tmp_nm in $lt_nm_to_check; do
   4559     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4560     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4561       IFS="$lt_save_ifs"
   4562       test -z "$ac_dir" && ac_dir=.
   4563       tmp_nm="$ac_dir/$lt_tmp_nm"
   4564       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4565 	# Check to see if the nm accepts a BSD-compat flag.
   4566 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4567 	#   nm: unknown option "B" ignored
   4568 	# Tru64's nm complains that /dev/null is an invalid object file
   4569 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4570 	*/dev/null* | *'Invalid file or object type'*)
   4571 	  lt_cv_path_NM="$tmp_nm -B"
   4572 	  break
   4573 	  ;;
   4574 	*)
   4575 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4576 	  */dev/null*)
   4577 	    lt_cv_path_NM="$tmp_nm -p"
   4578 	    break
   4579 	    ;;
   4580 	  *)
   4581 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4582 	    continue # so that we can try to find one that supports BSD flags
   4583 	    ;;
   4584 	  esac
   4585 	  ;;
   4586 	esac
   4587       fi
   4588     done
   4589     IFS="$lt_save_ifs"
   4590   done
   4591   : ${lt_cv_path_NM=no}
   4592 fi
   4593 fi
   4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4595 $as_echo "$lt_cv_path_NM" >&6; }
   4596 if test "$lt_cv_path_NM" != "no"; then
   4597   NM="$lt_cv_path_NM"
   4598 else
   4599   # Didn't find any BSD compatible name lister, look for dumpbin.
   4600   if test -n "$DUMPBIN"; then :
   4601     # Let the user override the test.
   4602   else
   4603     if test -n "$ac_tool_prefix"; then
   4604   for ac_prog in dumpbin "link -dump"
   4605   do
   4606     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4609 $as_echo_n "checking for $ac_word... " >&6; }
   4610 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4611   $as_echo_n "(cached) " >&6
   4612 else
   4613   if test -n "$DUMPBIN"; then
   4614   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4615 else
   4616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4617 for as_dir in $PATH
   4618 do
   4619   IFS=$as_save_IFS
   4620   test -z "$as_dir" && as_dir=.
   4621     for ac_exec_ext in '' $ac_executable_extensions; do
   4622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4623     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4625     break 2
   4626   fi
   4627 done
   4628   done
   4629 IFS=$as_save_IFS
   4630 
   4631 fi
   4632 fi
   4633 DUMPBIN=$ac_cv_prog_DUMPBIN
   4634 if test -n "$DUMPBIN"; then
   4635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4636 $as_echo "$DUMPBIN" >&6; }
   4637 else
   4638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4639 $as_echo "no" >&6; }
   4640 fi
   4641 
   4642 
   4643     test -n "$DUMPBIN" && break
   4644   done
   4645 fi
   4646 if test -z "$DUMPBIN"; then
   4647   ac_ct_DUMPBIN=$DUMPBIN
   4648   for ac_prog in dumpbin "link -dump"
   4649 do
   4650   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4651 set dummy $ac_prog; ac_word=$2
   4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4653 $as_echo_n "checking for $ac_word... " >&6; }
   4654 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4655   $as_echo_n "(cached) " >&6
   4656 else
   4657   if test -n "$ac_ct_DUMPBIN"; then
   4658   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4659 else
   4660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4661 for as_dir in $PATH
   4662 do
   4663   IFS=$as_save_IFS
   4664   test -z "$as_dir" && as_dir=.
   4665     for ac_exec_ext in '' $ac_executable_extensions; do
   4666   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4667     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4668     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4669     break 2
   4670   fi
   4671 done
   4672   done
   4673 IFS=$as_save_IFS
   4674 
   4675 fi
   4676 fi
   4677 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4678 if test -n "$ac_ct_DUMPBIN"; then
   4679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4680 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4681 else
   4682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4683 $as_echo "no" >&6; }
   4684 fi
   4685 
   4686 
   4687   test -n "$ac_ct_DUMPBIN" && break
   4688 done
   4689 
   4690   if test "x$ac_ct_DUMPBIN" = x; then
   4691     DUMPBIN=":"
   4692   else
   4693     case $cross_compiling:$ac_tool_warned in
   4694 yes:)
   4695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4697 ac_tool_warned=yes ;;
   4698 esac
   4699     DUMPBIN=$ac_ct_DUMPBIN
   4700   fi
   4701 fi
   4702 
   4703     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4704     *COFF*)
   4705       DUMPBIN="$DUMPBIN -symbols"
   4706       ;;
   4707     *)
   4708       DUMPBIN=:
   4709       ;;
   4710     esac
   4711   fi
   4712 
   4713   if test "$DUMPBIN" != ":"; then
   4714     NM="$DUMPBIN"
   4715   fi
   4716 fi
   4717 test -z "$NM" && NM=nm
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 
   4724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4725 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4726 if ${lt_cv_nm_interface+:} false; then :
   4727   $as_echo_n "(cached) " >&6
   4728 else
   4729   lt_cv_nm_interface="BSD nm"
   4730   echo "int some_variable = 0;" > conftest.$ac_ext
   4731   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4732   (eval "$ac_compile" 2>conftest.err)
   4733   cat conftest.err >&5
   4734   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4735   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4736   cat conftest.err >&5
   4737   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4738   cat conftest.out >&5
   4739   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4740     lt_cv_nm_interface="MS dumpbin"
   4741   fi
   4742   rm -f conftest*
   4743 fi
   4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4745 $as_echo "$lt_cv_nm_interface" >&6; }
   4746 
   4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4748 $as_echo_n "checking whether ln -s works... " >&6; }
   4749 LN_S=$as_ln_s
   4750 if test "$LN_S" = "ln -s"; then
   4751   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4752 $as_echo "yes" >&6; }
   4753 else
   4754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4755 $as_echo "no, using $LN_S" >&6; }
   4756 fi
   4757 
   4758 # find the maximum length of command line arguments
   4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4760 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4761 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4762   $as_echo_n "(cached) " >&6
   4763 else
   4764     i=0
   4765   teststring="ABCD"
   4766 
   4767   case $build_os in
   4768   msdosdjgpp*)
   4769     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4770     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4771     # during glob expansion).  Even if it were fixed, the result of this
   4772     # check would be larger than it should be.
   4773     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4774     ;;
   4775 
   4776   gnu*)
   4777     # Under GNU Hurd, this test is not required because there is
   4778     # no limit to the length of command line arguments.
   4779     # Libtool will interpret -1 as no limit whatsoever
   4780     lt_cv_sys_max_cmd_len=-1;
   4781     ;;
   4782 
   4783   cygwin* | mingw* | cegcc*)
   4784     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4785     # about 5 minutes as the teststring grows exponentially.
   4786     # Worse, since 9x/ME are not pre-emptively multitasking,
   4787     # you end up with a "frozen" computer, even though with patience
   4788     # the test eventually succeeds (with a max line length of 256k).
   4789     # Instead, let's just punt: use the minimum linelength reported by
   4790     # all of the supported platforms: 8192 (on NT/2K/XP).
   4791     lt_cv_sys_max_cmd_len=8192;
   4792     ;;
   4793 
   4794   mint*)
   4795     # On MiNT this can take a long time and run out of memory.
   4796     lt_cv_sys_max_cmd_len=8192;
   4797     ;;
   4798 
   4799   amigaos*)
   4800     # On AmigaOS with pdksh, this test takes hours, literally.
   4801     # So we just punt and use a minimum line length of 8192.
   4802     lt_cv_sys_max_cmd_len=8192;
   4803     ;;
   4804 
   4805   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4806     # This has been around since 386BSD, at least.  Likely further.
   4807     if test -x /sbin/sysctl; then
   4808       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4809     elif test -x /usr/sbin/sysctl; then
   4810       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4811     else
   4812       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4813     fi
   4814     # And add a safety zone
   4815     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4816     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4817     ;;
   4818 
   4819   interix*)
   4820     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4821     lt_cv_sys_max_cmd_len=196608
   4822     ;;
   4823 
   4824   os2*)
   4825     # The test takes a long time on OS/2.
   4826     lt_cv_sys_max_cmd_len=8192
   4827     ;;
   4828 
   4829   osf*)
   4830     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4831     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4832     # nice to cause kernel panics so lets avoid the loop below.
   4833     # First set a reasonable default.
   4834     lt_cv_sys_max_cmd_len=16384
   4835     #
   4836     if test -x /sbin/sysconfig; then
   4837       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4838         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4839       esac
   4840     fi
   4841     ;;
   4842   sco3.2v5*)
   4843     lt_cv_sys_max_cmd_len=102400
   4844     ;;
   4845   sysv5* | sco5v6* | sysv4.2uw2*)
   4846     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4847     if test -n "$kargmax"; then
   4848       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4849     else
   4850       lt_cv_sys_max_cmd_len=32768
   4851     fi
   4852     ;;
   4853   *)
   4854     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4855     if test -n "$lt_cv_sys_max_cmd_len"; then
   4856       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4857       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4858     else
   4859       # Make teststring a little bigger before we do anything with it.
   4860       # a 1K string should be a reasonable start.
   4861       for i in 1 2 3 4 5 6 7 8 ; do
   4862         teststring=$teststring$teststring
   4863       done
   4864       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4865       # If test is not a shell built-in, we'll probably end up computing a
   4866       # maximum length that is only half of the actual maximum length, but
   4867       # we can't tell.
   4868       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4869 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4870 	      test $i != 17 # 1/2 MB should be enough
   4871       do
   4872         i=`expr $i + 1`
   4873         teststring=$teststring$teststring
   4874       done
   4875       # Only check the string length outside the loop.
   4876       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4877       teststring=
   4878       # Add a significant safety factor because C++ compilers can tack on
   4879       # massive amounts of additional arguments before passing them to the
   4880       # linker.  It appears as though 1/2 is a usable value.
   4881       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4882     fi
   4883     ;;
   4884   esac
   4885 
   4886 fi
   4887 
   4888 if test -n $lt_cv_sys_max_cmd_len ; then
   4889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4890 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4891 else
   4892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4893 $as_echo "none" >&6; }
   4894 fi
   4895 max_cmd_len=$lt_cv_sys_max_cmd_len
   4896 
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 : ${CP="cp -f"}
   4903 : ${MV="mv -f"}
   4904 : ${RM="rm -f"}
   4905 
   4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4907 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4908 # Try some XSI features
   4909 xsi_shell=no
   4910 ( _lt_dummy="a/b/c"
   4911   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4912       = c,a/b,b/c, \
   4913     && eval 'test $(( 1 + 1 )) -eq 2 \
   4914     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4915   && xsi_shell=yes
   4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4917 $as_echo "$xsi_shell" >&6; }
   4918 
   4919 
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4921 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4922 lt_shell_append=no
   4923 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4924     >/dev/null 2>&1 \
   4925   && lt_shell_append=yes
   4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4927 $as_echo "$lt_shell_append" >&6; }
   4928 
   4929 
   4930 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4931   lt_unset=unset
   4932 else
   4933   lt_unset=false
   4934 fi
   4935 
   4936 
   4937 
   4938 
   4939 
   4940 # test EBCDIC or ASCII
   4941 case `echo X|tr X '\101'` in
   4942  A) # ASCII based system
   4943     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4944   lt_SP2NL='tr \040 \012'
   4945   lt_NL2SP='tr \015\012 \040\040'
   4946   ;;
   4947  *) # EBCDIC based system
   4948   lt_SP2NL='tr \100 \n'
   4949   lt_NL2SP='tr \r\n \100\100'
   4950   ;;
   4951 esac
   4952 
   4953 
   4954 
   4955 
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4962 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4963 if ${lt_cv_to_host_file_cmd+:} false; then :
   4964   $as_echo_n "(cached) " >&6
   4965 else
   4966   case $host in
   4967   *-*-mingw* )
   4968     case $build in
   4969       *-*-mingw* ) # actually msys
   4970         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4971         ;;
   4972       *-*-cygwin* )
   4973         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4974         ;;
   4975       * ) # otherwise, assume *nix
   4976         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4977         ;;
   4978     esac
   4979     ;;
   4980   *-*-cygwin* )
   4981     case $build in
   4982       *-*-mingw* ) # actually msys
   4983         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4984         ;;
   4985       *-*-cygwin* )
   4986         lt_cv_to_host_file_cmd=func_convert_file_noop
   4987         ;;
   4988       * ) # otherwise, assume *nix
   4989         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4990         ;;
   4991     esac
   4992     ;;
   4993   * ) # unhandled hosts (and "normal" native builds)
   4994     lt_cv_to_host_file_cmd=func_convert_file_noop
   4995     ;;
   4996 esac
   4997 
   4998 fi
   4999 
   5000 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5002 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5009 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5010 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   #assume ordinary cross tools, or native build.
   5014 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5015 case $host in
   5016   *-*-mingw* )
   5017     case $build in
   5018       *-*-mingw* ) # actually msys
   5019         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5020         ;;
   5021     esac
   5022     ;;
   5023 esac
   5024 
   5025 fi
   5026 
   5027 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5029 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5036 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5037 if ${lt_cv_ld_reload_flag+:} false; then :
   5038   $as_echo_n "(cached) " >&6
   5039 else
   5040   lt_cv_ld_reload_flag='-r'
   5041 fi
   5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5043 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5044 reload_flag=$lt_cv_ld_reload_flag
   5045 case $reload_flag in
   5046 "" | " "*) ;;
   5047 *) reload_flag=" $reload_flag" ;;
   5048 esac
   5049 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5050 case $host_os in
   5051   cygwin* | mingw* | pw32* | cegcc*)
   5052     if test "$GCC" != yes; then
   5053       reload_cmds=false
   5054     fi
   5055     ;;
   5056   darwin*)
   5057     if test "$GCC" = yes; then
   5058       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5059     else
   5060       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5061     fi
   5062     ;;
   5063 esac
   5064 
   5065 
   5066 
   5067 
   5068 
   5069 
   5070 
   5071 
   5072 
   5073 if test -n "$ac_tool_prefix"; then
   5074   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5075 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5077 $as_echo_n "checking for $ac_word... " >&6; }
   5078 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5079   $as_echo_n "(cached) " >&6
   5080 else
   5081   if test -n "$OBJDUMP"; then
   5082   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5083 else
   5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5085 for as_dir in $PATH
   5086 do
   5087   IFS=$as_save_IFS
   5088   test -z "$as_dir" && as_dir=.
   5089     for ac_exec_ext in '' $ac_executable_extensions; do
   5090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5091     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5093     break 2
   5094   fi
   5095 done
   5096   done
   5097 IFS=$as_save_IFS
   5098 
   5099 fi
   5100 fi
   5101 OBJDUMP=$ac_cv_prog_OBJDUMP
   5102 if test -n "$OBJDUMP"; then
   5103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5104 $as_echo "$OBJDUMP" >&6; }
   5105 else
   5106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5107 $as_echo "no" >&6; }
   5108 fi
   5109 
   5110 
   5111 fi
   5112 if test -z "$ac_cv_prog_OBJDUMP"; then
   5113   ac_ct_OBJDUMP=$OBJDUMP
   5114   # Extract the first word of "objdump", so it can be a program name with args.
   5115 set dummy objdump; ac_word=$2
   5116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5117 $as_echo_n "checking for $ac_word... " >&6; }
   5118 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5119   $as_echo_n "(cached) " >&6
   5120 else
   5121   if test -n "$ac_ct_OBJDUMP"; then
   5122   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5123 else
   5124 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5125 for as_dir in $PATH
   5126 do
   5127   IFS=$as_save_IFS
   5128   test -z "$as_dir" && as_dir=.
   5129     for ac_exec_ext in '' $ac_executable_extensions; do
   5130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5131     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5132     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5133     break 2
   5134   fi
   5135 done
   5136   done
   5137 IFS=$as_save_IFS
   5138 
   5139 fi
   5140 fi
   5141 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5142 if test -n "$ac_ct_OBJDUMP"; then
   5143   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5144 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5145 else
   5146   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5147 $as_echo "no" >&6; }
   5148 fi
   5149 
   5150   if test "x$ac_ct_OBJDUMP" = x; then
   5151     OBJDUMP="false"
   5152   else
   5153     case $cross_compiling:$ac_tool_warned in
   5154 yes:)
   5155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5156 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5157 ac_tool_warned=yes ;;
   5158 esac
   5159     OBJDUMP=$ac_ct_OBJDUMP
   5160   fi
   5161 else
   5162   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5163 fi
   5164 
   5165 test -z "$OBJDUMP" && OBJDUMP=objdump
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 
   5174 
   5175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5176 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5177 if ${lt_cv_deplibs_check_method+:} false; then :
   5178   $as_echo_n "(cached) " >&6
   5179 else
   5180   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5181 lt_cv_file_magic_test_file=
   5182 lt_cv_deplibs_check_method='unknown'
   5183 # Need to set the preceding variable on all platforms that support
   5184 # interlibrary dependencies.
   5185 # 'none' -- dependencies not supported.
   5186 # `unknown' -- same as none, but documents that we really don't know.
   5187 # 'pass_all' -- all dependencies passed with no checks.
   5188 # 'test_compile' -- check by making test program.
   5189 # 'file_magic [[regex]]' -- check by looking for files in library path
   5190 # which responds to the $file_magic_cmd with a given extended regex.
   5191 # If you have `file' or equivalent on your system and you're not sure
   5192 # whether `pass_all' will *always* work, you probably want this one.
   5193 
   5194 case $host_os in
   5195 aix[4-9]*)
   5196   lt_cv_deplibs_check_method=pass_all
   5197   ;;
   5198 
   5199 beos*)
   5200   lt_cv_deplibs_check_method=pass_all
   5201   ;;
   5202 
   5203 bsdi[45]*)
   5204   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5205   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5206   lt_cv_file_magic_test_file=/shlib/libc.so
   5207   ;;
   5208 
   5209 cygwin*)
   5210   # func_win32_libid is a shell function defined in ltmain.sh
   5211   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5212   lt_cv_file_magic_cmd='func_win32_libid'
   5213   ;;
   5214 
   5215 mingw* | pw32*)
   5216   # Base MSYS/MinGW do not provide the 'file' command needed by
   5217   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5218   # unless we find 'file', for example because we are cross-compiling.
   5219   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5220   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5221     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5222     lt_cv_file_magic_cmd='func_win32_libid'
   5223   else
   5224     # Keep this pattern in sync with the one in func_win32_libid.
   5225     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5226     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5227   fi
   5228   ;;
   5229 
   5230 cegcc*)
   5231   # use the weaker test based on 'objdump'. See mingw*.
   5232   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5233   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5234   ;;
   5235 
   5236 darwin* | rhapsody*)
   5237   lt_cv_deplibs_check_method=pass_all
   5238   ;;
   5239 
   5240 freebsd* | dragonfly*)
   5241   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5242     case $host_cpu in
   5243     i*86 )
   5244       # Not sure whether the presence of OpenBSD here was a mistake.
   5245       # Let's accept both of them until this is cleared up.
   5246       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5247       lt_cv_file_magic_cmd=/usr/bin/file
   5248       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5249       ;;
   5250     esac
   5251   else
   5252     lt_cv_deplibs_check_method=pass_all
   5253   fi
   5254   ;;
   5255 
   5256 gnu*)
   5257   lt_cv_deplibs_check_method=pass_all
   5258   ;;
   5259 
   5260 haiku*)
   5261   lt_cv_deplibs_check_method=pass_all
   5262   ;;
   5263 
   5264 hpux10.20* | hpux11*)
   5265   lt_cv_file_magic_cmd=/usr/bin/file
   5266   case $host_cpu in
   5267   ia64*)
   5268     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5269     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5270     ;;
   5271   hppa*64*)
   5272     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]'
   5273     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5274     ;;
   5275   *)
   5276     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5277     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5278     ;;
   5279   esac
   5280   ;;
   5281 
   5282 interix[3-9]*)
   5283   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5284   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5285   ;;
   5286 
   5287 irix5* | irix6* | nonstopux*)
   5288   case $LD in
   5289   *-32|*"-32 ") libmagic=32-bit;;
   5290   *-n32|*"-n32 ") libmagic=N32;;
   5291   *-64|*"-64 ") libmagic=64-bit;;
   5292   *) libmagic=never-match;;
   5293   esac
   5294   lt_cv_deplibs_check_method=pass_all
   5295   ;;
   5296 
   5297 # This must be glibc/ELF.
   5298 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5299   lt_cv_deplibs_check_method=pass_all
   5300   ;;
   5301 
   5302 netbsd*)
   5303   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5304     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5305   else
   5306     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5307   fi
   5308   ;;
   5309 
   5310 newos6*)
   5311   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5312   lt_cv_file_magic_cmd=/usr/bin/file
   5313   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5314   ;;
   5315 
   5316 *nto* | *qnx*)
   5317   lt_cv_deplibs_check_method=pass_all
   5318   ;;
   5319 
   5320 openbsd*)
   5321   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5322     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5323   else
   5324     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5325   fi
   5326   ;;
   5327 
   5328 osf3* | osf4* | osf5*)
   5329   lt_cv_deplibs_check_method=pass_all
   5330   ;;
   5331 
   5332 rdos*)
   5333   lt_cv_deplibs_check_method=pass_all
   5334   ;;
   5335 
   5336 solaris*)
   5337   lt_cv_deplibs_check_method=pass_all
   5338   ;;
   5339 
   5340 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5341   lt_cv_deplibs_check_method=pass_all
   5342   ;;
   5343 
   5344 sysv4 | sysv4.3*)
   5345   case $host_vendor in
   5346   motorola)
   5347     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]'
   5348     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5349     ;;
   5350   ncr)
   5351     lt_cv_deplibs_check_method=pass_all
   5352     ;;
   5353   sequent)
   5354     lt_cv_file_magic_cmd='/bin/file'
   5355     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5356     ;;
   5357   sni)
   5358     lt_cv_file_magic_cmd='/bin/file'
   5359     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5360     lt_cv_file_magic_test_file=/lib/libc.so
   5361     ;;
   5362   siemens)
   5363     lt_cv_deplibs_check_method=pass_all
   5364     ;;
   5365   pc)
   5366     lt_cv_deplibs_check_method=pass_all
   5367     ;;
   5368   esac
   5369   ;;
   5370 
   5371 tpf*)
   5372   lt_cv_deplibs_check_method=pass_all
   5373   ;;
   5374 esac
   5375 
   5376 fi
   5377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5378 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5379 
   5380 file_magic_glob=
   5381 want_nocaseglob=no
   5382 if test "$build" = "$host"; then
   5383   case $host_os in
   5384   mingw* | pw32*)
   5385     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5386       want_nocaseglob=yes
   5387     else
   5388       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5389     fi
   5390     ;;
   5391   esac
   5392 fi
   5393 
   5394 file_magic_cmd=$lt_cv_file_magic_cmd
   5395 deplibs_check_method=$lt_cv_deplibs_check_method
   5396 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 
   5411 
   5412 
   5413 
   5414 
   5415 
   5416 
   5417 
   5418 
   5419 if test -n "$ac_tool_prefix"; then
   5420   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5421 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5423 $as_echo_n "checking for $ac_word... " >&6; }
   5424 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5425   $as_echo_n "(cached) " >&6
   5426 else
   5427   if test -n "$DLLTOOL"; then
   5428   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5429 else
   5430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5431 for as_dir in $PATH
   5432 do
   5433   IFS=$as_save_IFS
   5434   test -z "$as_dir" && as_dir=.
   5435     for ac_exec_ext in '' $ac_executable_extensions; do
   5436   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5437     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5438     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5439     break 2
   5440   fi
   5441 done
   5442   done
   5443 IFS=$as_save_IFS
   5444 
   5445 fi
   5446 fi
   5447 DLLTOOL=$ac_cv_prog_DLLTOOL
   5448 if test -n "$DLLTOOL"; then
   5449   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5450 $as_echo "$DLLTOOL" >&6; }
   5451 else
   5452   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5453 $as_echo "no" >&6; }
   5454 fi
   5455 
   5456 
   5457 fi
   5458 if test -z "$ac_cv_prog_DLLTOOL"; then
   5459   ac_ct_DLLTOOL=$DLLTOOL
   5460   # Extract the first word of "dlltool", so it can be a program name with args.
   5461 set dummy dlltool; ac_word=$2
   5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5463 $as_echo_n "checking for $ac_word... " >&6; }
   5464 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5465   $as_echo_n "(cached) " >&6
   5466 else
   5467   if test -n "$ac_ct_DLLTOOL"; then
   5468   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5469 else
   5470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5471 for as_dir in $PATH
   5472 do
   5473   IFS=$as_save_IFS
   5474   test -z "$as_dir" && as_dir=.
   5475     for ac_exec_ext in '' $ac_executable_extensions; do
   5476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5477     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5479     break 2
   5480   fi
   5481 done
   5482   done
   5483 IFS=$as_save_IFS
   5484 
   5485 fi
   5486 fi
   5487 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5488 if test -n "$ac_ct_DLLTOOL"; then
   5489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5490 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5491 else
   5492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5493 $as_echo "no" >&6; }
   5494 fi
   5495 
   5496   if test "x$ac_ct_DLLTOOL" = x; then
   5497     DLLTOOL="false"
   5498   else
   5499     case $cross_compiling:$ac_tool_warned in
   5500 yes:)
   5501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5502 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5503 ac_tool_warned=yes ;;
   5504 esac
   5505     DLLTOOL=$ac_ct_DLLTOOL
   5506   fi
   5507 else
   5508   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5509 fi
   5510 
   5511 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5523 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5524 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5525   $as_echo_n "(cached) " >&6
   5526 else
   5527   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5528 
   5529 case $host_os in
   5530 cygwin* | mingw* | pw32* | cegcc*)
   5531   # two different shell functions defined in ltmain.sh
   5532   # decide which to use based on capabilities of $DLLTOOL
   5533   case `$DLLTOOL --help 2>&1` in
   5534   *--identify-strict*)
   5535     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5536     ;;
   5537   *)
   5538     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5539     ;;
   5540   esac
   5541   ;;
   5542 *)
   5543   # fallback: assume linklib IS sharedlib
   5544   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5545   ;;
   5546 esac
   5547 
   5548 fi
   5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5550 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5551 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5552 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 if test -n "$ac_tool_prefix"; then
   5562   for ac_prog in ar
   5563   do
   5564     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5565 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5567 $as_echo_n "checking for $ac_word... " >&6; }
   5568 if ${ac_cv_prog_AR+:} false; then :
   5569   $as_echo_n "(cached) " >&6
   5570 else
   5571   if test -n "$AR"; then
   5572   ac_cv_prog_AR="$AR" # Let the user override the test.
   5573 else
   5574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5575 for as_dir in $PATH
   5576 do
   5577   IFS=$as_save_IFS
   5578   test -z "$as_dir" && as_dir=.
   5579     for ac_exec_ext in '' $ac_executable_extensions; do
   5580   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5581     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5582     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5583     break 2
   5584   fi
   5585 done
   5586   done
   5587 IFS=$as_save_IFS
   5588 
   5589 fi
   5590 fi
   5591 AR=$ac_cv_prog_AR
   5592 if test -n "$AR"; then
   5593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5594 $as_echo "$AR" >&6; }
   5595 else
   5596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5597 $as_echo "no" >&6; }
   5598 fi
   5599 
   5600 
   5601     test -n "$AR" && break
   5602   done
   5603 fi
   5604 if test -z "$AR"; then
   5605   ac_ct_AR=$AR
   5606   for ac_prog in ar
   5607 do
   5608   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5609 set dummy $ac_prog; ac_word=$2
   5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5611 $as_echo_n "checking for $ac_word... " >&6; }
   5612 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5613   $as_echo_n "(cached) " >&6
   5614 else
   5615   if test -n "$ac_ct_AR"; then
   5616   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5617 else
   5618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5619 for as_dir in $PATH
   5620 do
   5621   IFS=$as_save_IFS
   5622   test -z "$as_dir" && as_dir=.
   5623     for ac_exec_ext in '' $ac_executable_extensions; do
   5624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5625     ac_cv_prog_ac_ct_AR="$ac_prog"
   5626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5627     break 2
   5628   fi
   5629 done
   5630   done
   5631 IFS=$as_save_IFS
   5632 
   5633 fi
   5634 fi
   5635 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5636 if test -n "$ac_ct_AR"; then
   5637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5638 $as_echo "$ac_ct_AR" >&6; }
   5639 else
   5640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5641 $as_echo "no" >&6; }
   5642 fi
   5643 
   5644 
   5645   test -n "$ac_ct_AR" && break
   5646 done
   5647 
   5648   if test "x$ac_ct_AR" = x; then
   5649     AR="false"
   5650   else
   5651     case $cross_compiling:$ac_tool_warned in
   5652 yes:)
   5653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5655 ac_tool_warned=yes ;;
   5656 esac
   5657     AR=$ac_ct_AR
   5658   fi
   5659 fi
   5660 
   5661 : ${AR=ar}
   5662 : ${AR_FLAGS=cru}
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5675 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5676 if ${lt_cv_ar_at_file+:} false; then :
   5677   $as_echo_n "(cached) " >&6
   5678 else
   5679   lt_cv_ar_at_file=no
   5680    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5681 /* end confdefs.h.  */
   5682 
   5683 int
   5684 main ()
   5685 {
   5686 
   5687   ;
   5688   return 0;
   5689 }
   5690 _ACEOF
   5691 if ac_fn_c_try_compile "$LINENO"; then :
   5692   echo conftest.$ac_objext > conftest.lst
   5693       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5694       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5695   (eval $lt_ar_try) 2>&5
   5696   ac_status=$?
   5697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5698   test $ac_status = 0; }
   5699       if test "$ac_status" -eq 0; then
   5700 	# Ensure the archiver fails upon bogus file names.
   5701 	rm -f conftest.$ac_objext libconftest.a
   5702 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5703   (eval $lt_ar_try) 2>&5
   5704   ac_status=$?
   5705   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5706   test $ac_status = 0; }
   5707 	if test "$ac_status" -ne 0; then
   5708           lt_cv_ar_at_file=@
   5709         fi
   5710       fi
   5711       rm -f conftest.* libconftest.a
   5712 
   5713 fi
   5714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5715 
   5716 fi
   5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5718 $as_echo "$lt_cv_ar_at_file" >&6; }
   5719 
   5720 if test "x$lt_cv_ar_at_file" = xno; then
   5721   archiver_list_spec=
   5722 else
   5723   archiver_list_spec=$lt_cv_ar_at_file
   5724 fi
   5725 
   5726 
   5727 
   5728 
   5729 
   5730 
   5731 
   5732 if test -n "$ac_tool_prefix"; then
   5733   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5734 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5736 $as_echo_n "checking for $ac_word... " >&6; }
   5737 if ${ac_cv_prog_STRIP+:} false; then :
   5738   $as_echo_n "(cached) " >&6
   5739 else
   5740   if test -n "$STRIP"; then
   5741   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5742 else
   5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5744 for as_dir in $PATH
   5745 do
   5746   IFS=$as_save_IFS
   5747   test -z "$as_dir" && as_dir=.
   5748     for ac_exec_ext in '' $ac_executable_extensions; do
   5749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5750     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5752     break 2
   5753   fi
   5754 done
   5755   done
   5756 IFS=$as_save_IFS
   5757 
   5758 fi
   5759 fi
   5760 STRIP=$ac_cv_prog_STRIP
   5761 if test -n "$STRIP"; then
   5762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5763 $as_echo "$STRIP" >&6; }
   5764 else
   5765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5766 $as_echo "no" >&6; }
   5767 fi
   5768 
   5769 
   5770 fi
   5771 if test -z "$ac_cv_prog_STRIP"; then
   5772   ac_ct_STRIP=$STRIP
   5773   # Extract the first word of "strip", so it can be a program name with args.
   5774 set dummy strip; ac_word=$2
   5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5776 $as_echo_n "checking for $ac_word... " >&6; }
   5777 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5778   $as_echo_n "(cached) " >&6
   5779 else
   5780   if test -n "$ac_ct_STRIP"; then
   5781   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5782 else
   5783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5784 for as_dir in $PATH
   5785 do
   5786   IFS=$as_save_IFS
   5787   test -z "$as_dir" && as_dir=.
   5788     for ac_exec_ext in '' $ac_executable_extensions; do
   5789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5790     ac_cv_prog_ac_ct_STRIP="strip"
   5791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5792     break 2
   5793   fi
   5794 done
   5795   done
   5796 IFS=$as_save_IFS
   5797 
   5798 fi
   5799 fi
   5800 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5801 if test -n "$ac_ct_STRIP"; then
   5802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5803 $as_echo "$ac_ct_STRIP" >&6; }
   5804 else
   5805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5806 $as_echo "no" >&6; }
   5807 fi
   5808 
   5809   if test "x$ac_ct_STRIP" = x; then
   5810     STRIP=":"
   5811   else
   5812     case $cross_compiling:$ac_tool_warned in
   5813 yes:)
   5814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5816 ac_tool_warned=yes ;;
   5817 esac
   5818     STRIP=$ac_ct_STRIP
   5819   fi
   5820 else
   5821   STRIP="$ac_cv_prog_STRIP"
   5822 fi
   5823 
   5824 test -z "$STRIP" && STRIP=:
   5825 
   5826 
   5827 
   5828 
   5829 
   5830 
   5831 if test -n "$ac_tool_prefix"; then
   5832   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5833 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5835 $as_echo_n "checking for $ac_word... " >&6; }
   5836 if ${ac_cv_prog_RANLIB+:} false; then :
   5837   $as_echo_n "(cached) " >&6
   5838 else
   5839   if test -n "$RANLIB"; then
   5840   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5841 else
   5842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5843 for as_dir in $PATH
   5844 do
   5845   IFS=$as_save_IFS
   5846   test -z "$as_dir" && as_dir=.
   5847     for ac_exec_ext in '' $ac_executable_extensions; do
   5848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5849     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5850     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5851     break 2
   5852   fi
   5853 done
   5854   done
   5855 IFS=$as_save_IFS
   5856 
   5857 fi
   5858 fi
   5859 RANLIB=$ac_cv_prog_RANLIB
   5860 if test -n "$RANLIB"; then
   5861   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5862 $as_echo "$RANLIB" >&6; }
   5863 else
   5864   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5865 $as_echo "no" >&6; }
   5866 fi
   5867 
   5868 
   5869 fi
   5870 if test -z "$ac_cv_prog_RANLIB"; then
   5871   ac_ct_RANLIB=$RANLIB
   5872   # Extract the first word of "ranlib", so it can be a program name with args.
   5873 set dummy ranlib; ac_word=$2
   5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5875 $as_echo_n "checking for $ac_word... " >&6; }
   5876 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5877   $as_echo_n "(cached) " >&6
   5878 else
   5879   if test -n "$ac_ct_RANLIB"; then
   5880   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5881 else
   5882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5883 for as_dir in $PATH
   5884 do
   5885   IFS=$as_save_IFS
   5886   test -z "$as_dir" && as_dir=.
   5887     for ac_exec_ext in '' $ac_executable_extensions; do
   5888   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5889     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5890     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5891     break 2
   5892   fi
   5893 done
   5894   done
   5895 IFS=$as_save_IFS
   5896 
   5897 fi
   5898 fi
   5899 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5900 if test -n "$ac_ct_RANLIB"; then
   5901   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5902 $as_echo "$ac_ct_RANLIB" >&6; }
   5903 else
   5904   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5905 $as_echo "no" >&6; }
   5906 fi
   5907 
   5908   if test "x$ac_ct_RANLIB" = x; then
   5909     RANLIB=":"
   5910   else
   5911     case $cross_compiling:$ac_tool_warned in
   5912 yes:)
   5913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5915 ac_tool_warned=yes ;;
   5916 esac
   5917     RANLIB=$ac_ct_RANLIB
   5918   fi
   5919 else
   5920   RANLIB="$ac_cv_prog_RANLIB"
   5921 fi
   5922 
   5923 test -z "$RANLIB" && RANLIB=:
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 # Determine commands to create old-style static archives.
   5931 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5932 old_postinstall_cmds='chmod 644 $oldlib'
   5933 old_postuninstall_cmds=
   5934 
   5935 if test -n "$RANLIB"; then
   5936   case $host_os in
   5937   openbsd*)
   5938     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5939     ;;
   5940   *)
   5941     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5942     ;;
   5943   esac
   5944   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5945 fi
   5946 
   5947 case $host_os in
   5948   darwin*)
   5949     lock_old_archive_extraction=yes ;;
   5950   *)
   5951     lock_old_archive_extraction=no ;;
   5952 esac
   5953 
   5954 
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 
   5971 
   5972 
   5973 
   5974 
   5975 
   5976 
   5977 
   5978 
   5979 
   5980 
   5981 
   5982 
   5983 
   5984 
   5985 
   5986 
   5987 
   5988 
   5989 
   5990 
   5991 
   5992 # If no C compiler was specified, use CC.
   5993 LTCC=${LTCC-"$CC"}
   5994 
   5995 # If no C compiler flags were specified, use CFLAGS.
   5996 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5997 
   5998 # Allow CC to be a program name with arguments.
   5999 compiler=$CC
   6000 
   6001 
   6002 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6004 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6005 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6006   $as_echo_n "(cached) " >&6
   6007 else
   6008 
   6009 # These are sane defaults that work on at least a few old systems.
   6010 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6011 
   6012 # Character class describing NM global symbol codes.
   6013 symcode='[BCDEGRST]'
   6014 
   6015 # Regexp to match symbols that can be accessed directly from C.
   6016 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6017 
   6018 # Define system-specific variables.
   6019 case $host_os in
   6020 aix*)
   6021   symcode='[BCDT]'
   6022   ;;
   6023 cygwin* | mingw* | pw32* | cegcc*)
   6024   symcode='[ABCDGISTW]'
   6025   ;;
   6026 hpux*)
   6027   if test "$host_cpu" = ia64; then
   6028     symcode='[ABCDEGRST]'
   6029   fi
   6030   ;;
   6031 irix* | nonstopux*)
   6032   symcode='[BCDEGRST]'
   6033   ;;
   6034 osf*)
   6035   symcode='[BCDEGQRST]'
   6036   ;;
   6037 solaris*)
   6038   symcode='[BDRT]'
   6039   ;;
   6040 sco3.2v5*)
   6041   symcode='[DT]'
   6042   ;;
   6043 sysv4.2uw2*)
   6044   symcode='[DT]'
   6045   ;;
   6046 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6047   symcode='[ABDT]'
   6048   ;;
   6049 sysv4)
   6050   symcode='[DFNSTU]'
   6051   ;;
   6052 esac
   6053 
   6054 # If we're using GNU nm, then use its standard symbol codes.
   6055 case `$NM -V 2>&1` in
   6056 *GNU* | *'with BFD'*)
   6057   symcode='[ABCDGIRSTW]' ;;
   6058 esac
   6059 
   6060 # Transform an extracted symbol line into a proper C declaration.
   6061 # Some systems (esp. on ia64) link data and code symbols differently,
   6062 # so use this general approach.
   6063 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6064 
   6065 # Transform an extracted symbol line into symbol name and symbol address
   6066 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6067 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'"
   6068 
   6069 # Handle CRLF in mingw tool chain
   6070 opt_cr=
   6071 case $build_os in
   6072 mingw*)
   6073   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6074   ;;
   6075 esac
   6076 
   6077 # Try without a prefix underscore, then with it.
   6078 for ac_symprfx in "" "_"; do
   6079 
   6080   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6081   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6082 
   6083   # Write the raw and C identifiers.
   6084   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6085     # Fake it for dumpbin and say T for any non-static function
   6086     # and D for any global variable.
   6087     # Also find C++ and __fastcall symbols from MSVC++,
   6088     # which start with @ or ?.
   6089     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6090 "     {last_section=section; section=\$ 3};"\
   6091 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6092 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6093 "     \$ 0!~/External *\|/{next};"\
   6094 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6095 "     {if(hide[section]) next};"\
   6096 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6097 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6098 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6099 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6100 "     ' prfx=^$ac_symprfx"
   6101   else
   6102     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6103   fi
   6104   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6105 
   6106   # Check to see that the pipe works correctly.
   6107   pipe_works=no
   6108 
   6109   rm -f conftest*
   6110   cat > conftest.$ac_ext <<_LT_EOF
   6111 #ifdef __cplusplus
   6112 extern "C" {
   6113 #endif
   6114 char nm_test_var;
   6115 void nm_test_func(void);
   6116 void nm_test_func(void){}
   6117 #ifdef __cplusplus
   6118 }
   6119 #endif
   6120 int main(){nm_test_var='a';nm_test_func();return(0);}
   6121 _LT_EOF
   6122 
   6123   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6124   (eval $ac_compile) 2>&5
   6125   ac_status=$?
   6126   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6127   test $ac_status = 0; }; then
   6128     # Now try to grab the symbols.
   6129     nlist=conftest.nm
   6130     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6131   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6132   ac_status=$?
   6133   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6134   test $ac_status = 0; } && test -s "$nlist"; then
   6135       # Try sorting and uniquifying the output.
   6136       if sort "$nlist" | uniq > "$nlist"T; then
   6137 	mv -f "$nlist"T "$nlist"
   6138       else
   6139 	rm -f "$nlist"T
   6140       fi
   6141 
   6142       # Make sure that we snagged all the symbols we need.
   6143       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6144 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6145 	  cat <<_LT_EOF > conftest.$ac_ext
   6146 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6147 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6148 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6149    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6150 # define LT_DLSYM_CONST
   6151 #elif defined(__osf__)
   6152 /* This system does not cope well with relocations in const data.  */
   6153 # define LT_DLSYM_CONST
   6154 #else
   6155 # define LT_DLSYM_CONST const
   6156 #endif
   6157 
   6158 #ifdef __cplusplus
   6159 extern "C" {
   6160 #endif
   6161 
   6162 _LT_EOF
   6163 	  # Now generate the symbol file.
   6164 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6165 
   6166 	  cat <<_LT_EOF >> conftest.$ac_ext
   6167 
   6168 /* The mapping between symbol names and symbols.  */
   6169 LT_DLSYM_CONST struct {
   6170   const char *name;
   6171   void       *address;
   6172 }
   6173 lt__PROGRAM__LTX_preloaded_symbols[] =
   6174 {
   6175   { "@PROGRAM@", (void *) 0 },
   6176 _LT_EOF
   6177 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6178 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6179   {0, (void *) 0}
   6180 };
   6181 
   6182 /* This works around a problem in FreeBSD linker */
   6183 #ifdef FREEBSD_WORKAROUND
   6184 static const void *lt_preloaded_setup() {
   6185   return lt__PROGRAM__LTX_preloaded_symbols;
   6186 }
   6187 #endif
   6188 
   6189 #ifdef __cplusplus
   6190 }
   6191 #endif
   6192 _LT_EOF
   6193 	  # Now try linking the two files.
   6194 	  mv conftest.$ac_objext conftstm.$ac_objext
   6195 	  lt_globsym_save_LIBS=$LIBS
   6196 	  lt_globsym_save_CFLAGS=$CFLAGS
   6197 	  LIBS="conftstm.$ac_objext"
   6198 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6199 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6200   (eval $ac_link) 2>&5
   6201   ac_status=$?
   6202   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6203   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6204 	    pipe_works=yes
   6205 	  fi
   6206 	  LIBS=$lt_globsym_save_LIBS
   6207 	  CFLAGS=$lt_globsym_save_CFLAGS
   6208 	else
   6209 	  echo "cannot find nm_test_func in $nlist" >&5
   6210 	fi
   6211       else
   6212 	echo "cannot find nm_test_var in $nlist" >&5
   6213       fi
   6214     else
   6215       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6216     fi
   6217   else
   6218     echo "$progname: failed program was:" >&5
   6219     cat conftest.$ac_ext >&5
   6220   fi
   6221   rm -rf conftest* conftst*
   6222 
   6223   # Do not use the global_symbol_pipe unless it works.
   6224   if test "$pipe_works" = yes; then
   6225     break
   6226   else
   6227     lt_cv_sys_global_symbol_pipe=
   6228   fi
   6229 done
   6230 
   6231 fi
   6232 
   6233 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6234   lt_cv_sys_global_symbol_to_cdecl=
   6235 fi
   6236 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6237   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6238 $as_echo "failed" >&6; }
   6239 else
   6240   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6241 $as_echo "ok" >&6; }
   6242 fi
   6243 
   6244 # Response file support.
   6245 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6246   nm_file_list_spec='@'
   6247 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6248   nm_file_list_spec='@'
   6249 fi
   6250 
   6251 
   6252 
   6253 
   6254 
   6255 
   6256 
   6257 
   6258 
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 
   6275 
   6276 
   6277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6278 $as_echo_n "checking for sysroot... " >&6; }
   6279 
   6280 # Check whether --with-sysroot was given.
   6281 if test "${with_sysroot+set}" = set; then :
   6282   withval=$with_sysroot;
   6283 else
   6284   with_sysroot=no
   6285 fi
   6286 
   6287 
   6288 lt_sysroot=
   6289 case ${with_sysroot} in #(
   6290  yes)
   6291    if test "$GCC" = yes; then
   6292      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6293    fi
   6294    ;; #(
   6295  /*)
   6296    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6297    ;; #(
   6298  no|'')
   6299    ;; #(
   6300  *)
   6301    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6302 $as_echo "${with_sysroot}" >&6; }
   6303    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6304    ;;
   6305 esac
   6306 
   6307  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6308 $as_echo "${lt_sysroot:-no}" >&6; }
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 # Check whether --enable-libtool-lock was given.
   6315 if test "${enable_libtool_lock+set}" = set; then :
   6316   enableval=$enable_libtool_lock;
   6317 fi
   6318 
   6319 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6320 
   6321 # Some flags need to be propagated to the compiler or linker for good
   6322 # libtool support.
   6323 case $host in
   6324 ia64-*-hpux*)
   6325   # Find out which ABI we are using.
   6326   echo 'int i;' > conftest.$ac_ext
   6327   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6328   (eval $ac_compile) 2>&5
   6329   ac_status=$?
   6330   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6331   test $ac_status = 0; }; then
   6332     case `/usr/bin/file conftest.$ac_objext` in
   6333       *ELF-32*)
   6334 	HPUX_IA64_MODE="32"
   6335 	;;
   6336       *ELF-64*)
   6337 	HPUX_IA64_MODE="64"
   6338 	;;
   6339     esac
   6340   fi
   6341   rm -rf conftest*
   6342   ;;
   6343 *-*-irix6*)
   6344   # Find out which ABI we are using.
   6345   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6346   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6347   (eval $ac_compile) 2>&5
   6348   ac_status=$?
   6349   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6350   test $ac_status = 0; }; then
   6351     if test "$lt_cv_prog_gnu_ld" = yes; then
   6352       case `/usr/bin/file conftest.$ac_objext` in
   6353 	*32-bit*)
   6354 	  LD="${LD-ld} -melf32bsmip"
   6355 	  ;;
   6356 	*N32*)
   6357 	  LD="${LD-ld} -melf32bmipn32"
   6358 	  ;;
   6359 	*64-bit*)
   6360 	  LD="${LD-ld} -melf64bmip"
   6361 	;;
   6362       esac
   6363     else
   6364       case `/usr/bin/file conftest.$ac_objext` in
   6365 	*32-bit*)
   6366 	  LD="${LD-ld} -32"
   6367 	  ;;
   6368 	*N32*)
   6369 	  LD="${LD-ld} -n32"
   6370 	  ;;
   6371 	*64-bit*)
   6372 	  LD="${LD-ld} -64"
   6373 	  ;;
   6374       esac
   6375     fi
   6376   fi
   6377   rm -rf conftest*
   6378   ;;
   6379 
   6380 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6381 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6382   # Find out which ABI we are using.
   6383   echo 'int i;' > conftest.$ac_ext
   6384   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6385   (eval $ac_compile) 2>&5
   6386   ac_status=$?
   6387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6388   test $ac_status = 0; }; then
   6389     case `/usr/bin/file conftest.o` in
   6390       *32-bit*)
   6391 	case $host in
   6392 	  x86_64-*kfreebsd*-gnu)
   6393 	    LD="${LD-ld} -m elf_i386_fbsd"
   6394 	    ;;
   6395 	  x86_64-*linux*)
   6396 	    LD="${LD-ld} -m elf_i386"
   6397 	    ;;
   6398 	  ppc64-*linux*|powerpc64-*linux*)
   6399 	    LD="${LD-ld} -m elf32ppclinux"
   6400 	    ;;
   6401 	  s390x-*linux*)
   6402 	    LD="${LD-ld} -m elf_s390"
   6403 	    ;;
   6404 	  sparc64-*linux*)
   6405 	    LD="${LD-ld} -m elf32_sparc"
   6406 	    ;;
   6407 	esac
   6408 	;;
   6409       *64-bit*)
   6410 	case $host in
   6411 	  x86_64-*kfreebsd*-gnu)
   6412 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6413 	    ;;
   6414 	  x86_64-*linux*)
   6415 	    LD="${LD-ld} -m elf_x86_64"
   6416 	    ;;
   6417 	  ppc*-*linux*|powerpc*-*linux*)
   6418 	    LD="${LD-ld} -m elf64ppc"
   6419 	    ;;
   6420 	  s390*-*linux*|s390*-*tpf*)
   6421 	    LD="${LD-ld} -m elf64_s390"
   6422 	    ;;
   6423 	  sparc*-*linux*)
   6424 	    LD="${LD-ld} -m elf64_sparc"
   6425 	    ;;
   6426 	esac
   6427 	;;
   6428     esac
   6429   fi
   6430   rm -rf conftest*
   6431   ;;
   6432 
   6433 *-*-sco3.2v5*)
   6434   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6435   SAVE_CFLAGS="$CFLAGS"
   6436   CFLAGS="$CFLAGS -belf"
   6437   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6438 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6439 if ${lt_cv_cc_needs_belf+:} false; then :
   6440   $as_echo_n "(cached) " >&6
   6441 else
   6442   ac_ext=c
   6443 ac_cpp='$CPP $CPPFLAGS'
   6444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6447 
   6448      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6449 /* end confdefs.h.  */
   6450 
   6451 int
   6452 main ()
   6453 {
   6454 
   6455   ;
   6456   return 0;
   6457 }
   6458 _ACEOF
   6459 if ac_fn_c_try_link "$LINENO"; then :
   6460   lt_cv_cc_needs_belf=yes
   6461 else
   6462   lt_cv_cc_needs_belf=no
   6463 fi
   6464 rm -f core conftest.err conftest.$ac_objext \
   6465     conftest$ac_exeext conftest.$ac_ext
   6466      ac_ext=c
   6467 ac_cpp='$CPP $CPPFLAGS'
   6468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6471 
   6472 fi
   6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6474 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6475   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6476     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6477     CFLAGS="$SAVE_CFLAGS"
   6478   fi
   6479   ;;
   6480 *-*solaris*)
   6481   # Find out which ABI we are using.
   6482   echo 'int i;' > conftest.$ac_ext
   6483   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6484   (eval $ac_compile) 2>&5
   6485   ac_status=$?
   6486   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6487   test $ac_status = 0; }; then
   6488     case `/usr/bin/file conftest.o` in
   6489     *64-bit*)
   6490       case $lt_cv_prog_gnu_ld in
   6491       yes*)
   6492         case $host in
   6493         i?86-*-solaris*)
   6494           LD="${LD-ld} -m elf_x86_64"
   6495           ;;
   6496         sparc*-*-solaris*)
   6497           LD="${LD-ld} -m elf64_sparc"
   6498           ;;
   6499         esac
   6500         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6501         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6502           LD="${LD-ld}_sol2"
   6503         fi
   6504         ;;
   6505       *)
   6506 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6507 	  LD="${LD-ld} -64"
   6508 	fi
   6509 	;;
   6510       esac
   6511       ;;
   6512     esac
   6513   fi
   6514   rm -rf conftest*
   6515   ;;
   6516 esac
   6517 
   6518 need_locks="$enable_libtool_lock"
   6519 
   6520 if test -n "$ac_tool_prefix"; then
   6521   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6522 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6524 $as_echo_n "checking for $ac_word... " >&6; }
   6525 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6526   $as_echo_n "(cached) " >&6
   6527 else
   6528   if test -n "$MANIFEST_TOOL"; then
   6529   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6530 else
   6531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6532 for as_dir in $PATH
   6533 do
   6534   IFS=$as_save_IFS
   6535   test -z "$as_dir" && as_dir=.
   6536     for ac_exec_ext in '' $ac_executable_extensions; do
   6537   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6538     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6539     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6540     break 2
   6541   fi
   6542 done
   6543   done
   6544 IFS=$as_save_IFS
   6545 
   6546 fi
   6547 fi
   6548 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6549 if test -n "$MANIFEST_TOOL"; then
   6550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6551 $as_echo "$MANIFEST_TOOL" >&6; }
   6552 else
   6553   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6554 $as_echo "no" >&6; }
   6555 fi
   6556 
   6557 
   6558 fi
   6559 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6560   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6561   # Extract the first word of "mt", so it can be a program name with args.
   6562 set dummy mt; ac_word=$2
   6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6564 $as_echo_n "checking for $ac_word... " >&6; }
   6565 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6566   $as_echo_n "(cached) " >&6
   6567 else
   6568   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6569   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6570 else
   6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6572 for as_dir in $PATH
   6573 do
   6574   IFS=$as_save_IFS
   6575   test -z "$as_dir" && as_dir=.
   6576     for ac_exec_ext in '' $ac_executable_extensions; do
   6577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6578     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6579     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6580     break 2
   6581   fi
   6582 done
   6583   done
   6584 IFS=$as_save_IFS
   6585 
   6586 fi
   6587 fi
   6588 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6589 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6591 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6592 else
   6593   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6594 $as_echo "no" >&6; }
   6595 fi
   6596 
   6597   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6598     MANIFEST_TOOL=":"
   6599   else
   6600     case $cross_compiling:$ac_tool_warned in
   6601 yes:)
   6602 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6603 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6604 ac_tool_warned=yes ;;
   6605 esac
   6606     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6607   fi
   6608 else
   6609   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6610 fi
   6611 
   6612 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6614 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6615 if ${lt_cv_path_mainfest_tool+:} false; then :
   6616   $as_echo_n "(cached) " >&6
   6617 else
   6618   lt_cv_path_mainfest_tool=no
   6619   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6620   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6621   cat conftest.err >&5
   6622   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6623     lt_cv_path_mainfest_tool=yes
   6624   fi
   6625   rm -f conftest*
   6626 fi
   6627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6628 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6629 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6630   MANIFEST_TOOL=:
   6631 fi
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638   case $host_os in
   6639     rhapsody* | darwin*)
   6640     if test -n "$ac_tool_prefix"; then
   6641   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6642 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6644 $as_echo_n "checking for $ac_word... " >&6; }
   6645 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6646   $as_echo_n "(cached) " >&6
   6647 else
   6648   if test -n "$DSYMUTIL"; then
   6649   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6650 else
   6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6652 for as_dir in $PATH
   6653 do
   6654   IFS=$as_save_IFS
   6655   test -z "$as_dir" && as_dir=.
   6656     for ac_exec_ext in '' $ac_executable_extensions; do
   6657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6658     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6659     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6660     break 2
   6661   fi
   6662 done
   6663   done
   6664 IFS=$as_save_IFS
   6665 
   6666 fi
   6667 fi
   6668 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6669 if test -n "$DSYMUTIL"; then
   6670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6671 $as_echo "$DSYMUTIL" >&6; }
   6672 else
   6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6674 $as_echo "no" >&6; }
   6675 fi
   6676 
   6677 
   6678 fi
   6679 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6680   ac_ct_DSYMUTIL=$DSYMUTIL
   6681   # Extract the first word of "dsymutil", so it can be a program name with args.
   6682 set dummy dsymutil; ac_word=$2
   6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6684 $as_echo_n "checking for $ac_word... " >&6; }
   6685 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6686   $as_echo_n "(cached) " >&6
   6687 else
   6688   if test -n "$ac_ct_DSYMUTIL"; then
   6689   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6690 else
   6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6692 for as_dir in $PATH
   6693 do
   6694   IFS=$as_save_IFS
   6695   test -z "$as_dir" && as_dir=.
   6696     for ac_exec_ext in '' $ac_executable_extensions; do
   6697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6698     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6700     break 2
   6701   fi
   6702 done
   6703   done
   6704 IFS=$as_save_IFS
   6705 
   6706 fi
   6707 fi
   6708 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6709 if test -n "$ac_ct_DSYMUTIL"; then
   6710   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6711 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6712 else
   6713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6714 $as_echo "no" >&6; }
   6715 fi
   6716 
   6717   if test "x$ac_ct_DSYMUTIL" = x; then
   6718     DSYMUTIL=":"
   6719   else
   6720     case $cross_compiling:$ac_tool_warned in
   6721 yes:)
   6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6724 ac_tool_warned=yes ;;
   6725 esac
   6726     DSYMUTIL=$ac_ct_DSYMUTIL
   6727   fi
   6728 else
   6729   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6730 fi
   6731 
   6732     if test -n "$ac_tool_prefix"; then
   6733   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6734 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6736 $as_echo_n "checking for $ac_word... " >&6; }
   6737 if ${ac_cv_prog_NMEDIT+:} false; then :
   6738   $as_echo_n "(cached) " >&6
   6739 else
   6740   if test -n "$NMEDIT"; then
   6741   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6742 else
   6743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6744 for as_dir in $PATH
   6745 do
   6746   IFS=$as_save_IFS
   6747   test -z "$as_dir" && as_dir=.
   6748     for ac_exec_ext in '' $ac_executable_extensions; do
   6749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6750     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6751     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6752     break 2
   6753   fi
   6754 done
   6755   done
   6756 IFS=$as_save_IFS
   6757 
   6758 fi
   6759 fi
   6760 NMEDIT=$ac_cv_prog_NMEDIT
   6761 if test -n "$NMEDIT"; then
   6762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6763 $as_echo "$NMEDIT" >&6; }
   6764 else
   6765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6766 $as_echo "no" >&6; }
   6767 fi
   6768 
   6769 
   6770 fi
   6771 if test -z "$ac_cv_prog_NMEDIT"; then
   6772   ac_ct_NMEDIT=$NMEDIT
   6773   # Extract the first word of "nmedit", so it can be a program name with args.
   6774 set dummy nmedit; ac_word=$2
   6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6776 $as_echo_n "checking for $ac_word... " >&6; }
   6777 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6778   $as_echo_n "(cached) " >&6
   6779 else
   6780   if test -n "$ac_ct_NMEDIT"; then
   6781   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6782 else
   6783 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6784 for as_dir in $PATH
   6785 do
   6786   IFS=$as_save_IFS
   6787   test -z "$as_dir" && as_dir=.
   6788     for ac_exec_ext in '' $ac_executable_extensions; do
   6789   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6790     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6791     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6792     break 2
   6793   fi
   6794 done
   6795   done
   6796 IFS=$as_save_IFS
   6797 
   6798 fi
   6799 fi
   6800 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6801 if test -n "$ac_ct_NMEDIT"; then
   6802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6803 $as_echo "$ac_ct_NMEDIT" >&6; }
   6804 else
   6805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6806 $as_echo "no" >&6; }
   6807 fi
   6808 
   6809   if test "x$ac_ct_NMEDIT" = x; then
   6810     NMEDIT=":"
   6811   else
   6812     case $cross_compiling:$ac_tool_warned in
   6813 yes:)
   6814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6816 ac_tool_warned=yes ;;
   6817 esac
   6818     NMEDIT=$ac_ct_NMEDIT
   6819   fi
   6820 else
   6821   NMEDIT="$ac_cv_prog_NMEDIT"
   6822 fi
   6823 
   6824     if test -n "$ac_tool_prefix"; then
   6825   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6826 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6828 $as_echo_n "checking for $ac_word... " >&6; }
   6829 if ${ac_cv_prog_LIPO+:} false; then :
   6830   $as_echo_n "(cached) " >&6
   6831 else
   6832   if test -n "$LIPO"; then
   6833   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6834 else
   6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6836 for as_dir in $PATH
   6837 do
   6838   IFS=$as_save_IFS
   6839   test -z "$as_dir" && as_dir=.
   6840     for ac_exec_ext in '' $ac_executable_extensions; do
   6841   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6842     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6844     break 2
   6845   fi
   6846 done
   6847   done
   6848 IFS=$as_save_IFS
   6849 
   6850 fi
   6851 fi
   6852 LIPO=$ac_cv_prog_LIPO
   6853 if test -n "$LIPO"; then
   6854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6855 $as_echo "$LIPO" >&6; }
   6856 else
   6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6858 $as_echo "no" >&6; }
   6859 fi
   6860 
   6861 
   6862 fi
   6863 if test -z "$ac_cv_prog_LIPO"; then
   6864   ac_ct_LIPO=$LIPO
   6865   # Extract the first word of "lipo", so it can be a program name with args.
   6866 set dummy lipo; ac_word=$2
   6867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6868 $as_echo_n "checking for $ac_word... " >&6; }
   6869 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6870   $as_echo_n "(cached) " >&6
   6871 else
   6872   if test -n "$ac_ct_LIPO"; then
   6873   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6874 else
   6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6876 for as_dir in $PATH
   6877 do
   6878   IFS=$as_save_IFS
   6879   test -z "$as_dir" && as_dir=.
   6880     for ac_exec_ext in '' $ac_executable_extensions; do
   6881   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6882     ac_cv_prog_ac_ct_LIPO="lipo"
   6883     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6884     break 2
   6885   fi
   6886 done
   6887   done
   6888 IFS=$as_save_IFS
   6889 
   6890 fi
   6891 fi
   6892 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6893 if test -n "$ac_ct_LIPO"; then
   6894   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6895 $as_echo "$ac_ct_LIPO" >&6; }
   6896 else
   6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6898 $as_echo "no" >&6; }
   6899 fi
   6900 
   6901   if test "x$ac_ct_LIPO" = x; then
   6902     LIPO=":"
   6903   else
   6904     case $cross_compiling:$ac_tool_warned in
   6905 yes:)
   6906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6907 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6908 ac_tool_warned=yes ;;
   6909 esac
   6910     LIPO=$ac_ct_LIPO
   6911   fi
   6912 else
   6913   LIPO="$ac_cv_prog_LIPO"
   6914 fi
   6915 
   6916     if test -n "$ac_tool_prefix"; then
   6917   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6918 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6920 $as_echo_n "checking for $ac_word... " >&6; }
   6921 if ${ac_cv_prog_OTOOL+:} false; then :
   6922   $as_echo_n "(cached) " >&6
   6923 else
   6924   if test -n "$OTOOL"; then
   6925   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6926 else
   6927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6928 for as_dir in $PATH
   6929 do
   6930   IFS=$as_save_IFS
   6931   test -z "$as_dir" && as_dir=.
   6932     for ac_exec_ext in '' $ac_executable_extensions; do
   6933   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6934     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6935     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6936     break 2
   6937   fi
   6938 done
   6939   done
   6940 IFS=$as_save_IFS
   6941 
   6942 fi
   6943 fi
   6944 OTOOL=$ac_cv_prog_OTOOL
   6945 if test -n "$OTOOL"; then
   6946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6947 $as_echo "$OTOOL" >&6; }
   6948 else
   6949   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6950 $as_echo "no" >&6; }
   6951 fi
   6952 
   6953 
   6954 fi
   6955 if test -z "$ac_cv_prog_OTOOL"; then
   6956   ac_ct_OTOOL=$OTOOL
   6957   # Extract the first word of "otool", so it can be a program name with args.
   6958 set dummy otool; ac_word=$2
   6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6960 $as_echo_n "checking for $ac_word... " >&6; }
   6961 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6962   $as_echo_n "(cached) " >&6
   6963 else
   6964   if test -n "$ac_ct_OTOOL"; then
   6965   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6966 else
   6967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6968 for as_dir in $PATH
   6969 do
   6970   IFS=$as_save_IFS
   6971   test -z "$as_dir" && as_dir=.
   6972     for ac_exec_ext in '' $ac_executable_extensions; do
   6973   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6974     ac_cv_prog_ac_ct_OTOOL="otool"
   6975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6976     break 2
   6977   fi
   6978 done
   6979   done
   6980 IFS=$as_save_IFS
   6981 
   6982 fi
   6983 fi
   6984 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6985 if test -n "$ac_ct_OTOOL"; then
   6986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6987 $as_echo "$ac_ct_OTOOL" >&6; }
   6988 else
   6989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6990 $as_echo "no" >&6; }
   6991 fi
   6992 
   6993   if test "x$ac_ct_OTOOL" = x; then
   6994     OTOOL=":"
   6995   else
   6996     case $cross_compiling:$ac_tool_warned in
   6997 yes:)
   6998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6999 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7000 ac_tool_warned=yes ;;
   7001 esac
   7002     OTOOL=$ac_ct_OTOOL
   7003   fi
   7004 else
   7005   OTOOL="$ac_cv_prog_OTOOL"
   7006 fi
   7007 
   7008     if test -n "$ac_tool_prefix"; then
   7009   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7010 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7012 $as_echo_n "checking for $ac_word... " >&6; }
   7013 if ${ac_cv_prog_OTOOL64+:} false; then :
   7014   $as_echo_n "(cached) " >&6
   7015 else
   7016   if test -n "$OTOOL64"; then
   7017   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7018 else
   7019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7020 for as_dir in $PATH
   7021 do
   7022   IFS=$as_save_IFS
   7023   test -z "$as_dir" && as_dir=.
   7024     for ac_exec_ext in '' $ac_executable_extensions; do
   7025   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7026     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7027     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7028     break 2
   7029   fi
   7030 done
   7031   done
   7032 IFS=$as_save_IFS
   7033 
   7034 fi
   7035 fi
   7036 OTOOL64=$ac_cv_prog_OTOOL64
   7037 if test -n "$OTOOL64"; then
   7038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7039 $as_echo "$OTOOL64" >&6; }
   7040 else
   7041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7042 $as_echo "no" >&6; }
   7043 fi
   7044 
   7045 
   7046 fi
   7047 if test -z "$ac_cv_prog_OTOOL64"; then
   7048   ac_ct_OTOOL64=$OTOOL64
   7049   # Extract the first word of "otool64", so it can be a program name with args.
   7050 set dummy otool64; ac_word=$2
   7051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7052 $as_echo_n "checking for $ac_word... " >&6; }
   7053 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7054   $as_echo_n "(cached) " >&6
   7055 else
   7056   if test -n "$ac_ct_OTOOL64"; then
   7057   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7058 else
   7059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7060 for as_dir in $PATH
   7061 do
   7062   IFS=$as_save_IFS
   7063   test -z "$as_dir" && as_dir=.
   7064     for ac_exec_ext in '' $ac_executable_extensions; do
   7065   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   7066     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7067     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7068     break 2
   7069   fi
   7070 done
   7071   done
   7072 IFS=$as_save_IFS
   7073 
   7074 fi
   7075 fi
   7076 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7077 if test -n "$ac_ct_OTOOL64"; then
   7078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7079 $as_echo "$ac_ct_OTOOL64" >&6; }
   7080 else
   7081   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7082 $as_echo "no" >&6; }
   7083 fi
   7084 
   7085   if test "x$ac_ct_OTOOL64" = x; then
   7086     OTOOL64=":"
   7087   else
   7088     case $cross_compiling:$ac_tool_warned in
   7089 yes:)
   7090 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7091 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7092 ac_tool_warned=yes ;;
   7093 esac
   7094     OTOOL64=$ac_ct_OTOOL64
   7095   fi
   7096 else
   7097   OTOOL64="$ac_cv_prog_OTOOL64"
   7098 fi
   7099 
   7100 
   7101 
   7102 
   7103 
   7104 
   7105 
   7106 
   7107 
   7108 
   7109 
   7110 
   7111 
   7112 
   7113 
   7114 
   7115 
   7116 
   7117 
   7118 
   7119 
   7120 
   7121 
   7122 
   7123 
   7124 
   7125 
   7126     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7127 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7128 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7129   $as_echo_n "(cached) " >&6
   7130 else
   7131   lt_cv_apple_cc_single_mod=no
   7132       if test -z "${LT_MULTI_MODULE}"; then
   7133 	# By default we will add the -single_module flag. You can override
   7134 	# by either setting the environment variable LT_MULTI_MODULE
   7135 	# non-empty at configure time, or by adding -multi_module to the
   7136 	# link flags.
   7137 	rm -rf libconftest.dylib*
   7138 	echo "int foo(void){return 1;}" > conftest.c
   7139 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7140 -dynamiclib -Wl,-single_module conftest.c" >&5
   7141 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7142 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7143         _lt_result=$?
   7144 	# If there is a non-empty error log, and "single_module"
   7145 	# appears in it, assume the flag caused a linker warning
   7146         if test -s conftest.err && $GREP single_module conftest.err; then
   7147 	  cat conftest.err >&5
   7148 	# Otherwise, if the output was created with a 0 exit code from
   7149 	# the compiler, it worked.
   7150 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7151 	  lt_cv_apple_cc_single_mod=yes
   7152 	else
   7153 	  cat conftest.err >&5
   7154 	fi
   7155 	rm -rf libconftest.dylib*
   7156 	rm -f conftest.*
   7157       fi
   7158 fi
   7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7160 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7161 
   7162     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7163 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7164 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7165   $as_echo_n "(cached) " >&6
   7166 else
   7167   lt_cv_ld_exported_symbols_list=no
   7168       save_LDFLAGS=$LDFLAGS
   7169       echo "_main" > conftest.sym
   7170       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7171       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7172 /* end confdefs.h.  */
   7173 
   7174 int
   7175 main ()
   7176 {
   7177 
   7178   ;
   7179   return 0;
   7180 }
   7181 _ACEOF
   7182 if ac_fn_c_try_link "$LINENO"; then :
   7183   lt_cv_ld_exported_symbols_list=yes
   7184 else
   7185   lt_cv_ld_exported_symbols_list=no
   7186 fi
   7187 rm -f core conftest.err conftest.$ac_objext \
   7188     conftest$ac_exeext conftest.$ac_ext
   7189 	LDFLAGS="$save_LDFLAGS"
   7190 
   7191 fi
   7192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7193 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7194 
   7195     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7196 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7197 if ${lt_cv_ld_force_load+:} false; then :
   7198   $as_echo_n "(cached) " >&6
   7199 else
   7200   lt_cv_ld_force_load=no
   7201       cat > conftest.c << _LT_EOF
   7202 int forced_loaded() { return 2;}
   7203 _LT_EOF
   7204       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7205       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7206       echo "$AR cru libconftest.a conftest.o" >&5
   7207       $AR cru libconftest.a conftest.o 2>&5
   7208       echo "$RANLIB libconftest.a" >&5
   7209       $RANLIB libconftest.a 2>&5
   7210       cat > conftest.c << _LT_EOF
   7211 int main() { return 0;}
   7212 _LT_EOF
   7213       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7214       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7215       _lt_result=$?
   7216       if test -s conftest.err && $GREP force_load conftest.err; then
   7217 	cat conftest.err >&5
   7218       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7219 	lt_cv_ld_force_load=yes
   7220       else
   7221 	cat conftest.err >&5
   7222       fi
   7223         rm -f conftest.err libconftest.a conftest conftest.c
   7224         rm -rf conftest.dSYM
   7225 
   7226 fi
   7227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7228 $as_echo "$lt_cv_ld_force_load" >&6; }
   7229     case $host_os in
   7230     rhapsody* | darwin1.[012])
   7231       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7232     darwin1.*)
   7233       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7234     darwin*) # darwin 5.x on
   7235       # if running on 10.5 or later, the deployment target defaults
   7236       # to the OS version, if on x86, and 10.4, the deployment
   7237       # target defaults to 10.4. Don't you love it?
   7238       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7239 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7240 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7241 	10.[012]*)
   7242 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7243 	10.*)
   7244 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7245       esac
   7246     ;;
   7247   esac
   7248     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7249       _lt_dar_single_mod='$single_module'
   7250     fi
   7251     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7252       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7253     else
   7254       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7255     fi
   7256     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7257       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7258     else
   7259       _lt_dsymutil=
   7260     fi
   7261     ;;
   7262   esac
   7263 
   7264 ac_ext=c
   7265 ac_cpp='$CPP $CPPFLAGS'
   7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7270 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7271 # On Suns, sometimes $CPP names a directory.
   7272 if test -n "$CPP" && test -d "$CPP"; then
   7273   CPP=
   7274 fi
   7275 if test -z "$CPP"; then
   7276   if ${ac_cv_prog_CPP+:} false; then :
   7277   $as_echo_n "(cached) " >&6
   7278 else
   7279       # Double quotes because CPP needs to be expanded
   7280     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7281     do
   7282       ac_preproc_ok=false
   7283 for ac_c_preproc_warn_flag in '' yes
   7284 do
   7285   # Use a header file that comes with gcc, so configuring glibc
   7286   # with a fresh cross-compiler works.
   7287   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7288   # <limits.h> exists even on freestanding compilers.
   7289   # On the NeXT, cc -E runs the code through the compiler's parser,
   7290   # not just through cpp. "Syntax error" is here to catch this case.
   7291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7292 /* end confdefs.h.  */
   7293 #ifdef __STDC__
   7294 # include <limits.h>
   7295 #else
   7296 # include <assert.h>
   7297 #endif
   7298 		     Syntax error
   7299 _ACEOF
   7300 if ac_fn_c_try_cpp "$LINENO"; then :
   7301 
   7302 else
   7303   # Broken: fails on valid input.
   7304 continue
   7305 fi
   7306 rm -f conftest.err conftest.i conftest.$ac_ext
   7307 
   7308   # OK, works on sane cases.  Now check whether nonexistent headers
   7309   # can be detected and how.
   7310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7311 /* end confdefs.h.  */
   7312 #include <ac_nonexistent.h>
   7313 _ACEOF
   7314 if ac_fn_c_try_cpp "$LINENO"; then :
   7315   # Broken: success on invalid input.
   7316 continue
   7317 else
   7318   # Passes both tests.
   7319 ac_preproc_ok=:
   7320 break
   7321 fi
   7322 rm -f conftest.err conftest.i conftest.$ac_ext
   7323 
   7324 done
   7325 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7326 rm -f conftest.i conftest.err conftest.$ac_ext
   7327 if $ac_preproc_ok; then :
   7328   break
   7329 fi
   7330 
   7331     done
   7332     ac_cv_prog_CPP=$CPP
   7333 
   7334 fi
   7335   CPP=$ac_cv_prog_CPP
   7336 else
   7337   ac_cv_prog_CPP=$CPP
   7338 fi
   7339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7340 $as_echo "$CPP" >&6; }
   7341 ac_preproc_ok=false
   7342 for ac_c_preproc_warn_flag in '' yes
   7343 do
   7344   # Use a header file that comes with gcc, so configuring glibc
   7345   # with a fresh cross-compiler works.
   7346   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7347   # <limits.h> exists even on freestanding compilers.
   7348   # On the NeXT, cc -E runs the code through the compiler's parser,
   7349   # not just through cpp. "Syntax error" is here to catch this case.
   7350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7351 /* end confdefs.h.  */
   7352 #ifdef __STDC__
   7353 # include <limits.h>
   7354 #else
   7355 # include <assert.h>
   7356 #endif
   7357 		     Syntax error
   7358 _ACEOF
   7359 if ac_fn_c_try_cpp "$LINENO"; then :
   7360 
   7361 else
   7362   # Broken: fails on valid input.
   7363 continue
   7364 fi
   7365 rm -f conftest.err conftest.i conftest.$ac_ext
   7366 
   7367   # OK, works on sane cases.  Now check whether nonexistent headers
   7368   # can be detected and how.
   7369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7370 /* end confdefs.h.  */
   7371 #include <ac_nonexistent.h>
   7372 _ACEOF
   7373 if ac_fn_c_try_cpp "$LINENO"; then :
   7374   # Broken: success on invalid input.
   7375 continue
   7376 else
   7377   # Passes both tests.
   7378 ac_preproc_ok=:
   7379 break
   7380 fi
   7381 rm -f conftest.err conftest.i conftest.$ac_ext
   7382 
   7383 done
   7384 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7385 rm -f conftest.i conftest.err conftest.$ac_ext
   7386 if $ac_preproc_ok; then :
   7387 
   7388 else
   7389   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7390 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7391 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7392 See \`config.log' for more details" "$LINENO" 5; }
   7393 fi
   7394 
   7395 ac_ext=c
   7396 ac_cpp='$CPP $CPPFLAGS'
   7397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7400 
   7401 
   7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7403 $as_echo_n "checking for ANSI C header files... " >&6; }
   7404 if ${ac_cv_header_stdc+:} false; then :
   7405   $as_echo_n "(cached) " >&6
   7406 else
   7407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7408 /* end confdefs.h.  */
   7409 #include <stdlib.h>
   7410 #include <stdarg.h>
   7411 #include <string.h>
   7412 #include <float.h>
   7413 
   7414 int
   7415 main ()
   7416 {
   7417 
   7418   ;
   7419   return 0;
   7420 }
   7421 _ACEOF
   7422 if ac_fn_c_try_compile "$LINENO"; then :
   7423   ac_cv_header_stdc=yes
   7424 else
   7425   ac_cv_header_stdc=no
   7426 fi
   7427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7428 
   7429 if test $ac_cv_header_stdc = yes; then
   7430   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7432 /* end confdefs.h.  */
   7433 #include <string.h>
   7434 
   7435 _ACEOF
   7436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7437   $EGREP "memchr" >/dev/null 2>&1; then :
   7438 
   7439 else
   7440   ac_cv_header_stdc=no
   7441 fi
   7442 rm -f conftest*
   7443 
   7444 fi
   7445 
   7446 if test $ac_cv_header_stdc = yes; then
   7447   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7448   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7449 /* end confdefs.h.  */
   7450 #include <stdlib.h>
   7451 
   7452 _ACEOF
   7453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7454   $EGREP "free" >/dev/null 2>&1; then :
   7455 
   7456 else
   7457   ac_cv_header_stdc=no
   7458 fi
   7459 rm -f conftest*
   7460 
   7461 fi
   7462 
   7463 if test $ac_cv_header_stdc = yes; then
   7464   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7465   if test "$cross_compiling" = yes; then :
   7466   :
   7467 else
   7468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7469 /* end confdefs.h.  */
   7470 #include <ctype.h>
   7471 #include <stdlib.h>
   7472 #if ((' ' & 0x0FF) == 0x020)
   7473 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7474 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7475 #else
   7476 # define ISLOWER(c) \
   7477 		   (('a' <= (c) && (c) <= 'i') \
   7478 		     || ('j' <= (c) && (c) <= 'r') \
   7479 		     || ('s' <= (c) && (c) <= 'z'))
   7480 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7481 #endif
   7482 
   7483 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7484 int
   7485 main ()
   7486 {
   7487   int i;
   7488   for (i = 0; i < 256; i++)
   7489     if (XOR (islower (i), ISLOWER (i))
   7490 	|| toupper (i) != TOUPPER (i))
   7491       return 2;
   7492   return 0;
   7493 }
   7494 _ACEOF
   7495 if ac_fn_c_try_run "$LINENO"; then :
   7496 
   7497 else
   7498   ac_cv_header_stdc=no
   7499 fi
   7500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7501   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7502 fi
   7503 
   7504 fi
   7505 fi
   7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7507 $as_echo "$ac_cv_header_stdc" >&6; }
   7508 if test $ac_cv_header_stdc = yes; then
   7509 
   7510 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7511 
   7512 fi
   7513 
   7514 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7515 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7516 		  inttypes.h stdint.h unistd.h
   7517 do :
   7518   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7519 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7520 "
   7521 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7522   cat >>confdefs.h <<_ACEOF
   7523 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7524 _ACEOF
   7525 
   7526 fi
   7527 
   7528 done
   7529 
   7530 
   7531 for ac_header in dlfcn.h
   7532 do :
   7533   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7534 "
   7535 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7536   cat >>confdefs.h <<_ACEOF
   7537 #define HAVE_DLFCN_H 1
   7538 _ACEOF
   7539 
   7540 fi
   7541 
   7542 done
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 # Set options
   7549 
   7550 
   7551 
   7552         enable_dlopen=no
   7553 
   7554 
   7555   enable_win32_dll=no
   7556 
   7557 
   7558             # Check whether --enable-shared was given.
   7559 if test "${enable_shared+set}" = set; then :
   7560   enableval=$enable_shared; p=${PACKAGE-default}
   7561     case $enableval in
   7562     yes) enable_shared=yes ;;
   7563     no) enable_shared=no ;;
   7564     *)
   7565       enable_shared=no
   7566       # Look at the argument we got.  We use all the common list separators.
   7567       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7568       for pkg in $enableval; do
   7569 	IFS="$lt_save_ifs"
   7570 	if test "X$pkg" = "X$p"; then
   7571 	  enable_shared=yes
   7572 	fi
   7573       done
   7574       IFS="$lt_save_ifs"
   7575       ;;
   7576     esac
   7577 else
   7578   enable_shared=yes
   7579 fi
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 
   7587 
   7588 
   7589   # Check whether --enable-static was given.
   7590 if test "${enable_static+set}" = set; then :
   7591   enableval=$enable_static; p=${PACKAGE-default}
   7592     case $enableval in
   7593     yes) enable_static=yes ;;
   7594     no) enable_static=no ;;
   7595     *)
   7596      enable_static=no
   7597       # Look at the argument we got.  We use all the common list separators.
   7598       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7599       for pkg in $enableval; do
   7600 	IFS="$lt_save_ifs"
   7601 	if test "X$pkg" = "X$p"; then
   7602 	  enable_static=yes
   7603 	fi
   7604       done
   7605       IFS="$lt_save_ifs"
   7606       ;;
   7607     esac
   7608 else
   7609   enable_static=yes
   7610 fi
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 # Check whether --with-pic was given.
   7622 if test "${with_pic+set}" = set; then :
   7623   withval=$with_pic; lt_p=${PACKAGE-default}
   7624     case $withval in
   7625     yes|no) pic_mode=$withval ;;
   7626     *)
   7627       pic_mode=default
   7628       # Look at the argument we got.  We use all the common list separators.
   7629       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7630       for lt_pkg in $withval; do
   7631 	IFS="$lt_save_ifs"
   7632 	if test "X$lt_pkg" = "X$lt_p"; then
   7633 	  pic_mode=yes
   7634 	fi
   7635       done
   7636       IFS="$lt_save_ifs"
   7637       ;;
   7638     esac
   7639 else
   7640   pic_mode=default
   7641 fi
   7642 
   7643 
   7644 test -z "$pic_mode" && pic_mode=default
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652   # Check whether --enable-fast-install was given.
   7653 if test "${enable_fast_install+set}" = set; then :
   7654   enableval=$enable_fast_install; p=${PACKAGE-default}
   7655     case $enableval in
   7656     yes) enable_fast_install=yes ;;
   7657     no) enable_fast_install=no ;;
   7658     *)
   7659       enable_fast_install=no
   7660       # Look at the argument we got.  We use all the common list separators.
   7661       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7662       for pkg in $enableval; do
   7663 	IFS="$lt_save_ifs"
   7664 	if test "X$pkg" = "X$p"; then
   7665 	  enable_fast_install=yes
   7666 	fi
   7667       done
   7668       IFS="$lt_save_ifs"
   7669       ;;
   7670     esac
   7671 else
   7672   enable_fast_install=yes
   7673 fi
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 
   7683 
   7684 
   7685 # This can be used to rebuild libtool when needed
   7686 LIBTOOL_DEPS="$ltmain"
   7687 
   7688 # Always use our own libtool.
   7689 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 
   7699 
   7700 
   7701 
   7702 
   7703 
   7704 
   7705 
   7706 
   7707 
   7708 
   7709 
   7710 
   7711 
   7712 
   7713 
   7714 
   7715 
   7716 
   7717 
   7718 
   7719 
   7720 test -z "$LN_S" && LN_S="ln -s"
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 if test -n "${ZSH_VERSION+set}" ; then
   7736    setopt NO_GLOB_SUBST
   7737 fi
   7738 
   7739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7740 $as_echo_n "checking for objdir... " >&6; }
   7741 if ${lt_cv_objdir+:} false; then :
   7742   $as_echo_n "(cached) " >&6
   7743 else
   7744   rm -f .libs 2>/dev/null
   7745 mkdir .libs 2>/dev/null
   7746 if test -d .libs; then
   7747   lt_cv_objdir=.libs
   7748 else
   7749   # MS-DOS does not allow filenames that begin with a dot.
   7750   lt_cv_objdir=_libs
   7751 fi
   7752 rmdir .libs 2>/dev/null
   7753 fi
   7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7755 $as_echo "$lt_cv_objdir" >&6; }
   7756 objdir=$lt_cv_objdir
   7757 
   7758 
   7759 
   7760 
   7761 
   7762 cat >>confdefs.h <<_ACEOF
   7763 #define LT_OBJDIR "$lt_cv_objdir/"
   7764 _ACEOF
   7765 
   7766 
   7767 
   7768 
   7769 case $host_os in
   7770 aix3*)
   7771   # AIX sometimes has problems with the GCC collect2 program.  For some
   7772   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7773   # vanish in a puff of smoke.
   7774   if test "X${COLLECT_NAMES+set}" != Xset; then
   7775     COLLECT_NAMES=
   7776     export COLLECT_NAMES
   7777   fi
   7778   ;;
   7779 esac
   7780 
   7781 # Global variables:
   7782 ofile=libtool
   7783 can_build_shared=yes
   7784 
   7785 # All known linkers require a `.a' archive for static linking (except MSVC,
   7786 # which needs '.lib').
   7787 libext=a
   7788 
   7789 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7790 
   7791 old_CC="$CC"
   7792 old_CFLAGS="$CFLAGS"
   7793 
   7794 # Set sane defaults for various variables
   7795 test -z "$CC" && CC=cc
   7796 test -z "$LTCC" && LTCC=$CC
   7797 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7798 test -z "$LD" && LD=ld
   7799 test -z "$ac_objext" && ac_objext=o
   7800 
   7801 for cc_temp in $compiler""; do
   7802   case $cc_temp in
   7803     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7804     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7805     \-*) ;;
   7806     *) break;;
   7807   esac
   7808 done
   7809 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7810 
   7811 
   7812 # Only perform the check for file, if the check method requires it
   7813 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7814 case $deplibs_check_method in
   7815 file_magic*)
   7816   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7818 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7819 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7820   $as_echo_n "(cached) " >&6
   7821 else
   7822   case $MAGIC_CMD in
   7823 [\\/*] |  ?:[\\/]*)
   7824   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7825   ;;
   7826 *)
   7827   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7828   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7829   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7830   for ac_dir in $ac_dummy; do
   7831     IFS="$lt_save_ifs"
   7832     test -z "$ac_dir" && ac_dir=.
   7833     if test -f $ac_dir/${ac_tool_prefix}file; then
   7834       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7835       if test -n "$file_magic_test_file"; then
   7836 	case $deplibs_check_method in
   7837 	"file_magic "*)
   7838 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7839 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7840 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7841 	    $EGREP "$file_magic_regex" > /dev/null; then
   7842 	    :
   7843 	  else
   7844 	    cat <<_LT_EOF 1>&2
   7845 
   7846 *** Warning: the command libtool uses to detect shared libraries,
   7847 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7848 *** The result is that libtool may fail to recognize shared libraries
   7849 *** as such.  This will affect the creation of libtool libraries that
   7850 *** depend on shared libraries, but programs linked with such libtool
   7851 *** libraries will work regardless of this problem.  Nevertheless, you
   7852 *** may want to report the problem to your system manager and/or to
   7853 *** bug-libtool@gnu.org
   7854 
   7855 _LT_EOF
   7856 	  fi ;;
   7857 	esac
   7858       fi
   7859       break
   7860     fi
   7861   done
   7862   IFS="$lt_save_ifs"
   7863   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7864   ;;
   7865 esac
   7866 fi
   7867 
   7868 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7869 if test -n "$MAGIC_CMD"; then
   7870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7871 $as_echo "$MAGIC_CMD" >&6; }
   7872 else
   7873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7874 $as_echo "no" >&6; }
   7875 fi
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7882   if test -n "$ac_tool_prefix"; then
   7883     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7884 $as_echo_n "checking for file... " >&6; }
   7885 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7886   $as_echo_n "(cached) " >&6
   7887 else
   7888   case $MAGIC_CMD in
   7889 [\\/*] |  ?:[\\/]*)
   7890   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7891   ;;
   7892 *)
   7893   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7894   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7895   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7896   for ac_dir in $ac_dummy; do
   7897     IFS="$lt_save_ifs"
   7898     test -z "$ac_dir" && ac_dir=.
   7899     if test -f $ac_dir/file; then
   7900       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7901       if test -n "$file_magic_test_file"; then
   7902 	case $deplibs_check_method in
   7903 	"file_magic "*)
   7904 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7905 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7906 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7907 	    $EGREP "$file_magic_regex" > /dev/null; then
   7908 	    :
   7909 	  else
   7910 	    cat <<_LT_EOF 1>&2
   7911 
   7912 *** Warning: the command libtool uses to detect shared libraries,
   7913 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7914 *** The result is that libtool may fail to recognize shared libraries
   7915 *** as such.  This will affect the creation of libtool libraries that
   7916 *** depend on shared libraries, but programs linked with such libtool
   7917 *** libraries will work regardless of this problem.  Nevertheless, you
   7918 *** may want to report the problem to your system manager and/or to
   7919 *** bug-libtool@gnu.org
   7920 
   7921 _LT_EOF
   7922 	  fi ;;
   7923 	esac
   7924       fi
   7925       break
   7926     fi
   7927   done
   7928   IFS="$lt_save_ifs"
   7929   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7930   ;;
   7931 esac
   7932 fi
   7933 
   7934 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7935 if test -n "$MAGIC_CMD"; then
   7936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7937 $as_echo "$MAGIC_CMD" >&6; }
   7938 else
   7939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7940 $as_echo "no" >&6; }
   7941 fi
   7942 
   7943 
   7944   else
   7945     MAGIC_CMD=:
   7946   fi
   7947 fi
   7948 
   7949   fi
   7950   ;;
   7951 esac
   7952 
   7953 # Use C for the default configuration in the libtool script
   7954 
   7955 lt_save_CC="$CC"
   7956 ac_ext=c
   7957 ac_cpp='$CPP $CPPFLAGS'
   7958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7961 
   7962 
   7963 # Source file extension for C test sources.
   7964 ac_ext=c
   7965 
   7966 # Object file extension for compiled C test sources.
   7967 objext=o
   7968 objext=$objext
   7969 
   7970 # Code to be used in simple compile tests
   7971 lt_simple_compile_test_code="int some_variable = 0;"
   7972 
   7973 # Code to be used in simple link tests
   7974 lt_simple_link_test_code='int main(){return(0);}'
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 # If no C compiler was specified, use CC.
   7983 LTCC=${LTCC-"$CC"}
   7984 
   7985 # If no C compiler flags were specified, use CFLAGS.
   7986 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7987 
   7988 # Allow CC to be a program name with arguments.
   7989 compiler=$CC
   7990 
   7991 # Save the default compiler, since it gets overwritten when the other
   7992 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7993 compiler_DEFAULT=$CC
   7994 
   7995 # save warnings/boilerplate of simple test code
   7996 ac_outfile=conftest.$ac_objext
   7997 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7998 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7999 _lt_compiler_boilerplate=`cat conftest.err`
   8000 $RM conftest*
   8001 
   8002 ac_outfile=conftest.$ac_objext
   8003 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8004 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8005 _lt_linker_boilerplate=`cat conftest.err`
   8006 $RM -r conftest*
   8007 
   8008 
   8009 if test -n "$compiler"; then
   8010 
   8011 lt_prog_compiler_no_builtin_flag=
   8012 
   8013 if test "$GCC" = yes; then
   8014   case $cc_basename in
   8015   nvcc*)
   8016     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8017   *)
   8018     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8019   esac
   8020 
   8021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8022 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8023 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8024   $as_echo_n "(cached) " >&6
   8025 else
   8026   lt_cv_prog_compiler_rtti_exceptions=no
   8027    ac_outfile=conftest.$ac_objext
   8028    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8029    lt_compiler_flag="-fno-rtti -fno-exceptions"
   8030    # Insert the option either (1) after the last *FLAGS variable, or
   8031    # (2) before a word containing "conftest.", or (3) at the end.
   8032    # Note that $ac_compile itself does not contain backslashes and begins
   8033    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8034    # The option is referenced via a variable to avoid confusing sed.
   8035    lt_compile=`echo "$ac_compile" | $SED \
   8036    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8037    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8038    -e 's:$: $lt_compiler_flag:'`
   8039    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8040    (eval "$lt_compile" 2>conftest.err)
   8041    ac_status=$?
   8042    cat conftest.err >&5
   8043    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8044    if (exit $ac_status) && test -s "$ac_outfile"; then
   8045      # The compiler can only warn and ignore the option if not recognized
   8046      # So say no if there are warnings other than the usual output.
   8047      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8048      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8049      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8050        lt_cv_prog_compiler_rtti_exceptions=yes
   8051      fi
   8052    fi
   8053    $RM conftest*
   8054 
   8055 fi
   8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8057 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8058 
   8059 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   8060     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8061 else
   8062     :
   8063 fi
   8064 
   8065 fi
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072   lt_prog_compiler_wl=
   8073 lt_prog_compiler_pic=
   8074 lt_prog_compiler_static=
   8075 
   8076 
   8077   if test "$GCC" = yes; then
   8078     lt_prog_compiler_wl='-Wl,'
   8079     lt_prog_compiler_static='-static'
   8080 
   8081     case $host_os in
   8082       aix*)
   8083       # All AIX code is PIC.
   8084       if test "$host_cpu" = ia64; then
   8085 	# AIX 5 now supports IA64 processor
   8086 	lt_prog_compiler_static='-Bstatic'
   8087       fi
   8088       ;;
   8089 
   8090     amigaos*)
   8091       case $host_cpu in
   8092       powerpc)
   8093             # see comment about AmigaOS4 .so support
   8094             lt_prog_compiler_pic='-fPIC'
   8095         ;;
   8096       m68k)
   8097             # FIXME: we need at least 68020 code to build shared libraries, but
   8098             # adding the `-m68020' flag to GCC prevents building anything better,
   8099             # like `-m68040'.
   8100             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8101         ;;
   8102       esac
   8103       ;;
   8104 
   8105     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8106       # PIC is the default for these OSes.
   8107       ;;
   8108 
   8109     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8110       # This hack is so that the source file can tell whether it is being
   8111       # built for inclusion in a dll (and should export symbols for example).
   8112       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8113       # (--disable-auto-import) libraries
   8114       lt_prog_compiler_pic='-DDLL_EXPORT'
   8115       ;;
   8116 
   8117     darwin* | rhapsody*)
   8118       # PIC is the default on this platform
   8119       # Common symbols not allowed in MH_DYLIB files
   8120       lt_prog_compiler_pic='-fno-common'
   8121       ;;
   8122 
   8123     haiku*)
   8124       # PIC is the default for Haiku.
   8125       # The "-static" flag exists, but is broken.
   8126       lt_prog_compiler_static=
   8127       ;;
   8128 
   8129     hpux*)
   8130       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8131       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8132       # sets the default TLS model and affects inlining.
   8133       case $host_cpu in
   8134       hppa*64*)
   8135 	# +Z the default
   8136 	;;
   8137       *)
   8138 	lt_prog_compiler_pic='-fPIC'
   8139 	;;
   8140       esac
   8141       ;;
   8142 
   8143     interix[3-9]*)
   8144       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8145       # Instead, we relocate shared libraries at runtime.
   8146       ;;
   8147 
   8148     msdosdjgpp*)
   8149       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8150       # on systems that don't support them.
   8151       lt_prog_compiler_can_build_shared=no
   8152       enable_shared=no
   8153       ;;
   8154 
   8155     *nto* | *qnx*)
   8156       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8157       # it will coredump.
   8158       lt_prog_compiler_pic='-fPIC -shared'
   8159       ;;
   8160 
   8161     sysv4*MP*)
   8162       if test -d /usr/nec; then
   8163 	lt_prog_compiler_pic=-Kconform_pic
   8164       fi
   8165       ;;
   8166 
   8167     *)
   8168       lt_prog_compiler_pic='-fPIC'
   8169       ;;
   8170     esac
   8171 
   8172     case $cc_basename in
   8173     nvcc*) # Cuda Compiler Driver 2.2
   8174       lt_prog_compiler_wl='-Xlinker '
   8175       if test -n "$lt_prog_compiler_pic"; then
   8176         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8177       fi
   8178       ;;
   8179     esac
   8180   else
   8181     # PORTME Check for flag to pass linker flags through the system compiler.
   8182     case $host_os in
   8183     aix*)
   8184       lt_prog_compiler_wl='-Wl,'
   8185       if test "$host_cpu" = ia64; then
   8186 	# AIX 5 now supports IA64 processor
   8187 	lt_prog_compiler_static='-Bstatic'
   8188       else
   8189 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8190       fi
   8191       ;;
   8192 
   8193     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8194       # This hack is so that the source file can tell whether it is being
   8195       # built for inclusion in a dll (and should export symbols for example).
   8196       lt_prog_compiler_pic='-DDLL_EXPORT'
   8197       ;;
   8198 
   8199     hpux9* | hpux10* | hpux11*)
   8200       lt_prog_compiler_wl='-Wl,'
   8201       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8202       # not for PA HP-UX.
   8203       case $host_cpu in
   8204       hppa*64*|ia64*)
   8205 	# +Z the default
   8206 	;;
   8207       *)
   8208 	lt_prog_compiler_pic='+Z'
   8209 	;;
   8210       esac
   8211       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8212       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8213       ;;
   8214 
   8215     irix5* | irix6* | nonstopux*)
   8216       lt_prog_compiler_wl='-Wl,'
   8217       # PIC (with -KPIC) is the default.
   8218       lt_prog_compiler_static='-non_shared'
   8219       ;;
   8220 
   8221     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8222       case $cc_basename in
   8223       # old Intel for x86_64 which still supported -KPIC.
   8224       ecc*)
   8225 	lt_prog_compiler_wl='-Wl,'
   8226 	lt_prog_compiler_pic='-KPIC'
   8227 	lt_prog_compiler_static='-static'
   8228         ;;
   8229       # icc used to be incompatible with GCC.
   8230       # ICC 10 doesn't accept -KPIC any more.
   8231       icc* | ifort*)
   8232 	lt_prog_compiler_wl='-Wl,'
   8233 	lt_prog_compiler_pic='-fPIC'
   8234 	lt_prog_compiler_static='-static'
   8235         ;;
   8236       # Lahey Fortran 8.1.
   8237       lf95*)
   8238 	lt_prog_compiler_wl='-Wl,'
   8239 	lt_prog_compiler_pic='--shared'
   8240 	lt_prog_compiler_static='--static'
   8241 	;;
   8242       nagfor*)
   8243 	# NAG Fortran compiler
   8244 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8245 	lt_prog_compiler_pic='-PIC'
   8246 	lt_prog_compiler_static='-Bstatic'
   8247 	;;
   8248       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8249         # Portland Group compilers (*not* the Pentium gcc compiler,
   8250 	# which looks to be a dead project)
   8251 	lt_prog_compiler_wl='-Wl,'
   8252 	lt_prog_compiler_pic='-fpic'
   8253 	lt_prog_compiler_static='-Bstatic'
   8254         ;;
   8255       ccc*)
   8256         lt_prog_compiler_wl='-Wl,'
   8257         # All Alpha code is PIC.
   8258         lt_prog_compiler_static='-non_shared'
   8259         ;;
   8260       xl* | bgxl* | bgf* | mpixl*)
   8261 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8262 	lt_prog_compiler_wl='-Wl,'
   8263 	lt_prog_compiler_pic='-qpic'
   8264 	lt_prog_compiler_static='-qstaticlink'
   8265 	;;
   8266       *)
   8267 	case `$CC -V 2>&1 | sed 5q` in
   8268 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8269 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8270 	  lt_prog_compiler_pic='-KPIC'
   8271 	  lt_prog_compiler_static='-Bstatic'
   8272 	  lt_prog_compiler_wl=''
   8273 	  ;;
   8274 	*Sun\ F* | *Sun*Fortran*)
   8275 	  lt_prog_compiler_pic='-KPIC'
   8276 	  lt_prog_compiler_static='-Bstatic'
   8277 	  lt_prog_compiler_wl='-Qoption ld '
   8278 	  ;;
   8279 	*Sun\ C*)
   8280 	  # Sun C 5.9
   8281 	  lt_prog_compiler_pic='-KPIC'
   8282 	  lt_prog_compiler_static='-Bstatic'
   8283 	  lt_prog_compiler_wl='-Wl,'
   8284 	  ;;
   8285         *Intel*\ [CF]*Compiler*)
   8286 	  lt_prog_compiler_wl='-Wl,'
   8287 	  lt_prog_compiler_pic='-fPIC'
   8288 	  lt_prog_compiler_static='-static'
   8289 	  ;;
   8290 	*Portland\ Group*)
   8291 	  lt_prog_compiler_wl='-Wl,'
   8292 	  lt_prog_compiler_pic='-fpic'
   8293 	  lt_prog_compiler_static='-Bstatic'
   8294 	  ;;
   8295 	esac
   8296 	;;
   8297       esac
   8298       ;;
   8299 
   8300     newsos6)
   8301       lt_prog_compiler_pic='-KPIC'
   8302       lt_prog_compiler_static='-Bstatic'
   8303       ;;
   8304 
   8305     *nto* | *qnx*)
   8306       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8307       # it will coredump.
   8308       lt_prog_compiler_pic='-fPIC -shared'
   8309       ;;
   8310 
   8311     osf3* | osf4* | osf5*)
   8312       lt_prog_compiler_wl='-Wl,'
   8313       # All OSF/1 code is PIC.
   8314       lt_prog_compiler_static='-non_shared'
   8315       ;;
   8316 
   8317     rdos*)
   8318       lt_prog_compiler_static='-non_shared'
   8319       ;;
   8320 
   8321     solaris*)
   8322       lt_prog_compiler_pic='-KPIC'
   8323       lt_prog_compiler_static='-Bstatic'
   8324       case $cc_basename in
   8325       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8326 	lt_prog_compiler_wl='-Qoption ld ';;
   8327       *)
   8328 	lt_prog_compiler_wl='-Wl,';;
   8329       esac
   8330       ;;
   8331 
   8332     sunos4*)
   8333       lt_prog_compiler_wl='-Qoption ld '
   8334       lt_prog_compiler_pic='-PIC'
   8335       lt_prog_compiler_static='-Bstatic'
   8336       ;;
   8337 
   8338     sysv4 | sysv4.2uw2* | sysv4.3*)
   8339       lt_prog_compiler_wl='-Wl,'
   8340       lt_prog_compiler_pic='-KPIC'
   8341       lt_prog_compiler_static='-Bstatic'
   8342       ;;
   8343 
   8344     sysv4*MP*)
   8345       if test -d /usr/nec ;then
   8346 	lt_prog_compiler_pic='-Kconform_pic'
   8347 	lt_prog_compiler_static='-Bstatic'
   8348       fi
   8349       ;;
   8350 
   8351     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8352       lt_prog_compiler_wl='-Wl,'
   8353       lt_prog_compiler_pic='-KPIC'
   8354       lt_prog_compiler_static='-Bstatic'
   8355       ;;
   8356 
   8357     unicos*)
   8358       lt_prog_compiler_wl='-Wl,'
   8359       lt_prog_compiler_can_build_shared=no
   8360       ;;
   8361 
   8362     uts4*)
   8363       lt_prog_compiler_pic='-pic'
   8364       lt_prog_compiler_static='-Bstatic'
   8365       ;;
   8366 
   8367     *)
   8368       lt_prog_compiler_can_build_shared=no
   8369       ;;
   8370     esac
   8371   fi
   8372 
   8373 case $host_os in
   8374   # For platforms which do not support PIC, -DPIC is meaningless:
   8375   *djgpp*)
   8376     lt_prog_compiler_pic=
   8377     ;;
   8378   *)
   8379     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8380     ;;
   8381 esac
   8382 
   8383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8384 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8385 if ${lt_cv_prog_compiler_pic+:} false; then :
   8386   $as_echo_n "(cached) " >&6
   8387 else
   8388   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8389 fi
   8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8391 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8392 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8393 
   8394 #
   8395 # Check to make sure the PIC flag actually works.
   8396 #
   8397 if test -n "$lt_prog_compiler_pic"; then
   8398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8399 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8400 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8401   $as_echo_n "(cached) " >&6
   8402 else
   8403   lt_cv_prog_compiler_pic_works=no
   8404    ac_outfile=conftest.$ac_objext
   8405    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8406    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8407    # Insert the option either (1) after the last *FLAGS variable, or
   8408    # (2) before a word containing "conftest.", or (3) at the end.
   8409    # Note that $ac_compile itself does not contain backslashes and begins
   8410    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8411    # The option is referenced via a variable to avoid confusing sed.
   8412    lt_compile=`echo "$ac_compile" | $SED \
   8413    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8414    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8415    -e 's:$: $lt_compiler_flag:'`
   8416    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8417    (eval "$lt_compile" 2>conftest.err)
   8418    ac_status=$?
   8419    cat conftest.err >&5
   8420    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8421    if (exit $ac_status) && test -s "$ac_outfile"; then
   8422      # The compiler can only warn and ignore the option if not recognized
   8423      # So say no if there are warnings other than the usual output.
   8424      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8425      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8426      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8427        lt_cv_prog_compiler_pic_works=yes
   8428      fi
   8429    fi
   8430    $RM conftest*
   8431 
   8432 fi
   8433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8434 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8435 
   8436 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8437     case $lt_prog_compiler_pic in
   8438      "" | " "*) ;;
   8439      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8440      esac
   8441 else
   8442     lt_prog_compiler_pic=
   8443      lt_prog_compiler_can_build_shared=no
   8444 fi
   8445 
   8446 fi
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 
   8456 
   8457 
   8458 #
   8459 # Check to make sure the static flag actually works.
   8460 #
   8461 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8463 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8464 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8465   $as_echo_n "(cached) " >&6
   8466 else
   8467   lt_cv_prog_compiler_static_works=no
   8468    save_LDFLAGS="$LDFLAGS"
   8469    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8470    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8471    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8472      # The linker can only warn and ignore the option if not recognized
   8473      # So say no if there are warnings
   8474      if test -s conftest.err; then
   8475        # Append any errors to the config.log.
   8476        cat conftest.err 1>&5
   8477        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8478        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8479        if diff conftest.exp conftest.er2 >/dev/null; then
   8480          lt_cv_prog_compiler_static_works=yes
   8481        fi
   8482      else
   8483        lt_cv_prog_compiler_static_works=yes
   8484      fi
   8485    fi
   8486    $RM -r conftest*
   8487    LDFLAGS="$save_LDFLAGS"
   8488 
   8489 fi
   8490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8491 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8492 
   8493 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8494     :
   8495 else
   8496     lt_prog_compiler_static=
   8497 fi
   8498 
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8506 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8507 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8508   $as_echo_n "(cached) " >&6
   8509 else
   8510   lt_cv_prog_compiler_c_o=no
   8511    $RM -r conftest 2>/dev/null
   8512    mkdir conftest
   8513    cd conftest
   8514    mkdir out
   8515    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8516 
   8517    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8518    # Insert the option either (1) after the last *FLAGS variable, or
   8519    # (2) before a word containing "conftest.", or (3) at the end.
   8520    # Note that $ac_compile itself does not contain backslashes and begins
   8521    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8522    lt_compile=`echo "$ac_compile" | $SED \
   8523    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8524    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8525    -e 's:$: $lt_compiler_flag:'`
   8526    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8527    (eval "$lt_compile" 2>out/conftest.err)
   8528    ac_status=$?
   8529    cat out/conftest.err >&5
   8530    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8531    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8532    then
   8533      # The compiler can only warn and ignore the option if not recognized
   8534      # So say no if there are warnings
   8535      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8536      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8537      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8538        lt_cv_prog_compiler_c_o=yes
   8539      fi
   8540    fi
   8541    chmod u+w . 2>&5
   8542    $RM conftest*
   8543    # SGI C++ compiler will create directory out/ii_files/ for
   8544    # template instantiation
   8545    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8546    $RM out/* && rmdir out
   8547    cd ..
   8548    $RM -r conftest
   8549    $RM conftest*
   8550 
   8551 fi
   8552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8553 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8561 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8562 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8563   $as_echo_n "(cached) " >&6
   8564 else
   8565   lt_cv_prog_compiler_c_o=no
   8566    $RM -r conftest 2>/dev/null
   8567    mkdir conftest
   8568    cd conftest
   8569    mkdir out
   8570    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8571 
   8572    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8573    # Insert the option either (1) after the last *FLAGS variable, or
   8574    # (2) before a word containing "conftest.", or (3) at the end.
   8575    # Note that $ac_compile itself does not contain backslashes and begins
   8576    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8577    lt_compile=`echo "$ac_compile" | $SED \
   8578    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8579    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8580    -e 's:$: $lt_compiler_flag:'`
   8581    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8582    (eval "$lt_compile" 2>out/conftest.err)
   8583    ac_status=$?
   8584    cat out/conftest.err >&5
   8585    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8586    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8587    then
   8588      # The compiler can only warn and ignore the option if not recognized
   8589      # So say no if there are warnings
   8590      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8591      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8592      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8593        lt_cv_prog_compiler_c_o=yes
   8594      fi
   8595    fi
   8596    chmod u+w . 2>&5
   8597    $RM conftest*
   8598    # SGI C++ compiler will create directory out/ii_files/ for
   8599    # template instantiation
   8600    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8601    $RM out/* && rmdir out
   8602    cd ..
   8603    $RM -r conftest
   8604    $RM conftest*
   8605 
   8606 fi
   8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8608 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8609 
   8610 
   8611 
   8612 
   8613 hard_links="nottested"
   8614 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8615   # do not overwrite the value of need_locks provided by the user
   8616   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8617 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8618   hard_links=yes
   8619   $RM conftest*
   8620   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8621   touch conftest.a
   8622   ln conftest.a conftest.b 2>&5 || hard_links=no
   8623   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8625 $as_echo "$hard_links" >&6; }
   8626   if test "$hard_links" = no; then
   8627     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8628 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8629     need_locks=warn
   8630   fi
   8631 else
   8632   need_locks=no
   8633 fi
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8641 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8642 
   8643   runpath_var=
   8644   allow_undefined_flag=
   8645   always_export_symbols=no
   8646   archive_cmds=
   8647   archive_expsym_cmds=
   8648   compiler_needs_object=no
   8649   enable_shared_with_static_runtimes=no
   8650   export_dynamic_flag_spec=
   8651   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8652   hardcode_automatic=no
   8653   hardcode_direct=no
   8654   hardcode_direct_absolute=no
   8655   hardcode_libdir_flag_spec=
   8656   hardcode_libdir_separator=
   8657   hardcode_minus_L=no
   8658   hardcode_shlibpath_var=unsupported
   8659   inherit_rpath=no
   8660   link_all_deplibs=unknown
   8661   module_cmds=
   8662   module_expsym_cmds=
   8663   old_archive_from_new_cmds=
   8664   old_archive_from_expsyms_cmds=
   8665   thread_safe_flag_spec=
   8666   whole_archive_flag_spec=
   8667   # include_expsyms should be a list of space-separated symbols to be *always*
   8668   # included in the symbol list
   8669   include_expsyms=
   8670   # exclude_expsyms can be an extended regexp of symbols to exclude
   8671   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8672   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8673   # as well as any symbol that contains `d'.
   8674   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8675   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8676   # platforms (ab)use it in PIC code, but their linkers get confused if
   8677   # the symbol is explicitly referenced.  Since portable code cannot
   8678   # rely on this symbol name, it's probably fine to never include it in
   8679   # preloaded symbol tables.
   8680   # Exclude shared library initialization/finalization symbols.
   8681   extract_expsyms_cmds=
   8682 
   8683   case $host_os in
   8684   cygwin* | mingw* | pw32* | cegcc*)
   8685     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8686     # When not using gcc, we currently assume that we are using
   8687     # Microsoft Visual C++.
   8688     if test "$GCC" != yes; then
   8689       with_gnu_ld=no
   8690     fi
   8691     ;;
   8692   interix*)
   8693     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8694     with_gnu_ld=yes
   8695     ;;
   8696   openbsd*)
   8697     with_gnu_ld=no
   8698     ;;
   8699   esac
   8700 
   8701   ld_shlibs=yes
   8702 
   8703   # On some targets, GNU ld is compatible enough with the native linker
   8704   # that we're better off using the native interface for both.
   8705   lt_use_gnu_ld_interface=no
   8706   if test "$with_gnu_ld" = yes; then
   8707     case $host_os in
   8708       aix*)
   8709 	# The AIX port of GNU ld has always aspired to compatibility
   8710 	# with the native linker.  However, as the warning in the GNU ld
   8711 	# block says, versions before 2.19.5* couldn't really create working
   8712 	# shared libraries, regardless of the interface used.
   8713 	case `$LD -v 2>&1` in
   8714 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8715 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8716 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8717 	  *)
   8718 	    lt_use_gnu_ld_interface=yes
   8719 	    ;;
   8720 	esac
   8721 	;;
   8722       *)
   8723 	lt_use_gnu_ld_interface=yes
   8724 	;;
   8725     esac
   8726   fi
   8727 
   8728   if test "$lt_use_gnu_ld_interface" = yes; then
   8729     # If archive_cmds runs LD, not CC, wlarc should be empty
   8730     wlarc='${wl}'
   8731 
   8732     # Set some defaults for GNU ld with shared library support. These
   8733     # are reset later if shared libraries are not supported. Putting them
   8734     # here allows them to be overridden if necessary.
   8735     runpath_var=LD_RUN_PATH
   8736     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8737     export_dynamic_flag_spec='${wl}--export-dynamic'
   8738     # ancient GNU ld didn't support --whole-archive et. al.
   8739     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8740       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8741     else
   8742       whole_archive_flag_spec=
   8743     fi
   8744     supports_anon_versioning=no
   8745     case `$LD -v 2>&1` in
   8746       *GNU\ gold*) supports_anon_versioning=yes ;;
   8747       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8748       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8749       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8750       *\ 2.11.*) ;; # other 2.11 versions
   8751       *) supports_anon_versioning=yes ;;
   8752     esac
   8753 
   8754     # See if GNU ld supports shared libraries.
   8755     case $host_os in
   8756     aix[3-9]*)
   8757       # On AIX/PPC, the GNU linker is very broken
   8758       if test "$host_cpu" != ia64; then
   8759 	ld_shlibs=no
   8760 	cat <<_LT_EOF 1>&2
   8761 
   8762 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8763 *** to be unable to reliably create shared libraries on AIX.
   8764 *** Therefore, libtool is disabling shared libraries support.  If you
   8765 *** really care for shared libraries, you may want to install binutils
   8766 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8767 *** You will then need to restart the configuration process.
   8768 
   8769 _LT_EOF
   8770       fi
   8771       ;;
   8772 
   8773     amigaos*)
   8774       case $host_cpu in
   8775       powerpc)
   8776             # see comment about AmigaOS4 .so support
   8777             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8778             archive_expsym_cmds=''
   8779         ;;
   8780       m68k)
   8781             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)'
   8782             hardcode_libdir_flag_spec='-L$libdir'
   8783             hardcode_minus_L=yes
   8784         ;;
   8785       esac
   8786       ;;
   8787 
   8788     beos*)
   8789       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8790 	allow_undefined_flag=unsupported
   8791 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8792 	# support --undefined.  This deserves some investigation.  FIXME
   8793 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8794       else
   8795 	ld_shlibs=no
   8796       fi
   8797       ;;
   8798 
   8799     cygwin* | mingw* | pw32* | cegcc*)
   8800       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8801       # as there is no search path for DLLs.
   8802       hardcode_libdir_flag_spec='-L$libdir'
   8803       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8804       allow_undefined_flag=unsupported
   8805       always_export_symbols=no
   8806       enable_shared_with_static_runtimes=yes
   8807       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'
   8808       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8809 
   8810       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8811         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8812 	# If the export-symbols file already is a .def file (1st line
   8813 	# is EXPORTS), use it as is; otherwise, prepend...
   8814 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8815 	  cp $export_symbols $output_objdir/$soname.def;
   8816 	else
   8817 	  echo EXPORTS > $output_objdir/$soname.def;
   8818 	  cat $export_symbols >> $output_objdir/$soname.def;
   8819 	fi~
   8820 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8821       else
   8822 	ld_shlibs=no
   8823       fi
   8824       ;;
   8825 
   8826     haiku*)
   8827       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8828       link_all_deplibs=yes
   8829       ;;
   8830 
   8831     interix[3-9]*)
   8832       hardcode_direct=no
   8833       hardcode_shlibpath_var=no
   8834       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8835       export_dynamic_flag_spec='${wl}-E'
   8836       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8837       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8838       # default) and relocated if they conflict, which is a slow very memory
   8839       # consuming and fragmenting process.  To avoid this, we pick a random,
   8840       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8841       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8842       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8843       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'
   8844       ;;
   8845 
   8846     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8847       tmp_diet=no
   8848       if test "$host_os" = linux-dietlibc; then
   8849 	case $cc_basename in
   8850 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8851 	esac
   8852       fi
   8853       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8854 	 && test "$tmp_diet" = no
   8855       then
   8856 	tmp_addflag=' $pic_flag'
   8857 	tmp_sharedflag='-shared'
   8858 	case $cc_basename,$host_cpu in
   8859         pgcc*)				# Portland Group C compiler
   8860 	  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'
   8861 	  tmp_addflag=' $pic_flag'
   8862 	  ;;
   8863 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8864 					# Portland Group f77 and f90 compilers
   8865 	  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'
   8866 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8867 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8868 	  tmp_addflag=' -i_dynamic' ;;
   8869 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8870 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8871 	ifc* | ifort*)			# Intel Fortran compiler
   8872 	  tmp_addflag=' -nofor_main' ;;
   8873 	lf95*)				# Lahey Fortran 8.1
   8874 	  whole_archive_flag_spec=
   8875 	  tmp_sharedflag='--shared' ;;
   8876 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8877 	  tmp_sharedflag='-qmkshrobj'
   8878 	  tmp_addflag= ;;
   8879 	nvcc*)	# Cuda Compiler Driver 2.2
   8880 	  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'
   8881 	  compiler_needs_object=yes
   8882 	  ;;
   8883 	esac
   8884 	case `$CC -V 2>&1 | sed 5q` in
   8885 	*Sun\ C*)			# Sun C 5.9
   8886 	  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'
   8887 	  compiler_needs_object=yes
   8888 	  tmp_sharedflag='-G' ;;
   8889 	*Sun\ F*)			# Sun Fortran 8.3
   8890 	  tmp_sharedflag='-G' ;;
   8891 	esac
   8892 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8893 
   8894         if test "x$supports_anon_versioning" = xyes; then
   8895           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8896 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8897 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8898 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8899         fi
   8900 
   8901 	case $cc_basename in
   8902 	xlf* | bgf* | bgxlf* | mpixlf*)
   8903 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8904 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8905 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8906 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8907 	  if test "x$supports_anon_versioning" = xyes; then
   8908 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8909 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8910 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8911 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8912 	  fi
   8913 	  ;;
   8914 	esac
   8915       else
   8916         ld_shlibs=no
   8917       fi
   8918       ;;
   8919 
   8920     netbsd*)
   8921       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8922 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8923 	wlarc=
   8924       else
   8925 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8926 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8927       fi
   8928       ;;
   8929 
   8930     solaris*)
   8931       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8932 	ld_shlibs=no
   8933 	cat <<_LT_EOF 1>&2
   8934 
   8935 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8936 *** create shared libraries on Solaris systems.  Therefore, libtool
   8937 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8938 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8939 *** your PATH or compiler configuration so that the native linker is
   8940 *** used, and then restart.
   8941 
   8942 _LT_EOF
   8943       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8944 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8945 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8946       else
   8947 	ld_shlibs=no
   8948       fi
   8949       ;;
   8950 
   8951     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8952       case `$LD -v 2>&1` in
   8953         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8954 	ld_shlibs=no
   8955 	cat <<_LT_EOF 1>&2
   8956 
   8957 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8958 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8959 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8960 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8961 *** your PATH or compiler configuration so that the native linker is
   8962 *** used, and then restart.
   8963 
   8964 _LT_EOF
   8965 	;;
   8966 	*)
   8967 	  # For security reasons, it is highly recommended that you always
   8968 	  # use absolute paths for naming shared libraries, and exclude the
   8969 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8970 	  # requires that you compile everything twice, which is a pain.
   8971 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8972 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8973 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8974 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8975 	  else
   8976 	    ld_shlibs=no
   8977 	  fi
   8978 	;;
   8979       esac
   8980       ;;
   8981 
   8982     sunos4*)
   8983       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8984       wlarc=
   8985       hardcode_direct=yes
   8986       hardcode_shlibpath_var=no
   8987       ;;
   8988 
   8989     *)
   8990       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8991 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8992 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8993       else
   8994 	ld_shlibs=no
   8995       fi
   8996       ;;
   8997     esac
   8998 
   8999     if test "$ld_shlibs" = no; then
   9000       runpath_var=
   9001       hardcode_libdir_flag_spec=
   9002       export_dynamic_flag_spec=
   9003       whole_archive_flag_spec=
   9004     fi
   9005   else
   9006     # PORTME fill in a description of your system's linker (not GNU ld)
   9007     case $host_os in
   9008     aix3*)
   9009       allow_undefined_flag=unsupported
   9010       always_export_symbols=yes
   9011       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'
   9012       # Note: this linker hardcodes the directories in LIBPATH if there
   9013       # are no directories specified by -L.
   9014       hardcode_minus_L=yes
   9015       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   9016 	# Neither direct hardcoding nor static linking is supported with a
   9017 	# broken collect2.
   9018 	hardcode_direct=unsupported
   9019       fi
   9020       ;;
   9021 
   9022     aix[4-9]*)
   9023       if test "$host_cpu" = ia64; then
   9024 	# On IA64, the linker does run time linking by default, so we don't
   9025 	# have to do anything special.
   9026 	aix_use_runtimelinking=no
   9027 	exp_sym_flag='-Bexport'
   9028 	no_entry_flag=""
   9029       else
   9030 	# If we're using GNU nm, then we don't want the "-C" option.
   9031 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   9032 	# Also, AIX nm treats weak defined symbols like other global
   9033 	# defined symbols, whereas GNU nm marks them as "W".
   9034 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9035 	  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'
   9036 	else
   9037 	  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'
   9038 	fi
   9039 	aix_use_runtimelinking=no
   9040 
   9041 	# Test if we are trying to use run time linking or normal
   9042 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9043 	# need to do runtime linking.
   9044 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9045 	  for ld_flag in $LDFLAGS; do
   9046 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   9047 	    aix_use_runtimelinking=yes
   9048 	    break
   9049 	  fi
   9050 	  done
   9051 	  ;;
   9052 	esac
   9053 
   9054 	exp_sym_flag='-bexport'
   9055 	no_entry_flag='-bnoentry'
   9056       fi
   9057 
   9058       # When large executables or shared objects are built, AIX ld can
   9059       # have problems creating the table of contents.  If linking a library
   9060       # or program results in "error TOC overflow" add -mminimal-toc to
   9061       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9062       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9063 
   9064       archive_cmds=''
   9065       hardcode_direct=yes
   9066       hardcode_direct_absolute=yes
   9067       hardcode_libdir_separator=':'
   9068       link_all_deplibs=yes
   9069       file_list_spec='${wl}-f,'
   9070 
   9071       if test "$GCC" = yes; then
   9072 	case $host_os in aix4.[012]|aix4.[012].*)
   9073 	# We only want to do this on AIX 4.2 and lower, the check
   9074 	# below for broken collect2 doesn't work under 4.3+
   9075 	  collect2name=`${CC} -print-prog-name=collect2`
   9076 	  if test -f "$collect2name" &&
   9077 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9078 	  then
   9079 	  # We have reworked collect2
   9080 	  :
   9081 	  else
   9082 	  # We have old collect2
   9083 	  hardcode_direct=unsupported
   9084 	  # It fails to find uninstalled libraries when the uninstalled
   9085 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9086 	  # to unsupported forces relinking
   9087 	  hardcode_minus_L=yes
   9088 	  hardcode_libdir_flag_spec='-L$libdir'
   9089 	  hardcode_libdir_separator=
   9090 	  fi
   9091 	  ;;
   9092 	esac
   9093 	shared_flag='-shared'
   9094 	if test "$aix_use_runtimelinking" = yes; then
   9095 	  shared_flag="$shared_flag "'${wl}-G'
   9096 	fi
   9097       else
   9098 	# not using gcc
   9099 	if test "$host_cpu" = ia64; then
   9100 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9101 	# chokes on -Wl,-G. The following line is correct:
   9102 	  shared_flag='-G'
   9103 	else
   9104 	  if test "$aix_use_runtimelinking" = yes; then
   9105 	    shared_flag='${wl}-G'
   9106 	  else
   9107 	    shared_flag='${wl}-bM:SRE'
   9108 	  fi
   9109 	fi
   9110       fi
   9111 
   9112       export_dynamic_flag_spec='${wl}-bexpall'
   9113       # It seems that -bexpall does not export symbols beginning with
   9114       # underscore (_), so it is better to generate a list of symbols to export.
   9115       always_export_symbols=yes
   9116       if test "$aix_use_runtimelinking" = yes; then
   9117 	# Warning - without using the other runtime loading flags (-brtl),
   9118 	# -berok will link without error, but may produce a broken library.
   9119 	allow_undefined_flag='-berok'
   9120         # Determine the default libpath from the value encoded in an
   9121         # empty executable.
   9122         if test "${lt_cv_aix_libpath+set}" = set; then
   9123   aix_libpath=$lt_cv_aix_libpath
   9124 else
   9125   if ${lt_cv_aix_libpath_+:} false; then :
   9126   $as_echo_n "(cached) " >&6
   9127 else
   9128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9129 /* end confdefs.h.  */
   9130 
   9131 int
   9132 main ()
   9133 {
   9134 
   9135   ;
   9136   return 0;
   9137 }
   9138 _ACEOF
   9139 if ac_fn_c_try_link "$LINENO"; then :
   9140 
   9141   lt_aix_libpath_sed='
   9142       /Import File Strings/,/^$/ {
   9143 	  /^0/ {
   9144 	      s/^0  *\([^ ]*\) *$/\1/
   9145 	      p
   9146 	  }
   9147       }'
   9148   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9149   # Check for a 64-bit object if we didn't find anything.
   9150   if test -z "$lt_cv_aix_libpath_"; then
   9151     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9152   fi
   9153 fi
   9154 rm -f core conftest.err conftest.$ac_objext \
   9155     conftest$ac_exeext conftest.$ac_ext
   9156   if test -z "$lt_cv_aix_libpath_"; then
   9157     lt_cv_aix_libpath_="/usr/lib:/lib"
   9158   fi
   9159 
   9160 fi
   9161 
   9162   aix_libpath=$lt_cv_aix_libpath_
   9163 fi
   9164 
   9165         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9166         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"
   9167       else
   9168 	if test "$host_cpu" = ia64; then
   9169 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9170 	  allow_undefined_flag="-z nodefs"
   9171 	  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"
   9172 	else
   9173 	 # Determine the default libpath from the value encoded in an
   9174 	 # empty executable.
   9175 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9176   aix_libpath=$lt_cv_aix_libpath
   9177 else
   9178   if ${lt_cv_aix_libpath_+:} false; then :
   9179   $as_echo_n "(cached) " >&6
   9180 else
   9181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9182 /* end confdefs.h.  */
   9183 
   9184 int
   9185 main ()
   9186 {
   9187 
   9188   ;
   9189   return 0;
   9190 }
   9191 _ACEOF
   9192 if ac_fn_c_try_link "$LINENO"; then :
   9193 
   9194   lt_aix_libpath_sed='
   9195       /Import File Strings/,/^$/ {
   9196 	  /^0/ {
   9197 	      s/^0  *\([^ ]*\) *$/\1/
   9198 	      p
   9199 	  }
   9200       }'
   9201   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9202   # Check for a 64-bit object if we didn't find anything.
   9203   if test -z "$lt_cv_aix_libpath_"; then
   9204     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9205   fi
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext \
   9208     conftest$ac_exeext conftest.$ac_ext
   9209   if test -z "$lt_cv_aix_libpath_"; then
   9210     lt_cv_aix_libpath_="/usr/lib:/lib"
   9211   fi
   9212 
   9213 fi
   9214 
   9215   aix_libpath=$lt_cv_aix_libpath_
   9216 fi
   9217 
   9218 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9219 	  # Warning - without using the other run time loading flags,
   9220 	  # -berok will link without error, but may produce a broken library.
   9221 	  no_undefined_flag=' ${wl}-bernotok'
   9222 	  allow_undefined_flag=' ${wl}-berok'
   9223 	  if test "$with_gnu_ld" = yes; then
   9224 	    # We only use this code for GNU lds that support --whole-archive.
   9225 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9226 	  else
   9227 	    # Exported symbols can be pulled into shared objects from archives
   9228 	    whole_archive_flag_spec='$convenience'
   9229 	  fi
   9230 	  archive_cmds_need_lc=yes
   9231 	  # This is similar to how AIX traditionally builds its shared libraries.
   9232 	  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'
   9233 	fi
   9234       fi
   9235       ;;
   9236 
   9237     amigaos*)
   9238       case $host_cpu in
   9239       powerpc)
   9240             # see comment about AmigaOS4 .so support
   9241             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9242             archive_expsym_cmds=''
   9243         ;;
   9244       m68k)
   9245             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)'
   9246             hardcode_libdir_flag_spec='-L$libdir'
   9247             hardcode_minus_L=yes
   9248         ;;
   9249       esac
   9250       ;;
   9251 
   9252     bsdi[45]*)
   9253       export_dynamic_flag_spec=-rdynamic
   9254       ;;
   9255 
   9256     cygwin* | mingw* | pw32* | cegcc*)
   9257       # When not using gcc, we currently assume that we are using
   9258       # Microsoft Visual C++.
   9259       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9260       # no search path for DLLs.
   9261       case $cc_basename in
   9262       cl*)
   9263 	# Native MSVC
   9264 	hardcode_libdir_flag_spec=' '
   9265 	allow_undefined_flag=unsupported
   9266 	always_export_symbols=yes
   9267 	file_list_spec='@'
   9268 	# Tell ltmain to make .lib files, not .a files.
   9269 	libext=lib
   9270 	# Tell ltmain to make .dll files, not .so files.
   9271 	shrext_cmds=".dll"
   9272 	# FIXME: Setting linknames here is a bad hack.
   9273 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9274 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9275 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9276 	  else
   9277 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9278 	  fi~
   9279 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9280 	  linknames='
   9281 	# The linker will not automatically build a static lib if we build a DLL.
   9282 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9283 	enable_shared_with_static_runtimes=yes
   9284 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9285 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9286 	# Don't use ranlib
   9287 	old_postinstall_cmds='chmod 644 $oldlib'
   9288 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9289 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9290 	  case $lt_outputfile in
   9291 	    *.exe|*.EXE) ;;
   9292 	    *)
   9293 	      lt_outputfile="$lt_outputfile.exe"
   9294 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9295 	      ;;
   9296 	  esac~
   9297 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9298 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9299 	    $RM "$lt_outputfile.manifest";
   9300 	  fi'
   9301 	;;
   9302       *)
   9303 	# Assume MSVC wrapper
   9304 	hardcode_libdir_flag_spec=' '
   9305 	allow_undefined_flag=unsupported
   9306 	# Tell ltmain to make .lib files, not .a files.
   9307 	libext=lib
   9308 	# Tell ltmain to make .dll files, not .so files.
   9309 	shrext_cmds=".dll"
   9310 	# FIXME: Setting linknames here is a bad hack.
   9311 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9312 	# The linker will automatically build a .lib file if we build a DLL.
   9313 	old_archive_from_new_cmds='true'
   9314 	# FIXME: Should let the user specify the lib program.
   9315 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9316 	enable_shared_with_static_runtimes=yes
   9317 	;;
   9318       esac
   9319       ;;
   9320 
   9321     darwin* | rhapsody*)
   9322 
   9323 
   9324   archive_cmds_need_lc=no
   9325   hardcode_direct=no
   9326   hardcode_automatic=yes
   9327   hardcode_shlibpath_var=unsupported
   9328   if test "$lt_cv_ld_force_load" = "yes"; then
   9329     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\"`'
   9330 
   9331   else
   9332     whole_archive_flag_spec=''
   9333   fi
   9334   link_all_deplibs=yes
   9335   allow_undefined_flag="$_lt_dar_allow_undefined"
   9336   case $cc_basename in
   9337      ifort*) _lt_dar_can_shared=yes ;;
   9338      *) _lt_dar_can_shared=$GCC ;;
   9339   esac
   9340   if test "$_lt_dar_can_shared" = "yes"; then
   9341     output_verbose_link_cmd=func_echo_all
   9342     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9343     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9344     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}"
   9345     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}"
   9346 
   9347   else
   9348   ld_shlibs=no
   9349   fi
   9350 
   9351       ;;
   9352 
   9353     dgux*)
   9354       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9355       hardcode_libdir_flag_spec='-L$libdir'
   9356       hardcode_shlibpath_var=no
   9357       ;;
   9358 
   9359     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9360     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9361     # does not break anything, and helps significantly (at the cost of a little
   9362     # extra space).
   9363     freebsd2.2*)
   9364       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9365       hardcode_libdir_flag_spec='-R$libdir'
   9366       hardcode_direct=yes
   9367       hardcode_shlibpath_var=no
   9368       ;;
   9369 
   9370     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9371     freebsd2.*)
   9372       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9373       hardcode_direct=yes
   9374       hardcode_minus_L=yes
   9375       hardcode_shlibpath_var=no
   9376       ;;
   9377 
   9378     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9379     freebsd* | dragonfly*)
   9380       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9381       hardcode_libdir_flag_spec='-R$libdir'
   9382       hardcode_direct=yes
   9383       hardcode_shlibpath_var=no
   9384       ;;
   9385 
   9386     hpux9*)
   9387       if test "$GCC" = yes; then
   9388 	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'
   9389       else
   9390 	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'
   9391       fi
   9392       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9393       hardcode_libdir_separator=:
   9394       hardcode_direct=yes
   9395 
   9396       # hardcode_minus_L: Not really in the search PATH,
   9397       # but as the default location of the library.
   9398       hardcode_minus_L=yes
   9399       export_dynamic_flag_spec='${wl}-E'
   9400       ;;
   9401 
   9402     hpux10*)
   9403       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9404 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9405       else
   9406 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9407       fi
   9408       if test "$with_gnu_ld" = no; then
   9409 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9410 	hardcode_libdir_separator=:
   9411 	hardcode_direct=yes
   9412 	hardcode_direct_absolute=yes
   9413 	export_dynamic_flag_spec='${wl}-E'
   9414 	# hardcode_minus_L: Not really in the search PATH,
   9415 	# but as the default location of the library.
   9416 	hardcode_minus_L=yes
   9417       fi
   9418       ;;
   9419 
   9420     hpux11*)
   9421       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9422 	case $host_cpu in
   9423 	hppa*64*)
   9424 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9425 	  ;;
   9426 	ia64*)
   9427 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9428 	  ;;
   9429 	*)
   9430 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9431 	  ;;
   9432 	esac
   9433       else
   9434 	case $host_cpu in
   9435 	hppa*64*)
   9436 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9437 	  ;;
   9438 	ia64*)
   9439 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9440 	  ;;
   9441 	*)
   9442 
   9443 	  # Older versions of the 11.00 compiler do not understand -b yet
   9444 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9445 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9446 $as_echo_n "checking if $CC understands -b... " >&6; }
   9447 if ${lt_cv_prog_compiler__b+:} false; then :
   9448   $as_echo_n "(cached) " >&6
   9449 else
   9450   lt_cv_prog_compiler__b=no
   9451    save_LDFLAGS="$LDFLAGS"
   9452    LDFLAGS="$LDFLAGS -b"
   9453    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9454    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9455      # The linker can only warn and ignore the option if not recognized
   9456      # So say no if there are warnings
   9457      if test -s conftest.err; then
   9458        # Append any errors to the config.log.
   9459        cat conftest.err 1>&5
   9460        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9461        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9462        if diff conftest.exp conftest.er2 >/dev/null; then
   9463          lt_cv_prog_compiler__b=yes
   9464        fi
   9465      else
   9466        lt_cv_prog_compiler__b=yes
   9467      fi
   9468    fi
   9469    $RM -r conftest*
   9470    LDFLAGS="$save_LDFLAGS"
   9471 
   9472 fi
   9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9474 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9475 
   9476 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9477     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9478 else
   9479     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9480 fi
   9481 
   9482 	  ;;
   9483 	esac
   9484       fi
   9485       if test "$with_gnu_ld" = no; then
   9486 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9487 	hardcode_libdir_separator=:
   9488 
   9489 	case $host_cpu in
   9490 	hppa*64*|ia64*)
   9491 	  hardcode_direct=no
   9492 	  hardcode_shlibpath_var=no
   9493 	  ;;
   9494 	*)
   9495 	  hardcode_direct=yes
   9496 	  hardcode_direct_absolute=yes
   9497 	  export_dynamic_flag_spec='${wl}-E'
   9498 
   9499 	  # hardcode_minus_L: Not really in the search PATH,
   9500 	  # but as the default location of the library.
   9501 	  hardcode_minus_L=yes
   9502 	  ;;
   9503 	esac
   9504       fi
   9505       ;;
   9506 
   9507     irix5* | irix6* | nonstopux*)
   9508       if test "$GCC" = yes; then
   9509 	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'
   9510 	# Try to use the -exported_symbol ld option, if it does not
   9511 	# work, assume that -exports_file does not work either and
   9512 	# implicitly export all symbols.
   9513 	# This should be the same for all languages, so no per-tag cache variable.
   9514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9515 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9516 if ${lt_cv_irix_exported_symbol+:} false; then :
   9517   $as_echo_n "(cached) " >&6
   9518 else
   9519   save_LDFLAGS="$LDFLAGS"
   9520 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9521 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9522 /* end confdefs.h.  */
   9523 int foo (void) { return 0; }
   9524 _ACEOF
   9525 if ac_fn_c_try_link "$LINENO"; then :
   9526   lt_cv_irix_exported_symbol=yes
   9527 else
   9528   lt_cv_irix_exported_symbol=no
   9529 fi
   9530 rm -f core conftest.err conftest.$ac_objext \
   9531     conftest$ac_exeext conftest.$ac_ext
   9532            LDFLAGS="$save_LDFLAGS"
   9533 fi
   9534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9535 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9536 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9537           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'
   9538 	fi
   9539       else
   9540 	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'
   9541 	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'
   9542       fi
   9543       archive_cmds_need_lc='no'
   9544       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9545       hardcode_libdir_separator=:
   9546       inherit_rpath=yes
   9547       link_all_deplibs=yes
   9548       ;;
   9549 
   9550     netbsd*)
   9551       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9552 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9553       else
   9554 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9555       fi
   9556       hardcode_libdir_flag_spec='-R$libdir'
   9557       hardcode_direct=yes
   9558       hardcode_shlibpath_var=no
   9559       ;;
   9560 
   9561     newsos6)
   9562       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9563       hardcode_direct=yes
   9564       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9565       hardcode_libdir_separator=:
   9566       hardcode_shlibpath_var=no
   9567       ;;
   9568 
   9569     *nto* | *qnx*)
   9570       ;;
   9571 
   9572     openbsd*)
   9573       if test -f /usr/libexec/ld.so; then
   9574 	hardcode_direct=yes
   9575 	hardcode_shlibpath_var=no
   9576 	hardcode_direct_absolute=yes
   9577 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9578 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9579 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9580 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9581 	  export_dynamic_flag_spec='${wl}-E'
   9582 	else
   9583 	  case $host_os in
   9584 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9585 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9586 	     hardcode_libdir_flag_spec='-R$libdir'
   9587 	     ;;
   9588 	   *)
   9589 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9590 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9591 	     ;;
   9592 	  esac
   9593 	fi
   9594       else
   9595 	ld_shlibs=no
   9596       fi
   9597       ;;
   9598 
   9599     os2*)
   9600       hardcode_libdir_flag_spec='-L$libdir'
   9601       hardcode_minus_L=yes
   9602       allow_undefined_flag=unsupported
   9603       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'
   9604       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9605       ;;
   9606 
   9607     osf3*)
   9608       if test "$GCC" = yes; then
   9609 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9610 	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'
   9611       else
   9612 	allow_undefined_flag=' -expect_unresolved \*'
   9613 	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'
   9614       fi
   9615       archive_cmds_need_lc='no'
   9616       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9617       hardcode_libdir_separator=:
   9618       ;;
   9619 
   9620     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9621       if test "$GCC" = yes; then
   9622 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9623 	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'
   9624 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9625       else
   9626 	allow_undefined_flag=' -expect_unresolved \*'
   9627 	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'
   9628 	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~
   9629 	$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'
   9630 
   9631 	# Both c and cxx compiler support -rpath directly
   9632 	hardcode_libdir_flag_spec='-rpath $libdir'
   9633       fi
   9634       archive_cmds_need_lc='no'
   9635       hardcode_libdir_separator=:
   9636       ;;
   9637 
   9638     solaris*)
   9639       no_undefined_flag=' -z defs'
   9640       if test "$GCC" = yes; then
   9641 	wlarc='${wl}'
   9642 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9643 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9644 	  $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'
   9645       else
   9646 	case `$CC -V 2>&1` in
   9647 	*"Compilers 5.0"*)
   9648 	  wlarc=''
   9649 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9650 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9651 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9652 	  ;;
   9653 	*)
   9654 	  wlarc='${wl}'
   9655 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9656 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9657 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9658 	  ;;
   9659 	esac
   9660       fi
   9661       hardcode_libdir_flag_spec='-R$libdir'
   9662       hardcode_shlibpath_var=no
   9663       case $host_os in
   9664       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9665       *)
   9666 	# The compiler driver will combine and reorder linker options,
   9667 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9668 	# but is careful enough not to reorder.
   9669 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9670 	if test "$GCC" = yes; then
   9671 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9672 	else
   9673 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9674 	fi
   9675 	;;
   9676       esac
   9677       link_all_deplibs=yes
   9678       ;;
   9679 
   9680     sunos4*)
   9681       if test "x$host_vendor" = xsequent; then
   9682 	# Use $CC to link under sequent, because it throws in some extra .o
   9683 	# files that make .init and .fini sections work.
   9684 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9685       else
   9686 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9687       fi
   9688       hardcode_libdir_flag_spec='-L$libdir'
   9689       hardcode_direct=yes
   9690       hardcode_minus_L=yes
   9691       hardcode_shlibpath_var=no
   9692       ;;
   9693 
   9694     sysv4)
   9695       case $host_vendor in
   9696 	sni)
   9697 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9698 	  hardcode_direct=yes # is this really true???
   9699 	;;
   9700 	siemens)
   9701 	  ## LD is ld it makes a PLAMLIB
   9702 	  ## CC just makes a GrossModule.
   9703 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9704 	  reload_cmds='$CC -r -o $output$reload_objs'
   9705 	  hardcode_direct=no
   9706         ;;
   9707 	motorola)
   9708 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9709 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9710 	;;
   9711       esac
   9712       runpath_var='LD_RUN_PATH'
   9713       hardcode_shlibpath_var=no
   9714       ;;
   9715 
   9716     sysv4.3*)
   9717       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9718       hardcode_shlibpath_var=no
   9719       export_dynamic_flag_spec='-Bexport'
   9720       ;;
   9721 
   9722     sysv4*MP*)
   9723       if test -d /usr/nec; then
   9724 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9725 	hardcode_shlibpath_var=no
   9726 	runpath_var=LD_RUN_PATH
   9727 	hardcode_runpath_var=yes
   9728 	ld_shlibs=yes
   9729       fi
   9730       ;;
   9731 
   9732     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9733       no_undefined_flag='${wl}-z,text'
   9734       archive_cmds_need_lc=no
   9735       hardcode_shlibpath_var=no
   9736       runpath_var='LD_RUN_PATH'
   9737 
   9738       if test "$GCC" = yes; then
   9739 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9740 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9741       else
   9742 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9743 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9744       fi
   9745       ;;
   9746 
   9747     sysv5* | sco3.2v5* | sco5v6*)
   9748       # Note: We can NOT use -z defs as we might desire, because we do not
   9749       # link with -lc, and that would cause any symbols used from libc to
   9750       # always be unresolved, which means just about no library would
   9751       # ever link correctly.  If we're not using GNU ld we use -z text
   9752       # though, which does catch some bad symbols but isn't as heavy-handed
   9753       # as -z defs.
   9754       no_undefined_flag='${wl}-z,text'
   9755       allow_undefined_flag='${wl}-z,nodefs'
   9756       archive_cmds_need_lc=no
   9757       hardcode_shlibpath_var=no
   9758       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9759       hardcode_libdir_separator=':'
   9760       link_all_deplibs=yes
   9761       export_dynamic_flag_spec='${wl}-Bexport'
   9762       runpath_var='LD_RUN_PATH'
   9763 
   9764       if test "$GCC" = yes; then
   9765 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9766 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9767       else
   9768 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9769 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9770       fi
   9771       ;;
   9772 
   9773     uts4*)
   9774       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9775       hardcode_libdir_flag_spec='-L$libdir'
   9776       hardcode_shlibpath_var=no
   9777       ;;
   9778 
   9779     *)
   9780       ld_shlibs=no
   9781       ;;
   9782     esac
   9783 
   9784     if test x$host_vendor = xsni; then
   9785       case $host in
   9786       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9787 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9788 	;;
   9789       esac
   9790     fi
   9791   fi
   9792 
   9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9794 $as_echo "$ld_shlibs" >&6; }
   9795 test "$ld_shlibs" = no && can_build_shared=no
   9796 
   9797 with_gnu_ld=$with_gnu_ld
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 #
   9814 # Do we need to explicitly link libc?
   9815 #
   9816 case "x$archive_cmds_need_lc" in
   9817 x|xyes)
   9818   # Assume -lc should be added
   9819   archive_cmds_need_lc=yes
   9820 
   9821   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9822     case $archive_cmds in
   9823     *'~'*)
   9824       # FIXME: we may have to deal with multi-command sequences.
   9825       ;;
   9826     '$CC '*)
   9827       # Test whether the compiler implicitly links with -lc since on some
   9828       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9829       # to ld, don't add -lc before -lgcc.
   9830       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9831 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9832 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9833   $as_echo_n "(cached) " >&6
   9834 else
   9835   $RM conftest*
   9836 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9837 
   9838 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9839   (eval $ac_compile) 2>&5
   9840   ac_status=$?
   9841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9842   test $ac_status = 0; } 2>conftest.err; then
   9843 	  soname=conftest
   9844 	  lib=conftest
   9845 	  libobjs=conftest.$ac_objext
   9846 	  deplibs=
   9847 	  wl=$lt_prog_compiler_wl
   9848 	  pic_flag=$lt_prog_compiler_pic
   9849 	  compiler_flags=-v
   9850 	  linker_flags=-v
   9851 	  verstring=
   9852 	  output_objdir=.
   9853 	  libname=conftest
   9854 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9855 	  allow_undefined_flag=
   9856 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9857   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9858   ac_status=$?
   9859   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9860   test $ac_status = 0; }
   9861 	  then
   9862 	    lt_cv_archive_cmds_need_lc=no
   9863 	  else
   9864 	    lt_cv_archive_cmds_need_lc=yes
   9865 	  fi
   9866 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9867 	else
   9868 	  cat conftest.err 1>&5
   9869 	fi
   9870 	$RM conftest*
   9871 
   9872 fi
   9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9874 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9875       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9876       ;;
   9877     esac
   9878   fi
   9879   ;;
   9880 esac
   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 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945 
   9946 
   9947 
   9948 
   9949 
   9950 
   9951 
   9952 
   9953 
   9954 
   9955 
   9956 
   9957 
   9958 
   9959 
   9960 
   9961 
   9962 
   9963 
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 
   9972 
   9973 
   9974 
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 
   9984 
   9985 
   9986 
   9987 
   9988 
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 
   10016 
   10017 
   10018 
   10019 
   10020 
   10021 
   10022 
   10023 
   10024 
   10025 
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10034 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10035 
   10036 if test "$GCC" = yes; then
   10037   case $host_os in
   10038     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   10039     *) lt_awk_arg="/^libraries:/" ;;
   10040   esac
   10041   case $host_os in
   10042     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   10043     *) lt_sed_strip_eq="s,=/,/,g" ;;
   10044   esac
   10045   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10046   case $lt_search_path_spec in
   10047   *\;*)
   10048     # if the path contains ";" then we assume it to be the separator
   10049     # otherwise default to the standard path separator (i.e. ":") - it is
   10050     # assumed that no part of a normal pathname contains ";" but that should
   10051     # okay in the real world where ";" in dirpaths is itself problematic.
   10052     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10053     ;;
   10054   *)
   10055     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10056     ;;
   10057   esac
   10058   # Ok, now we have the path, separated by spaces, we can step through it
   10059   # and add multilib dir if necessary.
   10060   lt_tmp_lt_search_path_spec=
   10061   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10062   for lt_sys_path in $lt_search_path_spec; do
   10063     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   10064       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   10065     else
   10066       test -d "$lt_sys_path" && \
   10067 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10068     fi
   10069   done
   10070   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10071 BEGIN {RS=" "; FS="/|\n";} {
   10072   lt_foo="";
   10073   lt_count=0;
   10074   for (lt_i = NF; lt_i > 0; lt_i--) {
   10075     if ($lt_i != "" && $lt_i != ".") {
   10076       if ($lt_i == "..") {
   10077         lt_count++;
   10078       } else {
   10079         if (lt_count == 0) {
   10080           lt_foo="/" $lt_i lt_foo;
   10081         } else {
   10082           lt_count--;
   10083         }
   10084       }
   10085     }
   10086   }
   10087   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10088   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10089 }'`
   10090   # AWK program above erroneously prepends '/' to C:/dos/paths
   10091   # for these hosts.
   10092   case $host_os in
   10093     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10094       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10095   esac
   10096   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10097 else
   10098   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10099 fi
   10100 library_names_spec=
   10101 libname_spec='lib$name'
   10102 soname_spec=
   10103 shrext_cmds=".so"
   10104 postinstall_cmds=
   10105 postuninstall_cmds=
   10106 finish_cmds=
   10107 finish_eval=
   10108 shlibpath_var=
   10109 shlibpath_overrides_runpath=unknown
   10110 version_type=none
   10111 dynamic_linker="$host_os ld.so"
   10112 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10113 need_lib_prefix=unknown
   10114 hardcode_into_libs=no
   10115 
   10116 # when you set need_version to no, make sure it does not cause -set_version
   10117 # flags to be left without arguments
   10118 need_version=unknown
   10119 
   10120 case $host_os in
   10121 aix3*)
   10122   version_type=linux # correct to gnu/linux during the next big refactor
   10123   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10124   shlibpath_var=LIBPATH
   10125 
   10126   # AIX 3 has no versioning support, so we append a major version to the name.
   10127   soname_spec='${libname}${release}${shared_ext}$major'
   10128   ;;
   10129 
   10130 aix[4-9]*)
   10131   version_type=linux # correct to gnu/linux during the next big refactor
   10132   need_lib_prefix=no
   10133   need_version=no
   10134   hardcode_into_libs=yes
   10135   if test "$host_cpu" = ia64; then
   10136     # AIX 5 supports IA64
   10137     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10138     shlibpath_var=LD_LIBRARY_PATH
   10139   else
   10140     # With GCC up to 2.95.x, collect2 would create an import file
   10141     # for dependence libraries.  The import file would start with
   10142     # the line `#! .'.  This would cause the generated library to
   10143     # depend on `.', always an invalid library.  This was fixed in
   10144     # development snapshots of GCC prior to 3.0.
   10145     case $host_os in
   10146       aix4 | aix4.[01] | aix4.[01].*)
   10147       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10148 	   echo ' yes '
   10149 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10150 	:
   10151       else
   10152 	can_build_shared=no
   10153       fi
   10154       ;;
   10155     esac
   10156     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10157     # soname into executable. Probably we can add versioning support to
   10158     # collect2, so additional links can be useful in future.
   10159     if test "$aix_use_runtimelinking" = yes; then
   10160       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10161       # instead of lib<name>.a to let people know that these are not
   10162       # typical AIX shared libraries.
   10163       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10164     else
   10165       # We preserve .a as extension for shared libraries through AIX4.2
   10166       # and later when we are not doing run time linking.
   10167       library_names_spec='${libname}${release}.a $libname.a'
   10168       soname_spec='${libname}${release}${shared_ext}$major'
   10169     fi
   10170     shlibpath_var=LIBPATH
   10171   fi
   10172   ;;
   10173 
   10174 amigaos*)
   10175   case $host_cpu in
   10176   powerpc)
   10177     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10178     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10179     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10180     ;;
   10181   m68k)
   10182     library_names_spec='$libname.ixlibrary $libname.a'
   10183     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10184     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'
   10185     ;;
   10186   esac
   10187   ;;
   10188 
   10189 beos*)
   10190   library_names_spec='${libname}${shared_ext}'
   10191   dynamic_linker="$host_os ld.so"
   10192   shlibpath_var=LIBRARY_PATH
   10193   ;;
   10194 
   10195 bsdi[45]*)
   10196   version_type=linux # correct to gnu/linux during the next big refactor
   10197   need_version=no
   10198   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10199   soname_spec='${libname}${release}${shared_ext}$major'
   10200   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10201   shlibpath_var=LD_LIBRARY_PATH
   10202   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10203   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10204   # the default ld.so.conf also contains /usr/contrib/lib and
   10205   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10206   # libtool to hard-code these into programs
   10207   ;;
   10208 
   10209 cygwin* | mingw* | pw32* | cegcc*)
   10210   version_type=windows
   10211   shrext_cmds=".dll"
   10212   need_version=no
   10213   need_lib_prefix=no
   10214 
   10215   case $GCC,$cc_basename in
   10216   yes,*)
   10217     # gcc
   10218     library_names_spec='$libname.dll.a'
   10219     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10220     postinstall_cmds='base_file=`basename \${file}`~
   10221       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10222       dldir=$destdir/`dirname \$dlpath`~
   10223       test -d \$dldir || mkdir -p \$dldir~
   10224       $install_prog $dir/$dlname \$dldir/$dlname~
   10225       chmod a+x \$dldir/$dlname~
   10226       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10227         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10228       fi'
   10229     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10230       dlpath=$dir/\$dldll~
   10231        $RM \$dlpath'
   10232     shlibpath_overrides_runpath=yes
   10233 
   10234     case $host_os in
   10235     cygwin*)
   10236       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10237       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10238 
   10239       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10240       ;;
   10241     mingw* | cegcc*)
   10242       # MinGW DLLs use traditional 'lib' prefix
   10243       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10244       ;;
   10245     pw32*)
   10246       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10247       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10248       ;;
   10249     esac
   10250     dynamic_linker='Win32 ld.exe'
   10251     ;;
   10252 
   10253   *,cl*)
   10254     # Native MSVC
   10255     libname_spec='$name'
   10256     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10257     library_names_spec='${libname}.dll.lib'
   10258 
   10259     case $build_os in
   10260     mingw*)
   10261       sys_lib_search_path_spec=
   10262       lt_save_ifs=$IFS
   10263       IFS=';'
   10264       for lt_path in $LIB
   10265       do
   10266         IFS=$lt_save_ifs
   10267         # Let DOS variable expansion print the short 8.3 style file name.
   10268         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10269         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10270       done
   10271       IFS=$lt_save_ifs
   10272       # Convert to MSYS style.
   10273       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10274       ;;
   10275     cygwin*)
   10276       # Convert to unix form, then to dos form, then back to unix form
   10277       # but this time dos style (no spaces!) so that the unix form looks
   10278       # like /cygdrive/c/PROGRA~1:/cygdr...
   10279       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10280       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10281       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10282       ;;
   10283     *)
   10284       sys_lib_search_path_spec="$LIB"
   10285       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10286         # It is most probably a Windows format PATH.
   10287         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10288       else
   10289         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10290       fi
   10291       # FIXME: find the short name or the path components, as spaces are
   10292       # common. (e.g. "Program Files" -> "PROGRA~1")
   10293       ;;
   10294     esac
   10295 
   10296     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10297     postinstall_cmds='base_file=`basename \${file}`~
   10298       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10299       dldir=$destdir/`dirname \$dlpath`~
   10300       test -d \$dldir || mkdir -p \$dldir~
   10301       $install_prog $dir/$dlname \$dldir/$dlname'
   10302     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10303       dlpath=$dir/\$dldll~
   10304        $RM \$dlpath'
   10305     shlibpath_overrides_runpath=yes
   10306     dynamic_linker='Win32 link.exe'
   10307     ;;
   10308 
   10309   *)
   10310     # Assume MSVC wrapper
   10311     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10312     dynamic_linker='Win32 ld.exe'
   10313     ;;
   10314   esac
   10315   # FIXME: first we should search . and the directory the executable is in
   10316   shlibpath_var=PATH
   10317   ;;
   10318 
   10319 darwin* | rhapsody*)
   10320   dynamic_linker="$host_os dyld"
   10321   version_type=darwin
   10322   need_lib_prefix=no
   10323   need_version=no
   10324   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10325   soname_spec='${libname}${release}${major}$shared_ext'
   10326   shlibpath_overrides_runpath=yes
   10327   shlibpath_var=DYLD_LIBRARY_PATH
   10328   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10329 
   10330   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10331   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10332   ;;
   10333 
   10334 dgux*)
   10335   version_type=linux # correct to gnu/linux during the next big refactor
   10336   need_lib_prefix=no
   10337   need_version=no
   10338   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10339   soname_spec='${libname}${release}${shared_ext}$major'
   10340   shlibpath_var=LD_LIBRARY_PATH
   10341   ;;
   10342 
   10343 freebsd* | dragonfly*)
   10344   # DragonFly does not have aout.  When/if they implement a new
   10345   # versioning mechanism, adjust this.
   10346   if test -x /usr/bin/objformat; then
   10347     objformat=`/usr/bin/objformat`
   10348   else
   10349     case $host_os in
   10350     freebsd[23].*) objformat=aout ;;
   10351     *) objformat=elf ;;
   10352     esac
   10353   fi
   10354   version_type=freebsd-$objformat
   10355   case $version_type in
   10356     freebsd-elf*)
   10357       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10358       need_version=no
   10359       need_lib_prefix=no
   10360       ;;
   10361     freebsd-*)
   10362       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10363       need_version=yes
   10364       ;;
   10365   esac
   10366   shlibpath_var=LD_LIBRARY_PATH
   10367   case $host_os in
   10368   freebsd2.*)
   10369     shlibpath_overrides_runpath=yes
   10370     ;;
   10371   freebsd3.[01]* | freebsdelf3.[01]*)
   10372     shlibpath_overrides_runpath=yes
   10373     hardcode_into_libs=yes
   10374     ;;
   10375   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10376   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10377     shlibpath_overrides_runpath=no
   10378     hardcode_into_libs=yes
   10379     ;;
   10380   *) # from 4.6 on, and DragonFly
   10381     shlibpath_overrides_runpath=yes
   10382     hardcode_into_libs=yes
   10383     ;;
   10384   esac
   10385   ;;
   10386 
   10387 gnu*)
   10388   version_type=linux # correct to gnu/linux during the next big refactor
   10389   need_lib_prefix=no
   10390   need_version=no
   10391   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10392   soname_spec='${libname}${release}${shared_ext}$major'
   10393   shlibpath_var=LD_LIBRARY_PATH
   10394   shlibpath_overrides_runpath=no
   10395   hardcode_into_libs=yes
   10396   ;;
   10397 
   10398 haiku*)
   10399   version_type=linux # correct to gnu/linux during the next big refactor
   10400   need_lib_prefix=no
   10401   need_version=no
   10402   dynamic_linker="$host_os runtime_loader"
   10403   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10404   soname_spec='${libname}${release}${shared_ext}$major'
   10405   shlibpath_var=LIBRARY_PATH
   10406   shlibpath_overrides_runpath=yes
   10407   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10408   hardcode_into_libs=yes
   10409   ;;
   10410 
   10411 hpux9* | hpux10* | hpux11*)
   10412   # Give a soname corresponding to the major version so that dld.sl refuses to
   10413   # link against other versions.
   10414   version_type=sunos
   10415   need_lib_prefix=no
   10416   need_version=no
   10417   case $host_cpu in
   10418   ia64*)
   10419     shrext_cmds='.so'
   10420     hardcode_into_libs=yes
   10421     dynamic_linker="$host_os dld.so"
   10422     shlibpath_var=LD_LIBRARY_PATH
   10423     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10424     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10425     soname_spec='${libname}${release}${shared_ext}$major'
   10426     if test "X$HPUX_IA64_MODE" = X32; then
   10427       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10428     else
   10429       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10430     fi
   10431     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10432     ;;
   10433   hppa*64*)
   10434     shrext_cmds='.sl'
   10435     hardcode_into_libs=yes
   10436     dynamic_linker="$host_os dld.sl"
   10437     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10438     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10439     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10440     soname_spec='${libname}${release}${shared_ext}$major'
   10441     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10442     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10443     ;;
   10444   *)
   10445     shrext_cmds='.sl'
   10446     dynamic_linker="$host_os dld.sl"
   10447     shlibpath_var=SHLIB_PATH
   10448     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10449     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10450     soname_spec='${libname}${release}${shared_ext}$major'
   10451     ;;
   10452   esac
   10453   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10454   postinstall_cmds='chmod 555 $lib'
   10455   # or fails outright, so override atomically:
   10456   install_override_mode=555
   10457   ;;
   10458 
   10459 interix[3-9]*)
   10460   version_type=linux # correct to gnu/linux during the next big refactor
   10461   need_lib_prefix=no
   10462   need_version=no
   10463   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10464   soname_spec='${libname}${release}${shared_ext}$major'
   10465   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10466   shlibpath_var=LD_LIBRARY_PATH
   10467   shlibpath_overrides_runpath=no
   10468   hardcode_into_libs=yes
   10469   ;;
   10470 
   10471 irix5* | irix6* | nonstopux*)
   10472   case $host_os in
   10473     nonstopux*) version_type=nonstopux ;;
   10474     *)
   10475 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10476 		version_type=linux # correct to gnu/linux during the next big refactor
   10477 	else
   10478 		version_type=irix
   10479 	fi ;;
   10480   esac
   10481   need_lib_prefix=no
   10482   need_version=no
   10483   soname_spec='${libname}${release}${shared_ext}$major'
   10484   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10485   case $host_os in
   10486   irix5* | nonstopux*)
   10487     libsuff= shlibsuff=
   10488     ;;
   10489   *)
   10490     case $LD in # libtool.m4 will add one of these switches to LD
   10491     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10492       libsuff= shlibsuff= libmagic=32-bit;;
   10493     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10494       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10495     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10496       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10497     *) libsuff= shlibsuff= libmagic=never-match;;
   10498     esac
   10499     ;;
   10500   esac
   10501   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10502   shlibpath_overrides_runpath=no
   10503   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10504   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10505   hardcode_into_libs=yes
   10506   ;;
   10507 
   10508 # No shared lib support for Linux oldld, aout, or coff.
   10509 linux*oldld* | linux*aout* | linux*coff*)
   10510   dynamic_linker=no
   10511   ;;
   10512 
   10513 # This must be glibc/ELF.
   10514 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10515   version_type=linux # correct to gnu/linux during the next big refactor
   10516   need_lib_prefix=no
   10517   need_version=no
   10518   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10519   soname_spec='${libname}${release}${shared_ext}$major'
   10520   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10521   shlibpath_var=LD_LIBRARY_PATH
   10522   shlibpath_overrides_runpath=no
   10523 
   10524   # Some binutils ld are patched to set DT_RUNPATH
   10525   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10526   $as_echo_n "(cached) " >&6
   10527 else
   10528   lt_cv_shlibpath_overrides_runpath=no
   10529     save_LDFLAGS=$LDFLAGS
   10530     save_libdir=$libdir
   10531     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10532 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10533     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10534 /* end confdefs.h.  */
   10535 
   10536 int
   10537 main ()
   10538 {
   10539 
   10540   ;
   10541   return 0;
   10542 }
   10543 _ACEOF
   10544 if ac_fn_c_try_link "$LINENO"; then :
   10545   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10546   lt_cv_shlibpath_overrides_runpath=yes
   10547 fi
   10548 fi
   10549 rm -f core conftest.err conftest.$ac_objext \
   10550     conftest$ac_exeext conftest.$ac_ext
   10551     LDFLAGS=$save_LDFLAGS
   10552     libdir=$save_libdir
   10553 
   10554 fi
   10555 
   10556   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10557 
   10558   # This implies no fast_install, which is unacceptable.
   10559   # Some rework will be needed to allow for fast_install
   10560   # before this can be enabled.
   10561   hardcode_into_libs=yes
   10562 
   10563   # Append ld.so.conf contents to the search path
   10564   if test -f /etc/ld.so.conf; then
   10565     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' ' '`
   10566     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10567   fi
   10568 
   10569   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10570   # powerpc, because MkLinux only supported shared libraries with the
   10571   # GNU dynamic linker.  Since this was broken with cross compilers,
   10572   # most powerpc-linux boxes support dynamic linking these days and
   10573   # people can always --disable-shared, the test was removed, and we
   10574   # assume the GNU/Linux dynamic linker is in use.
   10575   dynamic_linker='GNU/Linux ld.so'
   10576   ;;
   10577 
   10578 netbsd*)
   10579   version_type=sunos
   10580   need_lib_prefix=no
   10581   need_version=no
   10582   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10583     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10584     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10585     dynamic_linker='NetBSD (a.out) ld.so'
   10586   else
   10587     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10588     soname_spec='${libname}${release}${shared_ext}$major'
   10589     dynamic_linker='NetBSD ld.elf_so'
   10590   fi
   10591   shlibpath_var=LD_LIBRARY_PATH
   10592   shlibpath_overrides_runpath=yes
   10593   hardcode_into_libs=yes
   10594   ;;
   10595 
   10596 newsos6)
   10597   version_type=linux # correct to gnu/linux during the next big refactor
   10598   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10599   shlibpath_var=LD_LIBRARY_PATH
   10600   shlibpath_overrides_runpath=yes
   10601   ;;
   10602 
   10603 *nto* | *qnx*)
   10604   version_type=qnx
   10605   need_lib_prefix=no
   10606   need_version=no
   10607   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10608   soname_spec='${libname}${release}${shared_ext}$major'
   10609   shlibpath_var=LD_LIBRARY_PATH
   10610   shlibpath_overrides_runpath=no
   10611   hardcode_into_libs=yes
   10612   dynamic_linker='ldqnx.so'
   10613   ;;
   10614 
   10615 openbsd*)
   10616   version_type=sunos
   10617   sys_lib_dlsearch_path_spec="/usr/lib"
   10618   need_lib_prefix=no
   10619   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10620   case $host_os in
   10621     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10622     *)				need_version=no  ;;
   10623   esac
   10624   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10625   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10626   shlibpath_var=LD_LIBRARY_PATH
   10627   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10628     case $host_os in
   10629       openbsd2.[89] | openbsd2.[89].*)
   10630 	shlibpath_overrides_runpath=no
   10631 	;;
   10632       *)
   10633 	shlibpath_overrides_runpath=yes
   10634 	;;
   10635       esac
   10636   else
   10637     shlibpath_overrides_runpath=yes
   10638   fi
   10639   ;;
   10640 
   10641 os2*)
   10642   libname_spec='$name'
   10643   shrext_cmds=".dll"
   10644   need_lib_prefix=no
   10645   library_names_spec='$libname${shared_ext} $libname.a'
   10646   dynamic_linker='OS/2 ld.exe'
   10647   shlibpath_var=LIBPATH
   10648   ;;
   10649 
   10650 osf3* | osf4* | osf5*)
   10651   version_type=osf
   10652   need_lib_prefix=no
   10653   need_version=no
   10654   soname_spec='${libname}${release}${shared_ext}$major'
   10655   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10656   shlibpath_var=LD_LIBRARY_PATH
   10657   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10658   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10659   ;;
   10660 
   10661 rdos*)
   10662   dynamic_linker=no
   10663   ;;
   10664 
   10665 solaris*)
   10666   version_type=linux # correct to gnu/linux during the next big refactor
   10667   need_lib_prefix=no
   10668   need_version=no
   10669   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10670   soname_spec='${libname}${release}${shared_ext}$major'
   10671   shlibpath_var=LD_LIBRARY_PATH
   10672   shlibpath_overrides_runpath=yes
   10673   hardcode_into_libs=yes
   10674   # ldd complains unless libraries are executable
   10675   postinstall_cmds='chmod +x $lib'
   10676   ;;
   10677 
   10678 sunos4*)
   10679   version_type=sunos
   10680   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10681   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10682   shlibpath_var=LD_LIBRARY_PATH
   10683   shlibpath_overrides_runpath=yes
   10684   if test "$with_gnu_ld" = yes; then
   10685     need_lib_prefix=no
   10686   fi
   10687   need_version=yes
   10688   ;;
   10689 
   10690 sysv4 | sysv4.3*)
   10691   version_type=linux # correct to gnu/linux during the next big refactor
   10692   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10693   soname_spec='${libname}${release}${shared_ext}$major'
   10694   shlibpath_var=LD_LIBRARY_PATH
   10695   case $host_vendor in
   10696     sni)
   10697       shlibpath_overrides_runpath=no
   10698       need_lib_prefix=no
   10699       runpath_var=LD_RUN_PATH
   10700       ;;
   10701     siemens)
   10702       need_lib_prefix=no
   10703       ;;
   10704     motorola)
   10705       need_lib_prefix=no
   10706       need_version=no
   10707       shlibpath_overrides_runpath=no
   10708       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10709       ;;
   10710   esac
   10711   ;;
   10712 
   10713 sysv4*MP*)
   10714   if test -d /usr/nec ;then
   10715     version_type=linux # correct to gnu/linux during the next big refactor
   10716     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10717     soname_spec='$libname${shared_ext}.$major'
   10718     shlibpath_var=LD_LIBRARY_PATH
   10719   fi
   10720   ;;
   10721 
   10722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10723   version_type=freebsd-elf
   10724   need_lib_prefix=no
   10725   need_version=no
   10726   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10727   soname_spec='${libname}${release}${shared_ext}$major'
   10728   shlibpath_var=LD_LIBRARY_PATH
   10729   shlibpath_overrides_runpath=yes
   10730   hardcode_into_libs=yes
   10731   if test "$with_gnu_ld" = yes; then
   10732     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10733   else
   10734     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10735     case $host_os in
   10736       sco3.2v5*)
   10737         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10738 	;;
   10739     esac
   10740   fi
   10741   sys_lib_dlsearch_path_spec='/usr/lib'
   10742   ;;
   10743 
   10744 tpf*)
   10745   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10746   version_type=linux # correct to gnu/linux during the next big refactor
   10747   need_lib_prefix=no
   10748   need_version=no
   10749   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10750   shlibpath_var=LD_LIBRARY_PATH
   10751   shlibpath_overrides_runpath=no
   10752   hardcode_into_libs=yes
   10753   ;;
   10754 
   10755 uts4*)
   10756   version_type=linux # correct to gnu/linux during the next big refactor
   10757   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10758   soname_spec='${libname}${release}${shared_ext}$major'
   10759   shlibpath_var=LD_LIBRARY_PATH
   10760   ;;
   10761 
   10762 *)
   10763   dynamic_linker=no
   10764   ;;
   10765 esac
   10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10767 $as_echo "$dynamic_linker" >&6; }
   10768 test "$dynamic_linker" = no && can_build_shared=no
   10769 
   10770 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10771 if test "$GCC" = yes; then
   10772   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10773 fi
   10774 
   10775 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10776   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10777 fi
   10778 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10779   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10780 fi
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 
   10800 
   10801 
   10802 
   10803 
   10804 
   10805 
   10806 
   10807 
   10808 
   10809 
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835 
   10836 
   10837 
   10838 
   10839 
   10840 
   10841 
   10842 
   10843 
   10844 
   10845 
   10846 
   10847 
   10848 
   10849 
   10850 
   10851 
   10852 
   10853 
   10854 
   10855 
   10856 
   10857 
   10858 
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10874 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10875 hardcode_action=
   10876 if test -n "$hardcode_libdir_flag_spec" ||
   10877    test -n "$runpath_var" ||
   10878    test "X$hardcode_automatic" = "Xyes" ; then
   10879 
   10880   # We can hardcode non-existent directories.
   10881   if test "$hardcode_direct" != no &&
   10882      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10883      # have to relink, otherwise we might link with an installed library
   10884      # when we should be linking with a yet-to-be-installed one
   10885      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10886      test "$hardcode_minus_L" != no; then
   10887     # Linking always hardcodes the temporary library directory.
   10888     hardcode_action=relink
   10889   else
   10890     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10891     hardcode_action=immediate
   10892   fi
   10893 else
   10894   # We cannot hardcode anything, or else we can only hardcode existing
   10895   # directories.
   10896   hardcode_action=unsupported
   10897 fi
   10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10899 $as_echo "$hardcode_action" >&6; }
   10900 
   10901 if test "$hardcode_action" = relink ||
   10902    test "$inherit_rpath" = yes; then
   10903   # Fast installation is not supported
   10904   enable_fast_install=no
   10905 elif test "$shlibpath_overrides_runpath" = yes ||
   10906      test "$enable_shared" = no; then
   10907   # Fast installation is not necessary
   10908   enable_fast_install=needless
   10909 fi
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916   if test "x$enable_dlopen" != xyes; then
   10917   enable_dlopen=unknown
   10918   enable_dlopen_self=unknown
   10919   enable_dlopen_self_static=unknown
   10920 else
   10921   lt_cv_dlopen=no
   10922   lt_cv_dlopen_libs=
   10923 
   10924   case $host_os in
   10925   beos*)
   10926     lt_cv_dlopen="load_add_on"
   10927     lt_cv_dlopen_libs=
   10928     lt_cv_dlopen_self=yes
   10929     ;;
   10930 
   10931   mingw* | pw32* | cegcc*)
   10932     lt_cv_dlopen="LoadLibrary"
   10933     lt_cv_dlopen_libs=
   10934     ;;
   10935 
   10936   cygwin*)
   10937     lt_cv_dlopen="dlopen"
   10938     lt_cv_dlopen_libs=
   10939     ;;
   10940 
   10941   darwin*)
   10942   # if libdl is installed we need to link against it
   10943     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10944 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10945 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10946   $as_echo_n "(cached) " >&6
   10947 else
   10948   ac_check_lib_save_LIBS=$LIBS
   10949 LIBS="-ldl  $LIBS"
   10950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10951 /* end confdefs.h.  */
   10952 
   10953 /* Override any GCC internal prototype to avoid an error.
   10954    Use char because int might match the return type of a GCC
   10955    builtin and then its argument prototype would still apply.  */
   10956 #ifdef __cplusplus
   10957 extern "C"
   10958 #endif
   10959 char dlopen ();
   10960 int
   10961 main ()
   10962 {
   10963 return dlopen ();
   10964   ;
   10965   return 0;
   10966 }
   10967 _ACEOF
   10968 if ac_fn_c_try_link "$LINENO"; then :
   10969   ac_cv_lib_dl_dlopen=yes
   10970 else
   10971   ac_cv_lib_dl_dlopen=no
   10972 fi
   10973 rm -f core conftest.err conftest.$ac_objext \
   10974     conftest$ac_exeext conftest.$ac_ext
   10975 LIBS=$ac_check_lib_save_LIBS
   10976 fi
   10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10978 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10979 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10980   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10981 else
   10982 
   10983     lt_cv_dlopen="dyld"
   10984     lt_cv_dlopen_libs=
   10985     lt_cv_dlopen_self=yes
   10986 
   10987 fi
   10988 
   10989     ;;
   10990 
   10991   *)
   10992     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10993 if test "x$ac_cv_func_shl_load" = xyes; then :
   10994   lt_cv_dlopen="shl_load"
   10995 else
   10996   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10997 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10998 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10999   $as_echo_n "(cached) " >&6
   11000 else
   11001   ac_check_lib_save_LIBS=$LIBS
   11002 LIBS="-ldld  $LIBS"
   11003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11004 /* end confdefs.h.  */
   11005 
   11006 /* Override any GCC internal prototype to avoid an error.
   11007    Use char because int might match the return type of a GCC
   11008    builtin and then its argument prototype would still apply.  */
   11009 #ifdef __cplusplus
   11010 extern "C"
   11011 #endif
   11012 char shl_load ();
   11013 int
   11014 main ()
   11015 {
   11016 return shl_load ();
   11017   ;
   11018   return 0;
   11019 }
   11020 _ACEOF
   11021 if ac_fn_c_try_link "$LINENO"; then :
   11022   ac_cv_lib_dld_shl_load=yes
   11023 else
   11024   ac_cv_lib_dld_shl_load=no
   11025 fi
   11026 rm -f core conftest.err conftest.$ac_objext \
   11027     conftest$ac_exeext conftest.$ac_ext
   11028 LIBS=$ac_check_lib_save_LIBS
   11029 fi
   11030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11031 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11032 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11033   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   11034 else
   11035   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11036 if test "x$ac_cv_func_dlopen" = xyes; then :
   11037   lt_cv_dlopen="dlopen"
   11038 else
   11039   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11040 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11041 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11042   $as_echo_n "(cached) " >&6
   11043 else
   11044   ac_check_lib_save_LIBS=$LIBS
   11045 LIBS="-ldl  $LIBS"
   11046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11047 /* end confdefs.h.  */
   11048 
   11049 /* Override any GCC internal prototype to avoid an error.
   11050    Use char because int might match the return type of a GCC
   11051    builtin and then its argument prototype would still apply.  */
   11052 #ifdef __cplusplus
   11053 extern "C"
   11054 #endif
   11055 char dlopen ();
   11056 int
   11057 main ()
   11058 {
   11059 return dlopen ();
   11060   ;
   11061   return 0;
   11062 }
   11063 _ACEOF
   11064 if ac_fn_c_try_link "$LINENO"; then :
   11065   ac_cv_lib_dl_dlopen=yes
   11066 else
   11067   ac_cv_lib_dl_dlopen=no
   11068 fi
   11069 rm -f core conftest.err conftest.$ac_objext \
   11070     conftest$ac_exeext conftest.$ac_ext
   11071 LIBS=$ac_check_lib_save_LIBS
   11072 fi
   11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11074 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11075 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11076   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   11077 else
   11078   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11079 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11080 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11081   $as_echo_n "(cached) " >&6
   11082 else
   11083   ac_check_lib_save_LIBS=$LIBS
   11084 LIBS="-lsvld  $LIBS"
   11085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11086 /* end confdefs.h.  */
   11087 
   11088 /* Override any GCC internal prototype to avoid an error.
   11089    Use char because int might match the return type of a GCC
   11090    builtin and then its argument prototype would still apply.  */
   11091 #ifdef __cplusplus
   11092 extern "C"
   11093 #endif
   11094 char dlopen ();
   11095 int
   11096 main ()
   11097 {
   11098 return dlopen ();
   11099   ;
   11100   return 0;
   11101 }
   11102 _ACEOF
   11103 if ac_fn_c_try_link "$LINENO"; then :
   11104   ac_cv_lib_svld_dlopen=yes
   11105 else
   11106   ac_cv_lib_svld_dlopen=no
   11107 fi
   11108 rm -f core conftest.err conftest.$ac_objext \
   11109     conftest$ac_exeext conftest.$ac_ext
   11110 LIBS=$ac_check_lib_save_LIBS
   11111 fi
   11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11113 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11114 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11115   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11116 else
   11117   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11118 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11119 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11120   $as_echo_n "(cached) " >&6
   11121 else
   11122   ac_check_lib_save_LIBS=$LIBS
   11123 LIBS="-ldld  $LIBS"
   11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11125 /* end confdefs.h.  */
   11126 
   11127 /* Override any GCC internal prototype to avoid an error.
   11128    Use char because int might match the return type of a GCC
   11129    builtin and then its argument prototype would still apply.  */
   11130 #ifdef __cplusplus
   11131 extern "C"
   11132 #endif
   11133 char dld_link ();
   11134 int
   11135 main ()
   11136 {
   11137 return dld_link ();
   11138   ;
   11139   return 0;
   11140 }
   11141 _ACEOF
   11142 if ac_fn_c_try_link "$LINENO"; then :
   11143   ac_cv_lib_dld_dld_link=yes
   11144 else
   11145   ac_cv_lib_dld_dld_link=no
   11146 fi
   11147 rm -f core conftest.err conftest.$ac_objext \
   11148     conftest$ac_exeext conftest.$ac_ext
   11149 LIBS=$ac_check_lib_save_LIBS
   11150 fi
   11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11152 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11153 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11154   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11155 fi
   11156 
   11157 
   11158 fi
   11159 
   11160 
   11161 fi
   11162 
   11163 
   11164 fi
   11165 
   11166 
   11167 fi
   11168 
   11169 
   11170 fi
   11171 
   11172     ;;
   11173   esac
   11174 
   11175   if test "x$lt_cv_dlopen" != xno; then
   11176     enable_dlopen=yes
   11177   else
   11178     enable_dlopen=no
   11179   fi
   11180 
   11181   case $lt_cv_dlopen in
   11182   dlopen)
   11183     save_CPPFLAGS="$CPPFLAGS"
   11184     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11185 
   11186     save_LDFLAGS="$LDFLAGS"
   11187     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11188 
   11189     save_LIBS="$LIBS"
   11190     LIBS="$lt_cv_dlopen_libs $LIBS"
   11191 
   11192     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11193 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11194 if ${lt_cv_dlopen_self+:} false; then :
   11195   $as_echo_n "(cached) " >&6
   11196 else
   11197   	  if test "$cross_compiling" = yes; then :
   11198   lt_cv_dlopen_self=cross
   11199 else
   11200   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11201   lt_status=$lt_dlunknown
   11202   cat > conftest.$ac_ext <<_LT_EOF
   11203 #line $LINENO "configure"
   11204 #include "confdefs.h"
   11205 
   11206 #if HAVE_DLFCN_H
   11207 #include <dlfcn.h>
   11208 #endif
   11209 
   11210 #include <stdio.h>
   11211 
   11212 #ifdef RTLD_GLOBAL
   11213 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11214 #else
   11215 #  ifdef DL_GLOBAL
   11216 #    define LT_DLGLOBAL		DL_GLOBAL
   11217 #  else
   11218 #    define LT_DLGLOBAL		0
   11219 #  endif
   11220 #endif
   11221 
   11222 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11223    find out it does not work in some platform. */
   11224 #ifndef LT_DLLAZY_OR_NOW
   11225 #  ifdef RTLD_LAZY
   11226 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11227 #  else
   11228 #    ifdef DL_LAZY
   11229 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11230 #    else
   11231 #      ifdef RTLD_NOW
   11232 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11233 #      else
   11234 #        ifdef DL_NOW
   11235 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11236 #        else
   11237 #          define LT_DLLAZY_OR_NOW	0
   11238 #        endif
   11239 #      endif
   11240 #    endif
   11241 #  endif
   11242 #endif
   11243 
   11244 /* When -fvisbility=hidden is used, assume the code has been annotated
   11245    correspondingly for the symbols needed.  */
   11246 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11247 int fnord () __attribute__((visibility("default")));
   11248 #endif
   11249 
   11250 int fnord () { return 42; }
   11251 int main ()
   11252 {
   11253   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11254   int status = $lt_dlunknown;
   11255 
   11256   if (self)
   11257     {
   11258       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11259       else
   11260         {
   11261 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11262           else puts (dlerror ());
   11263 	}
   11264       /* dlclose (self); */
   11265     }
   11266   else
   11267     puts (dlerror ());
   11268 
   11269   return status;
   11270 }
   11271 _LT_EOF
   11272   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11273   (eval $ac_link) 2>&5
   11274   ac_status=$?
   11275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11276   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11277     (./conftest; exit; ) >&5 2>/dev/null
   11278     lt_status=$?
   11279     case x$lt_status in
   11280       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11281       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11282       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11283     esac
   11284   else :
   11285     # compilation failed
   11286     lt_cv_dlopen_self=no
   11287   fi
   11288 fi
   11289 rm -fr conftest*
   11290 
   11291 
   11292 fi
   11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11294 $as_echo "$lt_cv_dlopen_self" >&6; }
   11295 
   11296     if test "x$lt_cv_dlopen_self" = xyes; then
   11297       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11298       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11299 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11300 if ${lt_cv_dlopen_self_static+:} false; then :
   11301   $as_echo_n "(cached) " >&6
   11302 else
   11303   	  if test "$cross_compiling" = yes; then :
   11304   lt_cv_dlopen_self_static=cross
   11305 else
   11306   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11307   lt_status=$lt_dlunknown
   11308   cat > conftest.$ac_ext <<_LT_EOF
   11309 #line $LINENO "configure"
   11310 #include "confdefs.h"
   11311 
   11312 #if HAVE_DLFCN_H
   11313 #include <dlfcn.h>
   11314 #endif
   11315 
   11316 #include <stdio.h>
   11317 
   11318 #ifdef RTLD_GLOBAL
   11319 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11320 #else
   11321 #  ifdef DL_GLOBAL
   11322 #    define LT_DLGLOBAL		DL_GLOBAL
   11323 #  else
   11324 #    define LT_DLGLOBAL		0
   11325 #  endif
   11326 #endif
   11327 
   11328 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11329    find out it does not work in some platform. */
   11330 #ifndef LT_DLLAZY_OR_NOW
   11331 #  ifdef RTLD_LAZY
   11332 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11333 #  else
   11334 #    ifdef DL_LAZY
   11335 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11336 #    else
   11337 #      ifdef RTLD_NOW
   11338 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11339 #      else
   11340 #        ifdef DL_NOW
   11341 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11342 #        else
   11343 #          define LT_DLLAZY_OR_NOW	0
   11344 #        endif
   11345 #      endif
   11346 #    endif
   11347 #  endif
   11348 #endif
   11349 
   11350 /* When -fvisbility=hidden is used, assume the code has been annotated
   11351    correspondingly for the symbols needed.  */
   11352 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11353 int fnord () __attribute__((visibility("default")));
   11354 #endif
   11355 
   11356 int fnord () { return 42; }
   11357 int main ()
   11358 {
   11359   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11360   int status = $lt_dlunknown;
   11361 
   11362   if (self)
   11363     {
   11364       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11365       else
   11366         {
   11367 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11368           else puts (dlerror ());
   11369 	}
   11370       /* dlclose (self); */
   11371     }
   11372   else
   11373     puts (dlerror ());
   11374 
   11375   return status;
   11376 }
   11377 _LT_EOF
   11378   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11379   (eval $ac_link) 2>&5
   11380   ac_status=$?
   11381   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11382   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11383     (./conftest; exit; ) >&5 2>/dev/null
   11384     lt_status=$?
   11385     case x$lt_status in
   11386       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11387       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11388       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11389     esac
   11390   else :
   11391     # compilation failed
   11392     lt_cv_dlopen_self_static=no
   11393   fi
   11394 fi
   11395 rm -fr conftest*
   11396 
   11397 
   11398 fi
   11399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11400 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11401     fi
   11402 
   11403     CPPFLAGS="$save_CPPFLAGS"
   11404     LDFLAGS="$save_LDFLAGS"
   11405     LIBS="$save_LIBS"
   11406     ;;
   11407   esac
   11408 
   11409   case $lt_cv_dlopen_self in
   11410   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11411   *) enable_dlopen_self=unknown ;;
   11412   esac
   11413 
   11414   case $lt_cv_dlopen_self_static in
   11415   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11416   *) enable_dlopen_self_static=unknown ;;
   11417   esac
   11418 fi
   11419 
   11420 
   11421 
   11422 
   11423 
   11424 
   11425 
   11426 
   11427 
   11428 
   11429 
   11430 
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 striplib=
   11437 old_striplib=
   11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11439 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11440 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11441   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11442   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11443   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11444 $as_echo "yes" >&6; }
   11445 else
   11446 # FIXME - insert some real tests, host_os isn't really good enough
   11447   case $host_os in
   11448   darwin*)
   11449     if test -n "$STRIP" ; then
   11450       striplib="$STRIP -x"
   11451       old_striplib="$STRIP -S"
   11452       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11453 $as_echo "yes" >&6; }
   11454     else
   11455       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11456 $as_echo "no" >&6; }
   11457     fi
   11458     ;;
   11459   *)
   11460     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11461 $as_echo "no" >&6; }
   11462     ;;
   11463   esac
   11464 fi
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477   # Report which library types will actually be built
   11478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11479 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11481 $as_echo "$can_build_shared" >&6; }
   11482 
   11483   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11484 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11485   test "$can_build_shared" = "no" && enable_shared=no
   11486 
   11487   # On AIX, shared libraries and static libraries use the same namespace, and
   11488   # are all built from PIC.
   11489   case $host_os in
   11490   aix3*)
   11491     test "$enable_shared" = yes && enable_static=no
   11492     if test -n "$RANLIB"; then
   11493       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11494       postinstall_cmds='$RANLIB $lib'
   11495     fi
   11496     ;;
   11497 
   11498   aix[4-9]*)
   11499     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11500       test "$enable_shared" = yes && enable_static=no
   11501     fi
   11502     ;;
   11503   esac
   11504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11505 $as_echo "$enable_shared" >&6; }
   11506 
   11507   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11508 $as_echo_n "checking whether to build static libraries... " >&6; }
   11509   # Make sure either enable_shared or enable_static is yes.
   11510   test "$enable_shared" = yes || enable_static=yes
   11511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11512 $as_echo "$enable_static" >&6; }
   11513 
   11514 
   11515 
   11516 
   11517 fi
   11518 ac_ext=c
   11519 ac_cpp='$CPP $CPPFLAGS'
   11520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11523 
   11524 CC="$lt_save_CC"
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 
   11540         ac_config_commands="$ac_config_commands libtool"
   11541 
   11542 
   11543 
   11544 
   11545 # Only expand once:
   11546 
   11547 
   11548 
   11549 # Require X.Org macros 1.13 or later for XORG_ENABLE_UNIT_TESTS
   11550 
   11551 
   11552 
   11553 
   11554 
   11555 
   11556 
   11557 
   11558 
   11559 
   11560 
   11561    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11562 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11563 if ${ac_cv_prog_cc_c99+:} false; then :
   11564   $as_echo_n "(cached) " >&6
   11565 else
   11566   ac_cv_prog_cc_c99=no
   11567 ac_save_CC=$CC
   11568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11569 /* end confdefs.h.  */
   11570 #include <stdarg.h>
   11571 #include <stdbool.h>
   11572 #include <stdlib.h>
   11573 #include <wchar.h>
   11574 #include <stdio.h>
   11575 
   11576 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11577 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11578 #define showlist(...) puts (#__VA_ARGS__)
   11579 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11580 static void
   11581 test_varargs_macros (void)
   11582 {
   11583   int x = 1234;
   11584   int y = 5678;
   11585   debug ("Flag");
   11586   debug ("X = %d\n", x);
   11587   showlist (The first, second, and third items.);
   11588   report (x>y, "x is %d but y is %d", x, y);
   11589 }
   11590 
   11591 // Check long long types.
   11592 #define BIG64 18446744073709551615ull
   11593 #define BIG32 4294967295ul
   11594 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11595 #if !BIG_OK
   11596   your preprocessor is broken;
   11597 #endif
   11598 #if BIG_OK
   11599 #else
   11600   your preprocessor is broken;
   11601 #endif
   11602 static long long int bignum = -9223372036854775807LL;
   11603 static unsigned long long int ubignum = BIG64;
   11604 
   11605 struct incomplete_array
   11606 {
   11607   int datasize;
   11608   double data[];
   11609 };
   11610 
   11611 struct named_init {
   11612   int number;
   11613   const wchar_t *name;
   11614   double average;
   11615 };
   11616 
   11617 typedef const char *ccp;
   11618 
   11619 static inline int
   11620 test_restrict (ccp restrict text)
   11621 {
   11622   // See if C++-style comments work.
   11623   // Iterate through items via the restricted pointer.
   11624   // Also check for declarations in for loops.
   11625   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11626     continue;
   11627   return 0;
   11628 }
   11629 
   11630 // Check varargs and va_copy.
   11631 static void
   11632 test_varargs (const char *format, ...)
   11633 {
   11634   va_list args;
   11635   va_start (args, format);
   11636   va_list args_copy;
   11637   va_copy (args_copy, args);
   11638 
   11639   const char *str;
   11640   int number;
   11641   float fnumber;
   11642 
   11643   while (*format)
   11644     {
   11645       switch (*format++)
   11646 	{
   11647 	case 's': // string
   11648 	  str = va_arg (args_copy, const char *);
   11649 	  break;
   11650 	case 'd': // int
   11651 	  number = va_arg (args_copy, int);
   11652 	  break;
   11653 	case 'f': // float
   11654 	  fnumber = va_arg (args_copy, double);
   11655 	  break;
   11656 	default:
   11657 	  break;
   11658 	}
   11659     }
   11660   va_end (args_copy);
   11661   va_end (args);
   11662 }
   11663 
   11664 int
   11665 main ()
   11666 {
   11667 
   11668   // Check bool.
   11669   _Bool success = false;
   11670 
   11671   // Check restrict.
   11672   if (test_restrict ("String literal") == 0)
   11673     success = true;
   11674   char *restrict newvar = "Another string";
   11675 
   11676   // Check varargs.
   11677   test_varargs ("s, d' f .", "string", 65, 34.234);
   11678   test_varargs_macros ();
   11679 
   11680   // Check flexible array members.
   11681   struct incomplete_array *ia =
   11682     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11683   ia->datasize = 10;
   11684   for (int i = 0; i < ia->datasize; ++i)
   11685     ia->data[i] = i * 1.234;
   11686 
   11687   // Check named initializers.
   11688   struct named_init ni = {
   11689     .number = 34,
   11690     .name = L"Test wide string",
   11691     .average = 543.34343,
   11692   };
   11693 
   11694   ni.number = 58;
   11695 
   11696   int dynamic_array[ni.number];
   11697   dynamic_array[ni.number - 1] = 543;
   11698 
   11699   // work around unused variable warnings
   11700   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11701 	  || dynamic_array[ni.number - 1] != 543);
   11702 
   11703   ;
   11704   return 0;
   11705 }
   11706 _ACEOF
   11707 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11708 do
   11709   CC="$ac_save_CC $ac_arg"
   11710   if ac_fn_c_try_compile "$LINENO"; then :
   11711   ac_cv_prog_cc_c99=$ac_arg
   11712 fi
   11713 rm -f core conftest.err conftest.$ac_objext
   11714   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11715 done
   11716 rm -f conftest.$ac_ext
   11717 CC=$ac_save_CC
   11718 
   11719 fi
   11720 # AC_CACHE_VAL
   11721 case "x$ac_cv_prog_cc_c99" in
   11722   x)
   11723     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11724 $as_echo "none needed" >&6; } ;;
   11725   xno)
   11726     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11727 $as_echo "unsupported" >&6; } ;;
   11728   *)
   11729     CC="$CC $ac_cv_prog_cc_c99"
   11730     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11731 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11732 esac
   11733 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11734 
   11735 fi
   11736 
   11737 
   11738 
   11739 
   11740 
   11741 
   11742 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11743 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11744   CLANGCC="yes"
   11745 else
   11746   CLANGCC="no"
   11747 fi
   11748 
   11749 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11750 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11751   INTELCC="yes"
   11752 else
   11753   INTELCC="no"
   11754 fi
   11755 
   11756 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11757 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11758   SUNCC="yes"
   11759 else
   11760   SUNCC="no"
   11761 fi
   11762 
   11763 
   11764 
   11765 
   11766 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11767 	if test -n "$ac_tool_prefix"; then
   11768   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11769 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11771 $as_echo_n "checking for $ac_word... " >&6; }
   11772 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11773   $as_echo_n "(cached) " >&6
   11774 else
   11775   case $PKG_CONFIG in
   11776   [\\/]* | ?:[\\/]*)
   11777   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11778   ;;
   11779   *)
   11780   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11781 for as_dir in $PATH
   11782 do
   11783   IFS=$as_save_IFS
   11784   test -z "$as_dir" && as_dir=.
   11785     for ac_exec_ext in '' $ac_executable_extensions; do
   11786   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11787     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11789     break 2
   11790   fi
   11791 done
   11792   done
   11793 IFS=$as_save_IFS
   11794 
   11795   ;;
   11796 esac
   11797 fi
   11798 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11799 if test -n "$PKG_CONFIG"; then
   11800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11801 $as_echo "$PKG_CONFIG" >&6; }
   11802 else
   11803   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11804 $as_echo "no" >&6; }
   11805 fi
   11806 
   11807 
   11808 fi
   11809 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11810   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11811   # Extract the first word of "pkg-config", so it can be a program name with args.
   11812 set dummy pkg-config; ac_word=$2
   11813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11814 $as_echo_n "checking for $ac_word... " >&6; }
   11815 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11816   $as_echo_n "(cached) " >&6
   11817 else
   11818   case $ac_pt_PKG_CONFIG in
   11819   [\\/]* | ?:[\\/]*)
   11820   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11821   ;;
   11822   *)
   11823   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11824 for as_dir in $PATH
   11825 do
   11826   IFS=$as_save_IFS
   11827   test -z "$as_dir" && as_dir=.
   11828     for ac_exec_ext in '' $ac_executable_extensions; do
   11829   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11830     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11831     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11832     break 2
   11833   fi
   11834 done
   11835   done
   11836 IFS=$as_save_IFS
   11837 
   11838   ;;
   11839 esac
   11840 fi
   11841 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11842 if test -n "$ac_pt_PKG_CONFIG"; then
   11843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11844 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11845 else
   11846   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11847 $as_echo "no" >&6; }
   11848 fi
   11849 
   11850   if test "x$ac_pt_PKG_CONFIG" = x; then
   11851     PKG_CONFIG=""
   11852   else
   11853     case $cross_compiling:$ac_tool_warned in
   11854 yes:)
   11855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11856 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11857 ac_tool_warned=yes ;;
   11858 esac
   11859     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11860   fi
   11861 else
   11862   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11863 fi
   11864 
   11865 fi
   11866 if test -n "$PKG_CONFIG"; then
   11867 	_pkg_min_version=0.9.0
   11868 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11869 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11870 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11872 $as_echo "yes" >&6; }
   11873 	else
   11874 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11875 $as_echo "no" >&6; }
   11876 		PKG_CONFIG=""
   11877 	fi
   11878 
   11879 fi
   11880 
   11881 
   11882 
   11883 
   11884 
   11885 # Check whether --enable-selective-werror was given.
   11886 if test "${enable_selective_werror+set}" = set; then :
   11887   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11888 else
   11889   SELECTIVE_WERROR=yes
   11890 fi
   11891 
   11892 
   11893 
   11894 
   11895 
   11896 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11897 if test "x$SUNCC" = "xyes"; then
   11898     BASE_CFLAGS="-v"
   11899 else
   11900     BASE_CFLAGS=""
   11901 fi
   11902 
   11903 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   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_unknown_warning_option" = "xyes" ; then
   11974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11975 		fi
   11976 
   11977 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11979 		fi
   11980 
   11981 		CFLAGS="$CFLAGS -Wall"
   11982 
   11983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11984 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11985 		cacheid=xorg_cv_cc_flag__Wall
   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 -Wall"
   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_unknown_warning_option" = "xyes" ; then
   12092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12093 		fi
   12094 
   12095 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12097 		fi
   12098 
   12099 		CFLAGS="$CFLAGS -Wpointer-arith"
   12100 
   12101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12102 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12103 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   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 -Wpointer-arith"
   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_unknown_warning_option" = "xyes" ; then
   12210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12211 		fi
   12212 
   12213 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12215 		fi
   12216 
   12217 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12218 
   12219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12220 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12221 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   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 -Wmissing-declarations"
   12253 			found="yes"
   12254 		fi
   12255 	fi
   12256 
   12257 
   12258 
   12259 
   12260 
   12261 
   12262 
   12263 
   12264 
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 xorg_testset_save_CFLAGS="$CFLAGS"
   12272 
   12273 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12274 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12276 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12277 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12278   $as_echo_n "(cached) " >&6
   12279 else
   12280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12281 /* end confdefs.h.  */
   12282 int i;
   12283 _ACEOF
   12284 if ac_fn_c_try_compile "$LINENO"; then :
   12285   xorg_cv_cc_flag_unknown_warning_option=yes
   12286 else
   12287   xorg_cv_cc_flag_unknown_warning_option=no
   12288 fi
   12289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12290 fi
   12291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12292 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12293 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12294 	CFLAGS="$xorg_testset_save_CFLAGS"
   12295 fi
   12296 
   12297 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12298 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12299 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12300 	fi
   12301 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12302 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12303 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12304 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12305   $as_echo_n "(cached) " >&6
   12306 else
   12307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12308 /* end confdefs.h.  */
   12309 int i;
   12310 _ACEOF
   12311 if ac_fn_c_try_compile "$LINENO"; then :
   12312   xorg_cv_cc_flag_unused_command_line_argument=yes
   12313 else
   12314   xorg_cv_cc_flag_unused_command_line_argument=no
   12315 fi
   12316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12317 fi
   12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12319 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12320 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12321 	CFLAGS="$xorg_testset_save_CFLAGS"
   12322 fi
   12323 
   12324 found="no"
   12325 
   12326 	if test $found = "no" ; then
   12327 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12328 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12329 		fi
   12330 
   12331 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12332 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12333 		fi
   12334 
   12335 		CFLAGS="$CFLAGS -Wformat=2"
   12336 
   12337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12338 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12339 		cacheid=`$as_echo "xorg_cv_cc_flag_-Wformat=2" | $as_tr_sh`
   12340 		if eval \${$cacheid+:} false; then :
   12341   $as_echo_n "(cached) " >&6
   12342 else
   12343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12344 /* end confdefs.h.  */
   12345 int i;
   12346 int
   12347 main ()
   12348 {
   12349 
   12350   ;
   12351   return 0;
   12352 }
   12353 _ACEOF
   12354 if ac_fn_c_try_link "$LINENO"; then :
   12355   eval $cacheid=yes
   12356 else
   12357   eval $cacheid=no
   12358 fi
   12359 rm -f core conftest.err conftest.$ac_objext \
   12360     conftest$ac_exeext conftest.$ac_ext
   12361 fi
   12362 
   12363 
   12364 		CFLAGS="$xorg_testset_save_CFLAGS"
   12365 
   12366 		eval supported=\$$cacheid
   12367 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12368 $as_echo "$supported" >&6; }
   12369 		if test "$supported" = "yes" ; then
   12370 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12371 			found="yes"
   12372 		fi
   12373 	fi
   12374 
   12375 	if test $found = "no" ; then
   12376 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12378 		fi
   12379 
   12380 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12382 		fi
   12383 
   12384 		CFLAGS="$CFLAGS -Wformat"
   12385 
   12386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12387 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12388 		cacheid=xorg_cv_cc_flag__Wformat
   12389 		if eval \${$cacheid+:} false; then :
   12390   $as_echo_n "(cached) " >&6
   12391 else
   12392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12393 /* end confdefs.h.  */
   12394 int i;
   12395 int
   12396 main ()
   12397 {
   12398 
   12399   ;
   12400   return 0;
   12401 }
   12402 _ACEOF
   12403 if ac_fn_c_try_link "$LINENO"; then :
   12404   eval $cacheid=yes
   12405 else
   12406   eval $cacheid=no
   12407 fi
   12408 rm -f core conftest.err conftest.$ac_objext \
   12409     conftest$ac_exeext conftest.$ac_ext
   12410 fi
   12411 
   12412 
   12413 		CFLAGS="$xorg_testset_save_CFLAGS"
   12414 
   12415 		eval supported=\$$cacheid
   12416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12417 $as_echo "$supported" >&6; }
   12418 		if test "$supported" = "yes" ; then
   12419 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12420 			found="yes"
   12421 		fi
   12422 	fi
   12423 
   12424 
   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_unknown_warning_option" = "xyes" ; then
   12497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12498 		fi
   12499 
   12500 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12502 		fi
   12503 
   12504 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12505 
   12506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12507 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12508 		cacheid=xorg_cv_cc_flag__Wstrict_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 -Wstrict-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_unknown_warning_option" = "xyes" ; then
   12615 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12616 		fi
   12617 
   12618 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12619 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12620 		fi
   12621 
   12622 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12623 
   12624 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12625 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12626 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   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 -Wmissing-prototypes"
   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_unknown_warning_option" = "xyes" ; then
   12733 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12734 		fi
   12735 
   12736 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12737 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12738 		fi
   12739 
   12740 		CFLAGS="$CFLAGS -Wnested-externs"
   12741 
   12742 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12743 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12744 		cacheid=xorg_cv_cc_flag__Wnested_externs
   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 -Wnested-externs"
   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_unknown_warning_option" = "xyes" ; then
   12851 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12852 		fi
   12853 
   12854 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12855 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12856 		fi
   12857 
   12858 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12859 
   12860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12861 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12862 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   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 -Wbad-function-cast"
   12894 			found="yes"
   12895 		fi
   12896 	fi
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 xorg_testset_save_CFLAGS="$CFLAGS"
   12913 
   12914 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12915 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12917 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12918 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12919   $as_echo_n "(cached) " >&6
   12920 else
   12921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12922 /* end confdefs.h.  */
   12923 int i;
   12924 _ACEOF
   12925 if ac_fn_c_try_compile "$LINENO"; then :
   12926   xorg_cv_cc_flag_unknown_warning_option=yes
   12927 else
   12928   xorg_cv_cc_flag_unknown_warning_option=no
   12929 fi
   12930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12931 fi
   12932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12933 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12934 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12935 	CFLAGS="$xorg_testset_save_CFLAGS"
   12936 fi
   12937 
   12938 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12939 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12940 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12941 	fi
   12942 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12943 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12944 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12945 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12946   $as_echo_n "(cached) " >&6
   12947 else
   12948   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12949 /* end confdefs.h.  */
   12950 int i;
   12951 _ACEOF
   12952 if ac_fn_c_try_compile "$LINENO"; then :
   12953   xorg_cv_cc_flag_unused_command_line_argument=yes
   12954 else
   12955   xorg_cv_cc_flag_unused_command_line_argument=no
   12956 fi
   12957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12958 fi
   12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12960 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12961 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12962 	CFLAGS="$xorg_testset_save_CFLAGS"
   12963 fi
   12964 
   12965 found="no"
   12966 
   12967 	if test $found = "no" ; then
   12968 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12969 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12970 		fi
   12971 
   12972 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12973 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12974 		fi
   12975 
   12976 		CFLAGS="$CFLAGS -Wold-style-definition"
   12977 
   12978 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12979 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12980 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12981 		if eval \${$cacheid+:} false; then :
   12982   $as_echo_n "(cached) " >&6
   12983 else
   12984   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12985 /* end confdefs.h.  */
   12986 int i;
   12987 int
   12988 main ()
   12989 {
   12990 
   12991   ;
   12992   return 0;
   12993 }
   12994 _ACEOF
   12995 if ac_fn_c_try_link "$LINENO"; then :
   12996   eval $cacheid=yes
   12997 else
   12998   eval $cacheid=no
   12999 fi
   13000 rm -f core conftest.err conftest.$ac_objext \
   13001     conftest$ac_exeext conftest.$ac_ext
   13002 fi
   13003 
   13004 
   13005 		CFLAGS="$xorg_testset_save_CFLAGS"
   13006 
   13007 		eval supported=\$$cacheid
   13008 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13009 $as_echo "$supported" >&6; }
   13010 		if test "$supported" = "yes" ; then
   13011 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13012 			found="yes"
   13013 		fi
   13014 	fi
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 xorg_testset_save_CFLAGS="$CFLAGS"
   13031 
   13032 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13035 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13036 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13037   $as_echo_n "(cached) " >&6
   13038 else
   13039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13040 /* end confdefs.h.  */
   13041 int i;
   13042 _ACEOF
   13043 if ac_fn_c_try_compile "$LINENO"; then :
   13044   xorg_cv_cc_flag_unknown_warning_option=yes
   13045 else
   13046   xorg_cv_cc_flag_unknown_warning_option=no
   13047 fi
   13048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13049 fi
   13050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13051 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13052 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13053 	CFLAGS="$xorg_testset_save_CFLAGS"
   13054 fi
   13055 
   13056 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13057 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13058 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13059 	fi
   13060 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13061 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13062 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13063 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13064   $as_echo_n "(cached) " >&6
   13065 else
   13066   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13067 /* end confdefs.h.  */
   13068 int i;
   13069 _ACEOF
   13070 if ac_fn_c_try_compile "$LINENO"; then :
   13071   xorg_cv_cc_flag_unused_command_line_argument=yes
   13072 else
   13073   xorg_cv_cc_flag_unused_command_line_argument=no
   13074 fi
   13075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13076 fi
   13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13078 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13079 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13080 	CFLAGS="$xorg_testset_save_CFLAGS"
   13081 fi
   13082 
   13083 found="no"
   13084 
   13085 	if test $found = "no" ; then
   13086 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13087 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13088 		fi
   13089 
   13090 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13091 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13092 		fi
   13093 
   13094 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13095 
   13096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13097 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13098 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13099 		if eval \${$cacheid+:} false; then :
   13100   $as_echo_n "(cached) " >&6
   13101 else
   13102   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13103 /* end confdefs.h.  */
   13104 int i;
   13105 int
   13106 main ()
   13107 {
   13108 
   13109   ;
   13110   return 0;
   13111 }
   13112 _ACEOF
   13113 if ac_fn_c_try_link "$LINENO"; then :
   13114   eval $cacheid=yes
   13115 else
   13116   eval $cacheid=no
   13117 fi
   13118 rm -f core conftest.err conftest.$ac_objext \
   13119     conftest$ac_exeext conftest.$ac_ext
   13120 fi
   13121 
   13122 
   13123 		CFLAGS="$xorg_testset_save_CFLAGS"
   13124 
   13125 		eval supported=\$$cacheid
   13126 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13127 $as_echo "$supported" >&6; }
   13128 		if test "$supported" = "yes" ; then
   13129 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13130 			found="yes"
   13131 		fi
   13132 	fi
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 # This chunk adds additional warnings that could catch undesired effects.
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 xorg_testset_save_CFLAGS="$CFLAGS"
   13153 
   13154 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13155 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13156 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13157 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13158 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13159   $as_echo_n "(cached) " >&6
   13160 else
   13161   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13162 /* end confdefs.h.  */
   13163 int i;
   13164 _ACEOF
   13165 if ac_fn_c_try_compile "$LINENO"; then :
   13166   xorg_cv_cc_flag_unknown_warning_option=yes
   13167 else
   13168   xorg_cv_cc_flag_unknown_warning_option=no
   13169 fi
   13170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13171 fi
   13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13173 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13174 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13175 	CFLAGS="$xorg_testset_save_CFLAGS"
   13176 fi
   13177 
   13178 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13179 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13180 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13181 	fi
   13182 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13183 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13184 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13185 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13186   $as_echo_n "(cached) " >&6
   13187 else
   13188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13189 /* end confdefs.h.  */
   13190 int i;
   13191 _ACEOF
   13192 if ac_fn_c_try_compile "$LINENO"; then :
   13193   xorg_cv_cc_flag_unused_command_line_argument=yes
   13194 else
   13195   xorg_cv_cc_flag_unused_command_line_argument=no
   13196 fi
   13197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13198 fi
   13199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13200 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13201 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13202 	CFLAGS="$xorg_testset_save_CFLAGS"
   13203 fi
   13204 
   13205 found="no"
   13206 
   13207 	if test $found = "no" ; then
   13208 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13209 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13210 		fi
   13211 
   13212 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13213 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13214 		fi
   13215 
   13216 		CFLAGS="$CFLAGS -Wunused"
   13217 
   13218 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13219 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13220 		cacheid=xorg_cv_cc_flag__Wunused
   13221 		if eval \${$cacheid+:} false; then :
   13222   $as_echo_n "(cached) " >&6
   13223 else
   13224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13225 /* end confdefs.h.  */
   13226 int i;
   13227 int
   13228 main ()
   13229 {
   13230 
   13231   ;
   13232   return 0;
   13233 }
   13234 _ACEOF
   13235 if ac_fn_c_try_link "$LINENO"; then :
   13236   eval $cacheid=yes
   13237 else
   13238   eval $cacheid=no
   13239 fi
   13240 rm -f core conftest.err conftest.$ac_objext \
   13241     conftest$ac_exeext conftest.$ac_ext
   13242 fi
   13243 
   13244 
   13245 		CFLAGS="$xorg_testset_save_CFLAGS"
   13246 
   13247 		eval supported=\$$cacheid
   13248 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13249 $as_echo "$supported" >&6; }
   13250 		if test "$supported" = "yes" ; then
   13251 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13252 			found="yes"
   13253 		fi
   13254 	fi
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 xorg_testset_save_CFLAGS="$CFLAGS"
   13271 
   13272 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13273 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13275 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13276 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13277   $as_echo_n "(cached) " >&6
   13278 else
   13279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13280 /* end confdefs.h.  */
   13281 int i;
   13282 _ACEOF
   13283 if ac_fn_c_try_compile "$LINENO"; then :
   13284   xorg_cv_cc_flag_unknown_warning_option=yes
   13285 else
   13286   xorg_cv_cc_flag_unknown_warning_option=no
   13287 fi
   13288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13289 fi
   13290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13291 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13292 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13293 	CFLAGS="$xorg_testset_save_CFLAGS"
   13294 fi
   13295 
   13296 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13297 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13298 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13299 	fi
   13300 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13302 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13303 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13304   $as_echo_n "(cached) " >&6
   13305 else
   13306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13307 /* end confdefs.h.  */
   13308 int i;
   13309 _ACEOF
   13310 if ac_fn_c_try_compile "$LINENO"; then :
   13311   xorg_cv_cc_flag_unused_command_line_argument=yes
   13312 else
   13313   xorg_cv_cc_flag_unused_command_line_argument=no
   13314 fi
   13315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13316 fi
   13317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13318 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13319 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13320 	CFLAGS="$xorg_testset_save_CFLAGS"
   13321 fi
   13322 
   13323 found="no"
   13324 
   13325 	if test $found = "no" ; then
   13326 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13327 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13328 		fi
   13329 
   13330 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13331 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13332 		fi
   13333 
   13334 		CFLAGS="$CFLAGS -Wuninitialized"
   13335 
   13336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13337 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13338 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13339 		if eval \${$cacheid+:} false; then :
   13340   $as_echo_n "(cached) " >&6
   13341 else
   13342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13343 /* end confdefs.h.  */
   13344 int i;
   13345 int
   13346 main ()
   13347 {
   13348 
   13349   ;
   13350   return 0;
   13351 }
   13352 _ACEOF
   13353 if ac_fn_c_try_link "$LINENO"; then :
   13354   eval $cacheid=yes
   13355 else
   13356   eval $cacheid=no
   13357 fi
   13358 rm -f core conftest.err conftest.$ac_objext \
   13359     conftest$ac_exeext conftest.$ac_ext
   13360 fi
   13361 
   13362 
   13363 		CFLAGS="$xorg_testset_save_CFLAGS"
   13364 
   13365 		eval supported=\$$cacheid
   13366 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13367 $as_echo "$supported" >&6; }
   13368 		if test "$supported" = "yes" ; then
   13369 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13370 			found="yes"
   13371 		fi
   13372 	fi
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 xorg_testset_save_CFLAGS="$CFLAGS"
   13389 
   13390 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13391 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13392 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13393 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13394 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13395   $as_echo_n "(cached) " >&6
   13396 else
   13397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13398 /* end confdefs.h.  */
   13399 int i;
   13400 _ACEOF
   13401 if ac_fn_c_try_compile "$LINENO"; then :
   13402   xorg_cv_cc_flag_unknown_warning_option=yes
   13403 else
   13404   xorg_cv_cc_flag_unknown_warning_option=no
   13405 fi
   13406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13407 fi
   13408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13409 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13410 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13411 	CFLAGS="$xorg_testset_save_CFLAGS"
   13412 fi
   13413 
   13414 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13415 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13416 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13417 	fi
   13418 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13420 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13421 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13422   $as_echo_n "(cached) " >&6
   13423 else
   13424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13425 /* end confdefs.h.  */
   13426 int i;
   13427 _ACEOF
   13428 if ac_fn_c_try_compile "$LINENO"; then :
   13429   xorg_cv_cc_flag_unused_command_line_argument=yes
   13430 else
   13431   xorg_cv_cc_flag_unused_command_line_argument=no
   13432 fi
   13433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13434 fi
   13435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13436 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13437 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13438 	CFLAGS="$xorg_testset_save_CFLAGS"
   13439 fi
   13440 
   13441 found="no"
   13442 
   13443 	if test $found = "no" ; then
   13444 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13445 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13446 		fi
   13447 
   13448 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13449 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13450 		fi
   13451 
   13452 		CFLAGS="$CFLAGS -Wshadow"
   13453 
   13454 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13455 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13456 		cacheid=xorg_cv_cc_flag__Wshadow
   13457 		if eval \${$cacheid+:} false; then :
   13458   $as_echo_n "(cached) " >&6
   13459 else
   13460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13461 /* end confdefs.h.  */
   13462 int i;
   13463 int
   13464 main ()
   13465 {
   13466 
   13467   ;
   13468   return 0;
   13469 }
   13470 _ACEOF
   13471 if ac_fn_c_try_link "$LINENO"; then :
   13472   eval $cacheid=yes
   13473 else
   13474   eval $cacheid=no
   13475 fi
   13476 rm -f core conftest.err conftest.$ac_objext \
   13477     conftest$ac_exeext conftest.$ac_ext
   13478 fi
   13479 
   13480 
   13481 		CFLAGS="$xorg_testset_save_CFLAGS"
   13482 
   13483 		eval supported=\$$cacheid
   13484 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13485 $as_echo "$supported" >&6; }
   13486 		if test "$supported" = "yes" ; then
   13487 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13488 			found="yes"
   13489 		fi
   13490 	fi
   13491 
   13492 
   13493 
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 xorg_testset_save_CFLAGS="$CFLAGS"
   13507 
   13508 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13509 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13510 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13511 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13512 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13513   $as_echo_n "(cached) " >&6
   13514 else
   13515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13516 /* end confdefs.h.  */
   13517 int i;
   13518 _ACEOF
   13519 if ac_fn_c_try_compile "$LINENO"; then :
   13520   xorg_cv_cc_flag_unknown_warning_option=yes
   13521 else
   13522   xorg_cv_cc_flag_unknown_warning_option=no
   13523 fi
   13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13525 fi
   13526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13527 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13528 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13529 	CFLAGS="$xorg_testset_save_CFLAGS"
   13530 fi
   13531 
   13532 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13533 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13534 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13535 	fi
   13536 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13537 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13538 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13539 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13540   $as_echo_n "(cached) " >&6
   13541 else
   13542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13543 /* end confdefs.h.  */
   13544 int i;
   13545 _ACEOF
   13546 if ac_fn_c_try_compile "$LINENO"; then :
   13547   xorg_cv_cc_flag_unused_command_line_argument=yes
   13548 else
   13549   xorg_cv_cc_flag_unused_command_line_argument=no
   13550 fi
   13551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13552 fi
   13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13554 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13555 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13556 	CFLAGS="$xorg_testset_save_CFLAGS"
   13557 fi
   13558 
   13559 found="no"
   13560 
   13561 	if test $found = "no" ; then
   13562 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13563 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13564 		fi
   13565 
   13566 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13567 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13568 		fi
   13569 
   13570 		CFLAGS="$CFLAGS -Wcast-qual"
   13571 
   13572 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13573 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13574 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13575 		if eval \${$cacheid+:} false; then :
   13576   $as_echo_n "(cached) " >&6
   13577 else
   13578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13579 /* end confdefs.h.  */
   13580 int i;
   13581 int
   13582 main ()
   13583 {
   13584 
   13585   ;
   13586   return 0;
   13587 }
   13588 _ACEOF
   13589 if ac_fn_c_try_link "$LINENO"; then :
   13590   eval $cacheid=yes
   13591 else
   13592   eval $cacheid=no
   13593 fi
   13594 rm -f core conftest.err conftest.$ac_objext \
   13595     conftest$ac_exeext conftest.$ac_ext
   13596 fi
   13597 
   13598 
   13599 		CFLAGS="$xorg_testset_save_CFLAGS"
   13600 
   13601 		eval supported=\$$cacheid
   13602 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13603 $as_echo "$supported" >&6; }
   13604 		if test "$supported" = "yes" ; then
   13605 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13606 			found="yes"
   13607 		fi
   13608 	fi
   13609 
   13610 
   13611 
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 
   13624 xorg_testset_save_CFLAGS="$CFLAGS"
   13625 
   13626 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13627 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13628 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13629 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13630 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13631   $as_echo_n "(cached) " >&6
   13632 else
   13633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13634 /* end confdefs.h.  */
   13635 int i;
   13636 _ACEOF
   13637 if ac_fn_c_try_compile "$LINENO"; then :
   13638   xorg_cv_cc_flag_unknown_warning_option=yes
   13639 else
   13640   xorg_cv_cc_flag_unknown_warning_option=no
   13641 fi
   13642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13643 fi
   13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13645 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13646 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13647 	CFLAGS="$xorg_testset_save_CFLAGS"
   13648 fi
   13649 
   13650 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13651 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13652 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13653 	fi
   13654 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13655 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13656 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13657 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13658   $as_echo_n "(cached) " >&6
   13659 else
   13660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13661 /* end confdefs.h.  */
   13662 int i;
   13663 _ACEOF
   13664 if ac_fn_c_try_compile "$LINENO"; then :
   13665   xorg_cv_cc_flag_unused_command_line_argument=yes
   13666 else
   13667   xorg_cv_cc_flag_unused_command_line_argument=no
   13668 fi
   13669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13670 fi
   13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13672 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13673 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13674 	CFLAGS="$xorg_testset_save_CFLAGS"
   13675 fi
   13676 
   13677 found="no"
   13678 
   13679 	if test $found = "no" ; then
   13680 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13681 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13682 		fi
   13683 
   13684 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13685 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13686 		fi
   13687 
   13688 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13689 
   13690 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13691 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13692 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13693 		if eval \${$cacheid+:} false; then :
   13694   $as_echo_n "(cached) " >&6
   13695 else
   13696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13697 /* end confdefs.h.  */
   13698 int i;
   13699 int
   13700 main ()
   13701 {
   13702 
   13703   ;
   13704   return 0;
   13705 }
   13706 _ACEOF
   13707 if ac_fn_c_try_link "$LINENO"; then :
   13708   eval $cacheid=yes
   13709 else
   13710   eval $cacheid=no
   13711 fi
   13712 rm -f core conftest.err conftest.$ac_objext \
   13713     conftest$ac_exeext conftest.$ac_ext
   13714 fi
   13715 
   13716 
   13717 		CFLAGS="$xorg_testset_save_CFLAGS"
   13718 
   13719 		eval supported=\$$cacheid
   13720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13721 $as_echo "$supported" >&6; }
   13722 		if test "$supported" = "yes" ; then
   13723 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13724 			found="yes"
   13725 		fi
   13726 	fi
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 
   13739 
   13740 
   13741 
   13742 xorg_testset_save_CFLAGS="$CFLAGS"
   13743 
   13744 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13745 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13746 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13747 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13748 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13749   $as_echo_n "(cached) " >&6
   13750 else
   13751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13752 /* end confdefs.h.  */
   13753 int i;
   13754 _ACEOF
   13755 if ac_fn_c_try_compile "$LINENO"; then :
   13756   xorg_cv_cc_flag_unknown_warning_option=yes
   13757 else
   13758   xorg_cv_cc_flag_unknown_warning_option=no
   13759 fi
   13760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13761 fi
   13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13763 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13764 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13765 	CFLAGS="$xorg_testset_save_CFLAGS"
   13766 fi
   13767 
   13768 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13769 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13770 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13771 	fi
   13772 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13773 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13774 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13775 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13776   $as_echo_n "(cached) " >&6
   13777 else
   13778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13779 /* end confdefs.h.  */
   13780 int i;
   13781 _ACEOF
   13782 if ac_fn_c_try_compile "$LINENO"; then :
   13783   xorg_cv_cc_flag_unused_command_line_argument=yes
   13784 else
   13785   xorg_cv_cc_flag_unused_command_line_argument=no
   13786 fi
   13787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13788 fi
   13789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13790 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13791 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13792 	CFLAGS="$xorg_testset_save_CFLAGS"
   13793 fi
   13794 
   13795 found="no"
   13796 
   13797 	if test $found = "no" ; then
   13798 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13799 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13800 		fi
   13801 
   13802 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13803 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13804 		fi
   13805 
   13806 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13807 
   13808 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13809 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13810 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13811 		if eval \${$cacheid+:} false; then :
   13812   $as_echo_n "(cached) " >&6
   13813 else
   13814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13815 /* end confdefs.h.  */
   13816 int i;
   13817 int
   13818 main ()
   13819 {
   13820 
   13821   ;
   13822   return 0;
   13823 }
   13824 _ACEOF
   13825 if ac_fn_c_try_link "$LINENO"; then :
   13826   eval $cacheid=yes
   13827 else
   13828   eval $cacheid=no
   13829 fi
   13830 rm -f core conftest.err conftest.$ac_objext \
   13831     conftest$ac_exeext conftest.$ac_ext
   13832 fi
   13833 
   13834 
   13835 		CFLAGS="$xorg_testset_save_CFLAGS"
   13836 
   13837 		eval supported=\$$cacheid
   13838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13839 $as_echo "$supported" >&6; }
   13840 		if test "$supported" = "yes" ; then
   13841 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13842 			found="yes"
   13843 		fi
   13844 	fi
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 
   13860 xorg_testset_save_CFLAGS="$CFLAGS"
   13861 
   13862 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13865 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13866 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13867   $as_echo_n "(cached) " >&6
   13868 else
   13869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13870 /* end confdefs.h.  */
   13871 int i;
   13872 _ACEOF
   13873 if ac_fn_c_try_compile "$LINENO"; then :
   13874   xorg_cv_cc_flag_unknown_warning_option=yes
   13875 else
   13876   xorg_cv_cc_flag_unknown_warning_option=no
   13877 fi
   13878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13879 fi
   13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13881 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13882 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13883 	CFLAGS="$xorg_testset_save_CFLAGS"
   13884 fi
   13885 
   13886 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13887 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13889 	fi
   13890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13892 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13893 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13894   $as_echo_n "(cached) " >&6
   13895 else
   13896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13897 /* end confdefs.h.  */
   13898 int i;
   13899 _ACEOF
   13900 if ac_fn_c_try_compile "$LINENO"; then :
   13901   xorg_cv_cc_flag_unused_command_line_argument=yes
   13902 else
   13903   xorg_cv_cc_flag_unused_command_line_argument=no
   13904 fi
   13905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13906 fi
   13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13908 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13909 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13910 	CFLAGS="$xorg_testset_save_CFLAGS"
   13911 fi
   13912 
   13913 found="no"
   13914 
   13915 	if test $found = "no" ; then
   13916 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13918 		fi
   13919 
   13920 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13922 		fi
   13923 
   13924 		CFLAGS="$CFLAGS -Wredundant-decls"
   13925 
   13926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13927 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13928 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13929 		if eval \${$cacheid+:} false; then :
   13930   $as_echo_n "(cached) " >&6
   13931 else
   13932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13933 /* end confdefs.h.  */
   13934 int i;
   13935 int
   13936 main ()
   13937 {
   13938 
   13939   ;
   13940   return 0;
   13941 }
   13942 _ACEOF
   13943 if ac_fn_c_try_link "$LINENO"; then :
   13944   eval $cacheid=yes
   13945 else
   13946   eval $cacheid=no
   13947 fi
   13948 rm -f core conftest.err conftest.$ac_objext \
   13949     conftest$ac_exeext conftest.$ac_ext
   13950 fi
   13951 
   13952 
   13953 		CFLAGS="$xorg_testset_save_CFLAGS"
   13954 
   13955 		eval supported=\$$cacheid
   13956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13957 $as_echo "$supported" >&6; }
   13958 		if test "$supported" = "yes" ; then
   13959 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13960 			found="yes"
   13961 		fi
   13962 	fi
   13963 
   13964 
   13965 
   13966 # These are currently disabled because they are noisy.  They will be enabled
   13967 # in the future once the codebase is sufficiently modernized to silence
   13968 # them.  For now, I don't want them to drown out the other warnings.
   13969 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13970 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13971 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13972 
   13973 # Turn some warnings into errors, so we don't accidently get successful builds
   13974 # when there are problems that should be fixed.
   13975 
   13976 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13977 
   13978 
   13979 
   13980 
   13981 
   13982 
   13983 
   13984 
   13985 
   13986 
   13987 
   13988 
   13989 
   13990 xorg_testset_save_CFLAGS="$CFLAGS"
   13991 
   13992 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13993 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13995 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13996 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13997   $as_echo_n "(cached) " >&6
   13998 else
   13999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14000 /* end confdefs.h.  */
   14001 int i;
   14002 _ACEOF
   14003 if ac_fn_c_try_compile "$LINENO"; then :
   14004   xorg_cv_cc_flag_unknown_warning_option=yes
   14005 else
   14006   xorg_cv_cc_flag_unknown_warning_option=no
   14007 fi
   14008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14009 fi
   14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14011 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14012 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14013 	CFLAGS="$xorg_testset_save_CFLAGS"
   14014 fi
   14015 
   14016 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14017 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14018 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14019 	fi
   14020 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14021 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14022 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14023 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14024   $as_echo_n "(cached) " >&6
   14025 else
   14026   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14027 /* end confdefs.h.  */
   14028 int i;
   14029 _ACEOF
   14030 if ac_fn_c_try_compile "$LINENO"; then :
   14031   xorg_cv_cc_flag_unused_command_line_argument=yes
   14032 else
   14033   xorg_cv_cc_flag_unused_command_line_argument=no
   14034 fi
   14035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14036 fi
   14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14038 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14039 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14040 	CFLAGS="$xorg_testset_save_CFLAGS"
   14041 fi
   14042 
   14043 found="no"
   14044 
   14045 	if test $found = "no" ; then
   14046 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14047 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14048 		fi
   14049 
   14050 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14051 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14052 		fi
   14053 
   14054 		CFLAGS="$CFLAGS -Werror=implicit"
   14055 
   14056 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14057 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14058 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=implicit" | $as_tr_sh`
   14059 		if eval \${$cacheid+:} false; then :
   14060   $as_echo_n "(cached) " >&6
   14061 else
   14062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14063 /* end confdefs.h.  */
   14064 int i;
   14065 int
   14066 main ()
   14067 {
   14068 
   14069   ;
   14070   return 0;
   14071 }
   14072 _ACEOF
   14073 if ac_fn_c_try_link "$LINENO"; then :
   14074   eval $cacheid=yes
   14075 else
   14076   eval $cacheid=no
   14077 fi
   14078 rm -f core conftest.err conftest.$ac_objext \
   14079     conftest$ac_exeext conftest.$ac_ext
   14080 fi
   14081 
   14082 
   14083 		CFLAGS="$xorg_testset_save_CFLAGS"
   14084 
   14085 		eval supported=\$$cacheid
   14086 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14087 $as_echo "$supported" >&6; }
   14088 		if test "$supported" = "yes" ; then
   14089 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14090 			found="yes"
   14091 		fi
   14092 	fi
   14093 
   14094 	if test $found = "no" ; then
   14095 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14097 		fi
   14098 
   14099 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14101 		fi
   14102 
   14103 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14104 
   14105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14106 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14107 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" | $as_tr_sh`
   14108 		if eval \${$cacheid+:} false; then :
   14109   $as_echo_n "(cached) " >&6
   14110 else
   14111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14112 /* end confdefs.h.  */
   14113 int i;
   14114 int
   14115 main ()
   14116 {
   14117 
   14118   ;
   14119   return 0;
   14120 }
   14121 _ACEOF
   14122 if ac_fn_c_try_link "$LINENO"; then :
   14123   eval $cacheid=yes
   14124 else
   14125   eval $cacheid=no
   14126 fi
   14127 rm -f core conftest.err conftest.$ac_objext \
   14128     conftest$ac_exeext conftest.$ac_ext
   14129 fi
   14130 
   14131 
   14132 		CFLAGS="$xorg_testset_save_CFLAGS"
   14133 
   14134 		eval supported=\$$cacheid
   14135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14136 $as_echo "$supported" >&6; }
   14137 		if test "$supported" = "yes" ; then
   14138 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14139 			found="yes"
   14140 		fi
   14141 	fi
   14142 
   14143 
   14144 
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 xorg_testset_save_CFLAGS="$CFLAGS"
   14158 
   14159 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14160 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14161 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14162 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14163 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14164   $as_echo_n "(cached) " >&6
   14165 else
   14166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14167 /* end confdefs.h.  */
   14168 int i;
   14169 _ACEOF
   14170 if ac_fn_c_try_compile "$LINENO"; then :
   14171   xorg_cv_cc_flag_unknown_warning_option=yes
   14172 else
   14173   xorg_cv_cc_flag_unknown_warning_option=no
   14174 fi
   14175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14176 fi
   14177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14178 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14179 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14180 	CFLAGS="$xorg_testset_save_CFLAGS"
   14181 fi
   14182 
   14183 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14184 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14185 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14186 	fi
   14187 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14188 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14189 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14190 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14191   $as_echo_n "(cached) " >&6
   14192 else
   14193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14194 /* end confdefs.h.  */
   14195 int i;
   14196 _ACEOF
   14197 if ac_fn_c_try_compile "$LINENO"; then :
   14198   xorg_cv_cc_flag_unused_command_line_argument=yes
   14199 else
   14200   xorg_cv_cc_flag_unused_command_line_argument=no
   14201 fi
   14202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14203 fi
   14204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14205 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14206 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14207 	CFLAGS="$xorg_testset_save_CFLAGS"
   14208 fi
   14209 
   14210 found="no"
   14211 
   14212 	if test $found = "no" ; then
   14213 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14214 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14215 		fi
   14216 
   14217 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14218 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14219 		fi
   14220 
   14221 		CFLAGS="$CFLAGS -Werror=nonnull"
   14222 
   14223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14224 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14225 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=nonnull" | $as_tr_sh`
   14226 		if eval \${$cacheid+:} false; then :
   14227   $as_echo_n "(cached) " >&6
   14228 else
   14229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14230 /* end confdefs.h.  */
   14231 int i;
   14232 int
   14233 main ()
   14234 {
   14235 
   14236   ;
   14237   return 0;
   14238 }
   14239 _ACEOF
   14240 if ac_fn_c_try_link "$LINENO"; then :
   14241   eval $cacheid=yes
   14242 else
   14243   eval $cacheid=no
   14244 fi
   14245 rm -f core conftest.err conftest.$ac_objext \
   14246     conftest$ac_exeext conftest.$ac_ext
   14247 fi
   14248 
   14249 
   14250 		CFLAGS="$xorg_testset_save_CFLAGS"
   14251 
   14252 		eval supported=\$$cacheid
   14253 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14254 $as_echo "$supported" >&6; }
   14255 		if test "$supported" = "yes" ; then
   14256 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14257 			found="yes"
   14258 		fi
   14259 	fi
   14260 
   14261 
   14262 
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 xorg_testset_save_CFLAGS="$CFLAGS"
   14276 
   14277 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14278 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14279 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14280 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14281 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14282   $as_echo_n "(cached) " >&6
   14283 else
   14284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14285 /* end confdefs.h.  */
   14286 int i;
   14287 _ACEOF
   14288 if ac_fn_c_try_compile "$LINENO"; then :
   14289   xorg_cv_cc_flag_unknown_warning_option=yes
   14290 else
   14291   xorg_cv_cc_flag_unknown_warning_option=no
   14292 fi
   14293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14294 fi
   14295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14296 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14297 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14298 	CFLAGS="$xorg_testset_save_CFLAGS"
   14299 fi
   14300 
   14301 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14302 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14303 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14304 	fi
   14305 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14306 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14307 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14308 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14309   $as_echo_n "(cached) " >&6
   14310 else
   14311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14312 /* end confdefs.h.  */
   14313 int i;
   14314 _ACEOF
   14315 if ac_fn_c_try_compile "$LINENO"; then :
   14316   xorg_cv_cc_flag_unused_command_line_argument=yes
   14317 else
   14318   xorg_cv_cc_flag_unused_command_line_argument=no
   14319 fi
   14320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14321 fi
   14322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14323 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14324 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14325 	CFLAGS="$xorg_testset_save_CFLAGS"
   14326 fi
   14327 
   14328 found="no"
   14329 
   14330 	if test $found = "no" ; then
   14331 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14332 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14333 		fi
   14334 
   14335 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14336 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14337 		fi
   14338 
   14339 		CFLAGS="$CFLAGS -Werror=init-self"
   14340 
   14341 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14342 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14343 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=init-self" | $as_tr_sh`
   14344 		if eval \${$cacheid+:} false; then :
   14345   $as_echo_n "(cached) " >&6
   14346 else
   14347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14348 /* end confdefs.h.  */
   14349 int i;
   14350 int
   14351 main ()
   14352 {
   14353 
   14354   ;
   14355   return 0;
   14356 }
   14357 _ACEOF
   14358 if ac_fn_c_try_link "$LINENO"; then :
   14359   eval $cacheid=yes
   14360 else
   14361   eval $cacheid=no
   14362 fi
   14363 rm -f core conftest.err conftest.$ac_objext \
   14364     conftest$ac_exeext conftest.$ac_ext
   14365 fi
   14366 
   14367 
   14368 		CFLAGS="$xorg_testset_save_CFLAGS"
   14369 
   14370 		eval supported=\$$cacheid
   14371 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14372 $as_echo "$supported" >&6; }
   14373 		if test "$supported" = "yes" ; then
   14374 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14375 			found="yes"
   14376 		fi
   14377 	fi
   14378 
   14379 
   14380 
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 xorg_testset_save_CFLAGS="$CFLAGS"
   14394 
   14395 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14396 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14397 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14398 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14399 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14400   $as_echo_n "(cached) " >&6
   14401 else
   14402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14403 /* end confdefs.h.  */
   14404 int i;
   14405 _ACEOF
   14406 if ac_fn_c_try_compile "$LINENO"; then :
   14407   xorg_cv_cc_flag_unknown_warning_option=yes
   14408 else
   14409   xorg_cv_cc_flag_unknown_warning_option=no
   14410 fi
   14411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14412 fi
   14413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14414 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14415 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14416 	CFLAGS="$xorg_testset_save_CFLAGS"
   14417 fi
   14418 
   14419 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14420 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14421 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14422 	fi
   14423 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14424 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14425 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14426 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14427   $as_echo_n "(cached) " >&6
   14428 else
   14429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14430 /* end confdefs.h.  */
   14431 int i;
   14432 _ACEOF
   14433 if ac_fn_c_try_compile "$LINENO"; then :
   14434   xorg_cv_cc_flag_unused_command_line_argument=yes
   14435 else
   14436   xorg_cv_cc_flag_unused_command_line_argument=no
   14437 fi
   14438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14439 fi
   14440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14441 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14442 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14443 	CFLAGS="$xorg_testset_save_CFLAGS"
   14444 fi
   14445 
   14446 found="no"
   14447 
   14448 	if test $found = "no" ; then
   14449 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14450 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14451 		fi
   14452 
   14453 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14454 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14455 		fi
   14456 
   14457 		CFLAGS="$CFLAGS -Werror=main"
   14458 
   14459 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14460 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14461 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=main" | $as_tr_sh`
   14462 		if eval \${$cacheid+:} false; then :
   14463   $as_echo_n "(cached) " >&6
   14464 else
   14465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14466 /* end confdefs.h.  */
   14467 int i;
   14468 int
   14469 main ()
   14470 {
   14471 
   14472   ;
   14473   return 0;
   14474 }
   14475 _ACEOF
   14476 if ac_fn_c_try_link "$LINENO"; then :
   14477   eval $cacheid=yes
   14478 else
   14479   eval $cacheid=no
   14480 fi
   14481 rm -f core conftest.err conftest.$ac_objext \
   14482     conftest$ac_exeext conftest.$ac_ext
   14483 fi
   14484 
   14485 
   14486 		CFLAGS="$xorg_testset_save_CFLAGS"
   14487 
   14488 		eval supported=\$$cacheid
   14489 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14490 $as_echo "$supported" >&6; }
   14491 		if test "$supported" = "yes" ; then
   14492 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14493 			found="yes"
   14494 		fi
   14495 	fi
   14496 
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 
   14510 
   14511 xorg_testset_save_CFLAGS="$CFLAGS"
   14512 
   14513 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14514 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14515 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14516 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14517 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14518   $as_echo_n "(cached) " >&6
   14519 else
   14520   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14521 /* end confdefs.h.  */
   14522 int i;
   14523 _ACEOF
   14524 if ac_fn_c_try_compile "$LINENO"; then :
   14525   xorg_cv_cc_flag_unknown_warning_option=yes
   14526 else
   14527   xorg_cv_cc_flag_unknown_warning_option=no
   14528 fi
   14529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14530 fi
   14531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14532 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14533 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14534 	CFLAGS="$xorg_testset_save_CFLAGS"
   14535 fi
   14536 
   14537 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14538 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14539 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14540 	fi
   14541 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14542 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14543 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14544 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14545   $as_echo_n "(cached) " >&6
   14546 else
   14547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14548 /* end confdefs.h.  */
   14549 int i;
   14550 _ACEOF
   14551 if ac_fn_c_try_compile "$LINENO"; then :
   14552   xorg_cv_cc_flag_unused_command_line_argument=yes
   14553 else
   14554   xorg_cv_cc_flag_unused_command_line_argument=no
   14555 fi
   14556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14557 fi
   14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14559 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14560 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14561 	CFLAGS="$xorg_testset_save_CFLAGS"
   14562 fi
   14563 
   14564 found="no"
   14565 
   14566 	if test $found = "no" ; then
   14567 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14568 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14569 		fi
   14570 
   14571 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14572 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14573 		fi
   14574 
   14575 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14576 
   14577 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14578 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14579 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=missing-braces" | $as_tr_sh`
   14580 		if eval \${$cacheid+:} false; then :
   14581   $as_echo_n "(cached) " >&6
   14582 else
   14583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14584 /* end confdefs.h.  */
   14585 int i;
   14586 int
   14587 main ()
   14588 {
   14589 
   14590   ;
   14591   return 0;
   14592 }
   14593 _ACEOF
   14594 if ac_fn_c_try_link "$LINENO"; then :
   14595   eval $cacheid=yes
   14596 else
   14597   eval $cacheid=no
   14598 fi
   14599 rm -f core conftest.err conftest.$ac_objext \
   14600     conftest$ac_exeext conftest.$ac_ext
   14601 fi
   14602 
   14603 
   14604 		CFLAGS="$xorg_testset_save_CFLAGS"
   14605 
   14606 		eval supported=\$$cacheid
   14607 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14608 $as_echo "$supported" >&6; }
   14609 		if test "$supported" = "yes" ; then
   14610 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14611 			found="yes"
   14612 		fi
   14613 	fi
   14614 
   14615 
   14616 
   14617 
   14618 
   14619 
   14620 
   14621 
   14622 
   14623 
   14624 
   14625 
   14626 
   14627 
   14628 
   14629 xorg_testset_save_CFLAGS="$CFLAGS"
   14630 
   14631 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14632 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14633 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14634 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14635 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14636   $as_echo_n "(cached) " >&6
   14637 else
   14638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14639 /* end confdefs.h.  */
   14640 int i;
   14641 _ACEOF
   14642 if ac_fn_c_try_compile "$LINENO"; then :
   14643   xorg_cv_cc_flag_unknown_warning_option=yes
   14644 else
   14645   xorg_cv_cc_flag_unknown_warning_option=no
   14646 fi
   14647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14648 fi
   14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14650 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14651 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14652 	CFLAGS="$xorg_testset_save_CFLAGS"
   14653 fi
   14654 
   14655 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14656 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14657 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14658 	fi
   14659 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14660 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14661 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14662 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14663   $as_echo_n "(cached) " >&6
   14664 else
   14665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14666 /* end confdefs.h.  */
   14667 int i;
   14668 _ACEOF
   14669 if ac_fn_c_try_compile "$LINENO"; then :
   14670   xorg_cv_cc_flag_unused_command_line_argument=yes
   14671 else
   14672   xorg_cv_cc_flag_unused_command_line_argument=no
   14673 fi
   14674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14675 fi
   14676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14677 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14678 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14679 	CFLAGS="$xorg_testset_save_CFLAGS"
   14680 fi
   14681 
   14682 found="no"
   14683 
   14684 	if test $found = "no" ; then
   14685 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14686 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14687 		fi
   14688 
   14689 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14690 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14691 		fi
   14692 
   14693 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14694 
   14695 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14696 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14697 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=sequence-point" | $as_tr_sh`
   14698 		if eval \${$cacheid+:} false; then :
   14699   $as_echo_n "(cached) " >&6
   14700 else
   14701   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14702 /* end confdefs.h.  */
   14703 int i;
   14704 int
   14705 main ()
   14706 {
   14707 
   14708   ;
   14709   return 0;
   14710 }
   14711 _ACEOF
   14712 if ac_fn_c_try_link "$LINENO"; then :
   14713   eval $cacheid=yes
   14714 else
   14715   eval $cacheid=no
   14716 fi
   14717 rm -f core conftest.err conftest.$ac_objext \
   14718     conftest$ac_exeext conftest.$ac_ext
   14719 fi
   14720 
   14721 
   14722 		CFLAGS="$xorg_testset_save_CFLAGS"
   14723 
   14724 		eval supported=\$$cacheid
   14725 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14726 $as_echo "$supported" >&6; }
   14727 		if test "$supported" = "yes" ; then
   14728 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14729 			found="yes"
   14730 		fi
   14731 	fi
   14732 
   14733 
   14734 
   14735 
   14736 
   14737 
   14738 
   14739 
   14740 
   14741 
   14742 
   14743 
   14744 
   14745 
   14746 
   14747 xorg_testset_save_CFLAGS="$CFLAGS"
   14748 
   14749 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14750 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14751 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14752 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14753 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14754   $as_echo_n "(cached) " >&6
   14755 else
   14756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14757 /* end confdefs.h.  */
   14758 int i;
   14759 _ACEOF
   14760 if ac_fn_c_try_compile "$LINENO"; then :
   14761   xorg_cv_cc_flag_unknown_warning_option=yes
   14762 else
   14763   xorg_cv_cc_flag_unknown_warning_option=no
   14764 fi
   14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14766 fi
   14767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14768 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14769 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14770 	CFLAGS="$xorg_testset_save_CFLAGS"
   14771 fi
   14772 
   14773 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14774 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14775 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14776 	fi
   14777 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14778 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14779 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14780 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14781   $as_echo_n "(cached) " >&6
   14782 else
   14783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14784 /* end confdefs.h.  */
   14785 int i;
   14786 _ACEOF
   14787 if ac_fn_c_try_compile "$LINENO"; then :
   14788   xorg_cv_cc_flag_unused_command_line_argument=yes
   14789 else
   14790   xorg_cv_cc_flag_unused_command_line_argument=no
   14791 fi
   14792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14793 fi
   14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14795 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14796 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14797 	CFLAGS="$xorg_testset_save_CFLAGS"
   14798 fi
   14799 
   14800 found="no"
   14801 
   14802 	if test $found = "no" ; then
   14803 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14804 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14805 		fi
   14806 
   14807 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14808 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14809 		fi
   14810 
   14811 		CFLAGS="$CFLAGS -Werror=return-type"
   14812 
   14813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14814 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14815 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=return-type" | $as_tr_sh`
   14816 		if eval \${$cacheid+:} false; then :
   14817   $as_echo_n "(cached) " >&6
   14818 else
   14819   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14820 /* end confdefs.h.  */
   14821 int i;
   14822 int
   14823 main ()
   14824 {
   14825 
   14826   ;
   14827   return 0;
   14828 }
   14829 _ACEOF
   14830 if ac_fn_c_try_link "$LINENO"; then :
   14831   eval $cacheid=yes
   14832 else
   14833   eval $cacheid=no
   14834 fi
   14835 rm -f core conftest.err conftest.$ac_objext \
   14836     conftest$ac_exeext conftest.$ac_ext
   14837 fi
   14838 
   14839 
   14840 		CFLAGS="$xorg_testset_save_CFLAGS"
   14841 
   14842 		eval supported=\$$cacheid
   14843 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14844 $as_echo "$supported" >&6; }
   14845 		if test "$supported" = "yes" ; then
   14846 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14847 			found="yes"
   14848 		fi
   14849 	fi
   14850 
   14851 	if test $found = "no" ; then
   14852 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14854 		fi
   14855 
   14856 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14858 		fi
   14859 
   14860 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14861 
   14862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14863 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14864 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT" | $as_tr_sh`
   14865 		if eval \${$cacheid+:} false; then :
   14866   $as_echo_n "(cached) " >&6
   14867 else
   14868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14869 /* end confdefs.h.  */
   14870 int i;
   14871 int
   14872 main ()
   14873 {
   14874 
   14875   ;
   14876   return 0;
   14877 }
   14878 _ACEOF
   14879 if ac_fn_c_try_link "$LINENO"; then :
   14880   eval $cacheid=yes
   14881 else
   14882   eval $cacheid=no
   14883 fi
   14884 rm -f core conftest.err conftest.$ac_objext \
   14885     conftest$ac_exeext conftest.$ac_ext
   14886 fi
   14887 
   14888 
   14889 		CFLAGS="$xorg_testset_save_CFLAGS"
   14890 
   14891 		eval supported=\$$cacheid
   14892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14893 $as_echo "$supported" >&6; }
   14894 		if test "$supported" = "yes" ; then
   14895 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14896 			found="yes"
   14897 		fi
   14898 	fi
   14899 
   14900 
   14901 
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 xorg_testset_save_CFLAGS="$CFLAGS"
   14915 
   14916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14919 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14920 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14921   $as_echo_n "(cached) " >&6
   14922 else
   14923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14924 /* end confdefs.h.  */
   14925 int i;
   14926 _ACEOF
   14927 if ac_fn_c_try_compile "$LINENO"; then :
   14928   xorg_cv_cc_flag_unknown_warning_option=yes
   14929 else
   14930   xorg_cv_cc_flag_unknown_warning_option=no
   14931 fi
   14932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14933 fi
   14934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14935 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14937 	CFLAGS="$xorg_testset_save_CFLAGS"
   14938 fi
   14939 
   14940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14943 	fi
   14944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14946 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14947 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14948   $as_echo_n "(cached) " >&6
   14949 else
   14950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14951 /* end confdefs.h.  */
   14952 int i;
   14953 _ACEOF
   14954 if ac_fn_c_try_compile "$LINENO"; then :
   14955   xorg_cv_cc_flag_unused_command_line_argument=yes
   14956 else
   14957   xorg_cv_cc_flag_unused_command_line_argument=no
   14958 fi
   14959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14960 fi
   14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14962 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14964 	CFLAGS="$xorg_testset_save_CFLAGS"
   14965 fi
   14966 
   14967 found="no"
   14968 
   14969 	if test $found = "no" ; then
   14970 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14972 		fi
   14973 
   14974 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14976 		fi
   14977 
   14978 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14979 
   14980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14981 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14982 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=trigraphs" | $as_tr_sh`
   14983 		if eval \${$cacheid+:} false; then :
   14984   $as_echo_n "(cached) " >&6
   14985 else
   14986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14987 /* end confdefs.h.  */
   14988 int i;
   14989 int
   14990 main ()
   14991 {
   14992 
   14993   ;
   14994   return 0;
   14995 }
   14996 _ACEOF
   14997 if ac_fn_c_try_link "$LINENO"; then :
   14998   eval $cacheid=yes
   14999 else
   15000   eval $cacheid=no
   15001 fi
   15002 rm -f core conftest.err conftest.$ac_objext \
   15003     conftest$ac_exeext conftest.$ac_ext
   15004 fi
   15005 
   15006 
   15007 		CFLAGS="$xorg_testset_save_CFLAGS"
   15008 
   15009 		eval supported=\$$cacheid
   15010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15011 $as_echo "$supported" >&6; }
   15012 		if test "$supported" = "yes" ; then
   15013 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15014 			found="yes"
   15015 		fi
   15016 	fi
   15017 
   15018 
   15019 
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 xorg_testset_save_CFLAGS="$CFLAGS"
   15033 
   15034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15039   $as_echo_n "(cached) " >&6
   15040 else
   15041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15042 /* end confdefs.h.  */
   15043 int i;
   15044 _ACEOF
   15045 if ac_fn_c_try_compile "$LINENO"; then :
   15046   xorg_cv_cc_flag_unknown_warning_option=yes
   15047 else
   15048   xorg_cv_cc_flag_unknown_warning_option=no
   15049 fi
   15050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15051 fi
   15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15055 	CFLAGS="$xorg_testset_save_CFLAGS"
   15056 fi
   15057 
   15058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15061 	fi
   15062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15066   $as_echo_n "(cached) " >&6
   15067 else
   15068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15069 /* end confdefs.h.  */
   15070 int i;
   15071 _ACEOF
   15072 if ac_fn_c_try_compile "$LINENO"; then :
   15073   xorg_cv_cc_flag_unused_command_line_argument=yes
   15074 else
   15075   xorg_cv_cc_flag_unused_command_line_argument=no
   15076 fi
   15077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15078 fi
   15079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15082 	CFLAGS="$xorg_testset_save_CFLAGS"
   15083 fi
   15084 
   15085 found="no"
   15086 
   15087 	if test $found = "no" ; then
   15088 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15090 		fi
   15091 
   15092 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15094 		fi
   15095 
   15096 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15097 
   15098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15099 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15100 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=array-bounds" | $as_tr_sh`
   15101 		if eval \${$cacheid+:} false; then :
   15102   $as_echo_n "(cached) " >&6
   15103 else
   15104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15105 /* end confdefs.h.  */
   15106 int i;
   15107 int
   15108 main ()
   15109 {
   15110 
   15111   ;
   15112   return 0;
   15113 }
   15114 _ACEOF
   15115 if ac_fn_c_try_link "$LINENO"; then :
   15116   eval $cacheid=yes
   15117 else
   15118   eval $cacheid=no
   15119 fi
   15120 rm -f core conftest.err conftest.$ac_objext \
   15121     conftest$ac_exeext conftest.$ac_ext
   15122 fi
   15123 
   15124 
   15125 		CFLAGS="$xorg_testset_save_CFLAGS"
   15126 
   15127 		eval supported=\$$cacheid
   15128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15129 $as_echo "$supported" >&6; }
   15130 		if test "$supported" = "yes" ; then
   15131 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15132 			found="yes"
   15133 		fi
   15134 	fi
   15135 
   15136 
   15137 
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 xorg_testset_save_CFLAGS="$CFLAGS"
   15151 
   15152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15155 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15156 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15157   $as_echo_n "(cached) " >&6
   15158 else
   15159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15160 /* end confdefs.h.  */
   15161 int i;
   15162 _ACEOF
   15163 if ac_fn_c_try_compile "$LINENO"; then :
   15164   xorg_cv_cc_flag_unknown_warning_option=yes
   15165 else
   15166   xorg_cv_cc_flag_unknown_warning_option=no
   15167 fi
   15168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15169 fi
   15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15171 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15173 	CFLAGS="$xorg_testset_save_CFLAGS"
   15174 fi
   15175 
   15176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15179 	fi
   15180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15182 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15183 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15184   $as_echo_n "(cached) " >&6
   15185 else
   15186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15187 /* end confdefs.h.  */
   15188 int i;
   15189 _ACEOF
   15190 if ac_fn_c_try_compile "$LINENO"; then :
   15191   xorg_cv_cc_flag_unused_command_line_argument=yes
   15192 else
   15193   xorg_cv_cc_flag_unused_command_line_argument=no
   15194 fi
   15195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15196 fi
   15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15198 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15200 	CFLAGS="$xorg_testset_save_CFLAGS"
   15201 fi
   15202 
   15203 found="no"
   15204 
   15205 	if test $found = "no" ; then
   15206 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15208 		fi
   15209 
   15210 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15212 		fi
   15213 
   15214 		CFLAGS="$CFLAGS -Werror=write-strings"
   15215 
   15216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15217 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15218 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=write-strings" | $as_tr_sh`
   15219 		if eval \${$cacheid+:} false; then :
   15220   $as_echo_n "(cached) " >&6
   15221 else
   15222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15223 /* end confdefs.h.  */
   15224 int i;
   15225 int
   15226 main ()
   15227 {
   15228 
   15229   ;
   15230   return 0;
   15231 }
   15232 _ACEOF
   15233 if ac_fn_c_try_link "$LINENO"; then :
   15234   eval $cacheid=yes
   15235 else
   15236   eval $cacheid=no
   15237 fi
   15238 rm -f core conftest.err conftest.$ac_objext \
   15239     conftest$ac_exeext conftest.$ac_ext
   15240 fi
   15241 
   15242 
   15243 		CFLAGS="$xorg_testset_save_CFLAGS"
   15244 
   15245 		eval supported=\$$cacheid
   15246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15247 $as_echo "$supported" >&6; }
   15248 		if test "$supported" = "yes" ; then
   15249 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15250 			found="yes"
   15251 		fi
   15252 	fi
   15253 
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 
   15260 
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267 
   15268 xorg_testset_save_CFLAGS="$CFLAGS"
   15269 
   15270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15273 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15274 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15275   $as_echo_n "(cached) " >&6
   15276 else
   15277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15278 /* end confdefs.h.  */
   15279 int i;
   15280 _ACEOF
   15281 if ac_fn_c_try_compile "$LINENO"; then :
   15282   xorg_cv_cc_flag_unknown_warning_option=yes
   15283 else
   15284   xorg_cv_cc_flag_unknown_warning_option=no
   15285 fi
   15286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15287 fi
   15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15289 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15291 	CFLAGS="$xorg_testset_save_CFLAGS"
   15292 fi
   15293 
   15294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15297 	fi
   15298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15300 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15301 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15302   $as_echo_n "(cached) " >&6
   15303 else
   15304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15305 /* end confdefs.h.  */
   15306 int i;
   15307 _ACEOF
   15308 if ac_fn_c_try_compile "$LINENO"; then :
   15309   xorg_cv_cc_flag_unused_command_line_argument=yes
   15310 else
   15311   xorg_cv_cc_flag_unused_command_line_argument=no
   15312 fi
   15313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15314 fi
   15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15316 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15317 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15318 	CFLAGS="$xorg_testset_save_CFLAGS"
   15319 fi
   15320 
   15321 found="no"
   15322 
   15323 	if test $found = "no" ; then
   15324 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15326 		fi
   15327 
   15328 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15330 		fi
   15331 
   15332 		CFLAGS="$CFLAGS -Werror=address"
   15333 
   15334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15335 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15336 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=address" | $as_tr_sh`
   15337 		if eval \${$cacheid+:} false; then :
   15338   $as_echo_n "(cached) " >&6
   15339 else
   15340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15341 /* end confdefs.h.  */
   15342 int i;
   15343 int
   15344 main ()
   15345 {
   15346 
   15347   ;
   15348   return 0;
   15349 }
   15350 _ACEOF
   15351 if ac_fn_c_try_link "$LINENO"; then :
   15352   eval $cacheid=yes
   15353 else
   15354   eval $cacheid=no
   15355 fi
   15356 rm -f core conftest.err conftest.$ac_objext \
   15357     conftest$ac_exeext conftest.$ac_ext
   15358 fi
   15359 
   15360 
   15361 		CFLAGS="$xorg_testset_save_CFLAGS"
   15362 
   15363 		eval supported=\$$cacheid
   15364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15365 $as_echo "$supported" >&6; }
   15366 		if test "$supported" = "yes" ; then
   15367 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15368 			found="yes"
   15369 		fi
   15370 	fi
   15371 
   15372 
   15373 
   15374 
   15375 
   15376 
   15377 
   15378 
   15379 
   15380 
   15381 
   15382 
   15383 
   15384 
   15385 
   15386 xorg_testset_save_CFLAGS="$CFLAGS"
   15387 
   15388 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15389 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15391 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15392 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15393   $as_echo_n "(cached) " >&6
   15394 else
   15395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15396 /* end confdefs.h.  */
   15397 int i;
   15398 _ACEOF
   15399 if ac_fn_c_try_compile "$LINENO"; then :
   15400   xorg_cv_cc_flag_unknown_warning_option=yes
   15401 else
   15402   xorg_cv_cc_flag_unknown_warning_option=no
   15403 fi
   15404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15405 fi
   15406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15407 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15409 	CFLAGS="$xorg_testset_save_CFLAGS"
   15410 fi
   15411 
   15412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15415 	fi
   15416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15418 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15419 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15420   $as_echo_n "(cached) " >&6
   15421 else
   15422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15423 /* end confdefs.h.  */
   15424 int i;
   15425 _ACEOF
   15426 if ac_fn_c_try_compile "$LINENO"; then :
   15427   xorg_cv_cc_flag_unused_command_line_argument=yes
   15428 else
   15429   xorg_cv_cc_flag_unused_command_line_argument=no
   15430 fi
   15431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15432 fi
   15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15434 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15436 	CFLAGS="$xorg_testset_save_CFLAGS"
   15437 fi
   15438 
   15439 found="no"
   15440 
   15441 	if test $found = "no" ; then
   15442 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15444 		fi
   15445 
   15446 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15448 		fi
   15449 
   15450 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15451 
   15452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15453 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15454 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=int-to-pointer-cast" | $as_tr_sh`
   15455 		if eval \${$cacheid+:} false; then :
   15456   $as_echo_n "(cached) " >&6
   15457 else
   15458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15459 /* end confdefs.h.  */
   15460 int i;
   15461 int
   15462 main ()
   15463 {
   15464 
   15465   ;
   15466   return 0;
   15467 }
   15468 _ACEOF
   15469 if ac_fn_c_try_link "$LINENO"; then :
   15470   eval $cacheid=yes
   15471 else
   15472   eval $cacheid=no
   15473 fi
   15474 rm -f core conftest.err conftest.$ac_objext \
   15475     conftest$ac_exeext conftest.$ac_ext
   15476 fi
   15477 
   15478 
   15479 		CFLAGS="$xorg_testset_save_CFLAGS"
   15480 
   15481 		eval supported=\$$cacheid
   15482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15483 $as_echo "$supported" >&6; }
   15484 		if test "$supported" = "yes" ; then
   15485 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15486 			found="yes"
   15487 		fi
   15488 	fi
   15489 
   15490 	if test $found = "no" ; then
   15491 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15492 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15493 		fi
   15494 
   15495 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15496 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15497 		fi
   15498 
   15499 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15500 
   15501 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15502 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15503 		cacheid=`$as_echo "xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION" | $as_tr_sh`
   15504 		if eval \${$cacheid+:} false; then :
   15505   $as_echo_n "(cached) " >&6
   15506 else
   15507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15508 /* end confdefs.h.  */
   15509 int i;
   15510 int
   15511 main ()
   15512 {
   15513 
   15514   ;
   15515   return 0;
   15516 }
   15517 _ACEOF
   15518 if ac_fn_c_try_link "$LINENO"; then :
   15519   eval $cacheid=yes
   15520 else
   15521   eval $cacheid=no
   15522 fi
   15523 rm -f core conftest.err conftest.$ac_objext \
   15524     conftest$ac_exeext conftest.$ac_ext
   15525 fi
   15526 
   15527 
   15528 		CFLAGS="$xorg_testset_save_CFLAGS"
   15529 
   15530 		eval supported=\$$cacheid
   15531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15532 $as_echo "$supported" >&6; }
   15533 		if test "$supported" = "yes" ; then
   15534 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15535 			found="yes"
   15536 		fi
   15537 	fi
   15538 
   15539 
   15540 
   15541 
   15542 
   15543 
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 xorg_testset_save_CFLAGS="$CFLAGS"
   15554 
   15555 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15556 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15557 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15558 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15559 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15560   $as_echo_n "(cached) " >&6
   15561 else
   15562   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15563 /* end confdefs.h.  */
   15564 int i;
   15565 _ACEOF
   15566 if ac_fn_c_try_compile "$LINENO"; then :
   15567   xorg_cv_cc_flag_unknown_warning_option=yes
   15568 else
   15569   xorg_cv_cc_flag_unknown_warning_option=no
   15570 fi
   15571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15572 fi
   15573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15574 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15575 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15576 	CFLAGS="$xorg_testset_save_CFLAGS"
   15577 fi
   15578 
   15579 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15580 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15581 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15582 	fi
   15583 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15585 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15586 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15587   $as_echo_n "(cached) " >&6
   15588 else
   15589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15590 /* end confdefs.h.  */
   15591 int i;
   15592 _ACEOF
   15593 if ac_fn_c_try_compile "$LINENO"; then :
   15594   xorg_cv_cc_flag_unused_command_line_argument=yes
   15595 else
   15596   xorg_cv_cc_flag_unused_command_line_argument=no
   15597 fi
   15598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15599 fi
   15600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15601 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15602 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15603 	CFLAGS="$xorg_testset_save_CFLAGS"
   15604 fi
   15605 
   15606 found="no"
   15607 
   15608 	if test $found = "no" ; then
   15609 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15610 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15611 		fi
   15612 
   15613 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15614 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15615 		fi
   15616 
   15617 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15618 
   15619 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15620 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15621 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=pointer-to-int-cast" | $as_tr_sh`
   15622 		if eval \${$cacheid+:} false; then :
   15623   $as_echo_n "(cached) " >&6
   15624 else
   15625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15626 /* end confdefs.h.  */
   15627 int i;
   15628 int
   15629 main ()
   15630 {
   15631 
   15632   ;
   15633   return 0;
   15634 }
   15635 _ACEOF
   15636 if ac_fn_c_try_link "$LINENO"; then :
   15637   eval $cacheid=yes
   15638 else
   15639   eval $cacheid=no
   15640 fi
   15641 rm -f core conftest.err conftest.$ac_objext \
   15642     conftest$ac_exeext conftest.$ac_ext
   15643 fi
   15644 
   15645 
   15646 		CFLAGS="$xorg_testset_save_CFLAGS"
   15647 
   15648 		eval supported=\$$cacheid
   15649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15650 $as_echo "$supported" >&6; }
   15651 		if test "$supported" = "yes" ; then
   15652 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15653 			found="yes"
   15654 		fi
   15655 	fi
   15656 
   15657  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15658 else
   15659 { $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
   15660 $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;}
   15661 
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 
   15674 xorg_testset_save_CFLAGS="$CFLAGS"
   15675 
   15676 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15677 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15679 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15680 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15681   $as_echo_n "(cached) " >&6
   15682 else
   15683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15684 /* end confdefs.h.  */
   15685 int i;
   15686 _ACEOF
   15687 if ac_fn_c_try_compile "$LINENO"; then :
   15688   xorg_cv_cc_flag_unknown_warning_option=yes
   15689 else
   15690   xorg_cv_cc_flag_unknown_warning_option=no
   15691 fi
   15692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15693 fi
   15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15695 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15696 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15697 	CFLAGS="$xorg_testset_save_CFLAGS"
   15698 fi
   15699 
   15700 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15701 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15702 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15703 	fi
   15704 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15706 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15707 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15708   $as_echo_n "(cached) " >&6
   15709 else
   15710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15711 /* end confdefs.h.  */
   15712 int i;
   15713 _ACEOF
   15714 if ac_fn_c_try_compile "$LINENO"; then :
   15715   xorg_cv_cc_flag_unused_command_line_argument=yes
   15716 else
   15717   xorg_cv_cc_flag_unused_command_line_argument=no
   15718 fi
   15719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15720 fi
   15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15722 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15723 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15724 	CFLAGS="$xorg_testset_save_CFLAGS"
   15725 fi
   15726 
   15727 found="no"
   15728 
   15729 	if test $found = "no" ; then
   15730 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15731 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15732 		fi
   15733 
   15734 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15735 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15736 		fi
   15737 
   15738 		CFLAGS="$CFLAGS -Wimplicit"
   15739 
   15740 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15741 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15742 		cacheid=xorg_cv_cc_flag__Wimplicit
   15743 		if eval \${$cacheid+:} false; then :
   15744   $as_echo_n "(cached) " >&6
   15745 else
   15746   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15747 /* end confdefs.h.  */
   15748 int i;
   15749 int
   15750 main ()
   15751 {
   15752 
   15753   ;
   15754   return 0;
   15755 }
   15756 _ACEOF
   15757 if ac_fn_c_try_link "$LINENO"; then :
   15758   eval $cacheid=yes
   15759 else
   15760   eval $cacheid=no
   15761 fi
   15762 rm -f core conftest.err conftest.$ac_objext \
   15763     conftest$ac_exeext conftest.$ac_ext
   15764 fi
   15765 
   15766 
   15767 		CFLAGS="$xorg_testset_save_CFLAGS"
   15768 
   15769 		eval supported=\$$cacheid
   15770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15771 $as_echo "$supported" >&6; }
   15772 		if test "$supported" = "yes" ; then
   15773 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15774 			found="yes"
   15775 		fi
   15776 	fi
   15777 
   15778 
   15779 
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 xorg_testset_save_CFLAGS="$CFLAGS"
   15793 
   15794 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15795 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15797 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15798 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15799   $as_echo_n "(cached) " >&6
   15800 else
   15801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15802 /* end confdefs.h.  */
   15803 int i;
   15804 _ACEOF
   15805 if ac_fn_c_try_compile "$LINENO"; then :
   15806   xorg_cv_cc_flag_unknown_warning_option=yes
   15807 else
   15808   xorg_cv_cc_flag_unknown_warning_option=no
   15809 fi
   15810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15811 fi
   15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15813 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15814 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15815 	CFLAGS="$xorg_testset_save_CFLAGS"
   15816 fi
   15817 
   15818 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15819 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15820 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15821 	fi
   15822 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15824 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15825 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15826   $as_echo_n "(cached) " >&6
   15827 else
   15828   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15829 /* end confdefs.h.  */
   15830 int i;
   15831 _ACEOF
   15832 if ac_fn_c_try_compile "$LINENO"; then :
   15833   xorg_cv_cc_flag_unused_command_line_argument=yes
   15834 else
   15835   xorg_cv_cc_flag_unused_command_line_argument=no
   15836 fi
   15837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15838 fi
   15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15840 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15841 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15842 	CFLAGS="$xorg_testset_save_CFLAGS"
   15843 fi
   15844 
   15845 found="no"
   15846 
   15847 	if test $found = "no" ; then
   15848 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15849 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15850 		fi
   15851 
   15852 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15853 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15854 		fi
   15855 
   15856 		CFLAGS="$CFLAGS -Wnonnull"
   15857 
   15858 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15859 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15860 		cacheid=xorg_cv_cc_flag__Wnonnull
   15861 		if eval \${$cacheid+:} false; then :
   15862   $as_echo_n "(cached) " >&6
   15863 else
   15864   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15865 /* end confdefs.h.  */
   15866 int i;
   15867 int
   15868 main ()
   15869 {
   15870 
   15871   ;
   15872   return 0;
   15873 }
   15874 _ACEOF
   15875 if ac_fn_c_try_link "$LINENO"; then :
   15876   eval $cacheid=yes
   15877 else
   15878   eval $cacheid=no
   15879 fi
   15880 rm -f core conftest.err conftest.$ac_objext \
   15881     conftest$ac_exeext conftest.$ac_ext
   15882 fi
   15883 
   15884 
   15885 		CFLAGS="$xorg_testset_save_CFLAGS"
   15886 
   15887 		eval supported=\$$cacheid
   15888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15889 $as_echo "$supported" >&6; }
   15890 		if test "$supported" = "yes" ; then
   15891 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15892 			found="yes"
   15893 		fi
   15894 	fi
   15895 
   15896 
   15897 
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 
   15910 xorg_testset_save_CFLAGS="$CFLAGS"
   15911 
   15912 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15913 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15915 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15916 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15917   $as_echo_n "(cached) " >&6
   15918 else
   15919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15920 /* end confdefs.h.  */
   15921 int i;
   15922 _ACEOF
   15923 if ac_fn_c_try_compile "$LINENO"; then :
   15924   xorg_cv_cc_flag_unknown_warning_option=yes
   15925 else
   15926   xorg_cv_cc_flag_unknown_warning_option=no
   15927 fi
   15928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15929 fi
   15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15931 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15932 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15933 	CFLAGS="$xorg_testset_save_CFLAGS"
   15934 fi
   15935 
   15936 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15937 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15938 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15939 	fi
   15940 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15942 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15943 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15944   $as_echo_n "(cached) " >&6
   15945 else
   15946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15947 /* end confdefs.h.  */
   15948 int i;
   15949 _ACEOF
   15950 if ac_fn_c_try_compile "$LINENO"; then :
   15951   xorg_cv_cc_flag_unused_command_line_argument=yes
   15952 else
   15953   xorg_cv_cc_flag_unused_command_line_argument=no
   15954 fi
   15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15956 fi
   15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15958 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15959 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15960 	CFLAGS="$xorg_testset_save_CFLAGS"
   15961 fi
   15962 
   15963 found="no"
   15964 
   15965 	if test $found = "no" ; then
   15966 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15967 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15968 		fi
   15969 
   15970 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15971 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15972 		fi
   15973 
   15974 		CFLAGS="$CFLAGS -Winit-self"
   15975 
   15976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15977 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15978 		cacheid=xorg_cv_cc_flag__Winit_self
   15979 		if eval \${$cacheid+:} false; then :
   15980   $as_echo_n "(cached) " >&6
   15981 else
   15982   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15983 /* end confdefs.h.  */
   15984 int i;
   15985 int
   15986 main ()
   15987 {
   15988 
   15989   ;
   15990   return 0;
   15991 }
   15992 _ACEOF
   15993 if ac_fn_c_try_link "$LINENO"; then :
   15994   eval $cacheid=yes
   15995 else
   15996   eval $cacheid=no
   15997 fi
   15998 rm -f core conftest.err conftest.$ac_objext \
   15999     conftest$ac_exeext conftest.$ac_ext
   16000 fi
   16001 
   16002 
   16003 		CFLAGS="$xorg_testset_save_CFLAGS"
   16004 
   16005 		eval supported=\$$cacheid
   16006 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16007 $as_echo "$supported" >&6; }
   16008 		if test "$supported" = "yes" ; then
   16009 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16010 			found="yes"
   16011 		fi
   16012 	fi
   16013 
   16014 
   16015 
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 xorg_testset_save_CFLAGS="$CFLAGS"
   16029 
   16030 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16031 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16033 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16034 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16035   $as_echo_n "(cached) " >&6
   16036 else
   16037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16038 /* end confdefs.h.  */
   16039 int i;
   16040 _ACEOF
   16041 if ac_fn_c_try_compile "$LINENO"; then :
   16042   xorg_cv_cc_flag_unknown_warning_option=yes
   16043 else
   16044   xorg_cv_cc_flag_unknown_warning_option=no
   16045 fi
   16046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16047 fi
   16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16049 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16050 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16051 	CFLAGS="$xorg_testset_save_CFLAGS"
   16052 fi
   16053 
   16054 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16055 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16056 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16057 	fi
   16058 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16060 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16061 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16062   $as_echo_n "(cached) " >&6
   16063 else
   16064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16065 /* end confdefs.h.  */
   16066 int i;
   16067 _ACEOF
   16068 if ac_fn_c_try_compile "$LINENO"; then :
   16069   xorg_cv_cc_flag_unused_command_line_argument=yes
   16070 else
   16071   xorg_cv_cc_flag_unused_command_line_argument=no
   16072 fi
   16073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16074 fi
   16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16076 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16077 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16078 	CFLAGS="$xorg_testset_save_CFLAGS"
   16079 fi
   16080 
   16081 found="no"
   16082 
   16083 	if test $found = "no" ; then
   16084 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16085 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16086 		fi
   16087 
   16088 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16089 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16090 		fi
   16091 
   16092 		CFLAGS="$CFLAGS -Wmain"
   16093 
   16094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16095 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16096 		cacheid=xorg_cv_cc_flag__Wmain
   16097 		if eval \${$cacheid+:} false; then :
   16098   $as_echo_n "(cached) " >&6
   16099 else
   16100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16101 /* end confdefs.h.  */
   16102 int i;
   16103 int
   16104 main ()
   16105 {
   16106 
   16107   ;
   16108   return 0;
   16109 }
   16110 _ACEOF
   16111 if ac_fn_c_try_link "$LINENO"; then :
   16112   eval $cacheid=yes
   16113 else
   16114   eval $cacheid=no
   16115 fi
   16116 rm -f core conftest.err conftest.$ac_objext \
   16117     conftest$ac_exeext conftest.$ac_ext
   16118 fi
   16119 
   16120 
   16121 		CFLAGS="$xorg_testset_save_CFLAGS"
   16122 
   16123 		eval supported=\$$cacheid
   16124 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16125 $as_echo "$supported" >&6; }
   16126 		if test "$supported" = "yes" ; then
   16127 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16128 			found="yes"
   16129 		fi
   16130 	fi
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 xorg_testset_save_CFLAGS="$CFLAGS"
   16147 
   16148 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16151 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16152 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16153   $as_echo_n "(cached) " >&6
   16154 else
   16155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16156 /* end confdefs.h.  */
   16157 int i;
   16158 _ACEOF
   16159 if ac_fn_c_try_compile "$LINENO"; then :
   16160   xorg_cv_cc_flag_unknown_warning_option=yes
   16161 else
   16162   xorg_cv_cc_flag_unknown_warning_option=no
   16163 fi
   16164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16165 fi
   16166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16167 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16168 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16169 	CFLAGS="$xorg_testset_save_CFLAGS"
   16170 fi
   16171 
   16172 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16173 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16175 	fi
   16176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16178 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16179 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16180   $as_echo_n "(cached) " >&6
   16181 else
   16182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16183 /* end confdefs.h.  */
   16184 int i;
   16185 _ACEOF
   16186 if ac_fn_c_try_compile "$LINENO"; then :
   16187   xorg_cv_cc_flag_unused_command_line_argument=yes
   16188 else
   16189   xorg_cv_cc_flag_unused_command_line_argument=no
   16190 fi
   16191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16192 fi
   16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16194 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16195 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16196 	CFLAGS="$xorg_testset_save_CFLAGS"
   16197 fi
   16198 
   16199 found="no"
   16200 
   16201 	if test $found = "no" ; then
   16202 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16204 		fi
   16205 
   16206 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16208 		fi
   16209 
   16210 		CFLAGS="$CFLAGS -Wmissing-braces"
   16211 
   16212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16213 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16214 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16215 		if eval \${$cacheid+:} false; then :
   16216   $as_echo_n "(cached) " >&6
   16217 else
   16218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16219 /* end confdefs.h.  */
   16220 int i;
   16221 int
   16222 main ()
   16223 {
   16224 
   16225   ;
   16226   return 0;
   16227 }
   16228 _ACEOF
   16229 if ac_fn_c_try_link "$LINENO"; then :
   16230   eval $cacheid=yes
   16231 else
   16232   eval $cacheid=no
   16233 fi
   16234 rm -f core conftest.err conftest.$ac_objext \
   16235     conftest$ac_exeext conftest.$ac_ext
   16236 fi
   16237 
   16238 
   16239 		CFLAGS="$xorg_testset_save_CFLAGS"
   16240 
   16241 		eval supported=\$$cacheid
   16242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16243 $as_echo "$supported" >&6; }
   16244 		if test "$supported" = "yes" ; then
   16245 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16246 			found="yes"
   16247 		fi
   16248 	fi
   16249 
   16250 
   16251 
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 xorg_testset_save_CFLAGS="$CFLAGS"
   16265 
   16266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16271   $as_echo_n "(cached) " >&6
   16272 else
   16273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16274 /* end confdefs.h.  */
   16275 int i;
   16276 _ACEOF
   16277 if ac_fn_c_try_compile "$LINENO"; then :
   16278   xorg_cv_cc_flag_unknown_warning_option=yes
   16279 else
   16280   xorg_cv_cc_flag_unknown_warning_option=no
   16281 fi
   16282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16283 fi
   16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16287 	CFLAGS="$xorg_testset_save_CFLAGS"
   16288 fi
   16289 
   16290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16293 	fi
   16294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16298   $as_echo_n "(cached) " >&6
   16299 else
   16300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16301 /* end confdefs.h.  */
   16302 int i;
   16303 _ACEOF
   16304 if ac_fn_c_try_compile "$LINENO"; then :
   16305   xorg_cv_cc_flag_unused_command_line_argument=yes
   16306 else
   16307   xorg_cv_cc_flag_unused_command_line_argument=no
   16308 fi
   16309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16310 fi
   16311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16314 	CFLAGS="$xorg_testset_save_CFLAGS"
   16315 fi
   16316 
   16317 found="no"
   16318 
   16319 	if test $found = "no" ; then
   16320 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16322 		fi
   16323 
   16324 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16326 		fi
   16327 
   16328 		CFLAGS="$CFLAGS -Wsequence-point"
   16329 
   16330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16331 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16332 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16333 		if eval \${$cacheid+:} false; then :
   16334   $as_echo_n "(cached) " >&6
   16335 else
   16336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16337 /* end confdefs.h.  */
   16338 int i;
   16339 int
   16340 main ()
   16341 {
   16342 
   16343   ;
   16344   return 0;
   16345 }
   16346 _ACEOF
   16347 if ac_fn_c_try_link "$LINENO"; then :
   16348   eval $cacheid=yes
   16349 else
   16350   eval $cacheid=no
   16351 fi
   16352 rm -f core conftest.err conftest.$ac_objext \
   16353     conftest$ac_exeext conftest.$ac_ext
   16354 fi
   16355 
   16356 
   16357 		CFLAGS="$xorg_testset_save_CFLAGS"
   16358 
   16359 		eval supported=\$$cacheid
   16360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16361 $as_echo "$supported" >&6; }
   16362 		if test "$supported" = "yes" ; then
   16363 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16364 			found="yes"
   16365 		fi
   16366 	fi
   16367 
   16368 
   16369 
   16370 
   16371 
   16372 
   16373 
   16374 
   16375 
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 xorg_testset_save_CFLAGS="$CFLAGS"
   16383 
   16384 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16385 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16387 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16388 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16389   $as_echo_n "(cached) " >&6
   16390 else
   16391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16392 /* end confdefs.h.  */
   16393 int i;
   16394 _ACEOF
   16395 if ac_fn_c_try_compile "$LINENO"; then :
   16396   xorg_cv_cc_flag_unknown_warning_option=yes
   16397 else
   16398   xorg_cv_cc_flag_unknown_warning_option=no
   16399 fi
   16400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16401 fi
   16402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16403 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16404 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16405 	CFLAGS="$xorg_testset_save_CFLAGS"
   16406 fi
   16407 
   16408 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16409 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16410 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16411 	fi
   16412 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16414 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16415 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16416   $as_echo_n "(cached) " >&6
   16417 else
   16418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16419 /* end confdefs.h.  */
   16420 int i;
   16421 _ACEOF
   16422 if ac_fn_c_try_compile "$LINENO"; then :
   16423   xorg_cv_cc_flag_unused_command_line_argument=yes
   16424 else
   16425   xorg_cv_cc_flag_unused_command_line_argument=no
   16426 fi
   16427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16428 fi
   16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16430 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16431 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16432 	CFLAGS="$xorg_testset_save_CFLAGS"
   16433 fi
   16434 
   16435 found="no"
   16436 
   16437 	if test $found = "no" ; then
   16438 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16439 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16440 		fi
   16441 
   16442 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16443 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16444 		fi
   16445 
   16446 		CFLAGS="$CFLAGS -Wreturn-type"
   16447 
   16448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16449 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16450 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16451 		if eval \${$cacheid+:} false; then :
   16452   $as_echo_n "(cached) " >&6
   16453 else
   16454   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16455 /* end confdefs.h.  */
   16456 int i;
   16457 int
   16458 main ()
   16459 {
   16460 
   16461   ;
   16462   return 0;
   16463 }
   16464 _ACEOF
   16465 if ac_fn_c_try_link "$LINENO"; then :
   16466   eval $cacheid=yes
   16467 else
   16468   eval $cacheid=no
   16469 fi
   16470 rm -f core conftest.err conftest.$ac_objext \
   16471     conftest$ac_exeext conftest.$ac_ext
   16472 fi
   16473 
   16474 
   16475 		CFLAGS="$xorg_testset_save_CFLAGS"
   16476 
   16477 		eval supported=\$$cacheid
   16478 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16479 $as_echo "$supported" >&6; }
   16480 		if test "$supported" = "yes" ; then
   16481 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16482 			found="yes"
   16483 		fi
   16484 	fi
   16485 
   16486 
   16487 
   16488 
   16489 
   16490 
   16491 
   16492 
   16493 
   16494 
   16495 
   16496 
   16497 
   16498 
   16499 
   16500 xorg_testset_save_CFLAGS="$CFLAGS"
   16501 
   16502 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16503 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16504 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16505 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16506 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16507   $as_echo_n "(cached) " >&6
   16508 else
   16509   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16510 /* end confdefs.h.  */
   16511 int i;
   16512 _ACEOF
   16513 if ac_fn_c_try_compile "$LINENO"; then :
   16514   xorg_cv_cc_flag_unknown_warning_option=yes
   16515 else
   16516   xorg_cv_cc_flag_unknown_warning_option=no
   16517 fi
   16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16519 fi
   16520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16521 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16522 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16523 	CFLAGS="$xorg_testset_save_CFLAGS"
   16524 fi
   16525 
   16526 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16527 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16528 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16529 	fi
   16530 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16532 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16533 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16534   $as_echo_n "(cached) " >&6
   16535 else
   16536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16537 /* end confdefs.h.  */
   16538 int i;
   16539 _ACEOF
   16540 if ac_fn_c_try_compile "$LINENO"; then :
   16541   xorg_cv_cc_flag_unused_command_line_argument=yes
   16542 else
   16543   xorg_cv_cc_flag_unused_command_line_argument=no
   16544 fi
   16545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16546 fi
   16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16548 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16549 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16550 	CFLAGS="$xorg_testset_save_CFLAGS"
   16551 fi
   16552 
   16553 found="no"
   16554 
   16555 	if test $found = "no" ; then
   16556 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16557 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16558 		fi
   16559 
   16560 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16561 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16562 		fi
   16563 
   16564 		CFLAGS="$CFLAGS -Wtrigraphs"
   16565 
   16566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16567 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16568 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16569 		if eval \${$cacheid+:} false; then :
   16570   $as_echo_n "(cached) " >&6
   16571 else
   16572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16573 /* end confdefs.h.  */
   16574 int i;
   16575 int
   16576 main ()
   16577 {
   16578 
   16579   ;
   16580   return 0;
   16581 }
   16582 _ACEOF
   16583 if ac_fn_c_try_link "$LINENO"; then :
   16584   eval $cacheid=yes
   16585 else
   16586   eval $cacheid=no
   16587 fi
   16588 rm -f core conftest.err conftest.$ac_objext \
   16589     conftest$ac_exeext conftest.$ac_ext
   16590 fi
   16591 
   16592 
   16593 		CFLAGS="$xorg_testset_save_CFLAGS"
   16594 
   16595 		eval supported=\$$cacheid
   16596 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16597 $as_echo "$supported" >&6; }
   16598 		if test "$supported" = "yes" ; then
   16599 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16600 			found="yes"
   16601 		fi
   16602 	fi
   16603 
   16604 
   16605 
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 xorg_testset_save_CFLAGS="$CFLAGS"
   16619 
   16620 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16621 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16622 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16623 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16624 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16625   $as_echo_n "(cached) " >&6
   16626 else
   16627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16628 /* end confdefs.h.  */
   16629 int i;
   16630 _ACEOF
   16631 if ac_fn_c_try_compile "$LINENO"; then :
   16632   xorg_cv_cc_flag_unknown_warning_option=yes
   16633 else
   16634   xorg_cv_cc_flag_unknown_warning_option=no
   16635 fi
   16636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16637 fi
   16638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16639 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16640 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16641 	CFLAGS="$xorg_testset_save_CFLAGS"
   16642 fi
   16643 
   16644 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16645 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16646 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16647 	fi
   16648 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16650 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16651 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16652   $as_echo_n "(cached) " >&6
   16653 else
   16654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16655 /* end confdefs.h.  */
   16656 int i;
   16657 _ACEOF
   16658 if ac_fn_c_try_compile "$LINENO"; then :
   16659   xorg_cv_cc_flag_unused_command_line_argument=yes
   16660 else
   16661   xorg_cv_cc_flag_unused_command_line_argument=no
   16662 fi
   16663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16664 fi
   16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16666 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16667 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16668 	CFLAGS="$xorg_testset_save_CFLAGS"
   16669 fi
   16670 
   16671 found="no"
   16672 
   16673 	if test $found = "no" ; then
   16674 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16675 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16676 		fi
   16677 
   16678 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16679 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16680 		fi
   16681 
   16682 		CFLAGS="$CFLAGS -Warray-bounds"
   16683 
   16684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16685 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16686 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16687 		if eval \${$cacheid+:} false; then :
   16688   $as_echo_n "(cached) " >&6
   16689 else
   16690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16691 /* end confdefs.h.  */
   16692 int i;
   16693 int
   16694 main ()
   16695 {
   16696 
   16697   ;
   16698   return 0;
   16699 }
   16700 _ACEOF
   16701 if ac_fn_c_try_link "$LINENO"; then :
   16702   eval $cacheid=yes
   16703 else
   16704   eval $cacheid=no
   16705 fi
   16706 rm -f core conftest.err conftest.$ac_objext \
   16707     conftest$ac_exeext conftest.$ac_ext
   16708 fi
   16709 
   16710 
   16711 		CFLAGS="$xorg_testset_save_CFLAGS"
   16712 
   16713 		eval supported=\$$cacheid
   16714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16715 $as_echo "$supported" >&6; }
   16716 		if test "$supported" = "yes" ; then
   16717 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16718 			found="yes"
   16719 		fi
   16720 	fi
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 xorg_testset_save_CFLAGS="$CFLAGS"
   16737 
   16738 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16739 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16740 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16741 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16742 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16743   $as_echo_n "(cached) " >&6
   16744 else
   16745   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16746 /* end confdefs.h.  */
   16747 int i;
   16748 _ACEOF
   16749 if ac_fn_c_try_compile "$LINENO"; then :
   16750   xorg_cv_cc_flag_unknown_warning_option=yes
   16751 else
   16752   xorg_cv_cc_flag_unknown_warning_option=no
   16753 fi
   16754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16755 fi
   16756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16757 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16758 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16759 	CFLAGS="$xorg_testset_save_CFLAGS"
   16760 fi
   16761 
   16762 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16763 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16764 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16765 	fi
   16766 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16768 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16769 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16770   $as_echo_n "(cached) " >&6
   16771 else
   16772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16773 /* end confdefs.h.  */
   16774 int i;
   16775 _ACEOF
   16776 if ac_fn_c_try_compile "$LINENO"; then :
   16777   xorg_cv_cc_flag_unused_command_line_argument=yes
   16778 else
   16779   xorg_cv_cc_flag_unused_command_line_argument=no
   16780 fi
   16781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16782 fi
   16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16784 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16785 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16786 	CFLAGS="$xorg_testset_save_CFLAGS"
   16787 fi
   16788 
   16789 found="no"
   16790 
   16791 	if test $found = "no" ; then
   16792 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16793 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16794 		fi
   16795 
   16796 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16797 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16798 		fi
   16799 
   16800 		CFLAGS="$CFLAGS -Wwrite-strings"
   16801 
   16802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16803 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16804 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16805 		if eval \${$cacheid+:} false; then :
   16806   $as_echo_n "(cached) " >&6
   16807 else
   16808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16809 /* end confdefs.h.  */
   16810 int i;
   16811 int
   16812 main ()
   16813 {
   16814 
   16815   ;
   16816   return 0;
   16817 }
   16818 _ACEOF
   16819 if ac_fn_c_try_link "$LINENO"; then :
   16820   eval $cacheid=yes
   16821 else
   16822   eval $cacheid=no
   16823 fi
   16824 rm -f core conftest.err conftest.$ac_objext \
   16825     conftest$ac_exeext conftest.$ac_ext
   16826 fi
   16827 
   16828 
   16829 		CFLAGS="$xorg_testset_save_CFLAGS"
   16830 
   16831 		eval supported=\$$cacheid
   16832 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16833 $as_echo "$supported" >&6; }
   16834 		if test "$supported" = "yes" ; then
   16835 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16836 			found="yes"
   16837 		fi
   16838 	fi
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 xorg_testset_save_CFLAGS="$CFLAGS"
   16855 
   16856 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16857 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16859 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16860 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16861   $as_echo_n "(cached) " >&6
   16862 else
   16863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16864 /* end confdefs.h.  */
   16865 int i;
   16866 _ACEOF
   16867 if ac_fn_c_try_compile "$LINENO"; then :
   16868   xorg_cv_cc_flag_unknown_warning_option=yes
   16869 else
   16870   xorg_cv_cc_flag_unknown_warning_option=no
   16871 fi
   16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16873 fi
   16874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16875 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16876 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16877 	CFLAGS="$xorg_testset_save_CFLAGS"
   16878 fi
   16879 
   16880 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16881 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16882 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16883 	fi
   16884 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16886 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16887 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16888   $as_echo_n "(cached) " >&6
   16889 else
   16890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16891 /* end confdefs.h.  */
   16892 int i;
   16893 _ACEOF
   16894 if ac_fn_c_try_compile "$LINENO"; then :
   16895   xorg_cv_cc_flag_unused_command_line_argument=yes
   16896 else
   16897   xorg_cv_cc_flag_unused_command_line_argument=no
   16898 fi
   16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16900 fi
   16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16902 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16903 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16904 	CFLAGS="$xorg_testset_save_CFLAGS"
   16905 fi
   16906 
   16907 found="no"
   16908 
   16909 	if test $found = "no" ; then
   16910 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16911 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16912 		fi
   16913 
   16914 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16915 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16916 		fi
   16917 
   16918 		CFLAGS="$CFLAGS -Waddress"
   16919 
   16920 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16921 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16922 		cacheid=xorg_cv_cc_flag__Waddress
   16923 		if eval \${$cacheid+:} false; then :
   16924   $as_echo_n "(cached) " >&6
   16925 else
   16926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16927 /* end confdefs.h.  */
   16928 int i;
   16929 int
   16930 main ()
   16931 {
   16932 
   16933   ;
   16934   return 0;
   16935 }
   16936 _ACEOF
   16937 if ac_fn_c_try_link "$LINENO"; then :
   16938   eval $cacheid=yes
   16939 else
   16940   eval $cacheid=no
   16941 fi
   16942 rm -f core conftest.err conftest.$ac_objext \
   16943     conftest$ac_exeext conftest.$ac_ext
   16944 fi
   16945 
   16946 
   16947 		CFLAGS="$xorg_testset_save_CFLAGS"
   16948 
   16949 		eval supported=\$$cacheid
   16950 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16951 $as_echo "$supported" >&6; }
   16952 		if test "$supported" = "yes" ; then
   16953 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16954 			found="yes"
   16955 		fi
   16956 	fi
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 xorg_testset_save_CFLAGS="$CFLAGS"
   16973 
   16974 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16975 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16977 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16978 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16979   $as_echo_n "(cached) " >&6
   16980 else
   16981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16982 /* end confdefs.h.  */
   16983 int i;
   16984 _ACEOF
   16985 if ac_fn_c_try_compile "$LINENO"; then :
   16986   xorg_cv_cc_flag_unknown_warning_option=yes
   16987 else
   16988   xorg_cv_cc_flag_unknown_warning_option=no
   16989 fi
   16990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16991 fi
   16992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16993 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16994 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16995 	CFLAGS="$xorg_testset_save_CFLAGS"
   16996 fi
   16997 
   16998 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16999 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17000 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17001 	fi
   17002 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17004 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17005 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17006   $as_echo_n "(cached) " >&6
   17007 else
   17008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17009 /* end confdefs.h.  */
   17010 int i;
   17011 _ACEOF
   17012 if ac_fn_c_try_compile "$LINENO"; then :
   17013   xorg_cv_cc_flag_unused_command_line_argument=yes
   17014 else
   17015   xorg_cv_cc_flag_unused_command_line_argument=no
   17016 fi
   17017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17018 fi
   17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17020 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17021 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17022 	CFLAGS="$xorg_testset_save_CFLAGS"
   17023 fi
   17024 
   17025 found="no"
   17026 
   17027 	if test $found = "no" ; then
   17028 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17029 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17030 		fi
   17031 
   17032 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17033 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17034 		fi
   17035 
   17036 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17037 
   17038 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17039 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17040 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17041 		if eval \${$cacheid+:} false; then :
   17042   $as_echo_n "(cached) " >&6
   17043 else
   17044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17045 /* end confdefs.h.  */
   17046 int i;
   17047 int
   17048 main ()
   17049 {
   17050 
   17051   ;
   17052   return 0;
   17053 }
   17054 _ACEOF
   17055 if ac_fn_c_try_link "$LINENO"; then :
   17056   eval $cacheid=yes
   17057 else
   17058   eval $cacheid=no
   17059 fi
   17060 rm -f core conftest.err conftest.$ac_objext \
   17061     conftest$ac_exeext conftest.$ac_ext
   17062 fi
   17063 
   17064 
   17065 		CFLAGS="$xorg_testset_save_CFLAGS"
   17066 
   17067 		eval supported=\$$cacheid
   17068 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17069 $as_echo "$supported" >&6; }
   17070 		if test "$supported" = "yes" ; then
   17071 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17072 			found="yes"
   17073 		fi
   17074 	fi
   17075 
   17076 
   17077 
   17078 
   17079 
   17080 
   17081 
   17082 
   17083 
   17084 
   17085 
   17086 
   17087 
   17088 
   17089 
   17090 xorg_testset_save_CFLAGS="$CFLAGS"
   17091 
   17092 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17093 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17095 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17096 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17097   $as_echo_n "(cached) " >&6
   17098 else
   17099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17100 /* end confdefs.h.  */
   17101 int i;
   17102 _ACEOF
   17103 if ac_fn_c_try_compile "$LINENO"; then :
   17104   xorg_cv_cc_flag_unknown_warning_option=yes
   17105 else
   17106   xorg_cv_cc_flag_unknown_warning_option=no
   17107 fi
   17108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17109 fi
   17110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17111 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17112 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17113 	CFLAGS="$xorg_testset_save_CFLAGS"
   17114 fi
   17115 
   17116 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17117 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17118 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17119 	fi
   17120 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17122 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17123 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17124   $as_echo_n "(cached) " >&6
   17125 else
   17126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17127 /* end confdefs.h.  */
   17128 int i;
   17129 _ACEOF
   17130 if ac_fn_c_try_compile "$LINENO"; then :
   17131   xorg_cv_cc_flag_unused_command_line_argument=yes
   17132 else
   17133   xorg_cv_cc_flag_unused_command_line_argument=no
   17134 fi
   17135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17136 fi
   17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17138 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17139 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17140 	CFLAGS="$xorg_testset_save_CFLAGS"
   17141 fi
   17142 
   17143 found="no"
   17144 
   17145 	if test $found = "no" ; then
   17146 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17147 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17148 		fi
   17149 
   17150 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17151 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17152 		fi
   17153 
   17154 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17155 
   17156 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17157 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17158 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17159 		if eval \${$cacheid+:} false; then :
   17160   $as_echo_n "(cached) " >&6
   17161 else
   17162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17163 /* end confdefs.h.  */
   17164 int i;
   17165 int
   17166 main ()
   17167 {
   17168 
   17169   ;
   17170   return 0;
   17171 }
   17172 _ACEOF
   17173 if ac_fn_c_try_link "$LINENO"; then :
   17174   eval $cacheid=yes
   17175 else
   17176   eval $cacheid=no
   17177 fi
   17178 rm -f core conftest.err conftest.$ac_objext \
   17179     conftest$ac_exeext conftest.$ac_ext
   17180 fi
   17181 
   17182 
   17183 		CFLAGS="$xorg_testset_save_CFLAGS"
   17184 
   17185 		eval supported=\$$cacheid
   17186 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17187 $as_echo "$supported" >&6; }
   17188 		if test "$supported" = "yes" ; then
   17189 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17190 			found="yes"
   17191 		fi
   17192 	fi
   17193 
   17194 
   17195 fi
   17196 
   17197 
   17198 
   17199 
   17200 
   17201 
   17202 
   17203 		CWARNFLAGS="$BASE_CFLAGS"
   17204 		if  test "x$GCC" = xyes ; then
   17205 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17206 		fi
   17207 
   17208 
   17209 
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 # Check whether --enable-strict-compilation was given.
   17216 if test "${enable_strict_compilation+set}" = set; then :
   17217   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17218 else
   17219   STRICT_COMPILE=no
   17220 fi
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 STRICT_CFLAGS=""
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 
   17237 
   17238 
   17239 
   17240 
   17241 xorg_testset_save_CFLAGS="$CFLAGS"
   17242 
   17243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17246 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17247 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17248   $as_echo_n "(cached) " >&6
   17249 else
   17250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17251 /* end confdefs.h.  */
   17252 int i;
   17253 _ACEOF
   17254 if ac_fn_c_try_compile "$LINENO"; then :
   17255   xorg_cv_cc_flag_unknown_warning_option=yes
   17256 else
   17257   xorg_cv_cc_flag_unknown_warning_option=no
   17258 fi
   17259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17260 fi
   17261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17262 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17263 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17264 	CFLAGS="$xorg_testset_save_CFLAGS"
   17265 fi
   17266 
   17267 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17268 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17269 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17270 	fi
   17271 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17273 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17274 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17275   $as_echo_n "(cached) " >&6
   17276 else
   17277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17278 /* end confdefs.h.  */
   17279 int i;
   17280 _ACEOF
   17281 if ac_fn_c_try_compile "$LINENO"; then :
   17282   xorg_cv_cc_flag_unused_command_line_argument=yes
   17283 else
   17284   xorg_cv_cc_flag_unused_command_line_argument=no
   17285 fi
   17286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17287 fi
   17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17289 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17291 	CFLAGS="$xorg_testset_save_CFLAGS"
   17292 fi
   17293 
   17294 found="no"
   17295 
   17296 	if test $found = "no" ; then
   17297 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17299 		fi
   17300 
   17301 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17303 		fi
   17304 
   17305 		CFLAGS="$CFLAGS -pedantic"
   17306 
   17307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17308 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17309 		cacheid=xorg_cv_cc_flag__pedantic
   17310 		if eval \${$cacheid+:} false; then :
   17311   $as_echo_n "(cached) " >&6
   17312 else
   17313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17314 /* end confdefs.h.  */
   17315 int i;
   17316 int
   17317 main ()
   17318 {
   17319 
   17320   ;
   17321   return 0;
   17322 }
   17323 _ACEOF
   17324 if ac_fn_c_try_link "$LINENO"; then :
   17325   eval $cacheid=yes
   17326 else
   17327   eval $cacheid=no
   17328 fi
   17329 rm -f core conftest.err conftest.$ac_objext \
   17330     conftest$ac_exeext conftest.$ac_ext
   17331 fi
   17332 
   17333 
   17334 		CFLAGS="$xorg_testset_save_CFLAGS"
   17335 
   17336 		eval supported=\$$cacheid
   17337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17338 $as_echo "$supported" >&6; }
   17339 		if test "$supported" = "yes" ; then
   17340 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17341 			found="yes"
   17342 		fi
   17343 	fi
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 
   17354 
   17355 
   17356 
   17357 
   17358 
   17359 xorg_testset_save_CFLAGS="$CFLAGS"
   17360 
   17361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17366   $as_echo_n "(cached) " >&6
   17367 else
   17368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17369 /* end confdefs.h.  */
   17370 int i;
   17371 _ACEOF
   17372 if ac_fn_c_try_compile "$LINENO"; then :
   17373   xorg_cv_cc_flag_unknown_warning_option=yes
   17374 else
   17375   xorg_cv_cc_flag_unknown_warning_option=no
   17376 fi
   17377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17378 fi
   17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17382 	CFLAGS="$xorg_testset_save_CFLAGS"
   17383 fi
   17384 
   17385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17388 	fi
   17389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17393   $as_echo_n "(cached) " >&6
   17394 else
   17395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17396 /* end confdefs.h.  */
   17397 int i;
   17398 _ACEOF
   17399 if ac_fn_c_try_compile "$LINENO"; then :
   17400   xorg_cv_cc_flag_unused_command_line_argument=yes
   17401 else
   17402   xorg_cv_cc_flag_unused_command_line_argument=no
   17403 fi
   17404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17405 fi
   17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17409 	CFLAGS="$xorg_testset_save_CFLAGS"
   17410 fi
   17411 
   17412 found="no"
   17413 
   17414 	if test $found = "no" ; then
   17415 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17417 		fi
   17418 
   17419 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17421 		fi
   17422 
   17423 		CFLAGS="$CFLAGS -Werror"
   17424 
   17425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17426 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17427 		cacheid=xorg_cv_cc_flag__Werror
   17428 		if eval \${$cacheid+:} false; then :
   17429   $as_echo_n "(cached) " >&6
   17430 else
   17431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17432 /* end confdefs.h.  */
   17433 int i;
   17434 int
   17435 main ()
   17436 {
   17437 
   17438   ;
   17439   return 0;
   17440 }
   17441 _ACEOF
   17442 if ac_fn_c_try_link "$LINENO"; then :
   17443   eval $cacheid=yes
   17444 else
   17445   eval $cacheid=no
   17446 fi
   17447 rm -f core conftest.err conftest.$ac_objext \
   17448     conftest$ac_exeext conftest.$ac_ext
   17449 fi
   17450 
   17451 
   17452 		CFLAGS="$xorg_testset_save_CFLAGS"
   17453 
   17454 		eval supported=\$$cacheid
   17455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17456 $as_echo "$supported" >&6; }
   17457 		if test "$supported" = "yes" ; then
   17458 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17459 			found="yes"
   17460 		fi
   17461 	fi
   17462 
   17463 	if test $found = "no" ; then
   17464 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17465 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17466 		fi
   17467 
   17468 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17469 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17470 		fi
   17471 
   17472 		CFLAGS="$CFLAGS -errwarn"
   17473 
   17474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17475 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17476 		cacheid=xorg_cv_cc_flag__errwarn
   17477 		if eval \${$cacheid+:} false; then :
   17478   $as_echo_n "(cached) " >&6
   17479 else
   17480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17481 /* end confdefs.h.  */
   17482 int i;
   17483 int
   17484 main ()
   17485 {
   17486 
   17487   ;
   17488   return 0;
   17489 }
   17490 _ACEOF
   17491 if ac_fn_c_try_link "$LINENO"; then :
   17492   eval $cacheid=yes
   17493 else
   17494   eval $cacheid=no
   17495 fi
   17496 rm -f core conftest.err conftest.$ac_objext \
   17497     conftest$ac_exeext conftest.$ac_ext
   17498 fi
   17499 
   17500 
   17501 		CFLAGS="$xorg_testset_save_CFLAGS"
   17502 
   17503 		eval supported=\$$cacheid
   17504 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17505 $as_echo "$supported" >&6; }
   17506 		if test "$supported" = "yes" ; then
   17507 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17508 			found="yes"
   17509 		fi
   17510 	fi
   17511 
   17512 
   17513 
   17514 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17515 # activate it with -Werror, so we add it here explicitly.
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 
   17524 
   17525 
   17526 
   17527 
   17528 
   17529 xorg_testset_save_CFLAGS="$CFLAGS"
   17530 
   17531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17536   $as_echo_n "(cached) " >&6
   17537 else
   17538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17539 /* end confdefs.h.  */
   17540 int i;
   17541 _ACEOF
   17542 if ac_fn_c_try_compile "$LINENO"; then :
   17543   xorg_cv_cc_flag_unknown_warning_option=yes
   17544 else
   17545   xorg_cv_cc_flag_unknown_warning_option=no
   17546 fi
   17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17548 fi
   17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17552 	CFLAGS="$xorg_testset_save_CFLAGS"
   17553 fi
   17554 
   17555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17558 	fi
   17559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17563   $as_echo_n "(cached) " >&6
   17564 else
   17565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17566 /* end confdefs.h.  */
   17567 int i;
   17568 _ACEOF
   17569 if ac_fn_c_try_compile "$LINENO"; then :
   17570   xorg_cv_cc_flag_unused_command_line_argument=yes
   17571 else
   17572   xorg_cv_cc_flag_unused_command_line_argument=no
   17573 fi
   17574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17575 fi
   17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17579 	CFLAGS="$xorg_testset_save_CFLAGS"
   17580 fi
   17581 
   17582 found="no"
   17583 
   17584 	if test $found = "no" ; then
   17585 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17587 		fi
   17588 
   17589 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17591 		fi
   17592 
   17593 		CFLAGS="$CFLAGS -Werror=attributes"
   17594 
   17595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17596 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17597 		cacheid=`$as_echo "xorg_cv_cc_flag_-Werror=attributes" | $as_tr_sh`
   17598 		if eval \${$cacheid+:} false; then :
   17599   $as_echo_n "(cached) " >&6
   17600 else
   17601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17602 /* end confdefs.h.  */
   17603 int i;
   17604 int
   17605 main ()
   17606 {
   17607 
   17608   ;
   17609   return 0;
   17610 }
   17611 _ACEOF
   17612 if ac_fn_c_try_link "$LINENO"; then :
   17613   eval $cacheid=yes
   17614 else
   17615   eval $cacheid=no
   17616 fi
   17617 rm -f core conftest.err conftest.$ac_objext \
   17618     conftest$ac_exeext conftest.$ac_ext
   17619 fi
   17620 
   17621 
   17622 		CFLAGS="$xorg_testset_save_CFLAGS"
   17623 
   17624 		eval supported=\$$cacheid
   17625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17626 $as_echo "$supported" >&6; }
   17627 		if test "$supported" = "yes" ; then
   17628 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17629 			found="yes"
   17630 		fi
   17631 	fi
   17632 
   17633 
   17634 
   17635 if test "x$STRICT_COMPILE" = "xyes"; then
   17636     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17637     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17638 fi
   17639 
   17640 
   17641 
   17642 
   17643 
   17644 
   17645 cat >>confdefs.h <<_ACEOF
   17646 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17647 _ACEOF
   17648 
   17649 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17650 	if test "x$PVM" = "x"; then
   17651 		PVM="0"
   17652 	fi
   17653 
   17654 cat >>confdefs.h <<_ACEOF
   17655 #define PACKAGE_VERSION_MINOR $PVM
   17656 _ACEOF
   17657 
   17658 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17659 	if test "x$PVP" = "x"; then
   17660 		PVP="0"
   17661 	fi
   17662 
   17663 cat >>confdefs.h <<_ACEOF
   17664 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17665 _ACEOF
   17666 
   17667 
   17668 
   17669 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17670 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17671 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17672 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17673 
   17674 
   17675 
   17676 
   17677 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17678 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17679 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17680 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17681 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 if test x$APP_MAN_SUFFIX = x    ; then
   17689     APP_MAN_SUFFIX=1
   17690 fi
   17691 if test x$APP_MAN_DIR = x    ; then
   17692     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17693 fi
   17694 
   17695 if test x$LIB_MAN_SUFFIX = x    ; then
   17696     LIB_MAN_SUFFIX=3
   17697 fi
   17698 if test x$LIB_MAN_DIR = x    ; then
   17699     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17700 fi
   17701 
   17702 if test x$FILE_MAN_SUFFIX = x    ; then
   17703     case $host_os in
   17704 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17705 	*)		FILE_MAN_SUFFIX=5  ;;
   17706     esac
   17707 fi
   17708 if test x$FILE_MAN_DIR = x    ; then
   17709     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17710 fi
   17711 
   17712 if test x$MISC_MAN_SUFFIX = x    ; then
   17713     case $host_os in
   17714 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17715 	*)		MISC_MAN_SUFFIX=7  ;;
   17716     esac
   17717 fi
   17718 if test x$MISC_MAN_DIR = x    ; then
   17719     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17720 fi
   17721 
   17722 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17723     case $host_os in
   17724 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17725 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17726     esac
   17727 fi
   17728 if test x$DRIVER_MAN_DIR = x    ; then
   17729     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17730 fi
   17731 
   17732 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17733     case $host_os in
   17734 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17735 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17736     esac
   17737 fi
   17738 if test x$ADMIN_MAN_DIR = x    ; then
   17739     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17740 fi
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 XORG_MAN_PAGE="X Version 11"
   17757 
   17758 MAN_SUBSTS="\
   17759 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17760 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17761 	-e 's|__xservername__|Xorg|g' \
   17762 	-e 's|__xconfigfile__|xorg.conf|g' \
   17763 	-e 's|__projectroot__|\$(prefix)|g' \
   17764 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17765 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17766 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17767 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17768 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17769 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17770 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17771 
   17772 
   17773 
   17774 # Check whether --enable-silent-rules was given.
   17775 if test "${enable_silent_rules+set}" = set; then :
   17776   enableval=$enable_silent_rules;
   17777 fi
   17778 
   17779 case $enable_silent_rules in # (((
   17780   yes) AM_DEFAULT_VERBOSITY=0;;
   17781    no) AM_DEFAULT_VERBOSITY=1;;
   17782     *) AM_DEFAULT_VERBOSITY=0;;
   17783 esac
   17784 am_make=${MAKE-make}
   17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17786 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17787 if ${am_cv_make_support_nested_variables+:} false; then :
   17788   $as_echo_n "(cached) " >&6
   17789 else
   17790   if $as_echo 'TRUE=$(BAR$(V))
   17791 BAR0=false
   17792 BAR1=true
   17793 V=1
   17794 am__doit:
   17795 	@$(TRUE)
   17796 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17797   am_cv_make_support_nested_variables=yes
   17798 else
   17799   am_cv_make_support_nested_variables=no
   17800 fi
   17801 fi
   17802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17803 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17804 if test $am_cv_make_support_nested_variables = yes; then
   17805     AM_V='$(V)'
   17806   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17807 else
   17808   AM_V=$AM_DEFAULT_VERBOSITY
   17809   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17810 fi
   17811 AM_BACKSLASH='\'
   17812 
   17813 
   17814 
   17815 # Check whether --enable-malloc0returnsnull was given.
   17816 if test "${enable_malloc0returnsnull+set}" = set; then :
   17817   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   17818 else
   17819   MALLOC_ZERO_RETURNS_NULL=auto
   17820 fi
   17821 
   17822 
   17823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   17824 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   17825 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   17826 	if test "$cross_compiling" = yes; then :
   17827   MALLOC_ZERO_RETURNS_NULL=yes
   17828 else
   17829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17830 /* end confdefs.h.  */
   17831 
   17832 #include <stdlib.h>
   17833 
   17834 int
   17835 main ()
   17836 {
   17837 
   17838     char *m0, *r0, *c0, *p;
   17839     m0 = malloc(0);
   17840     p = malloc(10);
   17841     r0 = realloc(p,0);
   17842     c0 = calloc(0,10);
   17843     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   17844 
   17845   ;
   17846   return 0;
   17847 }
   17848 _ACEOF
   17849 if ac_fn_c_try_run "$LINENO"; then :
   17850   MALLOC_ZERO_RETURNS_NULL=yes
   17851 else
   17852   MALLOC_ZERO_RETURNS_NULL=no
   17853 fi
   17854 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   17855   conftest.$ac_objext conftest.beam conftest.$ac_ext
   17856 fi
   17857 
   17858 fi
   17859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   17860 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   17861 
   17862 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   17863 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   17864 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   17865 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   17866 else
   17867 	MALLOC_ZERO_CFLAGS=""
   17868 	XMALLOC_ZERO_CFLAGS=""
   17869 	XTMALLOC_ZERO_CFLAGS=""
   17870 fi
   17871 
   17872 
   17873 
   17874 
   17875 
   17876 
   17877 
   17878 # Check whether --enable-specs was given.
   17879 if test "${enable_specs+set}" = set; then :
   17880   enableval=$enable_specs; build_specs=$enableval
   17881 else
   17882   build_specs=yes
   17883 fi
   17884 
   17885 
   17886  if test x$build_specs = xyes; then
   17887   ENABLE_SPECS_TRUE=
   17888   ENABLE_SPECS_FALSE='#'
   17889 else
   17890   ENABLE_SPECS_TRUE='#'
   17891   ENABLE_SPECS_FALSE=
   17892 fi
   17893 
   17894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   17895 $as_echo_n "checking whether to build functional specifications... " >&6; }
   17896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   17897 $as_echo "$build_specs" >&6; }
   17898 
   17899 
   17900 
   17901 
   17902 
   17903 # Check whether --with-xmlto was given.
   17904 if test "${with_xmlto+set}" = set; then :
   17905   withval=$with_xmlto; use_xmlto=$withval
   17906 else
   17907   use_xmlto=auto
   17908 fi
   17909 
   17910 
   17911 
   17912 if test "x$use_xmlto" = x"auto"; then
   17913    # Extract the first word of "xmlto", so it can be a program name with args.
   17914 set dummy xmlto; ac_word=$2
   17915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17916 $as_echo_n "checking for $ac_word... " >&6; }
   17917 if ${ac_cv_path_XMLTO+:} false; then :
   17918   $as_echo_n "(cached) " >&6
   17919 else
   17920   case $XMLTO in
   17921   [\\/]* | ?:[\\/]*)
   17922   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17923   ;;
   17924   *)
   17925   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17926 for as_dir in $PATH
   17927 do
   17928   IFS=$as_save_IFS
   17929   test -z "$as_dir" && as_dir=.
   17930     for ac_exec_ext in '' $ac_executable_extensions; do
   17931   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17932     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17934     break 2
   17935   fi
   17936 done
   17937   done
   17938 IFS=$as_save_IFS
   17939 
   17940   ;;
   17941 esac
   17942 fi
   17943 XMLTO=$ac_cv_path_XMLTO
   17944 if test -n "$XMLTO"; then
   17945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17946 $as_echo "$XMLTO" >&6; }
   17947 else
   17948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17949 $as_echo "no" >&6; }
   17950 fi
   17951 
   17952 
   17953    if test "x$XMLTO" = "x"; then
   17954         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   17955 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   17956 	have_xmlto=no
   17957    else
   17958         have_xmlto=yes
   17959    fi
   17960 elif test "x$use_xmlto" = x"yes" ; then
   17961    # Extract the first word of "xmlto", so it can be a program name with args.
   17962 set dummy xmlto; ac_word=$2
   17963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17964 $as_echo_n "checking for $ac_word... " >&6; }
   17965 if ${ac_cv_path_XMLTO+:} false; then :
   17966   $as_echo_n "(cached) " >&6
   17967 else
   17968   case $XMLTO in
   17969   [\\/]* | ?:[\\/]*)
   17970   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17971   ;;
   17972   *)
   17973   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17974 for as_dir in $PATH
   17975 do
   17976   IFS=$as_save_IFS
   17977   test -z "$as_dir" && as_dir=.
   17978     for ac_exec_ext in '' $ac_executable_extensions; do
   17979   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17980     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17981     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17982     break 2
   17983   fi
   17984 done
   17985   done
   17986 IFS=$as_save_IFS
   17987 
   17988   ;;
   17989 esac
   17990 fi
   17991 XMLTO=$ac_cv_path_XMLTO
   17992 if test -n "$XMLTO"; then
   17993   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17994 $as_echo "$XMLTO" >&6; }
   17995 else
   17996   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17997 $as_echo "no" >&6; }
   17998 fi
   17999 
   18000 
   18001    if test "x$XMLTO" = "x"; then
   18002         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   18003    fi
   18004    have_xmlto=yes
   18005 elif test "x$use_xmlto" = x"no" ; then
   18006    if test "x$XMLTO" != "x"; then
   18007       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   18008 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   18009    fi
   18010    have_xmlto=no
   18011 else
   18012    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   18013 fi
   18014 
   18015 # Test for a minimum version of xmlto, if provided.
   18016 if test "$have_xmlto" = yes; then
   18017     # scrape the xmlto version
   18018     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   18019 $as_echo_n "checking the xmlto version... " >&6; }
   18020     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   18021     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   18022 $as_echo "$xmlto_version" >&6; }
   18023     as_arg_v1=$xmlto_version
   18024 as_arg_v2=0.0.20
   18025 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   18026 case $? in #(
   18027   1) :
   18028     if test "x$use_xmlto" = xauto; then
   18029             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&5
   18030 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.20 needed" >&2;}
   18031             have_xmlto=no
   18032         else
   18033             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.20 needed" "$LINENO" 5
   18034         fi ;; #(
   18035   0) :
   18036      ;; #(
   18037   2) :
   18038      ;; #(
   18039   *) :
   18040      ;;
   18041 esac
   18042 fi
   18043 
   18044 # Test for the ability of xmlto to generate a text target
   18045 have_xmlto_text=no
   18046 cat > conftest.xml << "EOF"
   18047 EOF
   18048 if test "$have_xmlto" = yes; then :
   18049   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   18050   have_xmlto_text=yes
   18051 else
   18052   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   18053 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   18054 fi
   18055 fi
   18056 rm -f conftest.xml
   18057  if test $have_xmlto_text = yes; then
   18058   HAVE_XMLTO_TEXT_TRUE=
   18059   HAVE_XMLTO_TEXT_FALSE='#'
   18060 else
   18061   HAVE_XMLTO_TEXT_TRUE='#'
   18062   HAVE_XMLTO_TEXT_FALSE=
   18063 fi
   18064 
   18065  if test "$have_xmlto" = yes; then
   18066   HAVE_XMLTO_TRUE=
   18067   HAVE_XMLTO_FALSE='#'
   18068 else
   18069   HAVE_XMLTO_TRUE='#'
   18070   HAVE_XMLTO_FALSE=
   18071 fi
   18072 
   18073 
   18074 
   18075 
   18076 
   18077 
   18078 # Check whether --with-fop was given.
   18079 if test "${with_fop+set}" = set; then :
   18080   withval=$with_fop; use_fop=$withval
   18081 else
   18082   use_fop=auto
   18083 fi
   18084 
   18085 
   18086 
   18087 if test "x$use_fop" = x"auto"; then
   18088    # Extract the first word of "fop", so it can be a program name with args.
   18089 set dummy fop; ac_word=$2
   18090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18091 $as_echo_n "checking for $ac_word... " >&6; }
   18092 if ${ac_cv_path_FOP+:} false; then :
   18093   $as_echo_n "(cached) " >&6
   18094 else
   18095   case $FOP in
   18096   [\\/]* | ?:[\\/]*)
   18097   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18098   ;;
   18099   *)
   18100   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18101 for as_dir in $PATH
   18102 do
   18103   IFS=$as_save_IFS
   18104   test -z "$as_dir" && as_dir=.
   18105     for ac_exec_ext in '' $ac_executable_extensions; do
   18106   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18107     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18109     break 2
   18110   fi
   18111 done
   18112   done
   18113 IFS=$as_save_IFS
   18114 
   18115   ;;
   18116 esac
   18117 fi
   18118 FOP=$ac_cv_path_FOP
   18119 if test -n "$FOP"; then
   18120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18121 $as_echo "$FOP" >&6; }
   18122 else
   18123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18124 $as_echo "no" >&6; }
   18125 fi
   18126 
   18127 
   18128    if test "x$FOP" = "x"; then
   18129         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   18130 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   18131 	have_fop=no
   18132    else
   18133         have_fop=yes
   18134    fi
   18135 elif test "x$use_fop" = x"yes" ; then
   18136    # Extract the first word of "fop", so it can be a program name with args.
   18137 set dummy fop; ac_word=$2
   18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18139 $as_echo_n "checking for $ac_word... " >&6; }
   18140 if ${ac_cv_path_FOP+:} false; then :
   18141   $as_echo_n "(cached) " >&6
   18142 else
   18143   case $FOP in
   18144   [\\/]* | ?:[\\/]*)
   18145   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   18146   ;;
   18147   *)
   18148   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18149 for as_dir in $PATH
   18150 do
   18151   IFS=$as_save_IFS
   18152   test -z "$as_dir" && as_dir=.
   18153     for ac_exec_ext in '' $ac_executable_extensions; do
   18154   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18155     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   18156     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18157     break 2
   18158   fi
   18159 done
   18160   done
   18161 IFS=$as_save_IFS
   18162 
   18163   ;;
   18164 esac
   18165 fi
   18166 FOP=$ac_cv_path_FOP
   18167 if test -n "$FOP"; then
   18168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   18169 $as_echo "$FOP" >&6; }
   18170 else
   18171   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18172 $as_echo "no" >&6; }
   18173 fi
   18174 
   18175 
   18176    if test "x$FOP" = "x"; then
   18177         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   18178    fi
   18179    have_fop=yes
   18180 elif test "x$use_fop" = x"no" ; then
   18181    if test "x$FOP" != "x"; then
   18182       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   18183 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   18184    fi
   18185    have_fop=no
   18186 else
   18187    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   18188 fi
   18189 
   18190 # Test for a minimum version of fop, if provided.
   18191 
   18192  if test "$have_fop" = yes; then
   18193   HAVE_FOP_TRUE=
   18194   HAVE_FOP_FALSE='#'
   18195 else
   18196   HAVE_FOP_TRUE='#'
   18197   HAVE_FOP_FALSE=
   18198 fi
   18199 
   18200 
   18201 
   18202 
   18203 # Preserves the interface, should it be implemented later
   18204 
   18205 
   18206 
   18207 # Check whether --with-xsltproc was given.
   18208 if test "${with_xsltproc+set}" = set; then :
   18209   withval=$with_xsltproc; use_xsltproc=$withval
   18210 else
   18211   use_xsltproc=auto
   18212 fi
   18213 
   18214 
   18215 
   18216 if test "x$use_xsltproc" = x"auto"; then
   18217    # Extract the first word of "xsltproc", so it can be a program name with args.
   18218 set dummy xsltproc; ac_word=$2
   18219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18220 $as_echo_n "checking for $ac_word... " >&6; }
   18221 if ${ac_cv_path_XSLTPROC+:} false; then :
   18222   $as_echo_n "(cached) " >&6
   18223 else
   18224   case $XSLTPROC in
   18225   [\\/]* | ?:[\\/]*)
   18226   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18227   ;;
   18228   *)
   18229   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18230 for as_dir in $PATH
   18231 do
   18232   IFS=$as_save_IFS
   18233   test -z "$as_dir" && as_dir=.
   18234     for ac_exec_ext in '' $ac_executable_extensions; do
   18235   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18236     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18237     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18238     break 2
   18239   fi
   18240 done
   18241   done
   18242 IFS=$as_save_IFS
   18243 
   18244   ;;
   18245 esac
   18246 fi
   18247 XSLTPROC=$ac_cv_path_XSLTPROC
   18248 if test -n "$XSLTPROC"; then
   18249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18250 $as_echo "$XSLTPROC" >&6; }
   18251 else
   18252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18253 $as_echo "no" >&6; }
   18254 fi
   18255 
   18256 
   18257    if test "x$XSLTPROC" = "x"; then
   18258         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   18259 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   18260 	have_xsltproc=no
   18261    else
   18262         have_xsltproc=yes
   18263    fi
   18264 elif test "x$use_xsltproc" = x"yes" ; then
   18265    # Extract the first word of "xsltproc", so it can be a program name with args.
   18266 set dummy xsltproc; ac_word=$2
   18267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18268 $as_echo_n "checking for $ac_word... " >&6; }
   18269 if ${ac_cv_path_XSLTPROC+:} false; then :
   18270   $as_echo_n "(cached) " >&6
   18271 else
   18272   case $XSLTPROC in
   18273   [\\/]* | ?:[\\/]*)
   18274   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   18275   ;;
   18276   *)
   18277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18278 for as_dir in $PATH
   18279 do
   18280   IFS=$as_save_IFS
   18281   test -z "$as_dir" && as_dir=.
   18282     for ac_exec_ext in '' $ac_executable_extensions; do
   18283   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18284     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   18285     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18286     break 2
   18287   fi
   18288 done
   18289   done
   18290 IFS=$as_save_IFS
   18291 
   18292   ;;
   18293 esac
   18294 fi
   18295 XSLTPROC=$ac_cv_path_XSLTPROC
   18296 if test -n "$XSLTPROC"; then
   18297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   18298 $as_echo "$XSLTPROC" >&6; }
   18299 else
   18300   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18301 $as_echo "no" >&6; }
   18302 fi
   18303 
   18304 
   18305    if test "x$XSLTPROC" = "x"; then
   18306         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   18307    fi
   18308    have_xsltproc=yes
   18309 elif test "x$use_xsltproc" = x"no" ; then
   18310    if test "x$XSLTPROC" != "x"; then
   18311       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   18312 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   18313    fi
   18314    have_xsltproc=no
   18315 else
   18316    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   18317 fi
   18318 
   18319  if test "$have_xsltproc" = yes; then
   18320   HAVE_XSLTPROC_TRUE=
   18321   HAVE_XSLTPROC_FALSE='#'
   18322 else
   18323   HAVE_XSLTPROC_TRUE='#'
   18324   HAVE_XSLTPROC_FALSE=
   18325 fi
   18326 
   18327 
   18328 
   18329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.01" >&5
   18330 $as_echo_n "checking for X.Org SGML entities >= 1.01... " >&6; }
   18331 XORG_SGML_PATH=
   18332 if test -n "$PKG_CONFIG" && \
   18333     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.01\""; } >&5
   18334   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.01") 2>&5
   18335   ac_status=$?
   18336   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18337   test $ac_status = 0; }; then
   18338   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   18339 else
   18340   :
   18341 
   18342 fi
   18343 
   18344 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   18345 # the path and the name of the doc stylesheet
   18346 if test "x$XORG_SGML_PATH" != "x" ; then
   18347    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   18348 $as_echo "$XORG_SGML_PATH" >&6; }
   18349    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   18350    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   18351 else
   18352    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18353 $as_echo "no" >&6; }
   18354 fi
   18355 
   18356 
   18357 
   18358 
   18359  if test "x$XSL_STYLESHEET" != "x"; then
   18360   HAVE_STYLESHEETS_TRUE=
   18361   HAVE_STYLESHEETS_FALSE='#'
   18362 else
   18363   HAVE_STYLESHEETS_TRUE='#'
   18364   HAVE_STYLESHEETS_FALSE=
   18365 fi
   18366 
   18367 
   18368 
   18369 
   18370 for ac_prog in cpp
   18371 do
   18372   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18373 set dummy $ac_prog; ac_word=$2
   18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18375 $as_echo_n "checking for $ac_word... " >&6; }
   18376 if ${ac_cv_path_RAWCPP+:} false; then :
   18377   $as_echo_n "(cached) " >&6
   18378 else
   18379   case $RAWCPP in
   18380   [\\/]* | ?:[\\/]*)
   18381   ac_cv_path_RAWCPP="$RAWCPP" # Let the user override the test with a path.
   18382   ;;
   18383   *)
   18384   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18385 as_dummy="$PATH:/bin:/usr/bin:/usr/lib:/usr/libexec:/usr/ccs/lib:/usr/ccs/lbin:/lib"
   18386 for as_dir in $as_dummy
   18387 do
   18388   IFS=$as_save_IFS
   18389   test -z "$as_dir" && as_dir=.
   18390     for ac_exec_ext in '' $ac_executable_extensions; do
   18391   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18392     ac_cv_path_RAWCPP="$as_dir/$ac_word$ac_exec_ext"
   18393     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18394     break 2
   18395   fi
   18396 done
   18397   done
   18398 IFS=$as_save_IFS
   18399 
   18400   ;;
   18401 esac
   18402 fi
   18403 RAWCPP=$ac_cv_path_RAWCPP
   18404 if test -n "$RAWCPP"; then
   18405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RAWCPP" >&5
   18406 $as_echo "$RAWCPP" >&6; }
   18407 else
   18408   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18409 $as_echo "no" >&6; }
   18410 fi
   18411 
   18412 
   18413   test -n "$RAWCPP" && break
   18414 done
   18415 test -n "$RAWCPP" || RAWCPP="${CPP}"
   18416 
   18417 
   18418 # Check for flag to avoid builtin definitions - assumes unix is predefined,
   18419 # which is not the best choice for supporting other OS'es, but covers most
   18420 # of the ones we need for now.
   18421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -undef" >&5
   18422 $as_echo_n "checking if $RAWCPP requires -undef... " >&6; }
   18423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18424 /* end confdefs.h.  */
   18425 Does cpp redefine unix ?
   18426 _ACEOF
   18427 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18429 $as_echo "no" >&6; }
   18430 else
   18431 	if test `${RAWCPP} -undef < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18432 		RAWCPPFLAGS=-undef
   18433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18434 $as_echo "yes" >&6; }
   18435 	# under Cygwin unix is still defined even with -undef
   18436 	elif test `${RAWCPP} -undef -ansi < conftest.$ac_ext | grep -c 'unix'` -eq 1 ; then
   18437 		RAWCPPFLAGS="-undef -ansi"
   18438 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, with -ansi" >&5
   18439 $as_echo "yes, with -ansi" >&6; }
   18440 	else
   18441 		as_fn_error $? "${RAWCPP} defines unix with or without -undef.  I don't know what to do." "$LINENO" 5
   18442 	fi
   18443 fi
   18444 rm -f conftest.$ac_ext
   18445 
   18446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $RAWCPP requires -traditional" >&5
   18447 $as_echo_n "checking if $RAWCPP requires -traditional... " >&6; }
   18448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18449 /* end confdefs.h.  */
   18450 Does cpp preserve   "whitespace"?
   18451 _ACEOF
   18452 if test `${RAWCPP} < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   18453 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18454 $as_echo "no" >&6; }
   18455 else
   18456 	if test `${RAWCPP} -traditional < conftest.$ac_ext | grep -c 'preserve   \"'` -eq 1 ; then
   18457 		RAWCPPFLAGS="${RAWCPPFLAGS} -traditional"
   18458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18459 $as_echo "yes" >&6; }
   18460 	else
   18461 		as_fn_error $? "${RAWCPP} does not preserve whitespace with or without -traditional.  I don't know what to do." "$LINENO" 5
   18462 	fi
   18463 fi
   18464 rm -f conftest.$ac_ext
   18465 
   18466 
   18467 
   18468 
   18469 # Preserves the interface, should it be implemented later
   18470 
   18471 
   18472 
   18473 # Check whether --with-perl was given.
   18474 if test "${with_perl+set}" = set; then :
   18475   withval=$with_perl; use_perl=$withval
   18476 else
   18477   use_perl=auto
   18478 fi
   18479 
   18480 
   18481 
   18482 if test "x$use_perl" = x"auto"; then
   18483    # Extract the first word of "perl", so it can be a program name with args.
   18484 set dummy perl; ac_word=$2
   18485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18486 $as_echo_n "checking for $ac_word... " >&6; }
   18487 if ${ac_cv_path_PERL+:} false; then :
   18488   $as_echo_n "(cached) " >&6
   18489 else
   18490   case $PERL in
   18491   [\\/]* | ?:[\\/]*)
   18492   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   18493   ;;
   18494   *)
   18495   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18496 for as_dir in $PATH
   18497 do
   18498   IFS=$as_save_IFS
   18499   test -z "$as_dir" && as_dir=.
   18500     for ac_exec_ext in '' $ac_executable_extensions; do
   18501   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18502     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   18503     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18504     break 2
   18505   fi
   18506 done
   18507   done
   18508 IFS=$as_save_IFS
   18509 
   18510   ;;
   18511 esac
   18512 fi
   18513 PERL=$ac_cv_path_PERL
   18514 if test -n "$PERL"; then
   18515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   18516 $as_echo "$PERL" >&6; }
   18517 else
   18518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18519 $as_echo "no" >&6; }
   18520 fi
   18521 
   18522 
   18523    if test "x$PERL" = "x"; then
   18524         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl not found - cannot extract information and report" >&5
   18525 $as_echo "$as_me: WARNING: perl not found - cannot extract information and report" >&2;}
   18526 	have_perl=no
   18527    else
   18528         have_perl=yes
   18529    fi
   18530 elif test "x$use_perl" = x"yes" ; then
   18531    # Extract the first word of "perl", so it can be a program name with args.
   18532 set dummy perl; ac_word=$2
   18533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18534 $as_echo_n "checking for $ac_word... " >&6; }
   18535 if ${ac_cv_path_PERL+:} false; then :
   18536   $as_echo_n "(cached) " >&6
   18537 else
   18538   case $PERL in
   18539   [\\/]* | ?:[\\/]*)
   18540   ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
   18541   ;;
   18542   *)
   18543   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18544 for as_dir in $PATH
   18545 do
   18546   IFS=$as_save_IFS
   18547   test -z "$as_dir" && as_dir=.
   18548     for ac_exec_ext in '' $ac_executable_extensions; do
   18549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18550     ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
   18551     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18552     break 2
   18553   fi
   18554 done
   18555   done
   18556 IFS=$as_save_IFS
   18557 
   18558   ;;
   18559 esac
   18560 fi
   18561 PERL=$ac_cv_path_PERL
   18562 if test -n "$PERL"; then
   18563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
   18564 $as_echo "$PERL" >&6; }
   18565 else
   18566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18567 $as_echo "no" >&6; }
   18568 fi
   18569 
   18570 
   18571    if test "x$PERL" = "x"; then
   18572         as_fn_error $? "--with-perl=yes specified but perl not found in PATH" "$LINENO" 5
   18573    fi
   18574    have_perl=yes
   18575 elif test "x$use_perl" = x"no" ; then
   18576    if test "x$PERL" != "x"; then
   18577       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&5
   18578 $as_echo "$as_me: WARNING: ignoring PERL environment variable since --with-perl=no was specified" >&2;}
   18579    fi
   18580    have_perl=no
   18581 else
   18582    as_fn_error $? "--with-perl expects 'yes' or 'no'" "$LINENO" 5
   18583 fi
   18584 
   18585  if test "$have_perl" = yes; then
   18586   HAVE_PERL_TRUE=
   18587   HAVE_PERL_FALSE='#'
   18588 else
   18589   HAVE_PERL_TRUE='#'
   18590   HAVE_PERL_FALSE=
   18591 fi
   18592 
   18593 
   18594 
   18595 
   18596 # Checks for header files.
   18597 ac_fn_c_check_header_mongrel "$LINENO" "alloca.h" "ac_cv_header_alloca_h" "$ac_includes_default"
   18598 if test "x$ac_cv_header_alloca_h" = xyes; then :
   18599 
   18600 $as_echo "#define INCLUDE_ALLOCA_H 1" >>confdefs.h
   18601 
   18602 fi
   18603 
   18604 
   18605 
   18606 # Obtain compiler/linker options for depedencies
   18607 
   18608 pkg_failed=no
   18609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XT" >&5
   18610 $as_echo_n "checking for XT... " >&6; }
   18611 
   18612 if test -n "$XT_CFLAGS"; then
   18613     pkg_cv_XT_CFLAGS="$XT_CFLAGS"
   18614  elif test -n "$PKG_CONFIG"; then
   18615     if test -n "$PKG_CONFIG" && \
   18616     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice x11 xproto kbproto\""; } >&5
   18617   ($PKG_CONFIG --exists --print-errors "sm ice x11 xproto kbproto") 2>&5
   18618   ac_status=$?
   18619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18620   test $ac_status = 0; }; then
   18621   pkg_cv_XT_CFLAGS=`$PKG_CONFIG --cflags "sm ice x11 xproto kbproto" 2>/dev/null`
   18622 else
   18623   pkg_failed=yes
   18624 fi
   18625  else
   18626     pkg_failed=untried
   18627 fi
   18628 if test -n "$XT_LIBS"; then
   18629     pkg_cv_XT_LIBS="$XT_LIBS"
   18630  elif test -n "$PKG_CONFIG"; then
   18631     if test -n "$PKG_CONFIG" && \
   18632     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sm ice x11 xproto kbproto\""; } >&5
   18633   ($PKG_CONFIG --exists --print-errors "sm ice x11 xproto kbproto") 2>&5
   18634   ac_status=$?
   18635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18636   test $ac_status = 0; }; then
   18637   pkg_cv_XT_LIBS=`$PKG_CONFIG --libs "sm ice x11 xproto kbproto" 2>/dev/null`
   18638 else
   18639   pkg_failed=yes
   18640 fi
   18641  else
   18642     pkg_failed=untried
   18643 fi
   18644 
   18645 
   18646 
   18647 if test $pkg_failed = yes; then
   18648 
   18649 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18650         _pkg_short_errors_supported=yes
   18651 else
   18652         _pkg_short_errors_supported=no
   18653 fi
   18654         if test $_pkg_short_errors_supported = yes; then
   18655 	        XT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sm ice x11 xproto kbproto" 2>&1`
   18656         else
   18657 	        XT_PKG_ERRORS=`$PKG_CONFIG --print-errors "sm ice x11 xproto kbproto" 2>&1`
   18658         fi
   18659 	# Put the nasty error message in config.log where it belongs
   18660 	echo "$XT_PKG_ERRORS" >&5
   18661 
   18662 	as_fn_error $? "Package requirements (sm ice x11 xproto kbproto) were not met:
   18663 
   18664 $XT_PKG_ERRORS
   18665 
   18666 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18667 installed software in a non-standard prefix.
   18668 
   18669 Alternatively, you may set the environment variables XT_CFLAGS
   18670 and XT_LIBS to avoid the need to call pkg-config.
   18671 See the pkg-config man page for more details.
   18672 " "$LINENO" 5
   18673 elif test $pkg_failed = untried; then
   18674 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18675 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18676 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18677 is in your PATH or set the PKG_CONFIG environment variable to the full
   18678 path to pkg-config.
   18679 
   18680 Alternatively, you may set the environment variables XT_CFLAGS
   18681 and XT_LIBS to avoid the need to call pkg-config.
   18682 See the pkg-config man page for more details.
   18683 
   18684 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18685 See \`config.log' for more details" "$LINENO" 5; }
   18686 else
   18687 	XT_CFLAGS=$pkg_cv_XT_CFLAGS
   18688 	XT_LIBS=$pkg_cv_XT_LIBS
   18689         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18690 $as_echo "yes" >&6; }
   18691 	:
   18692 fi
   18693 
   18694 # Set-up variables to use build machine compiler when cross-compiling
   18695 if test x"$CC_FOR_BUILD" = x; then
   18696 	if test x"$cross_compiling" = xyes; then
   18697 		for ac_prog in gcc cc
   18698 do
   18699   # Extract the first word of "$ac_prog", so it can be a program name with args.
   18700 set dummy $ac_prog; ac_word=$2
   18701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18702 $as_echo_n "checking for $ac_word... " >&6; }
   18703 if ${ac_cv_prog_CC_FOR_BUILD+:} false; then :
   18704   $as_echo_n "(cached) " >&6
   18705 else
   18706   if test -n "$CC_FOR_BUILD"; then
   18707   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
   18708 else
   18709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18710 for as_dir in $PATH
   18711 do
   18712   IFS=$as_save_IFS
   18713   test -z "$as_dir" && as_dir=.
   18714     for ac_exec_ext in '' $ac_executable_extensions; do
   18715   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18716     ac_cv_prog_CC_FOR_BUILD="$ac_prog"
   18717     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18718     break 2
   18719   fi
   18720 done
   18721   done
   18722 IFS=$as_save_IFS
   18723 
   18724 fi
   18725 fi
   18726 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
   18727 if test -n "$CC_FOR_BUILD"; then
   18728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC_FOR_BUILD" >&5
   18729 $as_echo "$CC_FOR_BUILD" >&6; }
   18730 else
   18731   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18732 $as_echo "no" >&6; }
   18733 fi
   18734 
   18735 
   18736   test -n "$CC_FOR_BUILD" && break
   18737 done
   18738 
   18739 	else
   18740 	        CC_FOR_BUILD="$CC"
   18741 	fi
   18742 fi
   18743 
   18744 CFLAGS_FOR_BUILD=${CFLAGS_FOR_BUILD-${CFLAGS}}
   18745 
   18746 LDFLAGS_FOR_BUILD=${LDFLAGS_FOR_BUILD-${LDFLAGS}}
   18747 
   18748 
   18749 # Map function checks to old Imake #defines
   18750 case $host_os in
   18751 	# darwin through Snow Leopard has poll() but can't be used to poll character devices.
   18752 	darwin[789]*|darwin10*) ;;
   18753 	darwin*)
   18754 		_ac_xorg_macosx_version_min=""
   18755 		if echo $CPPFLAGS $CFLAGS | grep -q mmacosx-version-min ; then
   18756 			_ac_xorg_macosx_version_min=`echo $CPPFLAGS $CFLAGS | sed 's/^.*-mmacosx-version-min=\([^ ]*\).*$/\1/'`
   18757 		else
   18758 			_ac_xorg_macosx_version_min=$MACOSX_DEPLOYMENT_TARGET
   18759 		fi
   18760 		case $_ac_xorg_macosx_version_min in
   18761 			10.[0123456]|10.[0123456].*) ;;
   18762 			*)
   18763 				ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   18764 if test "x$ac_cv_func_poll" = xyes; then :
   18765 
   18766 $as_echo "#define USE_POLL 1" >>confdefs.h
   18767 
   18768 fi
   18769 
   18770 			;;
   18771 		esac
   18772 		unset _ac_xorg_macosx_version_min
   18773 		;;
   18774 	*)
   18775 		ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
   18776 if test "x$ac_cv_func_poll" = xyes; then :
   18777 
   18778 $as_echo "#define USE_POLL 1" >>confdefs.h
   18779 
   18780 fi
   18781 
   18782 	;;
   18783 esac
   18784 
   18785 # Link with winsock if mingw target
   18786 case $host_os in
   18787 	*mingw*)
   18788 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   18789 $as_echo_n "checking for main in -lws2_32... " >&6; }
   18790 if ${ac_cv_lib_ws2_32_main+:} false; then :
   18791   $as_echo_n "(cached) " >&6
   18792 else
   18793   ac_check_lib_save_LIBS=$LIBS
   18794 LIBS="-lws2_32  $LIBS"
   18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18796 /* end confdefs.h.  */
   18797 
   18798 
   18799 int
   18800 main ()
   18801 {
   18802 return main ();
   18803   ;
   18804   return 0;
   18805 }
   18806 _ACEOF
   18807 if ac_fn_c_try_link "$LINENO"; then :
   18808   ac_cv_lib_ws2_32_main=yes
   18809 else
   18810   ac_cv_lib_ws2_32_main=no
   18811 fi
   18812 rm -f core conftest.err conftest.$ac_objext \
   18813     conftest$ac_exeext conftest.$ac_ext
   18814 LIBS=$ac_check_lib_save_LIBS
   18815 fi
   18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   18817 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   18818 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   18819   cat >>confdefs.h <<_ACEOF
   18820 #define HAVE_LIBWS2_32 1
   18821 _ACEOF
   18822 
   18823   LIBS="-lws2_32 $LIBS"
   18824 
   18825 fi
   18826 ac_cv_lib_ws2_32=ac_cv_lib_ws2_32_main
   18827 
   18828 	;;
   18829 	*)
   18830 	;;
   18831 esac
   18832 
   18833 # Options
   18834 # Check whether --enable-xkb was given.
   18835 if test "${enable_xkb+set}" = set; then :
   18836   enableval=$enable_xkb; XKB="$enableval"
   18837 else
   18838   XKB="yes"
   18839 fi
   18840 
   18841 if test "x$XKB" = "xyes" ; then
   18842 
   18843 $as_echo "#define XKB 1" >>confdefs.h
   18844 
   18845 fi
   18846 
   18847 # --enable-unit-tests
   18848 
   18849 
   18850 
   18851 
   18852 
   18853 # Check for different types of support on different platforms
   18854 case $host_os in
   18855     solaris*)
   18856         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   18857 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   18858 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   18859   $as_echo_n "(cached) " >&6
   18860 else
   18861   ac_check_lib_save_LIBS=$LIBS
   18862 LIBS="-lumem  $LIBS"
   18863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18864 /* end confdefs.h.  */
   18865 
   18866 /* Override any GCC internal prototype to avoid an error.
   18867    Use char because int might match the return type of a GCC
   18868    builtin and then its argument prototype would still apply.  */
   18869 #ifdef __cplusplus
   18870 extern "C"
   18871 #endif
   18872 char umem_alloc ();
   18873 int
   18874 main ()
   18875 {
   18876 return umem_alloc ();
   18877   ;
   18878   return 0;
   18879 }
   18880 _ACEOF
   18881 if ac_fn_c_try_link "$LINENO"; then :
   18882   ac_cv_lib_umem_umem_alloc=yes
   18883 else
   18884   ac_cv_lib_umem_umem_alloc=no
   18885 fi
   18886 rm -f core conftest.err conftest.$ac_objext \
   18887     conftest$ac_exeext conftest.$ac_ext
   18888 LIBS=$ac_check_lib_save_LIBS
   18889 fi
   18890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   18891 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   18892 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   18893   malloc_debug_env='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   18894 fi
   18895 
   18896         ;;
   18897     *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   18898         # both directly and inverted, so should not be 0 or 255.
   18899         malloc_debug_env='MALLOC_PERTURB_=15'
   18900         ;;
   18901     darwin*)
   18902         malloc_debug_env='MallocPreScribble=1 MallocScribble=1 DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib'
   18903         ;;
   18904     *bsd*)
   18905         malloc_debug_env='MallocPreScribble=1 MallocScribble=1'
   18906         ;;
   18907 esac
   18908 
   18909 # User supplied flags override default flags
   18910 if test "x$XORG_MALLOC_DEBUG_ENV" != "x"; then
   18911     malloc_debug_env="$XORG_MALLOC_DEBUG_ENV"
   18912 fi
   18913 
   18914 XORG_MALLOC_DEBUG_ENV=$malloc_debug_env
   18915 
   18916 
   18917 
   18918 
   18919 
   18920 
   18921 
   18922 # Check whether --enable-unit-tests was given.
   18923 if test "${enable_unit_tests+set}" = set; then :
   18924   enableval=$enable_unit_tests; enable_unit_tests=$enableval
   18925 else
   18926   enable_unit_tests=auto
   18927 fi
   18928 
   18929 
   18930  if test "x$enable_unit_tests" != xno; then
   18931   ENABLE_UNIT_TESTS_TRUE=
   18932   ENABLE_UNIT_TESTS_FALSE='#'
   18933 else
   18934   ENABLE_UNIT_TESTS_TRUE='#'
   18935   ENABLE_UNIT_TESTS_FALSE=
   18936 fi
   18937 
   18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build unit test cases" >&5
   18939 $as_echo_n "checking whether to build unit test cases... " >&6; }
   18940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_unit_tests" >&5
   18941 $as_echo "$enable_unit_tests" >&6; }
   18942 
   18943 
   18944 
   18945 
   18946 
   18947 # Check whether --with-glib was given.
   18948 if test "${with_glib+set}" = set; then :
   18949   withval=$with_glib; with_glib=$withval
   18950 else
   18951   with_glib=auto
   18952 fi
   18953 
   18954 
   18955 
   18956 have_glib=no
   18957 # Do not probe GLib if user explicitly disabled unit testing
   18958 if test "x$enable_unit_tests" != x"no"; then
   18959   # Do not probe GLib if user explicitly disabled it
   18960   if test "x$with_glib" != x"no"; then
   18961 
   18962 pkg_failed=no
   18963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5
   18964 $as_echo_n "checking for GLIB... " >&6; }
   18965 
   18966 if test -n "$GLIB_CFLAGS"; then
   18967     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
   18968  elif test -n "$PKG_CONFIG"; then
   18969     if test -n "$PKG_CONFIG" && \
   18970     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
   18971   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
   18972   ac_status=$?
   18973   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18974   test $ac_status = 0; }; then
   18975   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0 >= 2.16" 2>/dev/null`
   18976 else
   18977   pkg_failed=yes
   18978 fi
   18979  else
   18980     pkg_failed=untried
   18981 fi
   18982 if test -n "$GLIB_LIBS"; then
   18983     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
   18984  elif test -n "$PKG_CONFIG"; then
   18985     if test -n "$PKG_CONFIG" && \
   18986     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 >= 2.16\""; } >&5
   18987   ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.16") 2>&5
   18988   ac_status=$?
   18989   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18990   test $ac_status = 0; }; then
   18991   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0 >= 2.16" 2>/dev/null`
   18992 else
   18993   pkg_failed=yes
   18994 fi
   18995  else
   18996     pkg_failed=untried
   18997 fi
   18998 
   18999 
   19000 
   19001 if test $pkg_failed = yes; then
   19002 
   19003 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19004         _pkg_short_errors_supported=yes
   19005 else
   19006         _pkg_short_errors_supported=no
   19007 fi
   19008         if test $_pkg_short_errors_supported = yes; then
   19009 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0 >= 2.16" 2>&1`
   19010         else
   19011 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.16" 2>&1`
   19012         fi
   19013 	# Put the nasty error message in config.log where it belongs
   19014 	echo "$GLIB_PKG_ERRORS" >&5
   19015 
   19016 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19017 $as_echo "no" >&6; }
   19018                 have_glib=no
   19019 elif test $pkg_failed = untried; then
   19020 	have_glib=no
   19021 else
   19022 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
   19023 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
   19024         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19025 $as_echo "yes" >&6; }
   19026 	have_glib=yes
   19027 fi
   19028   fi
   19029 fi
   19030 
   19031 # Not having GLib when unit testing has been explicitly requested is an error
   19032 if test "x$enable_unit_tests" = x"yes"; then
   19033   if test "x$have_glib" = x"no"; then
   19034     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   19035   fi
   19036 fi
   19037 
   19038 # Having unit testing disabled when GLib has been explicitly requested is an error
   19039 if test "x$enable_unit_tests" = x"no"; then
   19040   if test "x$with_glib" = x"yes"; then
   19041     as_fn_error $? "--enable-unit-tests=yes specified but glib-2.0 not found" "$LINENO" 5
   19042   fi
   19043 fi
   19044 
   19045 # Not having GLib when it has been explicitly requested is an error
   19046 if test "x$with_glib" = x"yes"; then
   19047   if test "x$have_glib" = x"no"; then
   19048     as_fn_error $? "--with-glib=yes specified but glib-2.0 not found" "$LINENO" 5
   19049   fi
   19050 fi
   19051 
   19052  if test "$have_glib" = yes; then
   19053   HAVE_GLIB_TRUE=
   19054   HAVE_GLIB_FALSE='#'
   19055 else
   19056   HAVE_GLIB_TRUE='#'
   19057   HAVE_GLIB_FALSE=
   19058 fi
   19059 
   19060 
   19061 
   19062 # Memory checking support
   19063 case $host_os in
   19064      solaris*)
   19065         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for umem_alloc in -lumem" >&5
   19066 $as_echo_n "checking for umem_alloc in -lumem... " >&6; }
   19067 if ${ac_cv_lib_umem_umem_alloc+:} false; then :
   19068   $as_echo_n "(cached) " >&6
   19069 else
   19070   ac_check_lib_save_LIBS=$LIBS
   19071 LIBS="-lumem  $LIBS"
   19072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   19073 /* end confdefs.h.  */
   19074 
   19075 /* Override any GCC internal prototype to avoid an error.
   19076    Use char because int might match the return type of a GCC
   19077    builtin and then its argument prototype would still apply.  */
   19078 #ifdef __cplusplus
   19079 extern "C"
   19080 #endif
   19081 char umem_alloc ();
   19082 int
   19083 main ()
   19084 {
   19085 return umem_alloc ();
   19086   ;
   19087   return 0;
   19088 }
   19089 _ACEOF
   19090 if ac_fn_c_try_link "$LINENO"; then :
   19091   ac_cv_lib_umem_umem_alloc=yes
   19092 else
   19093   ac_cv_lib_umem_umem_alloc=no
   19094 fi
   19095 rm -f core conftest.err conftest.$ac_objext \
   19096     conftest$ac_exeext conftest.$ac_ext
   19097 LIBS=$ac_check_lib_save_LIBS
   19098 fi
   19099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_umem_umem_alloc" >&5
   19100 $as_echo "$ac_cv_lib_umem_umem_alloc" >&6; }
   19101 if test "x$ac_cv_lib_umem_umem_alloc" = xyes; then :
   19102   MALLOC_DEBUG_ENV='LD_PRELOAD=libumem.so UMEM_DEBUG=default'
   19103 fi
   19104 
   19105         ;;
   19106      *-gnu*) # GNU libc - Value is used as a single byte bit pattern,
   19107         # both directly and inverted, so should not be 0 or 255.
   19108         MALLOC_DEBUG_ENV='MALLOC_PERTURB_=15'
   19109         ;;
   19110      *bsd*|darwin*)
   19111         MALLOC_DEBUG_ENV='MallocPreScribble=1 MallocScribble=1'
   19112         ;;
   19113 esac
   19114 
   19115 
   19116 # Replaces XFileSearchPathDefault from Imake configs
   19117 XFILESEARCHPATHDEFAULT='$(sysconfdir)/X11/%L/%T/%N%C%S:$(sysconfdir)/X11/%l/%T/%N%C%S:$(sysconfdir)/X11/%T/%N%C%S:$(sysconfdir)/X11/%L/%T/%N%S:$(sysconfdir)/X11/%l/%T/%N%S:$(sysconfdir)/X11/%T/%N%S:$(datadir)/X11/%L/%T/%N%C%S:$(datadir)/X11/%l/%T/%N%C%S:$(datadir)/X11/%T/%N%C%S:$(datadir)/X11/%L/%T/%N%S:$(datadir)/X11/%l/%T/%N%S:$(datadir)/X11/%T/%N%S:$(libdir)/X11/%L/%T/%N%C%S:$(libdir)/X11/%l/%T/%N%C%S:$(libdir)/X11/%T/%N%C%S:$(libdir)/X11/%L/%T/%N%S:$(libdir)/X11/%l/%T/%N%S:$(libdir)/X11/%T/%N%S'
   19118 
   19119 
   19120 # Check whether --with-xfile-search-path was given.
   19121 if test "${with_xfile_search_path+set}" = set; then :
   19122   withval=$with_xfile_search_path; XFILESEARCHPATHDEFAULT="$withval"
   19123 fi
   19124 
   19125 
   19126 
   19127 
   19128 # Check whether --with-appdefaultdir was given.
   19129 if test "${with_appdefaultdir+set}" = set; then :
   19130   withval=$with_appdefaultdir; appdefaultdir="$withval"
   19131 else
   19132   appdefaultdir=${datadir}/X11/app-defaults
   19133 fi
   19134 
   19135 
   19136   prefix_NONE=
   19137   exec_prefix_NONE=
   19138   test "x$prefix" = xNONE && prefix_NONE=yes && prefix=$ac_default_prefix
   19139   test "x$exec_prefix" = xNONE && exec_prefix_NONE=yes && exec_prefix=$prefix
   19140   eval ax_define_dir="\"$appdefaultdir\""
   19141   eval ax_define_dir="\"$ax_define_dir\""
   19142   appdefaultdir="$ax_define_dir"
   19143 
   19144 
   19145 cat >>confdefs.h <<_ACEOF
   19146 #define appdefaultdir "$ax_define_dir"
   19147 _ACEOF
   19148 
   19149   test "$prefix_NONE" && prefix=NONE
   19150   test "$exec_prefix_NONE" && exec_prefix=NONE
   19151 
   19152 
   19153 # Replacement for Imake ToolkitStringsABIOptions, controls string tables
   19154 # generated by util/string.list in StringDefs.h & Shell.h
   19155 case $host_os in
   19156 	solaris*)
   19157 		# Solaris uses -intelabi even on SPARC
   19158   		STRINGSABIOPTIONS="-intelabi -solarisabinames"
   19159 		;;
   19160 	sco* | svr4*)
   19161 		case $host_cpu in
   19162 		    i*86) STRINGSABIOPTIONS="-intelabi" ;;
   19163 		       *) STRINGSABIOPTIONS="" ;;
   19164 		esac
   19165 		;;
   19166 esac
   19167 
   19168 
   19169 ERRORDBDIR=${datadir}/X11
   19170 
   19171 
   19172 case $host_os in
   19173     darwin*)
   19174         OS_CFLAGS="-Wl,-flat_namespace"
   19175 	;;
   19176     *)
   19177         OS_CFLAGS=
   19178         ;;
   19179 esac
   19180 
   19181 XT_CFLAGS="$XT_CFLAGS $OS_CFLAGS"
   19182 
   19183 ac_config_files="$ac_config_files Makefile src/Makefile util/Makefile include/Makefile man/Makefile specs/Makefile test/Makefile xt.pc"
   19184 
   19185 cat >confcache <<\_ACEOF
   19186 # This file is a shell script that caches the results of configure
   19187 # tests run on this system so they can be shared between configure
   19188 # scripts and configure runs, see configure's option --config-cache.
   19189 # It is not useful on other systems.  If it contains results you don't
   19190 # want to keep, you may remove or edit it.
   19191 #
   19192 # config.status only pays attention to the cache file if you give it
   19193 # the --recheck option to rerun configure.
   19194 #
   19195 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19196 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19197 # following values.
   19198 
   19199 _ACEOF
   19200 
   19201 # The following way of writing the cache mishandles newlines in values,
   19202 # but we know of no workaround that is simple, portable, and efficient.
   19203 # So, we kill variables containing newlines.
   19204 # Ultrix sh set writes to stderr and can't be redirected directly,
   19205 # and sets the high bit in the cache file unless we assign to the vars.
   19206 (
   19207   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19208     eval ac_val=\$$ac_var
   19209     case $ac_val in #(
   19210     *${as_nl}*)
   19211       case $ac_var in #(
   19212       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19213 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19214       esac
   19215       case $ac_var in #(
   19216       _ | IFS | as_nl) ;; #(
   19217       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19218       *) { eval $ac_var=; unset $ac_var;} ;;
   19219       esac ;;
   19220     esac
   19221   done
   19222 
   19223   (set) 2>&1 |
   19224     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19225     *${as_nl}ac_space=\ *)
   19226       # `set' does not quote correctly, so add quotes: double-quote
   19227       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19228       sed -n \
   19229 	"s/'/'\\\\''/g;
   19230 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19231       ;; #(
   19232     *)
   19233       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19234       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19235       ;;
   19236     esac |
   19237     sort
   19238 ) |
   19239   sed '
   19240      /^ac_cv_env_/b end
   19241      t clear
   19242      :clear
   19243      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19244      t end
   19245      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19246      :end' >>confcache
   19247 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19248   if test -w "$cache_file"; then
   19249     if test "x$cache_file" != "x/dev/null"; then
   19250       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19251 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19252       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19253 	cat confcache >"$cache_file"
   19254       else
   19255         case $cache_file in #(
   19256         */* | ?:*)
   19257 	  mv -f confcache "$cache_file"$$ &&
   19258 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19259         *)
   19260 	  mv -f confcache "$cache_file" ;;
   19261 	esac
   19262       fi
   19263     fi
   19264   else
   19265     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19266 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19267   fi
   19268 fi
   19269 rm -f confcache
   19270 
   19271 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19272 # Let make expand exec_prefix.
   19273 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19274 
   19275 DEFS=-DHAVE_CONFIG_H
   19276 
   19277 ac_libobjs=
   19278 ac_ltlibobjs=
   19279 U=
   19280 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19281   # 1. Remove the extension, and $U if already installed.
   19282   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19283   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19284   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19285   #    will be set to the directory where LIBOBJS objects are built.
   19286   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19287   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19288 done
   19289 LIBOBJS=$ac_libobjs
   19290 
   19291 LTLIBOBJS=$ac_ltlibobjs
   19292 
   19293 
   19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19295 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19296    if test -n "$am_sleep_pid"; then
   19297      # Hide warnings about reused PIDs.
   19298      wait $am_sleep_pid 2>/dev/null
   19299    fi
   19300    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19301 $as_echo "done" >&6; }
   19302  if test -n "$EXEEXT"; then
   19303   am__EXEEXT_TRUE=
   19304   am__EXEEXT_FALSE='#'
   19305 else
   19306   am__EXEEXT_TRUE='#'
   19307   am__EXEEXT_FALSE=
   19308 fi
   19309 
   19310 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19311   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19312 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19313 fi
   19314 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19315   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19316 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19317 fi
   19318 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   19319   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   19320 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19321 fi
   19322 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   19323   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   19324 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19325 fi
   19326 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   19327   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   19328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19329 fi
   19330 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   19331   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   19332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19333 fi
   19334 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   19335   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   19336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19337 fi
   19338 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   19339   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   19340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19341 fi
   19342 if test -z "${HAVE_PERL_TRUE}" && test -z "${HAVE_PERL_FALSE}"; then
   19343   as_fn_error $? "conditional \"HAVE_PERL\" was never defined.
   19344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19345 fi
   19346 if test -z "${ENABLE_UNIT_TESTS_TRUE}" && test -z "${ENABLE_UNIT_TESTS_FALSE}"; then
   19347   as_fn_error $? "conditional \"ENABLE_UNIT_TESTS\" was never defined.
   19348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19349 fi
   19350 if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then
   19351   as_fn_error $? "conditional \"HAVE_GLIB\" was never defined.
   19352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19353 fi
   19354 
   19355 : "${CONFIG_STATUS=./config.status}"
   19356 ac_write_fail=0
   19357 ac_clean_files_save=$ac_clean_files
   19358 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19359 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19360 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19361 as_write_fail=0
   19362 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19363 #! $SHELL
   19364 # Generated by $as_me.
   19365 # Run this file to recreate the current configuration.
   19366 # Compiler output produced by configure, useful for debugging
   19367 # configure, is in config.log if it exists.
   19368 
   19369 debug=false
   19370 ac_cs_recheck=false
   19371 ac_cs_silent=false
   19372 
   19373 SHELL=\${CONFIG_SHELL-$SHELL}
   19374 export SHELL
   19375 _ASEOF
   19376 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19377 ## -------------------- ##
   19378 ## M4sh Initialization. ##
   19379 ## -------------------- ##
   19380 
   19381 # Be more Bourne compatible
   19382 DUALCASE=1; export DUALCASE # for MKS sh
   19383 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19384   emulate sh
   19385   NULLCMD=:
   19386   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19387   # is contrary to our usage.  Disable this feature.
   19388   alias -g '${1+"$@"}'='"$@"'
   19389   setopt NO_GLOB_SUBST
   19390 else
   19391   case `(set -o) 2>/dev/null` in #(
   19392   *posix*) :
   19393     set -o posix ;; #(
   19394   *) :
   19395      ;;
   19396 esac
   19397 fi
   19398 
   19399 
   19400 as_nl='
   19401 '
   19402 export as_nl
   19403 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19404 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19405 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19407 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19408 # but without wasting forks for bash or zsh.
   19409 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19410     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19411   as_echo='print -r --'
   19412   as_echo_n='print -rn --'
   19413 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19414   as_echo='printf %s\n'
   19415   as_echo_n='printf %s'
   19416 else
   19417   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19418     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19419     as_echo_n='/usr/ucb/echo -n'
   19420   else
   19421     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19422     as_echo_n_body='eval
   19423       arg=$1;
   19424       case $arg in #(
   19425       *"$as_nl"*)
   19426 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19427 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19428       esac;
   19429       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19430     '
   19431     export as_echo_n_body
   19432     as_echo_n='sh -c $as_echo_n_body as_echo'
   19433   fi
   19434   export as_echo_body
   19435   as_echo='sh -c $as_echo_body as_echo'
   19436 fi
   19437 
   19438 # The user is always right.
   19439 if test "${PATH_SEPARATOR+set}" != set; then
   19440   PATH_SEPARATOR=:
   19441   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19442     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19443       PATH_SEPARATOR=';'
   19444   }
   19445 fi
   19446 
   19447 
   19448 # IFS
   19449 # We need space, tab and new line, in precisely that order.  Quoting is
   19450 # there to prevent editors from complaining about space-tab.
   19451 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19452 # splitting by setting IFS to empty value.)
   19453 IFS=" ""	$as_nl"
   19454 
   19455 # Find who we are.  Look in the path if we contain no directory separator.
   19456 as_myself=
   19457 case $0 in #((
   19458   *[\\/]* ) as_myself=$0 ;;
   19459   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19460 for as_dir in $PATH
   19461 do
   19462   IFS=$as_save_IFS
   19463   test -z "$as_dir" && as_dir=.
   19464     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19465   done
   19466 IFS=$as_save_IFS
   19467 
   19468      ;;
   19469 esac
   19470 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19471 # in which case we are not to be found in the path.
   19472 if test "x$as_myself" = x; then
   19473   as_myself=$0
   19474 fi
   19475 if test ! -f "$as_myself"; then
   19476   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19477   exit 1
   19478 fi
   19479 
   19480 # Unset variables that we do not need and which cause bugs (e.g. in
   19481 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19482 # suppresses any "Segmentation fault" message there.  '((' could
   19483 # trigger a bug in pdksh 5.2.14.
   19484 for as_var in BASH_ENV ENV MAIL MAILPATH
   19485 do eval test x\${$as_var+set} = xset \
   19486   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19487 done
   19488 PS1='$ '
   19489 PS2='> '
   19490 PS4='+ '
   19491 
   19492 # NLS nuisances.
   19493 LC_ALL=C
   19494 export LC_ALL
   19495 LANGUAGE=C
   19496 export LANGUAGE
   19497 
   19498 # CDPATH.
   19499 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19500 
   19501 
   19502 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19503 # ----------------------------------------
   19504 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19505 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19506 # script with STATUS, using 1 if that was 0.
   19507 as_fn_error ()
   19508 {
   19509   as_status=$1; test $as_status -eq 0 && as_status=1
   19510   if test "$4"; then
   19511     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19512     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19513   fi
   19514   $as_echo "$as_me: error: $2" >&2
   19515   as_fn_exit $as_status
   19516 } # as_fn_error
   19517 
   19518 
   19519 # as_fn_set_status STATUS
   19520 # -----------------------
   19521 # Set $? to STATUS, without forking.
   19522 as_fn_set_status ()
   19523 {
   19524   return $1
   19525 } # as_fn_set_status
   19526 
   19527 # as_fn_exit STATUS
   19528 # -----------------
   19529 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19530 as_fn_exit ()
   19531 {
   19532   set +e
   19533   as_fn_set_status $1
   19534   exit $1
   19535 } # as_fn_exit
   19536 
   19537 # as_fn_unset VAR
   19538 # ---------------
   19539 # Portably unset VAR.
   19540 as_fn_unset ()
   19541 {
   19542   { eval $1=; unset $1;}
   19543 }
   19544 as_unset=as_fn_unset
   19545 # as_fn_append VAR VALUE
   19546 # ----------------------
   19547 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19548 # advantage of any shell optimizations that allow amortized linear growth over
   19549 # repeated appends, instead of the typical quadratic growth present in naive
   19550 # implementations.
   19551 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19552   eval 'as_fn_append ()
   19553   {
   19554     eval $1+=\$2
   19555   }'
   19556 else
   19557   as_fn_append ()
   19558   {
   19559     eval $1=\$$1\$2
   19560   }
   19561 fi # as_fn_append
   19562 
   19563 # as_fn_arith ARG...
   19564 # ------------------
   19565 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19566 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19567 # must be portable across $(()) and expr.
   19568 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19569   eval 'as_fn_arith ()
   19570   {
   19571     as_val=$(( $* ))
   19572   }'
   19573 else
   19574   as_fn_arith ()
   19575   {
   19576     as_val=`expr "$@" || test $? -eq 1`
   19577   }
   19578 fi # as_fn_arith
   19579 
   19580 
   19581 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19582    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19583   as_expr=expr
   19584 else
   19585   as_expr=false
   19586 fi
   19587 
   19588 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19589   as_basename=basename
   19590 else
   19591   as_basename=false
   19592 fi
   19593 
   19594 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19595   as_dirname=dirname
   19596 else
   19597   as_dirname=false
   19598 fi
   19599 
   19600 as_me=`$as_basename -- "$0" ||
   19601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19602 	 X"$0" : 'X\(//\)$' \| \
   19603 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19604 $as_echo X/"$0" |
   19605     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19606 	    s//\1/
   19607 	    q
   19608 	  }
   19609 	  /^X\/\(\/\/\)$/{
   19610 	    s//\1/
   19611 	    q
   19612 	  }
   19613 	  /^X\/\(\/\).*/{
   19614 	    s//\1/
   19615 	    q
   19616 	  }
   19617 	  s/.*/./; q'`
   19618 
   19619 # Avoid depending upon Character Ranges.
   19620 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19621 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19622 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19623 as_cr_digits='0123456789'
   19624 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19625 
   19626 ECHO_C= ECHO_N= ECHO_T=
   19627 case `echo -n x` in #(((((
   19628 -n*)
   19629   case `echo 'xy\c'` in
   19630   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19631   xy)  ECHO_C='\c';;
   19632   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19633        ECHO_T='	';;
   19634   esac;;
   19635 *)
   19636   ECHO_N='-n';;
   19637 esac
   19638 
   19639 rm -f conf$$ conf$$.exe conf$$.file
   19640 if test -d conf$$.dir; then
   19641   rm -f conf$$.dir/conf$$.file
   19642 else
   19643   rm -f conf$$.dir
   19644   mkdir conf$$.dir 2>/dev/null
   19645 fi
   19646 if (echo >conf$$.file) 2>/dev/null; then
   19647   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19648     as_ln_s='ln -s'
   19649     # ... but there are two gotchas:
   19650     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19651     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19652     # In both cases, we have to default to `cp -p'.
   19653     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19654       as_ln_s='cp -p'
   19655   elif ln conf$$.file conf$$ 2>/dev/null; then
   19656     as_ln_s=ln
   19657   else
   19658     as_ln_s='cp -p'
   19659   fi
   19660 else
   19661   as_ln_s='cp -p'
   19662 fi
   19663 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19664 rmdir conf$$.dir 2>/dev/null
   19665 
   19666 
   19667 # as_fn_mkdir_p
   19668 # -------------
   19669 # Create "$as_dir" as a directory, including parents if necessary.
   19670 as_fn_mkdir_p ()
   19671 {
   19672 
   19673   case $as_dir in #(
   19674   -*) as_dir=./$as_dir;;
   19675   esac
   19676   test -d "$as_dir" || eval $as_mkdir_p || {
   19677     as_dirs=
   19678     while :; do
   19679       case $as_dir in #(
   19680       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19681       *) as_qdir=$as_dir;;
   19682       esac
   19683       as_dirs="'$as_qdir' $as_dirs"
   19684       as_dir=`$as_dirname -- "$as_dir" ||
   19685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19686 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19687 	 X"$as_dir" : 'X\(//\)$' \| \
   19688 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19689 $as_echo X"$as_dir" |
   19690     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19691 	    s//\1/
   19692 	    q
   19693 	  }
   19694 	  /^X\(\/\/\)[^/].*/{
   19695 	    s//\1/
   19696 	    q
   19697 	  }
   19698 	  /^X\(\/\/\)$/{
   19699 	    s//\1/
   19700 	    q
   19701 	  }
   19702 	  /^X\(\/\).*/{
   19703 	    s//\1/
   19704 	    q
   19705 	  }
   19706 	  s/.*/./; q'`
   19707       test -d "$as_dir" && break
   19708     done
   19709     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19710   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19711 
   19712 
   19713 } # as_fn_mkdir_p
   19714 if mkdir -p . 2>/dev/null; then
   19715   as_mkdir_p='mkdir -p "$as_dir"'
   19716 else
   19717   test -d ./-p && rmdir ./-p
   19718   as_mkdir_p=false
   19719 fi
   19720 
   19721 if test -x / >/dev/null 2>&1; then
   19722   as_test_x='test -x'
   19723 else
   19724   if ls -dL / >/dev/null 2>&1; then
   19725     as_ls_L_option=L
   19726   else
   19727     as_ls_L_option=
   19728   fi
   19729   as_test_x='
   19730     eval sh -c '\''
   19731       if test -d "$1"; then
   19732 	test -d "$1/.";
   19733       else
   19734 	case $1 in #(
   19735 	-*)set "./$1";;
   19736 	esac;
   19737 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   19738 	???[sx]*):;;*)false;;esac;fi
   19739     '\'' sh
   19740   '
   19741 fi
   19742 as_executable_p=$as_test_x
   19743 
   19744 # Sed expression to map a string onto a valid CPP name.
   19745 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19746 
   19747 # Sed expression to map a string onto a valid variable name.
   19748 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19749 
   19750 
   19751 exec 6>&1
   19752 ## ----------------------------------- ##
   19753 ## Main body of $CONFIG_STATUS script. ##
   19754 ## ----------------------------------- ##
   19755 _ASEOF
   19756 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19757 
   19758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19759 # Save the log message, to keep $0 and so on meaningful, and to
   19760 # report actual input values of CONFIG_FILES etc. instead of their
   19761 # values after options handling.
   19762 ac_log="
   19763 This file was extended by libXt $as_me 1.1.4, which was
   19764 generated by GNU Autoconf 2.68.  Invocation command line was
   19765 
   19766   CONFIG_FILES    = $CONFIG_FILES
   19767   CONFIG_HEADERS  = $CONFIG_HEADERS
   19768   CONFIG_LINKS    = $CONFIG_LINKS
   19769   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19770   $ $0 $@
   19771 
   19772 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19773 "
   19774 
   19775 _ACEOF
   19776 
   19777 case $ac_config_files in *"
   19778 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19779 esac
   19780 
   19781 case $ac_config_headers in *"
   19782 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19783 esac
   19784 
   19785 
   19786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19787 # Files that config.status was made for.
   19788 config_files="$ac_config_files"
   19789 config_headers="$ac_config_headers"
   19790 config_commands="$ac_config_commands"
   19791 
   19792 _ACEOF
   19793 
   19794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19795 ac_cs_usage="\
   19796 \`$as_me' instantiates files and other configuration actions
   19797 from templates according to the current configuration.  Unless the files
   19798 and actions are specified as TAGs, all are instantiated by default.
   19799 
   19800 Usage: $0 [OPTION]... [TAG]...
   19801 
   19802   -h, --help       print this help, then exit
   19803   -V, --version    print version number and configuration settings, then exit
   19804       --config     print configuration, then exit
   19805   -q, --quiet, --silent
   19806                    do not print progress messages
   19807   -d, --debug      don't remove temporary files
   19808       --recheck    update $as_me by reconfiguring in the same conditions
   19809       --file=FILE[:TEMPLATE]
   19810                    instantiate the configuration file FILE
   19811       --header=FILE[:TEMPLATE]
   19812                    instantiate the configuration header FILE
   19813 
   19814 Configuration files:
   19815 $config_files
   19816 
   19817 Configuration headers:
   19818 $config_headers
   19819 
   19820 Configuration commands:
   19821 $config_commands
   19822 
   19823 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19824 
   19825 _ACEOF
   19826 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19827 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19828 ac_cs_version="\\
   19829 libXt config.status 1.1.4
   19830 configured by $0, generated by GNU Autoconf 2.68,
   19831   with options \\"\$ac_cs_config\\"
   19832 
   19833 Copyright (C) 2010 Free Software Foundation, Inc.
   19834 This config.status script is free software; the Free Software Foundation
   19835 gives unlimited permission to copy, distribute and modify it."
   19836 
   19837 ac_pwd='$ac_pwd'
   19838 srcdir='$srcdir'
   19839 INSTALL='$INSTALL'
   19840 MKDIR_P='$MKDIR_P'
   19841 AWK='$AWK'
   19842 test -n "\$AWK" || AWK=awk
   19843 _ACEOF
   19844 
   19845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19846 # The default lists apply if the user does not specify any file.
   19847 ac_need_defaults=:
   19848 while test $# != 0
   19849 do
   19850   case $1 in
   19851   --*=?*)
   19852     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19853     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19854     ac_shift=:
   19855     ;;
   19856   --*=)
   19857     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19858     ac_optarg=
   19859     ac_shift=:
   19860     ;;
   19861   *)
   19862     ac_option=$1
   19863     ac_optarg=$2
   19864     ac_shift=shift
   19865     ;;
   19866   esac
   19867 
   19868   case $ac_option in
   19869   # Handling of the options.
   19870   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19871     ac_cs_recheck=: ;;
   19872   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19873     $as_echo "$ac_cs_version"; exit ;;
   19874   --config | --confi | --conf | --con | --co | --c )
   19875     $as_echo "$ac_cs_config"; exit ;;
   19876   --debug | --debu | --deb | --de | --d | -d )
   19877     debug=: ;;
   19878   --file | --fil | --fi | --f )
   19879     $ac_shift
   19880     case $ac_optarg in
   19881     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19882     '') as_fn_error $? "missing file argument" ;;
   19883     esac
   19884     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19885     ac_need_defaults=false;;
   19886   --header | --heade | --head | --hea )
   19887     $ac_shift
   19888     case $ac_optarg in
   19889     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19890     esac
   19891     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19892     ac_need_defaults=false;;
   19893   --he | --h)
   19894     # Conflict between --help and --header
   19895     as_fn_error $? "ambiguous option: \`$1'
   19896 Try \`$0 --help' for more information.";;
   19897   --help | --hel | -h )
   19898     $as_echo "$ac_cs_usage"; exit ;;
   19899   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19900   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19901     ac_cs_silent=: ;;
   19902 
   19903   # This is an error.
   19904   -*) as_fn_error $? "unrecognized option: \`$1'
   19905 Try \`$0 --help' for more information." ;;
   19906 
   19907   *) as_fn_append ac_config_targets " $1"
   19908      ac_need_defaults=false ;;
   19909 
   19910   esac
   19911   shift
   19912 done
   19913 
   19914 ac_configure_extra_args=
   19915 
   19916 if $ac_cs_silent; then
   19917   exec 6>/dev/null
   19918   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19919 fi
   19920 
   19921 _ACEOF
   19922 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19923 if \$ac_cs_recheck; then
   19924   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19925   shift
   19926   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19927   CONFIG_SHELL='$SHELL'
   19928   export CONFIG_SHELL
   19929   exec "\$@"
   19930 fi
   19931 
   19932 _ACEOF
   19933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19934 exec 5>>config.log
   19935 {
   19936   echo
   19937   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19938 ## Running $as_me. ##
   19939 _ASBOX
   19940   $as_echo "$ac_log"
   19941 } >&5
   19942 
   19943 _ACEOF
   19944 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19945 #
   19946 # INIT-COMMANDS
   19947 #
   19948 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19949 
   19950 
   19951 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19952 # if CDPATH is set.
   19953 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19954 
   19955 sed_quote_subst='$sed_quote_subst'
   19956 double_quote_subst='$double_quote_subst'
   19957 delay_variable_subst='$delay_variable_subst'
   19958 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19959 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19960 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19961 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19962 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19963 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19964 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19965 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19966 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19967 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19968 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19969 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19970 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19971 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19972 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19973 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19974 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19975 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19976 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19977 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19978 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19979 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19980 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19981 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19982 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19983 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19984 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19985 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19986 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19987 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19988 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19989 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19990 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19991 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19992 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19993 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19994 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19995 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19996 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19997 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19998 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19999 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20000 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20001 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20002 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20003 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20004 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20005 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20006 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20007 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20008 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20009 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20010 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20011 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20012 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20013 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20014 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"`'
   20015 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20016 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20017 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20018 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20019 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20020 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20021 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20022 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20023 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20024 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20025 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20026 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20027 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20028 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20029 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20030 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20031 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20032 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20033 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20034 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20035 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20036 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20037 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20038 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20039 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20040 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20041 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20042 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20043 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20044 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20045 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20046 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20047 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20048 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20049 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20050 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20051 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20052 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20053 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20054 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20055 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20056 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20057 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20058 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20059 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20060 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20061 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20062 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20063 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20064 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20065 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20066 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20067 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20068 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20069 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20070 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20071 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20072 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20073 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20074 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20075 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20076 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20077 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20078 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20079 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20080 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20081 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   20082 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20083 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20084 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20085 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20086 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20087 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20088 
   20089 LTCC='$LTCC'
   20090 LTCFLAGS='$LTCFLAGS'
   20091 compiler='$compiler_DEFAULT'
   20092 
   20093 # A function that is used when there is no print builtin or printf.
   20094 func_fallback_echo ()
   20095 {
   20096   eval 'cat <<_LTECHO_EOF
   20097 \$1
   20098 _LTECHO_EOF'
   20099 }
   20100 
   20101 # Quote evaled strings.
   20102 for var in SHELL \
   20103 ECHO \
   20104 PATH_SEPARATOR \
   20105 SED \
   20106 GREP \
   20107 EGREP \
   20108 FGREP \
   20109 LD \
   20110 NM \
   20111 LN_S \
   20112 lt_SP2NL \
   20113 lt_NL2SP \
   20114 reload_flag \
   20115 OBJDUMP \
   20116 deplibs_check_method \
   20117 file_magic_cmd \
   20118 file_magic_glob \
   20119 want_nocaseglob \
   20120 DLLTOOL \
   20121 sharedlib_from_linklib_cmd \
   20122 AR \
   20123 AR_FLAGS \
   20124 archiver_list_spec \
   20125 STRIP \
   20126 RANLIB \
   20127 CC \
   20128 CFLAGS \
   20129 compiler \
   20130 lt_cv_sys_global_symbol_pipe \
   20131 lt_cv_sys_global_symbol_to_cdecl \
   20132 lt_cv_sys_global_symbol_to_c_name_address \
   20133 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20134 nm_file_list_spec \
   20135 lt_prog_compiler_no_builtin_flag \
   20136 lt_prog_compiler_pic \
   20137 lt_prog_compiler_wl \
   20138 lt_prog_compiler_static \
   20139 lt_cv_prog_compiler_c_o \
   20140 need_locks \
   20141 MANIFEST_TOOL \
   20142 DSYMUTIL \
   20143 NMEDIT \
   20144 LIPO \
   20145 OTOOL \
   20146 OTOOL64 \
   20147 shrext_cmds \
   20148 export_dynamic_flag_spec \
   20149 whole_archive_flag_spec \
   20150 compiler_needs_object \
   20151 with_gnu_ld \
   20152 allow_undefined_flag \
   20153 no_undefined_flag \
   20154 hardcode_libdir_flag_spec \
   20155 hardcode_libdir_separator \
   20156 exclude_expsyms \
   20157 include_expsyms \
   20158 file_list_spec \
   20159 variables_saved_for_relink \
   20160 libname_spec \
   20161 library_names_spec \
   20162 soname_spec \
   20163 install_override_mode \
   20164 finish_eval \
   20165 old_striplib \
   20166 striplib; do
   20167     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20168     *[\\\\\\\`\\"\\\$]*)
   20169       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   20170       ;;
   20171     *)
   20172       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20173       ;;
   20174     esac
   20175 done
   20176 
   20177 # Double-quote double-evaled strings.
   20178 for var in reload_cmds \
   20179 old_postinstall_cmds \
   20180 old_postuninstall_cmds \
   20181 old_archive_cmds \
   20182 extract_expsyms_cmds \
   20183 old_archive_from_new_cmds \
   20184 old_archive_from_expsyms_cmds \
   20185 archive_cmds \
   20186 archive_expsym_cmds \
   20187 module_cmds \
   20188 module_expsym_cmds \
   20189 export_symbols_cmds \
   20190 prelink_cmds \
   20191 postlink_cmds \
   20192 postinstall_cmds \
   20193 postuninstall_cmds \
   20194 finish_cmds \
   20195 sys_lib_search_path_spec \
   20196 sys_lib_dlsearch_path_spec; do
   20197     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20198     *[\\\\\\\`\\"\\\$]*)
   20199       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   20200       ;;
   20201     *)
   20202       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20203       ;;
   20204     esac
   20205 done
   20206 
   20207 ac_aux_dir='$ac_aux_dir'
   20208 xsi_shell='$xsi_shell'
   20209 lt_shell_append='$lt_shell_append'
   20210 
   20211 # See if we are running on zsh, and set the options which allow our
   20212 # commands through without removal of \ escapes INIT.
   20213 if test -n "\${ZSH_VERSION+set}" ; then
   20214    setopt NO_GLOB_SUBST
   20215 fi
   20216 
   20217 
   20218     PACKAGE='$PACKAGE'
   20219     VERSION='$VERSION'
   20220     TIMESTAMP='$TIMESTAMP'
   20221     RM='$RM'
   20222     ofile='$ofile'
   20223 
   20224 
   20225 
   20226 
   20227 _ACEOF
   20228 
   20229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20230 
   20231 # Handling of arguments.
   20232 for ac_config_target in $ac_config_targets
   20233 do
   20234   case $ac_config_target in
   20235     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20236     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20237     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20238     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20239     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20240     "util/Makefile") CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   20241     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   20242     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20243     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   20244     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   20245     "xt.pc") CONFIG_FILES="$CONFIG_FILES xt.pc" ;;
   20246 
   20247   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20248   esac
   20249 done
   20250 
   20251 
   20252 # If the user did not use the arguments to specify the items to instantiate,
   20253 # then the envvar interface is used.  Set only those that are not.
   20254 # We use the long form for the default assignment because of an extremely
   20255 # bizarre bug on SunOS 4.1.3.
   20256 if $ac_need_defaults; then
   20257   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20258   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20259   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20260 fi
   20261 
   20262 # Have a temporary directory for convenience.  Make it in the build tree
   20263 # simply because there is no reason against having it here, and in addition,
   20264 # creating and moving files from /tmp can sometimes cause problems.
   20265 # Hook for its removal unless debugging.
   20266 # Note that there is a small window in which the directory will not be cleaned:
   20267 # after its creation but before its name has been assigned to `$tmp'.
   20268 $debug ||
   20269 {
   20270   tmp= ac_tmp=
   20271   trap 'exit_status=$?
   20272   : "${ac_tmp:=$tmp}"
   20273   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20274 ' 0
   20275   trap 'as_fn_exit 1' 1 2 13 15
   20276 }
   20277 # Create a (secure) tmp directory for tmp files.
   20278 
   20279 {
   20280   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20281   test -d "$tmp"
   20282 }  ||
   20283 {
   20284   tmp=./conf$$-$RANDOM
   20285   (umask 077 && mkdir "$tmp")
   20286 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20287 ac_tmp=$tmp
   20288 
   20289 # Set up the scripts for CONFIG_FILES section.
   20290 # No need to generate them if there are no CONFIG_FILES.
   20291 # This happens for instance with `./config.status config.h'.
   20292 if test -n "$CONFIG_FILES"; then
   20293 
   20294 
   20295 ac_cr=`echo X | tr X '\015'`
   20296 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20297 # But we know of no other shell where ac_cr would be empty at this
   20298 # point, so we can use a bashism as a fallback.
   20299 if test "x$ac_cr" = x; then
   20300   eval ac_cr=\$\'\\r\'
   20301 fi
   20302 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20303 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20304   ac_cs_awk_cr='\\r'
   20305 else
   20306   ac_cs_awk_cr=$ac_cr
   20307 fi
   20308 
   20309 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20310 _ACEOF
   20311 
   20312 
   20313 {
   20314   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20315   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20316   echo "_ACEOF"
   20317 } >conf$$subs.sh ||
   20318   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20319 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20320 ac_delim='%!_!# '
   20321 for ac_last_try in false false false false false :; do
   20322   . ./conf$$subs.sh ||
   20323     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20324 
   20325   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20326   if test $ac_delim_n = $ac_delim_num; then
   20327     break
   20328   elif $ac_last_try; then
   20329     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20330   else
   20331     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20332   fi
   20333 done
   20334 rm -f conf$$subs.sh
   20335 
   20336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20337 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20338 _ACEOF
   20339 sed -n '
   20340 h
   20341 s/^/S["/; s/!.*/"]=/
   20342 p
   20343 g
   20344 s/^[^!]*!//
   20345 :repl
   20346 t repl
   20347 s/'"$ac_delim"'$//
   20348 t delim
   20349 :nl
   20350 h
   20351 s/\(.\{148\}\)..*/\1/
   20352 t more1
   20353 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20354 p
   20355 n
   20356 b repl
   20357 :more1
   20358 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20359 p
   20360 g
   20361 s/.\{148\}//
   20362 t nl
   20363 :delim
   20364 h
   20365 s/\(.\{148\}\)..*/\1/
   20366 t more2
   20367 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20368 p
   20369 b
   20370 :more2
   20371 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20372 p
   20373 g
   20374 s/.\{148\}//
   20375 t delim
   20376 ' <conf$$subs.awk | sed '
   20377 /^[^""]/{
   20378   N
   20379   s/\n//
   20380 }
   20381 ' >>$CONFIG_STATUS || ac_write_fail=1
   20382 rm -f conf$$subs.awk
   20383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20384 _ACAWK
   20385 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20386   for (key in S) S_is_set[key] = 1
   20387   FS = ""
   20388 
   20389 }
   20390 {
   20391   line = $ 0
   20392   nfields = split(line, field, "@")
   20393   substed = 0
   20394   len = length(field[1])
   20395   for (i = 2; i < nfields; i++) {
   20396     key = field[i]
   20397     keylen = length(key)
   20398     if (S_is_set[key]) {
   20399       value = S[key]
   20400       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20401       len += length(value) + length(field[++i])
   20402       substed = 1
   20403     } else
   20404       len += 1 + keylen
   20405   }
   20406 
   20407   print line
   20408 }
   20409 
   20410 _ACAWK
   20411 _ACEOF
   20412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20413 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20414   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20415 else
   20416   cat
   20417 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20418   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20419 _ACEOF
   20420 
   20421 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20422 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20423 # trailing colons and then remove the whole line if VPATH becomes empty
   20424 # (actually we leave an empty line to preserve line numbers).
   20425 if test "x$srcdir" = x.; then
   20426   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20427 h
   20428 s///
   20429 s/^/:/
   20430 s/[	 ]*$/:/
   20431 s/:\$(srcdir):/:/g
   20432 s/:\${srcdir}:/:/g
   20433 s/:@srcdir@:/:/g
   20434 s/^:*//
   20435 s/:*$//
   20436 x
   20437 s/\(=[	 ]*\).*/\1/
   20438 G
   20439 s/\n//
   20440 s/^[^=]*=[	 ]*$//
   20441 }'
   20442 fi
   20443 
   20444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20445 fi # test -n "$CONFIG_FILES"
   20446 
   20447 # Set up the scripts for CONFIG_HEADERS section.
   20448 # No need to generate them if there are no CONFIG_HEADERS.
   20449 # This happens for instance with `./config.status Makefile'.
   20450 if test -n "$CONFIG_HEADERS"; then
   20451 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20452 BEGIN {
   20453 _ACEOF
   20454 
   20455 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20456 # here-document in config.status, that substitutes the proper values into
   20457 # config.h.in to produce config.h.
   20458 
   20459 # Create a delimiter string that does not exist in confdefs.h, to ease
   20460 # handling of long lines.
   20461 ac_delim='%!_!# '
   20462 for ac_last_try in false false :; do
   20463   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20464   if test -z "$ac_tt"; then
   20465     break
   20466   elif $ac_last_try; then
   20467     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20468   else
   20469     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20470   fi
   20471 done
   20472 
   20473 # For the awk script, D is an array of macro values keyed by name,
   20474 # likewise P contains macro parameters if any.  Preserve backslash
   20475 # newline sequences.
   20476 
   20477 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20478 sed -n '
   20479 s/.\{148\}/&'"$ac_delim"'/g
   20480 t rset
   20481 :rset
   20482 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20483 t def
   20484 d
   20485 :def
   20486 s/\\$//
   20487 t bsnl
   20488 s/["\\]/\\&/g
   20489 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20490 D["\1"]=" \3"/p
   20491 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20492 d
   20493 :bsnl
   20494 s/["\\]/\\&/g
   20495 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20496 D["\1"]=" \3\\\\\\n"\\/p
   20497 t cont
   20498 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20499 t cont
   20500 d
   20501 :cont
   20502 n
   20503 s/.\{148\}/&'"$ac_delim"'/g
   20504 t clear
   20505 :clear
   20506 s/\\$//
   20507 t bsnlc
   20508 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20509 d
   20510 :bsnlc
   20511 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20512 b cont
   20513 ' <confdefs.h | sed '
   20514 s/'"$ac_delim"'/"\\\
   20515 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20516 
   20517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20518   for (key in D) D_is_set[key] = 1
   20519   FS = ""
   20520 }
   20521 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20522   line = \$ 0
   20523   split(line, arg, " ")
   20524   if (arg[1] == "#") {
   20525     defundef = arg[2]
   20526     mac1 = arg[3]
   20527   } else {
   20528     defundef = substr(arg[1], 2)
   20529     mac1 = arg[2]
   20530   }
   20531   split(mac1, mac2, "(") #)
   20532   macro = mac2[1]
   20533   prefix = substr(line, 1, index(line, defundef) - 1)
   20534   if (D_is_set[macro]) {
   20535     # Preserve the white space surrounding the "#".
   20536     print prefix "define", macro P[macro] D[macro]
   20537     next
   20538   } else {
   20539     # Replace #undef with comments.  This is necessary, for example,
   20540     # in the case of _POSIX_SOURCE, which is predefined and required
   20541     # on some systems where configure will not decide to define it.
   20542     if (defundef == "undef") {
   20543       print "/*", prefix defundef, macro, "*/"
   20544       next
   20545     }
   20546   }
   20547 }
   20548 { print }
   20549 _ACAWK
   20550 _ACEOF
   20551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20552   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20553 fi # test -n "$CONFIG_HEADERS"
   20554 
   20555 
   20556 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20557 shift
   20558 for ac_tag
   20559 do
   20560   case $ac_tag in
   20561   :[FHLC]) ac_mode=$ac_tag; continue;;
   20562   esac
   20563   case $ac_mode$ac_tag in
   20564   :[FHL]*:*);;
   20565   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20566   :[FH]-) ac_tag=-:-;;
   20567   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20568   esac
   20569   ac_save_IFS=$IFS
   20570   IFS=:
   20571   set x $ac_tag
   20572   IFS=$ac_save_IFS
   20573   shift
   20574   ac_file=$1
   20575   shift
   20576 
   20577   case $ac_mode in
   20578   :L) ac_source=$1;;
   20579   :[FH])
   20580     ac_file_inputs=
   20581     for ac_f
   20582     do
   20583       case $ac_f in
   20584       -) ac_f="$ac_tmp/stdin";;
   20585       *) # Look for the file first in the build tree, then in the source tree
   20586 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20587 	 # because $ac_f cannot contain `:'.
   20588 	 test -f "$ac_f" ||
   20589 	   case $ac_f in
   20590 	   [\\/$]*) false;;
   20591 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20592 	   esac ||
   20593 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20594       esac
   20595       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20596       as_fn_append ac_file_inputs " '$ac_f'"
   20597     done
   20598 
   20599     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20600     # use $as_me), people would be surprised to read:
   20601     #    /* config.h.  Generated by config.status.  */
   20602     configure_input='Generated from '`
   20603 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20604 	`' by configure.'
   20605     if test x"$ac_file" != x-; then
   20606       configure_input="$ac_file.  $configure_input"
   20607       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20608 $as_echo "$as_me: creating $ac_file" >&6;}
   20609     fi
   20610     # Neutralize special characters interpreted by sed in replacement strings.
   20611     case $configure_input in #(
   20612     *\&* | *\|* | *\\* )
   20613        ac_sed_conf_input=`$as_echo "$configure_input" |
   20614        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20615     *) ac_sed_conf_input=$configure_input;;
   20616     esac
   20617 
   20618     case $ac_tag in
   20619     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20620       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20621     esac
   20622     ;;
   20623   esac
   20624 
   20625   ac_dir=`$as_dirname -- "$ac_file" ||
   20626 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20627 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20628 	 X"$ac_file" : 'X\(//\)$' \| \
   20629 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20630 $as_echo X"$ac_file" |
   20631     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20632 	    s//\1/
   20633 	    q
   20634 	  }
   20635 	  /^X\(\/\/\)[^/].*/{
   20636 	    s//\1/
   20637 	    q
   20638 	  }
   20639 	  /^X\(\/\/\)$/{
   20640 	    s//\1/
   20641 	    q
   20642 	  }
   20643 	  /^X\(\/\).*/{
   20644 	    s//\1/
   20645 	    q
   20646 	  }
   20647 	  s/.*/./; q'`
   20648   as_dir="$ac_dir"; as_fn_mkdir_p
   20649   ac_builddir=.
   20650 
   20651 case "$ac_dir" in
   20652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20653 *)
   20654   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20655   # A ".." for each directory in $ac_dir_suffix.
   20656   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20657   case $ac_top_builddir_sub in
   20658   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20659   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20660   esac ;;
   20661 esac
   20662 ac_abs_top_builddir=$ac_pwd
   20663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20664 # for backward compatibility:
   20665 ac_top_builddir=$ac_top_build_prefix
   20666 
   20667 case $srcdir in
   20668   .)  # We are building in place.
   20669     ac_srcdir=.
   20670     ac_top_srcdir=$ac_top_builddir_sub
   20671     ac_abs_top_srcdir=$ac_pwd ;;
   20672   [\\/]* | ?:[\\/]* )  # Absolute name.
   20673     ac_srcdir=$srcdir$ac_dir_suffix;
   20674     ac_top_srcdir=$srcdir
   20675     ac_abs_top_srcdir=$srcdir ;;
   20676   *) # Relative name.
   20677     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20678     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20679     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20680 esac
   20681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20682 
   20683 
   20684   case $ac_mode in
   20685   :F)
   20686   #
   20687   # CONFIG_FILE
   20688   #
   20689 
   20690   case $INSTALL in
   20691   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20692   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20693   esac
   20694   ac_MKDIR_P=$MKDIR_P
   20695   case $MKDIR_P in
   20696   [\\/$]* | ?:[\\/]* ) ;;
   20697   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20698   esac
   20699 _ACEOF
   20700 
   20701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20702 # If the template does not know about datarootdir, expand it.
   20703 # FIXME: This hack should be removed a few years after 2.60.
   20704 ac_datarootdir_hack=; ac_datarootdir_seen=
   20705 ac_sed_dataroot='
   20706 /datarootdir/ {
   20707   p
   20708   q
   20709 }
   20710 /@datadir@/p
   20711 /@docdir@/p
   20712 /@infodir@/p
   20713 /@localedir@/p
   20714 /@mandir@/p'
   20715 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20716 *datarootdir*) ac_datarootdir_seen=yes;;
   20717 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20718   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20719 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20720 _ACEOF
   20721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20722   ac_datarootdir_hack='
   20723   s&@datadir@&$datadir&g
   20724   s&@docdir@&$docdir&g
   20725   s&@infodir@&$infodir&g
   20726   s&@localedir@&$localedir&g
   20727   s&@mandir@&$mandir&g
   20728   s&\\\${datarootdir}&$datarootdir&g' ;;
   20729 esac
   20730 _ACEOF
   20731 
   20732 # Neutralize VPATH when `$srcdir' = `.'.
   20733 # Shell code in configure.ac might set extrasub.
   20734 # FIXME: do we really want to maintain this feature?
   20735 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20736 ac_sed_extra="$ac_vpsub
   20737 $extrasub
   20738 _ACEOF
   20739 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20740 :t
   20741 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20742 s|@configure_input@|$ac_sed_conf_input|;t t
   20743 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20744 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20745 s&@srcdir@&$ac_srcdir&;t t
   20746 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20747 s&@top_srcdir@&$ac_top_srcdir&;t t
   20748 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20749 s&@builddir@&$ac_builddir&;t t
   20750 s&@abs_builddir@&$ac_abs_builddir&;t t
   20751 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20752 s&@INSTALL@&$ac_INSTALL&;t t
   20753 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20754 $ac_datarootdir_hack
   20755 "
   20756 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20757   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20758 
   20759 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20760   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20761   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20762       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20763   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20764 which seems to be undefined.  Please make sure it is defined" >&5
   20765 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20766 which seems to be undefined.  Please make sure it is defined" >&2;}
   20767 
   20768   rm -f "$ac_tmp/stdin"
   20769   case $ac_file in
   20770   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20771   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20772   esac \
   20773   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20774  ;;
   20775   :H)
   20776   #
   20777   # CONFIG_HEADER
   20778   #
   20779   if test x"$ac_file" != x-; then
   20780     {
   20781       $as_echo "/* $configure_input  */" \
   20782       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20783     } >"$ac_tmp/config.h" \
   20784       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20785     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20786       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20787 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20788     else
   20789       rm -f "$ac_file"
   20790       mv "$ac_tmp/config.h" "$ac_file" \
   20791 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20792     fi
   20793   else
   20794     $as_echo "/* $configure_input  */" \
   20795       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20796       || as_fn_error $? "could not create -" "$LINENO" 5
   20797   fi
   20798 # Compute "$ac_file"'s index in $config_headers.
   20799 _am_arg="$ac_file"
   20800 _am_stamp_count=1
   20801 for _am_header in $config_headers :; do
   20802   case $_am_header in
   20803     $_am_arg | $_am_arg:* )
   20804       break ;;
   20805     * )
   20806       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20807   esac
   20808 done
   20809 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20810 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20811 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20812 	 X"$_am_arg" : 'X\(//\)$' \| \
   20813 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20814 $as_echo X"$_am_arg" |
   20815     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20816 	    s//\1/
   20817 	    q
   20818 	  }
   20819 	  /^X\(\/\/\)[^/].*/{
   20820 	    s//\1/
   20821 	    q
   20822 	  }
   20823 	  /^X\(\/\/\)$/{
   20824 	    s//\1/
   20825 	    q
   20826 	  }
   20827 	  /^X\(\/\).*/{
   20828 	    s//\1/
   20829 	    q
   20830 	  }
   20831 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20832  ;;
   20833 
   20834   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20835 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20836  ;;
   20837   esac
   20838 
   20839 
   20840   case $ac_file$ac_mode in
   20841     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20842   # Older Autoconf quotes --file arguments for eval, but not when files
   20843   # are listed without --file.  Let's play safe and only enable the eval
   20844   # if we detect the quoting.
   20845   case $CONFIG_FILES in
   20846   *\'*) eval set x "$CONFIG_FILES" ;;
   20847   *)   set x $CONFIG_FILES ;;
   20848   esac
   20849   shift
   20850   for mf
   20851   do
   20852     # Strip MF so we end up with the name of the file.
   20853     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20854     # Check whether this is an Automake generated Makefile or not.
   20855     # We used to match only the files named 'Makefile.in', but
   20856     # some people rename them; so instead we look at the file content.
   20857     # Grep'ing the first line is not enough: some people post-process
   20858     # each Makefile.in and add a new line on top of each file to say so.
   20859     # Grep'ing the whole file is not good either: AIX grep has a line
   20860     # limit of 2048, but all sed's we know have understand at least 4000.
   20861     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20862       dirpart=`$as_dirname -- "$mf" ||
   20863 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20864 	 X"$mf" : 'X\(//\)[^/]' \| \
   20865 	 X"$mf" : 'X\(//\)$' \| \
   20866 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20867 $as_echo X"$mf" |
   20868     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20869 	    s//\1/
   20870 	    q
   20871 	  }
   20872 	  /^X\(\/\/\)[^/].*/{
   20873 	    s//\1/
   20874 	    q
   20875 	  }
   20876 	  /^X\(\/\/\)$/{
   20877 	    s//\1/
   20878 	    q
   20879 	  }
   20880 	  /^X\(\/\).*/{
   20881 	    s//\1/
   20882 	    q
   20883 	  }
   20884 	  s/.*/./; q'`
   20885     else
   20886       continue
   20887     fi
   20888     # Extract the definition of DEPDIR, am__include, and am__quote
   20889     # from the Makefile without running 'make'.
   20890     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20891     test -z "$DEPDIR" && continue
   20892     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20893     test -z "$am__include" && continue
   20894     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20895     # Find all dependency output files, they are included files with
   20896     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20897     # simplest approach to changing $(DEPDIR) to its actual value in the
   20898     # expansion.
   20899     for file in `sed -n "
   20900       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20901 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20902       # Make sure the directory exists.
   20903       test -f "$dirpart/$file" && continue
   20904       fdir=`$as_dirname -- "$file" ||
   20905 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20906 	 X"$file" : 'X\(//\)[^/]' \| \
   20907 	 X"$file" : 'X\(//\)$' \| \
   20908 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20909 $as_echo X"$file" |
   20910     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20911 	    s//\1/
   20912 	    q
   20913 	  }
   20914 	  /^X\(\/\/\)[^/].*/{
   20915 	    s//\1/
   20916 	    q
   20917 	  }
   20918 	  /^X\(\/\/\)$/{
   20919 	    s//\1/
   20920 	    q
   20921 	  }
   20922 	  /^X\(\/\).*/{
   20923 	    s//\1/
   20924 	    q
   20925 	  }
   20926 	  s/.*/./; q'`
   20927       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20928       # echo "creating $dirpart/$file"
   20929       echo '# dummy' > "$dirpart/$file"
   20930     done
   20931   done
   20932 }
   20933  ;;
   20934     "libtool":C)
   20935 
   20936     # See if we are running on zsh, and set the options which allow our
   20937     # commands through without removal of \ escapes.
   20938     if test -n "${ZSH_VERSION+set}" ; then
   20939       setopt NO_GLOB_SUBST
   20940     fi
   20941 
   20942     cfgfile="${ofile}T"
   20943     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20944     $RM "$cfgfile"
   20945 
   20946     cat <<_LT_EOF >> "$cfgfile"
   20947 #! $SHELL
   20948 
   20949 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   20950 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   20951 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20952 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20953 #
   20954 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   20955 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   20956 #                 Foundation, Inc.
   20957 #   Written by Gordon Matzigkeit, 1996
   20958 #
   20959 #   This file is part of GNU Libtool.
   20960 #
   20961 # GNU Libtool is free software; you can redistribute it and/or
   20962 # modify it under the terms of the GNU General Public License as
   20963 # published by the Free Software Foundation; either version 2 of
   20964 # the License, or (at your option) any later version.
   20965 #
   20966 # As a special exception to the GNU General Public License,
   20967 # if you distribute this file as part of a program or library that
   20968 # is built using GNU Libtool, you may include this file under the
   20969 # same distribution terms that you use for the rest of that program.
   20970 #
   20971 # GNU Libtool is distributed in the hope that it will be useful,
   20972 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20973 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20974 # GNU General Public License for more details.
   20975 #
   20976 # You should have received a copy of the GNU General Public License
   20977 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20978 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20979 # obtained by writing to the Free Software Foundation, Inc.,
   20980 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20981 
   20982 
   20983 # The names of the tagged configurations supported by this script.
   20984 available_tags=""
   20985 
   20986 # ### BEGIN LIBTOOL CONFIG
   20987 
   20988 # Which release of libtool.m4 was used?
   20989 macro_version=$macro_version
   20990 macro_revision=$macro_revision
   20991 
   20992 # Whether or not to build shared libraries.
   20993 build_libtool_libs=$enable_shared
   20994 
   20995 # Whether or not to build static libraries.
   20996 build_old_libs=$enable_static
   20997 
   20998 # What type of objects to build.
   20999 pic_mode=$pic_mode
   21000 
   21001 # Whether or not to optimize for fast installation.
   21002 fast_install=$enable_fast_install
   21003 
   21004 # Shell to use when invoking shell scripts.
   21005 SHELL=$lt_SHELL
   21006 
   21007 # An echo program that protects backslashes.
   21008 ECHO=$lt_ECHO
   21009 
   21010 # The PATH separator for the build system.
   21011 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21012 
   21013 # The host system.
   21014 host_alias=$host_alias
   21015 host=$host
   21016 host_os=$host_os
   21017 
   21018 # The build system.
   21019 build_alias=$build_alias
   21020 build=$build
   21021 build_os=$build_os
   21022 
   21023 # A sed program that does not truncate output.
   21024 SED=$lt_SED
   21025 
   21026 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21027 Xsed="\$SED -e 1s/^X//"
   21028 
   21029 # A grep program that handles long lines.
   21030 GREP=$lt_GREP
   21031 
   21032 # An ERE matcher.
   21033 EGREP=$lt_EGREP
   21034 
   21035 # A literal string matcher.
   21036 FGREP=$lt_FGREP
   21037 
   21038 # A BSD- or MS-compatible name lister.
   21039 NM=$lt_NM
   21040 
   21041 # Whether we need soft or hard links.
   21042 LN_S=$lt_LN_S
   21043 
   21044 # What is the maximum length of a command?
   21045 max_cmd_len=$max_cmd_len
   21046 
   21047 # Object file suffix (normally "o").
   21048 objext=$ac_objext
   21049 
   21050 # Executable file suffix (normally "").
   21051 exeext=$exeext
   21052 
   21053 # whether the shell understands "unset".
   21054 lt_unset=$lt_unset
   21055 
   21056 # turn spaces into newlines.
   21057 SP2NL=$lt_lt_SP2NL
   21058 
   21059 # turn newlines into spaces.
   21060 NL2SP=$lt_lt_NL2SP
   21061 
   21062 # convert \$build file names to \$host format.
   21063 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21064 
   21065 # convert \$build files to toolchain format.
   21066 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21067 
   21068 # An object symbol dumper.
   21069 OBJDUMP=$lt_OBJDUMP
   21070 
   21071 # Method to check whether dependent libraries are shared objects.
   21072 deplibs_check_method=$lt_deplibs_check_method
   21073 
   21074 # Command to use when deplibs_check_method = "file_magic".
   21075 file_magic_cmd=$lt_file_magic_cmd
   21076 
   21077 # How to find potential files when deplibs_check_method = "file_magic".
   21078 file_magic_glob=$lt_file_magic_glob
   21079 
   21080 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21081 want_nocaseglob=$lt_want_nocaseglob
   21082 
   21083 # DLL creation program.
   21084 DLLTOOL=$lt_DLLTOOL
   21085 
   21086 # Command to associate shared and link libraries.
   21087 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21088 
   21089 # The archiver.
   21090 AR=$lt_AR
   21091 
   21092 # Flags to create an archive.
   21093 AR_FLAGS=$lt_AR_FLAGS
   21094 
   21095 # How to feed a file listing to the archiver.
   21096 archiver_list_spec=$lt_archiver_list_spec
   21097 
   21098 # A symbol stripping program.
   21099 STRIP=$lt_STRIP
   21100 
   21101 # Commands used to install an old-style archive.
   21102 RANLIB=$lt_RANLIB
   21103 old_postinstall_cmds=$lt_old_postinstall_cmds
   21104 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21105 
   21106 # Whether to use a lock for old archive extraction.
   21107 lock_old_archive_extraction=$lock_old_archive_extraction
   21108 
   21109 # A C compiler.
   21110 LTCC=$lt_CC
   21111 
   21112 # LTCC compiler flags.
   21113 LTCFLAGS=$lt_CFLAGS
   21114 
   21115 # Take the output of nm and produce a listing of raw symbols and C names.
   21116 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21117 
   21118 # Transform the output of nm in a proper C declaration.
   21119 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21120 
   21121 # Transform the output of nm in a C name address pair.
   21122 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21123 
   21124 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21125 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21126 
   21127 # Specify filename containing input files for \$NM.
   21128 nm_file_list_spec=$lt_nm_file_list_spec
   21129 
   21130 # The root where to search for dependent libraries,and in which our libraries should be installed.
   21131 lt_sysroot=$lt_sysroot
   21132 
   21133 # The name of the directory that contains temporary libtool files.
   21134 objdir=$objdir
   21135 
   21136 # Used to examine libraries when file_magic_cmd begins with "file".
   21137 MAGIC_CMD=$MAGIC_CMD
   21138 
   21139 # Must we lock files when doing compilation?
   21140 need_locks=$lt_need_locks
   21141 
   21142 # Manifest tool.
   21143 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21144 
   21145 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21146 DSYMUTIL=$lt_DSYMUTIL
   21147 
   21148 # Tool to change global to local symbols on Mac OS X.
   21149 NMEDIT=$lt_NMEDIT
   21150 
   21151 # Tool to manipulate fat objects and archives on Mac OS X.
   21152 LIPO=$lt_LIPO
   21153 
   21154 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21155 OTOOL=$lt_OTOOL
   21156 
   21157 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21158 OTOOL64=$lt_OTOOL64
   21159 
   21160 # Old archive suffix (normally "a").
   21161 libext=$libext
   21162 
   21163 # Shared library suffix (normally ".so").
   21164 shrext_cmds=$lt_shrext_cmds
   21165 
   21166 # The commands to extract the exported symbol list from a shared archive.
   21167 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21168 
   21169 # Variables whose values should be saved in libtool wrapper scripts and
   21170 # restored at link time.
   21171 variables_saved_for_relink=$lt_variables_saved_for_relink
   21172 
   21173 # Do we need the "lib" prefix for modules?
   21174 need_lib_prefix=$need_lib_prefix
   21175 
   21176 # Do we need a version for libraries?
   21177 need_version=$need_version
   21178 
   21179 # Library versioning type.
   21180 version_type=$version_type
   21181 
   21182 # Shared library runtime path variable.
   21183 runpath_var=$runpath_var
   21184 
   21185 # Shared library path variable.
   21186 shlibpath_var=$shlibpath_var
   21187 
   21188 # Is shlibpath searched before the hard-coded library search path?
   21189 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21190 
   21191 # Format of library name prefix.
   21192 libname_spec=$lt_libname_spec
   21193 
   21194 # List of archive names.  First name is the real one, the rest are links.
   21195 # The last name is the one that the linker finds with -lNAME
   21196 library_names_spec=$lt_library_names_spec
   21197 
   21198 # The coded name of the library, if different from the real name.
   21199 soname_spec=$lt_soname_spec
   21200 
   21201 # Permission mode override for installation of shared libraries.
   21202 install_override_mode=$lt_install_override_mode
   21203 
   21204 # Command to use after installation of a shared archive.
   21205 postinstall_cmds=$lt_postinstall_cmds
   21206 
   21207 # Command to use after uninstallation of a shared archive.
   21208 postuninstall_cmds=$lt_postuninstall_cmds
   21209 
   21210 # Commands used to finish a libtool library installation in a directory.
   21211 finish_cmds=$lt_finish_cmds
   21212 
   21213 # As "finish_cmds", except a single script fragment to be evaled but
   21214 # not shown.
   21215 finish_eval=$lt_finish_eval
   21216 
   21217 # Whether we should hardcode library paths into libraries.
   21218 hardcode_into_libs=$hardcode_into_libs
   21219 
   21220 # Compile-time system search path for libraries.
   21221 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21222 
   21223 # Run-time system search path for libraries.
   21224 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   21225 
   21226 # Whether dlopen is supported.
   21227 dlopen_support=$enable_dlopen
   21228 
   21229 # Whether dlopen of programs is supported.
   21230 dlopen_self=$enable_dlopen_self
   21231 
   21232 # Whether dlopen of statically linked programs is supported.
   21233 dlopen_self_static=$enable_dlopen_self_static
   21234 
   21235 # Commands to strip libraries.
   21236 old_striplib=$lt_old_striplib
   21237 striplib=$lt_striplib
   21238 
   21239 
   21240 # The linker used to build libraries.
   21241 LD=$lt_LD
   21242 
   21243 # How to create reloadable object files.
   21244 reload_flag=$lt_reload_flag
   21245 reload_cmds=$lt_reload_cmds
   21246 
   21247 # Commands used to build an old-style archive.
   21248 old_archive_cmds=$lt_old_archive_cmds
   21249 
   21250 # A language specific compiler.
   21251 CC=$lt_compiler
   21252 
   21253 # Is the compiler the GNU compiler?
   21254 with_gcc=$GCC
   21255 
   21256 # Compiler flag to turn off builtin functions.
   21257 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21258 
   21259 # Additional compiler flags for building library objects.
   21260 pic_flag=$lt_lt_prog_compiler_pic
   21261 
   21262 # How to pass a linker flag through the compiler.
   21263 wl=$lt_lt_prog_compiler_wl
   21264 
   21265 # Compiler flag to prevent dynamic linking.
   21266 link_static_flag=$lt_lt_prog_compiler_static
   21267 
   21268 # Does compiler simultaneously support -c and -o options?
   21269 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21270 
   21271 # Whether or not to add -lc for building shared libraries.
   21272 build_libtool_need_lc=$archive_cmds_need_lc
   21273 
   21274 # Whether or not to disallow shared libs when runtime libs are static.
   21275 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21276 
   21277 # Compiler flag to allow reflexive dlopens.
   21278 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21279 
   21280 # Compiler flag to generate shared objects directly from archives.
   21281 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21282 
   21283 # Whether the compiler copes with passing no objects directly.
   21284 compiler_needs_object=$lt_compiler_needs_object
   21285 
   21286 # Create an old-style archive from a shared archive.
   21287 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21288 
   21289 # Create a temporary old-style archive to link instead of a shared archive.
   21290 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21291 
   21292 # Commands used to build a shared archive.
   21293 archive_cmds=$lt_archive_cmds
   21294 archive_expsym_cmds=$lt_archive_expsym_cmds
   21295 
   21296 # Commands used to build a loadable module if different from building
   21297 # a shared archive.
   21298 module_cmds=$lt_module_cmds
   21299 module_expsym_cmds=$lt_module_expsym_cmds
   21300 
   21301 # Whether we are building with GNU ld or not.
   21302 with_gnu_ld=$lt_with_gnu_ld
   21303 
   21304 # Flag that allows shared libraries with undefined symbols to be built.
   21305 allow_undefined_flag=$lt_allow_undefined_flag
   21306 
   21307 # Flag that enforces no undefined symbols.
   21308 no_undefined_flag=$lt_no_undefined_flag
   21309 
   21310 # Flag to hardcode \$libdir into a binary during linking.
   21311 # This must work even if \$libdir does not exist
   21312 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21313 
   21314 # Whether we need a single "-rpath" flag with a separated argument.
   21315 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21316 
   21317 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21318 # DIR into the resulting binary.
   21319 hardcode_direct=$hardcode_direct
   21320 
   21321 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   21322 # DIR into the resulting binary and the resulting library dependency is
   21323 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   21324 # library is relocated.
   21325 hardcode_direct_absolute=$hardcode_direct_absolute
   21326 
   21327 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21328 # into the resulting binary.
   21329 hardcode_minus_L=$hardcode_minus_L
   21330 
   21331 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21332 # into the resulting binary.
   21333 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21334 
   21335 # Set to "yes" if building a shared library automatically hardcodes DIR
   21336 # into the library and all subsequent libraries and executables linked
   21337 # against it.
   21338 hardcode_automatic=$hardcode_automatic
   21339 
   21340 # Set to yes if linker adds runtime paths of dependent libraries
   21341 # to runtime path list.
   21342 inherit_rpath=$inherit_rpath
   21343 
   21344 # Whether libtool must link a program against all its dependency libraries.
   21345 link_all_deplibs=$link_all_deplibs
   21346 
   21347 # Set to "yes" if exported symbols are required.
   21348 always_export_symbols=$always_export_symbols
   21349 
   21350 # The commands to list exported symbols.
   21351 export_symbols_cmds=$lt_export_symbols_cmds
   21352 
   21353 # Symbols that should not be listed in the preloaded symbols.
   21354 exclude_expsyms=$lt_exclude_expsyms
   21355 
   21356 # Symbols that must always be exported.
   21357 include_expsyms=$lt_include_expsyms
   21358 
   21359 # Commands necessary for linking programs (against libraries) with templates.
   21360 prelink_cmds=$lt_prelink_cmds
   21361 
   21362 # Commands necessary for finishing linking programs.
   21363 postlink_cmds=$lt_postlink_cmds
   21364 
   21365 # Specify filename containing input files.
   21366 file_list_spec=$lt_file_list_spec
   21367 
   21368 # How to hardcode a shared library path into an executable.
   21369 hardcode_action=$hardcode_action
   21370 
   21371 # ### END LIBTOOL CONFIG
   21372 
   21373 _LT_EOF
   21374 
   21375   case $host_os in
   21376   aix3*)
   21377     cat <<\_LT_EOF >> "$cfgfile"
   21378 # AIX sometimes has problems with the GCC collect2 program.  For some
   21379 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21380 # vanish in a puff of smoke.
   21381 if test "X${COLLECT_NAMES+set}" != Xset; then
   21382   COLLECT_NAMES=
   21383   export COLLECT_NAMES
   21384 fi
   21385 _LT_EOF
   21386     ;;
   21387   esac
   21388 
   21389 
   21390 ltmain="$ac_aux_dir/ltmain.sh"
   21391 
   21392 
   21393   # We use sed instead of cat because bash on DJGPP gets confused if
   21394   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21395   # text mode, it properly converts lines to CR/LF.  This bash problem
   21396   # is reportedly fixed, but why not run on old versions too?
   21397   sed '$q' "$ltmain" >> "$cfgfile" \
   21398      || (rm -f "$cfgfile"; exit 1)
   21399 
   21400   if test x"$xsi_shell" = xyes; then
   21401   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   21402 func_dirname ()\
   21403 {\
   21404 \    case ${1} in\
   21405 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21406 \      *  ) func_dirname_result="${3}" ;;\
   21407 \    esac\
   21408 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   21409   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21410     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21411 test 0 -eq $? || _lt_function_replace_fail=:
   21412 
   21413 
   21414   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   21415 func_basename ()\
   21416 {\
   21417 \    func_basename_result="${1##*/}"\
   21418 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21419   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21420     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21421 test 0 -eq $? || _lt_function_replace_fail=:
   21422 
   21423 
   21424   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   21425 func_dirname_and_basename ()\
   21426 {\
   21427 \    case ${1} in\
   21428 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   21429 \      *  ) func_dirname_result="${3}" ;;\
   21430 \    esac\
   21431 \    func_basename_result="${1##*/}"\
   21432 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   21433   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21434     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21435 test 0 -eq $? || _lt_function_replace_fail=:
   21436 
   21437 
   21438   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   21439 func_stripname ()\
   21440 {\
   21441 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   21442 \    # positional parameters, so assign one to ordinary parameter first.\
   21443 \    func_stripname_result=${3}\
   21444 \    func_stripname_result=${func_stripname_result#"${1}"}\
   21445 \    func_stripname_result=${func_stripname_result%"${2}"}\
   21446 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   21447   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21448     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21449 test 0 -eq $? || _lt_function_replace_fail=:
   21450 
   21451 
   21452   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   21453 func_split_long_opt ()\
   21454 {\
   21455 \    func_split_long_opt_name=${1%%=*}\
   21456 \    func_split_long_opt_arg=${1#*=}\
   21457 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21458   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21459     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21460 test 0 -eq $? || _lt_function_replace_fail=:
   21461 
   21462 
   21463   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   21464 func_split_short_opt ()\
   21465 {\
   21466 \    func_split_short_opt_arg=${1#??}\
   21467 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   21468 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   21469   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21470     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21471 test 0 -eq $? || _lt_function_replace_fail=:
   21472 
   21473 
   21474   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   21475 func_lo2o ()\
   21476 {\
   21477 \    case ${1} in\
   21478 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   21479 \      *)    func_lo2o_result=${1} ;;\
   21480 \    esac\
   21481 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   21482   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21483     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21484 test 0 -eq $? || _lt_function_replace_fail=:
   21485 
   21486 
   21487   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   21488 func_xform ()\
   21489 {\
   21490     func_xform_result=${1%.*}.lo\
   21491 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   21492   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21493     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21494 test 0 -eq $? || _lt_function_replace_fail=:
   21495 
   21496 
   21497   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   21498 func_arith ()\
   21499 {\
   21500     func_arith_result=$(( $* ))\
   21501 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   21502   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21503     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21504 test 0 -eq $? || _lt_function_replace_fail=:
   21505 
   21506 
   21507   sed -e '/^func_len ()$/,/^} # func_len /c\
   21508 func_len ()\
   21509 {\
   21510     func_len_result=${#1}\
   21511 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   21512   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21513     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21514 test 0 -eq $? || _lt_function_replace_fail=:
   21515 
   21516 fi
   21517 
   21518 if test x"$lt_shell_append" = xyes; then
   21519   sed -e '/^func_append ()$/,/^} # func_append /c\
   21520 func_append ()\
   21521 {\
   21522     eval "${1}+=\\${2}"\
   21523 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   21524   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21525     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21526 test 0 -eq $? || _lt_function_replace_fail=:
   21527 
   21528 
   21529   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   21530 func_append_quoted ()\
   21531 {\
   21532 \    func_quote_for_eval "${2}"\
   21533 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   21534 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   21535   && mv -f "$cfgfile.tmp" "$cfgfile" \
   21536     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21537 test 0 -eq $? || _lt_function_replace_fail=:
   21538 
   21539 
   21540   # Save a `func_append' function call where possible by direct use of '+='
   21541   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   21542     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21543       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21544   test 0 -eq $? || _lt_function_replace_fail=:
   21545 else
   21546   # Save a `func_append' function call even when '+=' is not available
   21547   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   21548     && mv -f "$cfgfile.tmp" "$cfgfile" \
   21549       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   21550   test 0 -eq $? || _lt_function_replace_fail=:
   21551 fi
   21552 
   21553 if test x"$_lt_function_replace_fail" = x":"; then
   21554   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   21555 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   21556 fi
   21557 
   21558 
   21559    mv -f "$cfgfile" "$ofile" ||
   21560     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21561   chmod +x "$ofile"
   21562 
   21563  ;;
   21564 
   21565   esac
   21566 done # for ac_tag
   21567 
   21568 
   21569 as_fn_exit 0
   21570 _ACEOF
   21571 ac_clean_files=$ac_clean_files_save
   21572 
   21573 test $ac_write_fail = 0 ||
   21574   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21575 
   21576 
   21577 # configure is writing to config.log, and then calls config.status.
   21578 # config.status does its own redirection, appending to config.log.
   21579 # Unfortunately, on DOS this fails, as config.log is still kept open
   21580 # by configure, so config.status won't be able to write to it; its
   21581 # output is simply discarded.  So we exec the FD to /dev/null,
   21582 # effectively closing config.log, so it can be properly (re)opened and
   21583 # appended to by config.status.  When coming back to configure, we
   21584 # need to make the FD available again.
   21585 if test "$no_create" != yes; then
   21586   ac_cs_success=:
   21587   ac_config_status_args=
   21588   test "$silent" = yes &&
   21589     ac_config_status_args="$ac_config_status_args --quiet"
   21590   exec 5>/dev/null
   21591   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21592   exec 5>>config.log
   21593   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21594   # would make configure fail if this is the last instruction.
   21595   $ac_cs_success || as_fn_exit 1
   21596 fi
   21597 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21598   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21599 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21600 fi
   21601 
   21602