Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.4
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.68 for libXtst 1.2.1.
      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='libXtst'
    633 PACKAGE_TARNAME='libXtst'
    634 PACKAGE_VERSION='1.2.1'
    635 PACKAGE_STRING='libXtst 1.2.1'
    636 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    637 PACKAGE_URL=''
    638 
    639 ac_unique_file="Makefile.am"
    640 # Factoring default headers for most tests.
    641 ac_includes_default="\
    642 #include <stdio.h>
    643 #ifdef HAVE_SYS_TYPES_H
    644 # include <sys/types.h>
    645 #endif
    646 #ifdef HAVE_SYS_STAT_H
    647 # include <sys/stat.h>
    648 #endif
    649 #ifdef STDC_HEADERS
    650 # include <stdlib.h>
    651 # include <stddef.h>
    652 #else
    653 # ifdef HAVE_STDLIB_H
    654 #  include <stdlib.h>
    655 # endif
    656 #endif
    657 #ifdef HAVE_STRING_H
    658 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    659 #  include <memory.h>
    660 # endif
    661 # include <string.h>
    662 #endif
    663 #ifdef HAVE_STRINGS_H
    664 # include <strings.h>
    665 #endif
    666 #ifdef HAVE_INTTYPES_H
    667 # include <inttypes.h>
    668 #endif
    669 #ifdef HAVE_STDINT_H
    670 # include <stdint.h>
    671 #endif
    672 #ifdef HAVE_UNISTD_H
    673 # include <unistd.h>
    674 #endif"
    675 
    676 ac_subst_vars='am__EXEEXT_FALSE
    677 am__EXEEXT_TRUE
    678 LTLIBOBJS
    679 LIBOBJS
    680 MAKE_LINT_LIB_FALSE
    681 MAKE_LINT_LIB_TRUE
    682 LINTLIB
    683 LINT_FALSE
    684 LINT_TRUE
    685 LINT_FLAGS
    686 LINT
    687 INSTALL_MANPAGES_FALSE
    688 INSTALL_MANPAGES_TRUE
    689 XTST_LIBS
    690 XTST_CFLAGS
    691 HAVE_STYLESHEETS_FALSE
    692 HAVE_STYLESHEETS_TRUE
    693 XSL_STYLESHEET
    694 STYLESHEET_SRCDIR
    695 XORG_SGML_PATH
    696 HAVE_XSLTPROC_FALSE
    697 HAVE_XSLTPROC_TRUE
    698 XSLTPROC
    699 HAVE_FOP_FALSE
    700 HAVE_FOP_TRUE
    701 FOP
    702 HAVE_XMLTO_FALSE
    703 HAVE_XMLTO_TRUE
    704 HAVE_XMLTO_TEXT_FALSE
    705 HAVE_XMLTO_TEXT_TRUE
    706 XMLTO
    707 ENABLE_SPECS_FALSE
    708 ENABLE_SPECS_TRUE
    709 AM_BACKSLASH
    710 AM_DEFAULT_VERBOSITY
    711 MAN_SUBSTS
    712 XORG_MAN_PAGE
    713 ADMIN_MAN_DIR
    714 DRIVER_MAN_DIR
    715 MISC_MAN_DIR
    716 FILE_MAN_DIR
    717 LIB_MAN_DIR
    718 APP_MAN_DIR
    719 ADMIN_MAN_SUFFIX
    720 DRIVER_MAN_SUFFIX
    721 MISC_MAN_SUFFIX
    722 FILE_MAN_SUFFIX
    723 LIB_MAN_SUFFIX
    724 APP_MAN_SUFFIX
    725 INSTALL_CMD
    726 PKG_CONFIG
    727 CHANGELOG_CMD
    728 STRICT_CFLAGS
    729 CWARNFLAGS
    730 BASE_CFLAGS
    731 CPP
    732 OTOOL64
    733 OTOOL
    734 LIPO
    735 NMEDIT
    736 DSYMUTIL
    737 MANIFEST_TOOL
    738 RANLIB
    739 ac_ct_AR
    740 AR
    741 DLLTOOL
    742 OBJDUMP
    743 LN_S
    744 NM
    745 ac_ct_DUMPBIN
    746 DUMPBIN
    747 LD
    748 FGREP
    749 EGREP
    750 GREP
    751 SED
    752 am__fastdepCC_FALSE
    753 am__fastdepCC_TRUE
    754 CCDEPMODE
    755 AMDEPBACKSLASH
    756 AMDEP_FALSE
    757 AMDEP_TRUE
    758 am__quote
    759 am__include
    760 DEPDIR
    761 OBJEXT
    762 EXEEXT
    763 ac_ct_CC
    764 CPPFLAGS
    765 LDFLAGS
    766 CFLAGS
    767 CC
    768 host_os
    769 host_vendor
    770 host_cpu
    771 host
    772 build_os
    773 build_vendor
    774 build_cpu
    775 build
    776 LIBTOOL
    777 MAINT
    778 MAINTAINER_MODE_FALSE
    779 MAINTAINER_MODE_TRUE
    780 am__untar
    781 am__tar
    782 AMTAR
    783 am__leading_dot
    784 SET_MAKE
    785 AWK
    786 mkdir_p
    787 MKDIR_P
    788 INSTALL_STRIP_PROGRAM
    789 STRIP
    790 install_sh
    791 MAKEINFO
    792 AUTOHEADER
    793 AUTOMAKE
    794 AUTOCONF
    795 ACLOCAL
    796 VERSION
    797 PACKAGE
    798 CYGPATH_W
    799 am__isrc
    800 INSTALL_DATA
    801 INSTALL_SCRIPT
    802 INSTALL_PROGRAM
    803 target_alias
    804 host_alias
    805 build_alias
    806 LIBS
    807 ECHO_T
    808 ECHO_N
    809 ECHO_C
    810 DEFS
    811 mandir
    812 localedir
    813 libdir
    814 psdir
    815 pdfdir
    816 dvidir
    817 htmldir
    818 infodir
    819 docdir
    820 oldincludedir
    821 includedir
    822 localstatedir
    823 sharedstatedir
    824 sysconfdir
    825 datadir
    826 datarootdir
    827 libexecdir
    828 sbindir
    829 bindir
    830 program_transform_name
    831 prefix
    832 exec_prefix
    833 PACKAGE_URL
    834 PACKAGE_BUGREPORT
    835 PACKAGE_STRING
    836 PACKAGE_VERSION
    837 PACKAGE_TARNAME
    838 PACKAGE_NAME
    839 PATH_SEPARATOR
    840 SHELL'
    841 ac_subst_files=''
    842 ac_user_opts='
    843 enable_option_checking
    844 enable_maintainer_mode
    845 enable_shared
    846 enable_static
    847 with_pic
    848 enable_fast_install
    849 enable_dependency_tracking
    850 with_gnu_ld
    851 with_sysroot
    852 enable_libtool_lock
    853 enable_selective_werror
    854 enable_strict_compilation
    855 enable_silent_rules
    856 enable_specs
    857 with_xmlto
    858 with_fop
    859 with_xsltproc
    860 with_lint
    861 enable_lint_library
    862 '
    863       ac_precious_vars='build_alias
    864 host_alias
    865 target_alias
    866 CC
    867 CFLAGS
    868 LDFLAGS
    869 LIBS
    870 CPPFLAGS
    871 CPP
    872 PKG_CONFIG
    873 XMLTO
    874 FOP
    875 XSLTPROC
    876 XTST_CFLAGS
    877 XTST_LIBS
    878 LINT
    879 LINT_FLAGS'
    880 
    881 
    882 # Initialize some variables set by options.
    883 ac_init_help=
    884 ac_init_version=false
    885 ac_unrecognized_opts=
    886 ac_unrecognized_sep=
    887 # The variables have the same names as the options, with
    888 # dashes changed to underlines.
    889 cache_file=/dev/null
    890 exec_prefix=NONE
    891 no_create=
    892 no_recursion=
    893 prefix=NONE
    894 program_prefix=NONE
    895 program_suffix=NONE
    896 program_transform_name=s,x,x,
    897 silent=
    898 site=
    899 srcdir=
    900 verbose=
    901 x_includes=NONE
    902 x_libraries=NONE
    903 
    904 # Installation directory options.
    905 # These are left unexpanded so users can "make install exec_prefix=/foo"
    906 # and all the variables that are supposed to be based on exec_prefix
    907 # by default will actually change.
    908 # Use braces instead of parens because sh, perl, etc. also accept them.
    909 # (The list follows the same order as the GNU Coding Standards.)
    910 bindir='${exec_prefix}/bin'
    911 sbindir='${exec_prefix}/sbin'
    912 libexecdir='${exec_prefix}/libexec'
    913 datarootdir='${prefix}/share'
    914 datadir='${datarootdir}'
    915 sysconfdir='${prefix}/etc'
    916 sharedstatedir='${prefix}/com'
    917 localstatedir='${prefix}/var'
    918 includedir='${prefix}/include'
    919 oldincludedir='/usr/include'
    920 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    921 infodir='${datarootdir}/info'
    922 htmldir='${docdir}'
    923 dvidir='${docdir}'
    924 pdfdir='${docdir}'
    925 psdir='${docdir}'
    926 libdir='${exec_prefix}/lib'
    927 localedir='${datarootdir}/locale'
    928 mandir='${datarootdir}/man'
    929 
    930 ac_prev=
    931 ac_dashdash=
    932 for ac_option
    933 do
    934   # If the previous option needs an argument, assign it.
    935   if test -n "$ac_prev"; then
    936     eval $ac_prev=\$ac_option
    937     ac_prev=
    938     continue
    939   fi
    940 
    941   case $ac_option in
    942   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    943   *=)   ac_optarg= ;;
    944   *)    ac_optarg=yes ;;
    945   esac
    946 
    947   # Accept the important Cygnus configure options, so we can diagnose typos.
    948 
    949   case $ac_dashdash$ac_option in
    950   --)
    951     ac_dashdash=yes ;;
    952 
    953   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    954     ac_prev=bindir ;;
    955   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    956     bindir=$ac_optarg ;;
    957 
    958   -build | --build | --buil | --bui | --bu)
    959     ac_prev=build_alias ;;
    960   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    961     build_alias=$ac_optarg ;;
    962 
    963   -cache-file | --cache-file | --cache-fil | --cache-fi \
    964   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    965     ac_prev=cache_file ;;
    966   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    967   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    968     cache_file=$ac_optarg ;;
    969 
    970   --config-cache | -C)
    971     cache_file=config.cache ;;
    972 
    973   -datadir | --datadir | --datadi | --datad)
    974     ac_prev=datadir ;;
    975   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    976     datadir=$ac_optarg ;;
    977 
    978   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    979   | --dataroo | --dataro | --datar)
    980     ac_prev=datarootdir ;;
    981   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    982   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    983     datarootdir=$ac_optarg ;;
    984 
    985   -disable-* | --disable-*)
    986     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    987     # Reject names that are not valid shell variable names.
    988     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    989       as_fn_error $? "invalid feature name: $ac_useropt"
    990     ac_useropt_orig=$ac_useropt
    991     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    992     case $ac_user_opts in
    993       *"
    994 "enable_$ac_useropt"
    995 "*) ;;
    996       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    997 	 ac_unrecognized_sep=', ';;
    998     esac
    999     eval enable_$ac_useropt=no ;;
   1000 
   1001   -docdir | --docdir | --docdi | --doc | --do)
   1002     ac_prev=docdir ;;
   1003   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   1004     docdir=$ac_optarg ;;
   1005 
   1006   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   1007     ac_prev=dvidir ;;
   1008   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   1009     dvidir=$ac_optarg ;;
   1010 
   1011   -enable-* | --enable-*)
   1012     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   1013     # Reject names that are not valid shell variable names.
   1014     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1015       as_fn_error $? "invalid feature name: $ac_useropt"
   1016     ac_useropt_orig=$ac_useropt
   1017     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1018     case $ac_user_opts in
   1019       *"
   1020 "enable_$ac_useropt"
   1021 "*) ;;
   1022       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   1023 	 ac_unrecognized_sep=', ';;
   1024     esac
   1025     eval enable_$ac_useropt=\$ac_optarg ;;
   1026 
   1027   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   1028   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   1029   | --exec | --exe | --ex)
   1030     ac_prev=exec_prefix ;;
   1031   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   1032   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   1033   | --exec=* | --exe=* | --ex=*)
   1034     exec_prefix=$ac_optarg ;;
   1035 
   1036   -gas | --gas | --ga | --g)
   1037     # Obsolete; use --with-gas.
   1038     with_gas=yes ;;
   1039 
   1040   -help | --help | --hel | --he | -h)
   1041     ac_init_help=long ;;
   1042   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1043     ac_init_help=recursive ;;
   1044   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1045     ac_init_help=short ;;
   1046 
   1047   -host | --host | --hos | --ho)
   1048     ac_prev=host_alias ;;
   1049   -host=* | --host=* | --hos=* | --ho=*)
   1050     host_alias=$ac_optarg ;;
   1051 
   1052   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1053     ac_prev=htmldir ;;
   1054   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1055   | --ht=*)
   1056     htmldir=$ac_optarg ;;
   1057 
   1058   -includedir | --includedir | --includedi | --included | --include \
   1059   | --includ | --inclu | --incl | --inc)
   1060     ac_prev=includedir ;;
   1061   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1062   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1063     includedir=$ac_optarg ;;
   1064 
   1065   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1066     ac_prev=infodir ;;
   1067   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1068     infodir=$ac_optarg ;;
   1069 
   1070   -libdir | --libdir | --libdi | --libd)
   1071     ac_prev=libdir ;;
   1072   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1073     libdir=$ac_optarg ;;
   1074 
   1075   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1076   | --libexe | --libex | --libe)
   1077     ac_prev=libexecdir ;;
   1078   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1079   | --libexe=* | --libex=* | --libe=*)
   1080     libexecdir=$ac_optarg ;;
   1081 
   1082   -localedir | --localedir | --localedi | --localed | --locale)
   1083     ac_prev=localedir ;;
   1084   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1085     localedir=$ac_optarg ;;
   1086 
   1087   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1088   | --localstate | --localstat | --localsta | --localst | --locals)
   1089     ac_prev=localstatedir ;;
   1090   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1091   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1092     localstatedir=$ac_optarg ;;
   1093 
   1094   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1095     ac_prev=mandir ;;
   1096   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1097     mandir=$ac_optarg ;;
   1098 
   1099   -nfp | --nfp | --nf)
   1100     # Obsolete; use --without-fp.
   1101     with_fp=no ;;
   1102 
   1103   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1104   | --no-cr | --no-c | -n)
   1105     no_create=yes ;;
   1106 
   1107   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1108   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1109     no_recursion=yes ;;
   1110 
   1111   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1112   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1113   | --oldin | --oldi | --old | --ol | --o)
   1114     ac_prev=oldincludedir ;;
   1115   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1116   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1117   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1118     oldincludedir=$ac_optarg ;;
   1119 
   1120   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1121     ac_prev=prefix ;;
   1122   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1123     prefix=$ac_optarg ;;
   1124 
   1125   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1126   | --program-pre | --program-pr | --program-p)
   1127     ac_prev=program_prefix ;;
   1128   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1129   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1130     program_prefix=$ac_optarg ;;
   1131 
   1132   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1133   | --program-suf | --program-su | --program-s)
   1134     ac_prev=program_suffix ;;
   1135   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1136   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1137     program_suffix=$ac_optarg ;;
   1138 
   1139   -program-transform-name | --program-transform-name \
   1140   | --program-transform-nam | --program-transform-na \
   1141   | --program-transform-n | --program-transform- \
   1142   | --program-transform | --program-transfor \
   1143   | --program-transfo | --program-transf \
   1144   | --program-trans | --program-tran \
   1145   | --progr-tra | --program-tr | --program-t)
   1146     ac_prev=program_transform_name ;;
   1147   -program-transform-name=* | --program-transform-name=* \
   1148   | --program-transform-nam=* | --program-transform-na=* \
   1149   | --program-transform-n=* | --program-transform-=* \
   1150   | --program-transform=* | --program-transfor=* \
   1151   | --program-transfo=* | --program-transf=* \
   1152   | --program-trans=* | --program-tran=* \
   1153   | --progr-tra=* | --program-tr=* | --program-t=*)
   1154     program_transform_name=$ac_optarg ;;
   1155 
   1156   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1157     ac_prev=pdfdir ;;
   1158   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1159     pdfdir=$ac_optarg ;;
   1160 
   1161   -psdir | --psdir | --psdi | --psd | --ps)
   1162     ac_prev=psdir ;;
   1163   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1164     psdir=$ac_optarg ;;
   1165 
   1166   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1167   | -silent | --silent | --silen | --sile | --sil)
   1168     silent=yes ;;
   1169 
   1170   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1171     ac_prev=sbindir ;;
   1172   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1173   | --sbi=* | --sb=*)
   1174     sbindir=$ac_optarg ;;
   1175 
   1176   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1177   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1178   | --sharedst | --shareds | --shared | --share | --shar \
   1179   | --sha | --sh)
   1180     ac_prev=sharedstatedir ;;
   1181   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1182   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1183   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1184   | --sha=* | --sh=*)
   1185     sharedstatedir=$ac_optarg ;;
   1186 
   1187   -site | --site | --sit)
   1188     ac_prev=site ;;
   1189   -site=* | --site=* | --sit=*)
   1190     site=$ac_optarg ;;
   1191 
   1192   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1193     ac_prev=srcdir ;;
   1194   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1195     srcdir=$ac_optarg ;;
   1196 
   1197   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1198   | --syscon | --sysco | --sysc | --sys | --sy)
   1199     ac_prev=sysconfdir ;;
   1200   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1201   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1202     sysconfdir=$ac_optarg ;;
   1203 
   1204   -target | --target | --targe | --targ | --tar | --ta | --t)
   1205     ac_prev=target_alias ;;
   1206   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1207     target_alias=$ac_optarg ;;
   1208 
   1209   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1210     verbose=yes ;;
   1211 
   1212   -version | --version | --versio | --versi | --vers | -V)
   1213     ac_init_version=: ;;
   1214 
   1215   -with-* | --with-*)
   1216     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1217     # Reject names that are not valid shell variable names.
   1218     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1219       as_fn_error $? "invalid package name: $ac_useropt"
   1220     ac_useropt_orig=$ac_useropt
   1221     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1222     case $ac_user_opts in
   1223       *"
   1224 "with_$ac_useropt"
   1225 "*) ;;
   1226       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1227 	 ac_unrecognized_sep=', ';;
   1228     esac
   1229     eval with_$ac_useropt=\$ac_optarg ;;
   1230 
   1231   -without-* | --without-*)
   1232     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1233     # Reject names that are not valid shell variable names.
   1234     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1235       as_fn_error $? "invalid package name: $ac_useropt"
   1236     ac_useropt_orig=$ac_useropt
   1237     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1238     case $ac_user_opts in
   1239       *"
   1240 "with_$ac_useropt"
   1241 "*) ;;
   1242       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1243 	 ac_unrecognized_sep=', ';;
   1244     esac
   1245     eval with_$ac_useropt=no ;;
   1246 
   1247   --x)
   1248     # Obsolete; use --with-x.
   1249     with_x=yes ;;
   1250 
   1251   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1252   | --x-incl | --x-inc | --x-in | --x-i)
   1253     ac_prev=x_includes ;;
   1254   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1255   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1256     x_includes=$ac_optarg ;;
   1257 
   1258   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1259   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1260     ac_prev=x_libraries ;;
   1261   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1262   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1263     x_libraries=$ac_optarg ;;
   1264 
   1265   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1266 Try \`$0 --help' for more information"
   1267     ;;
   1268 
   1269   *=*)
   1270     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1271     # Reject names that are not valid shell variable names.
   1272     case $ac_envvar in #(
   1273       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1274       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1275     esac
   1276     eval $ac_envvar=\$ac_optarg
   1277     export $ac_envvar ;;
   1278 
   1279   *)
   1280     # FIXME: should be removed in autoconf 3.0.
   1281     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1282     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1283       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1284     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1285     ;;
   1286 
   1287   esac
   1288 done
   1289 
   1290 if test -n "$ac_prev"; then
   1291   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1292   as_fn_error $? "missing argument to $ac_option"
   1293 fi
   1294 
   1295 if test -n "$ac_unrecognized_opts"; then
   1296   case $enable_option_checking in
   1297     no) ;;
   1298     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1299     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1300   esac
   1301 fi
   1302 
   1303 # Check all directory arguments for consistency.
   1304 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1305 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1306 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1307 		libdir localedir mandir
   1308 do
   1309   eval ac_val=\$$ac_var
   1310   # Remove trailing slashes.
   1311   case $ac_val in
   1312     */ )
   1313       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1314       eval $ac_var=\$ac_val;;
   1315   esac
   1316   # Be sure to have absolute directory names.
   1317   case $ac_val in
   1318     [\\/$]* | ?:[\\/]* )  continue;;
   1319     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1320   esac
   1321   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1322 done
   1323 
   1324 # There might be people who depend on the old broken behavior: `$host'
   1325 # used to hold the argument of --host etc.
   1326 # FIXME: To remove some day.
   1327 build=$build_alias
   1328 host=$host_alias
   1329 target=$target_alias
   1330 
   1331 # FIXME: To remove some day.
   1332 if test "x$host_alias" != x; then
   1333   if test "x$build_alias" = x; then
   1334     cross_compiling=maybe
   1335     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
   1336     If a cross compiler is detected then cross compile mode will be used" >&2
   1337   elif test "x$build_alias" != "x$host_alias"; then
   1338     cross_compiling=yes
   1339   fi
   1340 fi
   1341 
   1342 ac_tool_prefix=
   1343 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1344 
   1345 test "$silent" = yes && exec 6>/dev/null
   1346 
   1347 
   1348 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1349 ac_ls_di=`ls -di .` &&
   1350 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1351   as_fn_error $? "working directory cannot be determined"
   1352 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1353   as_fn_error $? "pwd does not report name of working directory"
   1354 
   1355 
   1356 # Find the source files, if location was not specified.
   1357 if test -z "$srcdir"; then
   1358   ac_srcdir_defaulted=yes
   1359   # Try the directory containing this script, then the parent directory.
   1360   ac_confdir=`$as_dirname -- "$as_myself" ||
   1361 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1362 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1363 	 X"$as_myself" : 'X\(//\)$' \| \
   1364 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1365 $as_echo X"$as_myself" |
   1366     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1367 	    s//\1/
   1368 	    q
   1369 	  }
   1370 	  /^X\(\/\/\)[^/].*/{
   1371 	    s//\1/
   1372 	    q
   1373 	  }
   1374 	  /^X\(\/\/\)$/{
   1375 	    s//\1/
   1376 	    q
   1377 	  }
   1378 	  /^X\(\/\).*/{
   1379 	    s//\1/
   1380 	    q
   1381 	  }
   1382 	  s/.*/./; q'`
   1383   srcdir=$ac_confdir
   1384   if test ! -r "$srcdir/$ac_unique_file"; then
   1385     srcdir=..
   1386   fi
   1387 else
   1388   ac_srcdir_defaulted=no
   1389 fi
   1390 if test ! -r "$srcdir/$ac_unique_file"; then
   1391   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1392   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1393 fi
   1394 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1395 ac_abs_confdir=`(
   1396 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1397 	pwd)`
   1398 # When building in place, set srcdir=.
   1399 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1400   srcdir=.
   1401 fi
   1402 # Remove unnecessary trailing slashes from srcdir.
   1403 # Double slashes in file names in object file debugging info
   1404 # mess up M-x gdb in Emacs.
   1405 case $srcdir in
   1406 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1407 esac
   1408 for ac_var in $ac_precious_vars; do
   1409   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1410   eval ac_env_${ac_var}_value=\$${ac_var}
   1411   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1412   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1413 done
   1414 
   1415 #
   1416 # Report the --help message.
   1417 #
   1418 if test "$ac_init_help" = "long"; then
   1419   # Omit some internal or obsolete options to make the list less imposing.
   1420   # This message is too long to be a string in the A/UX 3.1 sh.
   1421   cat <<_ACEOF
   1422 \`configure' configures libXtst 1.2.1 to adapt to many kinds of systems.
   1423 
   1424 Usage: $0 [OPTION]... [VAR=VALUE]...
   1425 
   1426 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1427 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1428 
   1429 Defaults for the options are specified in brackets.
   1430 
   1431 Configuration:
   1432   -h, --help              display this help and exit
   1433       --help=short        display options specific to this package
   1434       --help=recursive    display the short help of all the included packages
   1435   -V, --version           display version information and exit
   1436   -q, --quiet, --silent   do not print \`checking ...' messages
   1437       --cache-file=FILE   cache test results in FILE [disabled]
   1438   -C, --config-cache      alias for \`--cache-file=config.cache'
   1439   -n, --no-create         do not create output files
   1440       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1441 
   1442 Installation directories:
   1443   --prefix=PREFIX         install architecture-independent files in PREFIX
   1444                           [$ac_default_prefix]
   1445   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1446                           [PREFIX]
   1447 
   1448 By default, \`make install' will install all the files in
   1449 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1450 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1451 for instance \`--prefix=\$HOME'.
   1452 
   1453 For better control, use the options below.
   1454 
   1455 Fine tuning of the installation directories:
   1456   --bindir=DIR            user executables [EPREFIX/bin]
   1457   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1458   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1459   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1460   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1461   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1462   --libdir=DIR            object code libraries [EPREFIX/lib]
   1463   --includedir=DIR        C header files [PREFIX/include]
   1464   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1465   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1466   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1467   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1468   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1469   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1470   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXtst]
   1471   --htmldir=DIR           html documentation [DOCDIR]
   1472   --dvidir=DIR            dvi documentation [DOCDIR]
   1473   --pdfdir=DIR            pdf documentation [DOCDIR]
   1474   --psdir=DIR             ps documentation [DOCDIR]
   1475 _ACEOF
   1476 
   1477   cat <<\_ACEOF
   1478 
   1479 Program names:
   1480   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1481   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1482   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1483 
   1484 System types:
   1485   --build=BUILD     configure for building on BUILD [guessed]
   1486   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1487 _ACEOF
   1488 fi
   1489 
   1490 if test -n "$ac_init_help"; then
   1491   case $ac_init_help in
   1492      short | recursive ) echo "Configuration of libXtst 1.2.1:";;
   1493    esac
   1494   cat <<\_ACEOF
   1495 
   1496 Optional Features:
   1497   --disable-option-checking  ignore unrecognized --enable/--with options
   1498   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1499   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1500   --enable-maintainer-mode  enable make rules and dependencies not useful
   1501 			  (and sometimes confusing) to the casual installer
   1502   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1503   --enable-static[=PKGS]  build static libraries [default=yes]
   1504   --enable-fast-install[=PKGS]
   1505                           optimize for fast installation [default=yes]
   1506   --disable-dependency-tracking  speeds up one-time build
   1507   --enable-dependency-tracking   do not reject slow dependency extractors
   1508   --disable-libtool-lock  avoid locking (might break parallel builds)
   1509   --disable-selective-werror
   1510                           Turn off selective compiler errors. (default:
   1511                           enabled)
   1512   --enable-strict-compilation
   1513                           Enable all warnings from compiler and make them
   1514                           errors (default: disabled)
   1515   --enable-silent-rules          less verbose build output (undo: `make V=1')
   1516   --disable-silent-rules         verbose build output (undo: `make V=0')
   1517   --enable-specs          Enable building the specs (default: yes)
   1518   --enable-lint-library   Create lint library (default: disabled)
   1519 
   1520 Optional Packages:
   1521   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1522   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1523   --with-pic              try to use only PIC/non-PIC objects [default=use
   1524                           both]
   1525   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1526   --with-sysroot=DIR Search for dependent libraries within DIR
   1527                         (or the compiler's sysroot if not specified).
   1528   --with-xmlto            Use xmlto to regenerate documentation (default:
   1529                           auto)
   1530   --with-fop              Use fop to regenerate documentation (default: auto)
   1531   --with-xsltproc         Use xsltproc for the transformation of XML documents
   1532                           (default: auto)
   1533   --with-lint             Use a lint-style source code checker (default:
   1534                           disabled)
   1535 
   1536 Some influential environment variables:
   1537   CC          C compiler command
   1538   CFLAGS      C compiler flags
   1539   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1540               nonstandard directory <lib dir>
   1541   LIBS        libraries to pass to the linker, e.g. -l<library>
   1542   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1543               you have headers in a nonstandard directory <include dir>
   1544   CPP         C preprocessor
   1545   PKG_CONFIG  path to pkg-config utility
   1546   XMLTO       Path to xmlto command
   1547   FOP         Path to fop command
   1548   XSLTPROC    Path to xsltproc command
   1549   XTST_CFLAGS C compiler flags for XTST, overriding pkg-config
   1550   XTST_LIBS   linker flags for XTST, overriding pkg-config
   1551   LINT        Path to a lint-style command
   1552   LINT_FLAGS  Flags for the lint-style command
   1553 
   1554 Use these variables to override the choices made by `configure' or to help
   1555 it to find libraries and programs with nonstandard names/locations.
   1556 
   1557 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1558 _ACEOF
   1559 ac_status=$?
   1560 fi
   1561 
   1562 if test "$ac_init_help" = "recursive"; then
   1563   # If there are subdirs, report their specific --help.
   1564   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1565     test -d "$ac_dir" ||
   1566       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1567       continue
   1568     ac_builddir=.
   1569 
   1570 case "$ac_dir" in
   1571 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1572 *)
   1573   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1574   # A ".." for each directory in $ac_dir_suffix.
   1575   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1576   case $ac_top_builddir_sub in
   1577   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1578   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1579   esac ;;
   1580 esac
   1581 ac_abs_top_builddir=$ac_pwd
   1582 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1583 # for backward compatibility:
   1584 ac_top_builddir=$ac_top_build_prefix
   1585 
   1586 case $srcdir in
   1587   .)  # We are building in place.
   1588     ac_srcdir=.
   1589     ac_top_srcdir=$ac_top_builddir_sub
   1590     ac_abs_top_srcdir=$ac_pwd ;;
   1591   [\\/]* | ?:[\\/]* )  # Absolute name.
   1592     ac_srcdir=$srcdir$ac_dir_suffix;
   1593     ac_top_srcdir=$srcdir
   1594     ac_abs_top_srcdir=$srcdir ;;
   1595   *) # Relative name.
   1596     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1597     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1598     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1599 esac
   1600 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1601 
   1602     cd "$ac_dir" || { ac_status=$?; continue; }
   1603     # Check for guested configure.
   1604     if test -f "$ac_srcdir/configure.gnu"; then
   1605       echo &&
   1606       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1607     elif test -f "$ac_srcdir/configure"; then
   1608       echo &&
   1609       $SHELL "$ac_srcdir/configure" --help=recursive
   1610     else
   1611       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1612     fi || ac_status=$?
   1613     cd "$ac_pwd" || { ac_status=$?; break; }
   1614   done
   1615 fi
   1616 
   1617 test -n "$ac_init_help" && exit $ac_status
   1618 if $ac_init_version; then
   1619   cat <<\_ACEOF
   1620 libXtst configure 1.2.1
   1621 generated by GNU Autoconf 2.68
   1622 
   1623 Copyright (C) 2010 Free Software Foundation, Inc.
   1624 This configure script is free software; the Free Software Foundation
   1625 gives unlimited permission to copy, distribute and modify it.
   1626 _ACEOF
   1627   exit
   1628 fi
   1629 
   1630 ## ------------------------ ##
   1631 ## Autoconf initialization. ##
   1632 ## ------------------------ ##
   1633 
   1634 # ac_fn_c_try_compile LINENO
   1635 # --------------------------
   1636 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1637 ac_fn_c_try_compile ()
   1638 {
   1639   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1640   rm -f conftest.$ac_objext
   1641   if { { ac_try="$ac_compile"
   1642 case "(($ac_try" in
   1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1644   *) ac_try_echo=$ac_try;;
   1645 esac
   1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1647 $as_echo "$ac_try_echo"; } >&5
   1648   (eval "$ac_compile") 2>conftest.err
   1649   ac_status=$?
   1650   if test -s conftest.err; then
   1651     grep -v '^ *+' conftest.err >conftest.er1
   1652     cat conftest.er1 >&5
   1653     mv -f conftest.er1 conftest.err
   1654   fi
   1655   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1656   test $ac_status = 0; } && {
   1657 	 test -z "$ac_c_werror_flag" ||
   1658 	 test ! -s conftest.err
   1659        } && test -s conftest.$ac_objext; then :
   1660   ac_retval=0
   1661 else
   1662   $as_echo "$as_me: failed program was:" >&5
   1663 sed 's/^/| /' conftest.$ac_ext >&5
   1664 
   1665 	ac_retval=1
   1666 fi
   1667   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1668   as_fn_set_status $ac_retval
   1669 
   1670 } # ac_fn_c_try_compile
   1671 
   1672 # ac_fn_c_try_link LINENO
   1673 # -----------------------
   1674 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1675 ac_fn_c_try_link ()
   1676 {
   1677   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1678   rm -f conftest.$ac_objext conftest$ac_exeext
   1679   if { { ac_try="$ac_link"
   1680 case "(($ac_try" in
   1681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1682   *) ac_try_echo=$ac_try;;
   1683 esac
   1684 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1685 $as_echo "$ac_try_echo"; } >&5
   1686   (eval "$ac_link") 2>conftest.err
   1687   ac_status=$?
   1688   if test -s conftest.err; then
   1689     grep -v '^ *+' conftest.err >conftest.er1
   1690     cat conftest.er1 >&5
   1691     mv -f conftest.er1 conftest.err
   1692   fi
   1693   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1694   test $ac_status = 0; } && {
   1695 	 test -z "$ac_c_werror_flag" ||
   1696 	 test ! -s conftest.err
   1697        } && test -s conftest$ac_exeext && {
   1698 	 test "$cross_compiling" = yes ||
   1699 	 $as_test_x conftest$ac_exeext
   1700        }; then :
   1701   ac_retval=0
   1702 else
   1703   $as_echo "$as_me: failed program was:" >&5
   1704 sed 's/^/| /' conftest.$ac_ext >&5
   1705 
   1706 	ac_retval=1
   1707 fi
   1708   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1709   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1710   # interfere with the next link command; also delete a directory that is
   1711   # left behind by Apple's compiler.  We do this before executing the actions.
   1712   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1713   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1714   as_fn_set_status $ac_retval
   1715 
   1716 } # ac_fn_c_try_link
   1717 
   1718 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1719 # -------------------------------------------------------
   1720 # Tests whether HEADER exists and can be compiled using the include files in
   1721 # INCLUDES, setting the cache variable VAR accordingly.
   1722 ac_fn_c_check_header_compile ()
   1723 {
   1724   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1725   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1726 $as_echo_n "checking for $2... " >&6; }
   1727 if eval \${$3+:} false; then :
   1728   $as_echo_n "(cached) " >&6
   1729 else
   1730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1731 /* end confdefs.h.  */
   1732 $4
   1733 #include <$2>
   1734 _ACEOF
   1735 if ac_fn_c_try_compile "$LINENO"; then :
   1736   eval "$3=yes"
   1737 else
   1738   eval "$3=no"
   1739 fi
   1740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1741 fi
   1742 eval ac_res=\$$3
   1743 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1744 $as_echo "$ac_res" >&6; }
   1745   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1746 
   1747 } # ac_fn_c_check_header_compile
   1748 
   1749 # ac_fn_c_try_cpp LINENO
   1750 # ----------------------
   1751 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1752 ac_fn_c_try_cpp ()
   1753 {
   1754   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1755   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1756 case "(($ac_try" in
   1757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1758   *) ac_try_echo=$ac_try;;
   1759 esac
   1760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1761 $as_echo "$ac_try_echo"; } >&5
   1762   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1763   ac_status=$?
   1764   if test -s conftest.err; then
   1765     grep -v '^ *+' conftest.err >conftest.er1
   1766     cat conftest.er1 >&5
   1767     mv -f conftest.er1 conftest.err
   1768   fi
   1769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1770   test $ac_status = 0; } > conftest.i && {
   1771 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1772 	 test ! -s conftest.err
   1773        }; then :
   1774   ac_retval=0
   1775 else
   1776   $as_echo "$as_me: failed program was:" >&5
   1777 sed 's/^/| /' conftest.$ac_ext >&5
   1778 
   1779     ac_retval=1
   1780 fi
   1781   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1782   as_fn_set_status $ac_retval
   1783 
   1784 } # ac_fn_c_try_cpp
   1785 
   1786 # ac_fn_c_try_run LINENO
   1787 # ----------------------
   1788 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1789 # that executables *can* be run.
   1790 ac_fn_c_try_run ()
   1791 {
   1792   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1793   if { { ac_try="$ac_link"
   1794 case "(($ac_try" in
   1795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1796   *) ac_try_echo=$ac_try;;
   1797 esac
   1798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1799 $as_echo "$ac_try_echo"; } >&5
   1800   (eval "$ac_link") 2>&5
   1801   ac_status=$?
   1802   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1803   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1804   { { case "(($ac_try" in
   1805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1806   *) ac_try_echo=$ac_try;;
   1807 esac
   1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1809 $as_echo "$ac_try_echo"; } >&5
   1810   (eval "$ac_try") 2>&5
   1811   ac_status=$?
   1812   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1813   test $ac_status = 0; }; }; then :
   1814   ac_retval=0
   1815 else
   1816   $as_echo "$as_me: program exited with status $ac_status" >&5
   1817        $as_echo "$as_me: failed program was:" >&5
   1818 sed 's/^/| /' conftest.$ac_ext >&5
   1819 
   1820        ac_retval=$ac_status
   1821 fi
   1822   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1823   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1824   as_fn_set_status $ac_retval
   1825 
   1826 } # ac_fn_c_try_run
   1827 
   1828 # ac_fn_c_check_func LINENO FUNC VAR
   1829 # ----------------------------------
   1830 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1831 ac_fn_c_check_func ()
   1832 {
   1833   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1834   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1835 $as_echo_n "checking for $2... " >&6; }
   1836 if eval \${$3+:} false; then :
   1837   $as_echo_n "(cached) " >&6
   1838 else
   1839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1840 /* end confdefs.h.  */
   1841 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1842    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1843 #define $2 innocuous_$2
   1844 
   1845 /* System header to define __stub macros and hopefully few prototypes,
   1846     which can conflict with char $2 (); below.
   1847     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1848     <limits.h> exists even on freestanding compilers.  */
   1849 
   1850 #ifdef __STDC__
   1851 # include <limits.h>
   1852 #else
   1853 # include <assert.h>
   1854 #endif
   1855 
   1856 #undef $2
   1857 
   1858 /* Override any GCC internal prototype to avoid an error.
   1859    Use char because int might match the return type of a GCC
   1860    builtin and then its argument prototype would still apply.  */
   1861 #ifdef __cplusplus
   1862 extern "C"
   1863 #endif
   1864 char $2 ();
   1865 /* The GNU C library defines this for functions which it implements
   1866     to always fail with ENOSYS.  Some functions are actually named
   1867     something starting with __ and the normal name is an alias.  */
   1868 #if defined __stub_$2 || defined __stub___$2
   1869 choke me
   1870 #endif
   1871 
   1872 int
   1873 main ()
   1874 {
   1875 return $2 ();
   1876   ;
   1877   return 0;
   1878 }
   1879 _ACEOF
   1880 if ac_fn_c_try_link "$LINENO"; then :
   1881   eval "$3=yes"
   1882 else
   1883   eval "$3=no"
   1884 fi
   1885 rm -f core conftest.err conftest.$ac_objext \
   1886     conftest$ac_exeext conftest.$ac_ext
   1887 fi
   1888 eval ac_res=\$$3
   1889 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1890 $as_echo "$ac_res" >&6; }
   1891   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1892 
   1893 } # ac_fn_c_check_func
   1894 
   1895 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1896 # ---------------------------------------------
   1897 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1898 # accordingly.
   1899 ac_fn_c_check_decl ()
   1900 {
   1901   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1902   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1903   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1904   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1905 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1906 if eval \${$3+:} false; then :
   1907   $as_echo_n "(cached) " >&6
   1908 else
   1909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1910 /* end confdefs.h.  */
   1911 $4
   1912 int
   1913 main ()
   1914 {
   1915 #ifndef $as_decl_name
   1916 #ifdef __cplusplus
   1917   (void) $as_decl_use;
   1918 #else
   1919   (void) $as_decl_name;
   1920 #endif
   1921 #endif
   1922 
   1923   ;
   1924   return 0;
   1925 }
   1926 _ACEOF
   1927 if ac_fn_c_try_compile "$LINENO"; then :
   1928   eval "$3=yes"
   1929 else
   1930   eval "$3=no"
   1931 fi
   1932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1933 fi
   1934 eval ac_res=\$$3
   1935 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1936 $as_echo "$ac_res" >&6; }
   1937   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1938 
   1939 } # ac_fn_c_check_decl
   1940 cat >config.log <<_ACEOF
   1941 This file contains any messages produced by compilers while
   1942 running configure, to aid debugging if configure makes a mistake.
   1943 
   1944 It was created by libXtst $as_me 1.2.1, which was
   1945 generated by GNU Autoconf 2.68.  Invocation command line was
   1946 
   1947   $ $0 $@
   1948 
   1949 _ACEOF
   1950 exec 5>>config.log
   1951 {
   1952 cat <<_ASUNAME
   1953 ## --------- ##
   1954 ## Platform. ##
   1955 ## --------- ##
   1956 
   1957 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1958 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1959 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1960 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1961 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1962 
   1963 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1964 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1965 
   1966 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1967 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1968 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1969 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1970 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1971 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1972 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1973 
   1974 _ASUNAME
   1975 
   1976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1977 for as_dir in $PATH
   1978 do
   1979   IFS=$as_save_IFS
   1980   test -z "$as_dir" && as_dir=.
   1981     $as_echo "PATH: $as_dir"
   1982   done
   1983 IFS=$as_save_IFS
   1984 
   1985 } >&5
   1986 
   1987 cat >&5 <<_ACEOF
   1988 
   1989 
   1990 ## ----------- ##
   1991 ## Core tests. ##
   1992 ## ----------- ##
   1993 
   1994 _ACEOF
   1995 
   1996 
   1997 # Keep a trace of the command line.
   1998 # Strip out --no-create and --no-recursion so they do not pile up.
   1999 # Strip out --silent because we don't want to record it for future runs.
   2000 # Also quote any args containing shell meta-characters.
   2001 # Make two passes to allow for proper duplicate-argument suppression.
   2002 ac_configure_args=
   2003 ac_configure_args0=
   2004 ac_configure_args1=
   2005 ac_must_keep_next=false
   2006 for ac_pass in 1 2
   2007 do
   2008   for ac_arg
   2009   do
   2010     case $ac_arg in
   2011     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2012     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2013     | -silent | --silent | --silen | --sile | --sil)
   2014       continue ;;
   2015     *\'*)
   2016       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2017     esac
   2018     case $ac_pass in
   2019     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2020     2)
   2021       as_fn_append ac_configure_args1 " '$ac_arg'"
   2022       if test $ac_must_keep_next = true; then
   2023 	ac_must_keep_next=false # Got value, back to normal.
   2024       else
   2025 	case $ac_arg in
   2026 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2027 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2028 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2029 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2030 	    case "$ac_configure_args0 " in
   2031 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2032 	    esac
   2033 	    ;;
   2034 	  -* ) ac_must_keep_next=true ;;
   2035 	esac
   2036       fi
   2037       as_fn_append ac_configure_args " '$ac_arg'"
   2038       ;;
   2039     esac
   2040   done
   2041 done
   2042 { ac_configure_args0=; unset ac_configure_args0;}
   2043 { ac_configure_args1=; unset ac_configure_args1;}
   2044 
   2045 # When interrupted or exit'd, cleanup temporary files, and complete
   2046 # config.log.  We remove comments because anyway the quotes in there
   2047 # would cause problems or look ugly.
   2048 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2049 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2050 trap 'exit_status=$?
   2051   # Save into config.log some information that might help in debugging.
   2052   {
   2053     echo
   2054 
   2055     $as_echo "## ---------------- ##
   2056 ## Cache variables. ##
   2057 ## ---------------- ##"
   2058     echo
   2059     # The following way of writing the cache mishandles newlines in values,
   2060 (
   2061   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2062     eval ac_val=\$$ac_var
   2063     case $ac_val in #(
   2064     *${as_nl}*)
   2065       case $ac_var in #(
   2066       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2067 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2068       esac
   2069       case $ac_var in #(
   2070       _ | IFS | as_nl) ;; #(
   2071       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2072       *) { eval $ac_var=; unset $ac_var;} ;;
   2073       esac ;;
   2074     esac
   2075   done
   2076   (set) 2>&1 |
   2077     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2078     *${as_nl}ac_space=\ *)
   2079       sed -n \
   2080 	"s/'\''/'\''\\\\'\'''\''/g;
   2081 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2082       ;; #(
   2083     *)
   2084       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2085       ;;
   2086     esac |
   2087     sort
   2088 )
   2089     echo
   2090 
   2091     $as_echo "## ----------------- ##
   2092 ## Output variables. ##
   2093 ## ----------------- ##"
   2094     echo
   2095     for ac_var in $ac_subst_vars
   2096     do
   2097       eval ac_val=\$$ac_var
   2098       case $ac_val in
   2099       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2100       esac
   2101       $as_echo "$ac_var='\''$ac_val'\''"
   2102     done | sort
   2103     echo
   2104 
   2105     if test -n "$ac_subst_files"; then
   2106       $as_echo "## ------------------- ##
   2107 ## File substitutions. ##
   2108 ## ------------------- ##"
   2109       echo
   2110       for ac_var in $ac_subst_files
   2111       do
   2112 	eval ac_val=\$$ac_var
   2113 	case $ac_val in
   2114 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2115 	esac
   2116 	$as_echo "$ac_var='\''$ac_val'\''"
   2117       done | sort
   2118       echo
   2119     fi
   2120 
   2121     if test -s confdefs.h; then
   2122       $as_echo "## ----------- ##
   2123 ## confdefs.h. ##
   2124 ## ----------- ##"
   2125       echo
   2126       cat confdefs.h
   2127       echo
   2128     fi
   2129     test "$ac_signal" != 0 &&
   2130       $as_echo "$as_me: caught signal $ac_signal"
   2131     $as_echo "$as_me: exit $exit_status"
   2132   } >&5
   2133   rm -f core *.core core.conftest.* &&
   2134     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2135     exit $exit_status
   2136 ' 0
   2137 for ac_signal in 1 2 13 15; do
   2138   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2139 done
   2140 ac_signal=0
   2141 
   2142 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2143 rm -f -r conftest* confdefs.h
   2144 
   2145 $as_echo "/* confdefs.h */" > confdefs.h
   2146 
   2147 # Predefined preprocessor variables.
   2148 
   2149 cat >>confdefs.h <<_ACEOF
   2150 #define PACKAGE_NAME "$PACKAGE_NAME"
   2151 _ACEOF
   2152 
   2153 cat >>confdefs.h <<_ACEOF
   2154 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2155 _ACEOF
   2156 
   2157 cat >>confdefs.h <<_ACEOF
   2158 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2159 _ACEOF
   2160 
   2161 cat >>confdefs.h <<_ACEOF
   2162 #define PACKAGE_STRING "$PACKAGE_STRING"
   2163 _ACEOF
   2164 
   2165 cat >>confdefs.h <<_ACEOF
   2166 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2167 _ACEOF
   2168 
   2169 cat >>confdefs.h <<_ACEOF
   2170 #define PACKAGE_URL "$PACKAGE_URL"
   2171 _ACEOF
   2172 
   2173 
   2174 # Let the site file select an alternate cache file if it wants to.
   2175 # Prefer an explicitly selected file to automatically selected ones.
   2176 ac_site_file1=NONE
   2177 ac_site_file2=NONE
   2178 if test -n "$CONFIG_SITE"; then
   2179   # We do not want a PATH search for config.site.
   2180   case $CONFIG_SITE in #((
   2181     -*)  ac_site_file1=./$CONFIG_SITE;;
   2182     */*) ac_site_file1=$CONFIG_SITE;;
   2183     *)   ac_site_file1=./$CONFIG_SITE;;
   2184   esac
   2185 elif test "x$prefix" != xNONE; then
   2186   ac_site_file1=$prefix/share/config.site
   2187   ac_site_file2=$prefix/etc/config.site
   2188 else
   2189   ac_site_file1=$ac_default_prefix/share/config.site
   2190   ac_site_file2=$ac_default_prefix/etc/config.site
   2191 fi
   2192 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2193 do
   2194   test "x$ac_site_file" = xNONE && continue
   2195   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2196     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2197 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2198     sed 's/^/| /' "$ac_site_file" >&5
   2199     . "$ac_site_file" \
   2200       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2202 as_fn_error $? "failed to load site script $ac_site_file
   2203 See \`config.log' for more details" "$LINENO" 5; }
   2204   fi
   2205 done
   2206 
   2207 if test -r "$cache_file"; then
   2208   # Some versions of bash will fail to source /dev/null (special files
   2209   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2210   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2211     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2212 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2213     case $cache_file in
   2214       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2215       *)                      . "./$cache_file";;
   2216     esac
   2217   fi
   2218 else
   2219   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2220 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2221   >$cache_file
   2222 fi
   2223 
   2224 # Check that the precious variables saved in the cache have kept the same
   2225 # value.
   2226 ac_cache_corrupted=false
   2227 for ac_var in $ac_precious_vars; do
   2228   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2229   eval ac_new_set=\$ac_env_${ac_var}_set
   2230   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2231   eval ac_new_val=\$ac_env_${ac_var}_value
   2232   case $ac_old_set,$ac_new_set in
   2233     set,)
   2234       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2235 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2236       ac_cache_corrupted=: ;;
   2237     ,set)
   2238       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2239 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2240       ac_cache_corrupted=: ;;
   2241     ,);;
   2242     *)
   2243       if test "x$ac_old_val" != "x$ac_new_val"; then
   2244 	# differences in whitespace do not lead to failure.
   2245 	ac_old_val_w=`echo x $ac_old_val`
   2246 	ac_new_val_w=`echo x $ac_new_val`
   2247 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2248 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2249 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2250 	  ac_cache_corrupted=:
   2251 	else
   2252 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2253 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2254 	  eval $ac_var=\$ac_old_val
   2255 	fi
   2256 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2257 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2258 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2259 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2260       fi;;
   2261   esac
   2262   # Pass precious variables to config.status.
   2263   if test "$ac_new_set" = set; then
   2264     case $ac_new_val in
   2265     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2266     *) ac_arg=$ac_var=$ac_new_val ;;
   2267     esac
   2268     case " $ac_configure_args " in
   2269       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2270       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2271     esac
   2272   fi
   2273 done
   2274 if $ac_cache_corrupted; then
   2275   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2276 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2277   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2278 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2279   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2280 fi
   2281 ## -------------------- ##
   2282 ## Main body of script. ##
   2283 ## -------------------- ##
   2284 
   2285 ac_ext=c
   2286 ac_cpp='$CPP $CPPFLAGS'
   2287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2290 
   2291 
   2292 
   2293 ac_config_headers="$ac_config_headers config.h"
   2294 
   2295 
   2296 # Initialize Automake
   2297 am__api_version='1.11'
   2298 
   2299 ac_aux_dir=
   2300 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2301   if test -f "$ac_dir/install-sh"; then
   2302     ac_aux_dir=$ac_dir
   2303     ac_install_sh="$ac_aux_dir/install-sh -c"
   2304     break
   2305   elif test -f "$ac_dir/install.sh"; then
   2306     ac_aux_dir=$ac_dir
   2307     ac_install_sh="$ac_aux_dir/install.sh -c"
   2308     break
   2309   elif test -f "$ac_dir/shtool"; then
   2310     ac_aux_dir=$ac_dir
   2311     ac_install_sh="$ac_aux_dir/shtool install -c"
   2312     break
   2313   fi
   2314 done
   2315 if test -z "$ac_aux_dir"; then
   2316   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2317 fi
   2318 
   2319 # These three variables are undocumented and unsupported,
   2320 # and are intended to be withdrawn in a future Autoconf release.
   2321 # They can cause serious problems if a builder's source tree is in a directory
   2322 # whose full name contains unusual characters.
   2323 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2324 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2325 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2326 
   2327 
   2328 # Find a good install program.  We prefer a C program (faster),
   2329 # so one script is as good as another.  But avoid the broken or
   2330 # incompatible versions:
   2331 # SysV /etc/install, /usr/sbin/install
   2332 # SunOS /usr/etc/install
   2333 # IRIX /sbin/install
   2334 # AIX /bin/install
   2335 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2336 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2337 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2338 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2339 # OS/2's system install, which has a completely different semantic
   2340 # ./install, which can be erroneously created by make from ./install.sh.
   2341 # Reject install programs that cannot install multiple files.
   2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2343 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2344 if test -z "$INSTALL"; then
   2345 if ${ac_cv_path_install+:} false; then :
   2346   $as_echo_n "(cached) " >&6
   2347 else
   2348   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2349 for as_dir in $PATH
   2350 do
   2351   IFS=$as_save_IFS
   2352   test -z "$as_dir" && as_dir=.
   2353     # Account for people who put trailing slashes in PATH elements.
   2354 case $as_dir/ in #((
   2355   ./ | .// | /[cC]/* | \
   2356   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2357   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2358   /usr/ucb/* ) ;;
   2359   *)
   2360     # OSF1 and SCO ODT 3.0 have their own names for install.
   2361     # Don't use installbsd from OSF since it installs stuff as root
   2362     # by default.
   2363     for ac_prog in ginstall scoinst install; do
   2364       for ac_exec_ext in '' $ac_executable_extensions; do
   2365 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
   2366 	  if test $ac_prog = install &&
   2367 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2368 	    # AIX install.  It has an incompatible calling convention.
   2369 	    :
   2370 	  elif test $ac_prog = install &&
   2371 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2372 	    # program-specific install script used by HP pwplus--don't use.
   2373 	    :
   2374 	  else
   2375 	    rm -rf conftest.one conftest.two conftest.dir
   2376 	    echo one > conftest.one
   2377 	    echo two > conftest.two
   2378 	    mkdir conftest.dir
   2379 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2380 	      test -s conftest.one && test -s conftest.two &&
   2381 	      test -s conftest.dir/conftest.one &&
   2382 	      test -s conftest.dir/conftest.two
   2383 	    then
   2384 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2385 	      break 3
   2386 	    fi
   2387 	  fi
   2388 	fi
   2389       done
   2390     done
   2391     ;;
   2392 esac
   2393 
   2394   done
   2395 IFS=$as_save_IFS
   2396 
   2397 rm -rf conftest.one conftest.two conftest.dir
   2398 
   2399 fi
   2400   if test "${ac_cv_path_install+set}" = set; then
   2401     INSTALL=$ac_cv_path_install
   2402   else
   2403     # As a last resort, use the slow shell script.  Don't cache a
   2404     # value for INSTALL within a source directory, because that will
   2405     # break other packages using the cache if that directory is
   2406     # removed, or if the value is a relative name.
   2407     INSTALL=$ac_install_sh
   2408   fi
   2409 fi
   2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2411 $as_echo "$INSTALL" >&6; }
   2412 
   2413 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2414 # It thinks the first close brace ends the variable substitution.
   2415 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2416 
   2417 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2418 
   2419 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2420 
   2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2422 $as_echo_n "checking whether build environment is sane... " >&6; }
   2423 # Just in case
   2424 sleep 1
   2425 echo timestamp > conftest.file
   2426 # Reject unsafe characters in $srcdir or the absolute working directory
   2427 # name.  Accept space and tab only in the latter.
   2428 am_lf='
   2429 '
   2430 case `pwd` in
   2431   *[\\\"\#\$\&\'\`$am_lf]*)
   2432     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2433 esac
   2434 case $srcdir in
   2435   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2436     as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
   2437 esac
   2438 
   2439 # Do `set' in a subshell so we don't clobber the current shell's
   2440 # arguments.  Must try -L first in case configure is actually a
   2441 # symlink; some systems play weird games with the mod time of symlinks
   2442 # (eg FreeBSD returns the mod time of the symlink's containing
   2443 # directory).
   2444 if (
   2445    set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2446    if test "$*" = "X"; then
   2447       # -L didn't work.
   2448       set X `ls -t "$srcdir/configure" conftest.file`
   2449    fi
   2450    rm -f conftest.file
   2451    if test "$*" != "X $srcdir/configure conftest.file" \
   2452       && test "$*" != "X conftest.file $srcdir/configure"; then
   2453 
   2454       # If neither matched, then we have a broken ls.  This can happen
   2455       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2456       # broken ls alias from the environment.  This has actually
   2457       # happened.  Such a system could not be considered "sane".
   2458       as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2459 alias in your environment" "$LINENO" 5
   2460    fi
   2461 
   2462    test "$2" = conftest.file
   2463    )
   2464 then
   2465    # Ok.
   2466    :
   2467 else
   2468    as_fn_error $? "newly created file is older than distributed files!
   2469 Check your system clock" "$LINENO" 5
   2470 fi
   2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2472 $as_echo "yes" >&6; }
   2473 test "$program_prefix" != NONE &&
   2474   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2475 # Use a double $ so make ignores it.
   2476 test "$program_suffix" != NONE &&
   2477   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2478 # Double any \ or $.
   2479 # By default was `s,x,x', remove it if useless.
   2480 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2481 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2482 
   2483 # expand $ac_aux_dir to an absolute path
   2484 am_aux_dir=`cd $ac_aux_dir && pwd`
   2485 
   2486 if test x"${MISSING+set}" != xset; then
   2487   case $am_aux_dir in
   2488   *\ * | *\	*)
   2489     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2490   *)
   2491     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2492   esac
   2493 fi
   2494 # Use eval to expand $SHELL
   2495 if eval "$MISSING --run true"; then
   2496   am_missing_run="$MISSING --run "
   2497 else
   2498   am_missing_run=
   2499   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
   2500 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2501 fi
   2502 
   2503 if test x"${install_sh}" != xset; then
   2504   case $am_aux_dir in
   2505   *\ * | *\	*)
   2506     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2507   *)
   2508     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2509   esac
   2510 fi
   2511 
   2512 # Installed binaries are usually stripped using `strip' when the user
   2513 # run `make install-strip'.  However `strip' might not be the right
   2514 # tool to use in cross-compilation environments, therefore Automake
   2515 # will honor the `STRIP' environment variable to overrule this program.
   2516 if test "$cross_compiling" != no; then
   2517   if test -n "$ac_tool_prefix"; then
   2518   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2519 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2521 $as_echo_n "checking for $ac_word... " >&6; }
   2522 if ${ac_cv_prog_STRIP+:} false; then :
   2523   $as_echo_n "(cached) " >&6
   2524 else
   2525   if test -n "$STRIP"; then
   2526   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2527 else
   2528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2529 for as_dir in $PATH
   2530 do
   2531   IFS=$as_save_IFS
   2532   test -z "$as_dir" && as_dir=.
   2533     for ac_exec_ext in '' $ac_executable_extensions; do
   2534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2535     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2537     break 2
   2538   fi
   2539 done
   2540   done
   2541 IFS=$as_save_IFS
   2542 
   2543 fi
   2544 fi
   2545 STRIP=$ac_cv_prog_STRIP
   2546 if test -n "$STRIP"; then
   2547   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2548 $as_echo "$STRIP" >&6; }
   2549 else
   2550   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2551 $as_echo "no" >&6; }
   2552 fi
   2553 
   2554 
   2555 fi
   2556 if test -z "$ac_cv_prog_STRIP"; then
   2557   ac_ct_STRIP=$STRIP
   2558   # Extract the first word of "strip", so it can be a program name with args.
   2559 set dummy strip; ac_word=$2
   2560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2561 $as_echo_n "checking for $ac_word... " >&6; }
   2562 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2563   $as_echo_n "(cached) " >&6
   2564 else
   2565   if test -n "$ac_ct_STRIP"; then
   2566   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2567 else
   2568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2569 for as_dir in $PATH
   2570 do
   2571   IFS=$as_save_IFS
   2572   test -z "$as_dir" && as_dir=.
   2573     for ac_exec_ext in '' $ac_executable_extensions; do
   2574   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2575     ac_cv_prog_ac_ct_STRIP="strip"
   2576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2577     break 2
   2578   fi
   2579 done
   2580   done
   2581 IFS=$as_save_IFS
   2582 
   2583 fi
   2584 fi
   2585 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2586 if test -n "$ac_ct_STRIP"; then
   2587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2588 $as_echo "$ac_ct_STRIP" >&6; }
   2589 else
   2590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2591 $as_echo "no" >&6; }
   2592 fi
   2593 
   2594   if test "x$ac_ct_STRIP" = x; then
   2595     STRIP=":"
   2596   else
   2597     case $cross_compiling:$ac_tool_warned in
   2598 yes:)
   2599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2600 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2601 ac_tool_warned=yes ;;
   2602 esac
   2603     STRIP=$ac_ct_STRIP
   2604   fi
   2605 else
   2606   STRIP="$ac_cv_prog_STRIP"
   2607 fi
   2608 
   2609 fi
   2610 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2611 
   2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2613 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2614 if test -z "$MKDIR_P"; then
   2615   if ${ac_cv_path_mkdir+:} false; then :
   2616   $as_echo_n "(cached) " >&6
   2617 else
   2618   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2619 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2620 do
   2621   IFS=$as_save_IFS
   2622   test -z "$as_dir" && as_dir=.
   2623     for ac_prog in mkdir gmkdir; do
   2624 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2625 	   { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
   2626 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2627 	     'mkdir (GNU coreutils) '* | \
   2628 	     'mkdir (coreutils) '* | \
   2629 	     'mkdir (fileutils) '4.1*)
   2630 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2631 	       break 3;;
   2632 	   esac
   2633 	 done
   2634        done
   2635   done
   2636 IFS=$as_save_IFS
   2637 
   2638 fi
   2639 
   2640   test -d ./--version && rmdir ./--version
   2641   if test "${ac_cv_path_mkdir+set}" = set; then
   2642     MKDIR_P="$ac_cv_path_mkdir -p"
   2643   else
   2644     # As a last resort, use the slow shell script.  Don't cache a
   2645     # value for MKDIR_P within a source directory, because that will
   2646     # break other packages using the cache if that directory is
   2647     # removed, or if the value is a relative name.
   2648     MKDIR_P="$ac_install_sh -d"
   2649   fi
   2650 fi
   2651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2652 $as_echo "$MKDIR_P" >&6; }
   2653 
   2654 mkdir_p="$MKDIR_P"
   2655 case $mkdir_p in
   2656   [\\/$]* | ?:[\\/]*) ;;
   2657   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
   2658 esac
   2659 
   2660 for ac_prog in gawk mawk nawk awk
   2661 do
   2662   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2663 set dummy $ac_prog; ac_word=$2
   2664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2665 $as_echo_n "checking for $ac_word... " >&6; }
   2666 if ${ac_cv_prog_AWK+:} false; then :
   2667   $as_echo_n "(cached) " >&6
   2668 else
   2669   if test -n "$AWK"; then
   2670   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2671 else
   2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2673 for as_dir in $PATH
   2674 do
   2675   IFS=$as_save_IFS
   2676   test -z "$as_dir" && as_dir=.
   2677     for ac_exec_ext in '' $ac_executable_extensions; do
   2678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   2679     ac_cv_prog_AWK="$ac_prog"
   2680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2681     break 2
   2682   fi
   2683 done
   2684   done
   2685 IFS=$as_save_IFS
   2686 
   2687 fi
   2688 fi
   2689 AWK=$ac_cv_prog_AWK
   2690 if test -n "$AWK"; then
   2691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2692 $as_echo "$AWK" >&6; }
   2693 else
   2694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2695 $as_echo "no" >&6; }
   2696 fi
   2697 
   2698 
   2699   test -n "$AWK" && break
   2700 done
   2701 
   2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2703 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2704 set x ${MAKE-make}
   2705 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2706 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2707   $as_echo_n "(cached) " >&6
   2708 else
   2709   cat >conftest.make <<\_ACEOF
   2710 SHELL = /bin/sh
   2711 all:
   2712 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2713 _ACEOF
   2714 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2715 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2716   *@@@%%%=?*=@@@%%%*)
   2717     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2718   *)
   2719     eval ac_cv_prog_make_${ac_make}_set=no;;
   2720 esac
   2721 rm -f conftest.make
   2722 fi
   2723 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2725 $as_echo "yes" >&6; }
   2726   SET_MAKE=
   2727 else
   2728   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2729 $as_echo "no" >&6; }
   2730   SET_MAKE="MAKE=${MAKE-make}"
   2731 fi
   2732 
   2733 rm -rf .tst 2>/dev/null
   2734 mkdir .tst 2>/dev/null
   2735 if test -d .tst; then
   2736   am__leading_dot=.
   2737 else
   2738   am__leading_dot=_
   2739 fi
   2740 rmdir .tst 2>/dev/null
   2741 
   2742 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2743   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2744   # is not polluted with repeated "-I."
   2745   am__isrc=' -I$(srcdir)'
   2746   # test to see if srcdir already configured
   2747   if test -f $srcdir/config.status; then
   2748     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2749   fi
   2750 fi
   2751 
   2752 # test whether we have cygpath
   2753 if test -z "$CYGPATH_W"; then
   2754   if (cygpath --version) >/dev/null 2>/dev/null; then
   2755     CYGPATH_W='cygpath -w'
   2756   else
   2757     CYGPATH_W=echo
   2758   fi
   2759 fi
   2760 
   2761 
   2762 # Define the identity of the package.
   2763  PACKAGE='libXtst'
   2764  VERSION='1.2.1'
   2765 
   2766 
   2767 cat >>confdefs.h <<_ACEOF
   2768 #define PACKAGE "$PACKAGE"
   2769 _ACEOF
   2770 
   2771 
   2772 cat >>confdefs.h <<_ACEOF
   2773 #define VERSION "$VERSION"
   2774 _ACEOF
   2775 
   2776 # Some tools Automake needs.
   2777 
   2778 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2779 
   2780 
   2781 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2782 
   2783 
   2784 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2785 
   2786 
   2787 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2788 
   2789 
   2790 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2791 
   2792 # We need awk for the "check" target.  The system "awk" is bad on
   2793 # some platforms.
   2794 # Always define AMTAR for backward compatibility.
   2795 
   2796 AMTAR=${AMTAR-"${am_missing_run}tar"}
   2797 
   2798 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   2799 
   2800 
   2801 
   2802 
   2803 
   2804 
   2805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2806 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2807     # Check whether --enable-maintainer-mode was given.
   2808 if test "${enable_maintainer_mode+set}" = set; then :
   2809   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2810 else
   2811   USE_MAINTAINER_MODE=no
   2812 fi
   2813 
   2814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2815 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2816    if test $USE_MAINTAINER_MODE = yes; then
   2817   MAINTAINER_MODE_TRUE=
   2818   MAINTAINER_MODE_FALSE='#'
   2819 else
   2820   MAINTAINER_MODE_TRUE='#'
   2821   MAINTAINER_MODE_FALSE=
   2822 fi
   2823 
   2824   MAINT=$MAINTAINER_MODE_TRUE
   2825 
   2826 
   2827 
   2828 # Initialize libtool
   2829 case `pwd` in
   2830   *\ * | *\	*)
   2831     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2832 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2833 esac
   2834 
   2835 
   2836 
   2837 macro_version='2.4'
   2838 macro_revision='1.3293'
   2839 
   2840 
   2841 
   2842 
   2843 
   2844 
   2845 
   2846 
   2847 
   2848 
   2849 
   2850 
   2851 
   2852 ltmain="$ac_aux_dir/ltmain.sh"
   2853 
   2854 # Make sure we can run config.sub.
   2855 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2856   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2857 
   2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2859 $as_echo_n "checking build system type... " >&6; }
   2860 if ${ac_cv_build+:} false; then :
   2861   $as_echo_n "(cached) " >&6
   2862 else
   2863   ac_build_alias=$build_alias
   2864 test "x$ac_build_alias" = x &&
   2865   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2866 test "x$ac_build_alias" = x &&
   2867   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2868 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2869   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2870 
   2871 fi
   2872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2873 $as_echo "$ac_cv_build" >&6; }
   2874 case $ac_cv_build in
   2875 *-*-*) ;;
   2876 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2877 esac
   2878 build=$ac_cv_build
   2879 ac_save_IFS=$IFS; IFS='-'
   2880 set x $ac_cv_build
   2881 shift
   2882 build_cpu=$1
   2883 build_vendor=$2
   2884 shift; shift
   2885 # Remember, the first character of IFS is used to create $*,
   2886 # except with old shells:
   2887 build_os=$*
   2888 IFS=$ac_save_IFS
   2889 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2890 
   2891 
   2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2893 $as_echo_n "checking host system type... " >&6; }
   2894 if ${ac_cv_host+:} false; then :
   2895   $as_echo_n "(cached) " >&6
   2896 else
   2897   if test "x$host_alias" = x; then
   2898   ac_cv_host=$ac_cv_build
   2899 else
   2900   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2901     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2902 fi
   2903 
   2904 fi
   2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2906 $as_echo "$ac_cv_host" >&6; }
   2907 case $ac_cv_host in
   2908 *-*-*) ;;
   2909 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2910 esac
   2911 host=$ac_cv_host
   2912 ac_save_IFS=$IFS; IFS='-'
   2913 set x $ac_cv_host
   2914 shift
   2915 host_cpu=$1
   2916 host_vendor=$2
   2917 shift; shift
   2918 # Remember, the first character of IFS is used to create $*,
   2919 # except with old shells:
   2920 host_os=$*
   2921 IFS=$ac_save_IFS
   2922 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2923 
   2924 
   2925 # Backslashify metacharacters that are still active within
   2926 # double-quoted strings.
   2927 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2928 
   2929 # Same as above, but do not quote variable references.
   2930 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2931 
   2932 # Sed substitution to delay expansion of an escaped shell variable in a
   2933 # double_quote_subst'ed string.
   2934 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2935 
   2936 # Sed substitution to delay expansion of an escaped single quote.
   2937 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2938 
   2939 # Sed substitution to avoid accidental globbing in evaled expressions
   2940 no_glob_subst='s/\*/\\\*/g'
   2941 
   2942 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2943 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2944 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2945 
   2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2947 $as_echo_n "checking how to print strings... " >&6; }
   2948 # Test print first, because it will be a builtin if present.
   2949 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2950    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2951   ECHO='print -r --'
   2952 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2953   ECHO='printf %s\n'
   2954 else
   2955   # Use this function as a fallback that always works.
   2956   func_fallback_echo ()
   2957   {
   2958     eval 'cat <<_LTECHO_EOF
   2959 $1
   2960 _LTECHO_EOF'
   2961   }
   2962   ECHO='func_fallback_echo'
   2963 fi
   2964 
   2965 # func_echo_all arg...
   2966 # Invoke $ECHO with all args, space-separated.
   2967 func_echo_all ()
   2968 {
   2969     $ECHO ""
   2970 }
   2971 
   2972 case "$ECHO" in
   2973   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2974 $as_echo "printf" >&6; } ;;
   2975   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2976 $as_echo "print -r" >&6; } ;;
   2977   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2978 $as_echo "cat" >&6; } ;;
   2979 esac
   2980 
   2981 
   2982 
   2983 
   2984 
   2985 
   2986 
   2987 
   2988 
   2989 
   2990 
   2991 
   2992 
   2993 
   2994 DEPDIR="${am__leading_dot}deps"
   2995 
   2996 ac_config_commands="$ac_config_commands depfiles"
   2997 
   2998 
   2999 am_make=${MAKE-make}
   3000 cat > confinc << 'END'
   3001 am__doit:
   3002 	@echo this is the am__doit target
   3003 .PHONY: am__doit
   3004 END
   3005 # If we don't find an include directive, just comment out the code.
   3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3007 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3008 am__include="#"
   3009 am__quote=
   3010 _am_result=none
   3011 # First try GNU make style include.
   3012 echo "include confinc" > confmf
   3013 # Ignore all kinds of additional output from `make'.
   3014 case `$am_make -s -f confmf 2> /dev/null` in #(
   3015 *the\ am__doit\ target*)
   3016   am__include=include
   3017   am__quote=
   3018   _am_result=GNU
   3019   ;;
   3020 esac
   3021 # Now try BSD make style include.
   3022 if test "$am__include" = "#"; then
   3023    echo '.include "confinc"' > confmf
   3024    case `$am_make -s -f confmf 2> /dev/null` in #(
   3025    *the\ am__doit\ target*)
   3026      am__include=.include
   3027      am__quote="\""
   3028      _am_result=BSD
   3029      ;;
   3030    esac
   3031 fi
   3032 
   3033 
   3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3035 $as_echo "$_am_result" >&6; }
   3036 rm -f confinc confmf
   3037 
   3038 # Check whether --enable-dependency-tracking was given.
   3039 if test "${enable_dependency_tracking+set}" = set; then :
   3040   enableval=$enable_dependency_tracking;
   3041 fi
   3042 
   3043 if test "x$enable_dependency_tracking" != xno; then
   3044   am_depcomp="$ac_aux_dir/depcomp"
   3045   AMDEPBACKSLASH='\'
   3046 fi
   3047  if test "x$enable_dependency_tracking" != xno; then
   3048   AMDEP_TRUE=
   3049   AMDEP_FALSE='#'
   3050 else
   3051   AMDEP_TRUE='#'
   3052   AMDEP_FALSE=
   3053 fi
   3054 
   3055 
   3056 ac_ext=c
   3057 ac_cpp='$CPP $CPPFLAGS'
   3058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3061 if test -n "$ac_tool_prefix"; then
   3062   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3063 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3065 $as_echo_n "checking for $ac_word... " >&6; }
   3066 if ${ac_cv_prog_CC+:} false; then :
   3067   $as_echo_n "(cached) " >&6
   3068 else
   3069   if test -n "$CC"; then
   3070   ac_cv_prog_CC="$CC" # Let the user override the test.
   3071 else
   3072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3073 for as_dir in $PATH
   3074 do
   3075   IFS=$as_save_IFS
   3076   test -z "$as_dir" && as_dir=.
   3077     for ac_exec_ext in '' $ac_executable_extensions; do
   3078   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3079     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3080     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3081     break 2
   3082   fi
   3083 done
   3084   done
   3085 IFS=$as_save_IFS
   3086 
   3087 fi
   3088 fi
   3089 CC=$ac_cv_prog_CC
   3090 if test -n "$CC"; then
   3091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3092 $as_echo "$CC" >&6; }
   3093 else
   3094   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3095 $as_echo "no" >&6; }
   3096 fi
   3097 
   3098 
   3099 fi
   3100 if test -z "$ac_cv_prog_CC"; then
   3101   ac_ct_CC=$CC
   3102   # Extract the first word of "gcc", so it can be a program name with args.
   3103 set dummy gcc; ac_word=$2
   3104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3105 $as_echo_n "checking for $ac_word... " >&6; }
   3106 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3107   $as_echo_n "(cached) " >&6
   3108 else
   3109   if test -n "$ac_ct_CC"; then
   3110   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3111 else
   3112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3113 for as_dir in $PATH
   3114 do
   3115   IFS=$as_save_IFS
   3116   test -z "$as_dir" && as_dir=.
   3117     for ac_exec_ext in '' $ac_executable_extensions; do
   3118   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3119     ac_cv_prog_ac_ct_CC="gcc"
   3120     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3121     break 2
   3122   fi
   3123 done
   3124   done
   3125 IFS=$as_save_IFS
   3126 
   3127 fi
   3128 fi
   3129 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3130 if test -n "$ac_ct_CC"; then
   3131   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3132 $as_echo "$ac_ct_CC" >&6; }
   3133 else
   3134   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3135 $as_echo "no" >&6; }
   3136 fi
   3137 
   3138   if test "x$ac_ct_CC" = x; then
   3139     CC=""
   3140   else
   3141     case $cross_compiling:$ac_tool_warned in
   3142 yes:)
   3143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3144 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3145 ac_tool_warned=yes ;;
   3146 esac
   3147     CC=$ac_ct_CC
   3148   fi
   3149 else
   3150   CC="$ac_cv_prog_CC"
   3151 fi
   3152 
   3153 if test -z "$CC"; then
   3154           if test -n "$ac_tool_prefix"; then
   3155     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3156 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3158 $as_echo_n "checking for $ac_word... " >&6; }
   3159 if ${ac_cv_prog_CC+:} false; then :
   3160   $as_echo_n "(cached) " >&6
   3161 else
   3162   if test -n "$CC"; then
   3163   ac_cv_prog_CC="$CC" # Let the user override the test.
   3164 else
   3165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3166 for as_dir in $PATH
   3167 do
   3168   IFS=$as_save_IFS
   3169   test -z "$as_dir" && as_dir=.
   3170     for ac_exec_ext in '' $ac_executable_extensions; do
   3171   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3172     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3173     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3174     break 2
   3175   fi
   3176 done
   3177   done
   3178 IFS=$as_save_IFS
   3179 
   3180 fi
   3181 fi
   3182 CC=$ac_cv_prog_CC
   3183 if test -n "$CC"; then
   3184   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3185 $as_echo "$CC" >&6; }
   3186 else
   3187   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3188 $as_echo "no" >&6; }
   3189 fi
   3190 
   3191 
   3192   fi
   3193 fi
   3194 if test -z "$CC"; then
   3195   # Extract the first word of "cc", so it can be a program name with args.
   3196 set dummy cc; ac_word=$2
   3197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3198 $as_echo_n "checking for $ac_word... " >&6; }
   3199 if ${ac_cv_prog_CC+:} false; then :
   3200   $as_echo_n "(cached) " >&6
   3201 else
   3202   if test -n "$CC"; then
   3203   ac_cv_prog_CC="$CC" # Let the user override the test.
   3204 else
   3205   ac_prog_rejected=no
   3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3207 for as_dir in $PATH
   3208 do
   3209   IFS=$as_save_IFS
   3210   test -z "$as_dir" && as_dir=.
   3211     for ac_exec_ext in '' $ac_executable_extensions; do
   3212   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3213     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3214        ac_prog_rejected=yes
   3215        continue
   3216      fi
   3217     ac_cv_prog_CC="cc"
   3218     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3219     break 2
   3220   fi
   3221 done
   3222   done
   3223 IFS=$as_save_IFS
   3224 
   3225 if test $ac_prog_rejected = yes; then
   3226   # We found a bogon in the path, so make sure we never use it.
   3227   set dummy $ac_cv_prog_CC
   3228   shift
   3229   if test $# != 0; then
   3230     # We chose a different compiler from the bogus one.
   3231     # However, it has the same basename, so the bogon will be chosen
   3232     # first if we set CC to just the basename; use the full file name.
   3233     shift
   3234     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3235   fi
   3236 fi
   3237 fi
   3238 fi
   3239 CC=$ac_cv_prog_CC
   3240 if test -n "$CC"; then
   3241   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3242 $as_echo "$CC" >&6; }
   3243 else
   3244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3245 $as_echo "no" >&6; }
   3246 fi
   3247 
   3248 
   3249 fi
   3250 if test -z "$CC"; then
   3251   if test -n "$ac_tool_prefix"; then
   3252   for ac_prog in cl.exe
   3253   do
   3254     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3255 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3257 $as_echo_n "checking for $ac_word... " >&6; }
   3258 if ${ac_cv_prog_CC+:} false; then :
   3259   $as_echo_n "(cached) " >&6
   3260 else
   3261   if test -n "$CC"; then
   3262   ac_cv_prog_CC="$CC" # Let the user override the test.
   3263 else
   3264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3265 for as_dir in $PATH
   3266 do
   3267   IFS=$as_save_IFS
   3268   test -z "$as_dir" && as_dir=.
   3269     for ac_exec_ext in '' $ac_executable_extensions; do
   3270   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3271     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3272     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3273     break 2
   3274   fi
   3275 done
   3276   done
   3277 IFS=$as_save_IFS
   3278 
   3279 fi
   3280 fi
   3281 CC=$ac_cv_prog_CC
   3282 if test -n "$CC"; then
   3283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3284 $as_echo "$CC" >&6; }
   3285 else
   3286   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3287 $as_echo "no" >&6; }
   3288 fi
   3289 
   3290 
   3291     test -n "$CC" && break
   3292   done
   3293 fi
   3294 if test -z "$CC"; then
   3295   ac_ct_CC=$CC
   3296   for ac_prog in cl.exe
   3297 do
   3298   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3299 set dummy $ac_prog; ac_word=$2
   3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3301 $as_echo_n "checking for $ac_word... " >&6; }
   3302 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3303   $as_echo_n "(cached) " >&6
   3304 else
   3305   if test -n "$ac_ct_CC"; then
   3306   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3307 else
   3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3309 for as_dir in $PATH
   3310 do
   3311   IFS=$as_save_IFS
   3312   test -z "$as_dir" && as_dir=.
   3313     for ac_exec_ext in '' $ac_executable_extensions; do
   3314   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   3315     ac_cv_prog_ac_ct_CC="$ac_prog"
   3316     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3317     break 2
   3318   fi
   3319 done
   3320   done
   3321 IFS=$as_save_IFS
   3322 
   3323 fi
   3324 fi
   3325 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3326 if test -n "$ac_ct_CC"; then
   3327   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3328 $as_echo "$ac_ct_CC" >&6; }
   3329 else
   3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3331 $as_echo "no" >&6; }
   3332 fi
   3333 
   3334 
   3335   test -n "$ac_ct_CC" && break
   3336 done
   3337 
   3338   if test "x$ac_ct_CC" = x; then
   3339     CC=""
   3340   else
   3341     case $cross_compiling:$ac_tool_warned in
   3342 yes:)
   3343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3345 ac_tool_warned=yes ;;
   3346 esac
   3347     CC=$ac_ct_CC
   3348   fi
   3349 fi
   3350 
   3351 fi
   3352 
   3353 
   3354 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3356 as_fn_error $? "no acceptable C compiler found in \$PATH
   3357 See \`config.log' for more details" "$LINENO" 5; }
   3358 
   3359 # Provide some information about the compiler.
   3360 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3361 set X $ac_compile
   3362 ac_compiler=$2
   3363 for ac_option in --version -v -V -qversion; do
   3364   { { ac_try="$ac_compiler $ac_option >&5"
   3365 case "(($ac_try" in
   3366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3367   *) ac_try_echo=$ac_try;;
   3368 esac
   3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3370 $as_echo "$ac_try_echo"; } >&5
   3371   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3372   ac_status=$?
   3373   if test -s conftest.err; then
   3374     sed '10a\
   3375 ... rest of stderr output deleted ...
   3376          10q' conftest.err >conftest.er1
   3377     cat conftest.er1 >&5
   3378   fi
   3379   rm -f conftest.er1 conftest.err
   3380   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3381   test $ac_status = 0; }
   3382 done
   3383 
   3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3385 /* end confdefs.h.  */
   3386 
   3387 int
   3388 main ()
   3389 {
   3390 
   3391   ;
   3392   return 0;
   3393 }
   3394 _ACEOF
   3395 ac_clean_files_save=$ac_clean_files
   3396 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3397 # Try to create an executable without -o first, disregard a.out.
   3398 # It will help us diagnose broken compilers, and finding out an intuition
   3399 # of exeext.
   3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3401 $as_echo_n "checking whether the C compiler works... " >&6; }
   3402 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3403 
   3404 # The possible output files:
   3405 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3406 
   3407 ac_rmfiles=
   3408 for ac_file in $ac_files
   3409 do
   3410   case $ac_file in
   3411     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3412     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3413   esac
   3414 done
   3415 rm -f $ac_rmfiles
   3416 
   3417 if { { ac_try="$ac_link_default"
   3418 case "(($ac_try" in
   3419   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3420   *) ac_try_echo=$ac_try;;
   3421 esac
   3422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3423 $as_echo "$ac_try_echo"; } >&5
   3424   (eval "$ac_link_default") 2>&5
   3425   ac_status=$?
   3426   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3427   test $ac_status = 0; }; then :
   3428   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3429 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3430 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3431 # so that the user can short-circuit this test for compilers unknown to
   3432 # Autoconf.
   3433 for ac_file in $ac_files ''
   3434 do
   3435   test -f "$ac_file" || continue
   3436   case $ac_file in
   3437     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3438 	;;
   3439     [ab].out )
   3440 	# We found the default executable, but exeext='' is most
   3441 	# certainly right.
   3442 	break;;
   3443     *.* )
   3444 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3445 	then :; else
   3446 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3447 	fi
   3448 	# We set ac_cv_exeext here because the later test for it is not
   3449 	# safe: cross compilers may not add the suffix if given an `-o'
   3450 	# argument, so we may need to know it at that point already.
   3451 	# Even if this section looks crufty: it has the advantage of
   3452 	# actually working.
   3453 	break;;
   3454     * )
   3455 	break;;
   3456   esac
   3457 done
   3458 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3459 
   3460 else
   3461   ac_file=''
   3462 fi
   3463 if test -z "$ac_file"; then :
   3464   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3465 $as_echo "no" >&6; }
   3466 $as_echo "$as_me: failed program was:" >&5
   3467 sed 's/^/| /' conftest.$ac_ext >&5
   3468 
   3469 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3470 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3471 as_fn_error 77 "C compiler cannot create executables
   3472 See \`config.log' for more details" "$LINENO" 5; }
   3473 else
   3474   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3475 $as_echo "yes" >&6; }
   3476 fi
   3477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3478 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3480 $as_echo "$ac_file" >&6; }
   3481 ac_exeext=$ac_cv_exeext
   3482 
   3483 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3484 ac_clean_files=$ac_clean_files_save
   3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3486 $as_echo_n "checking for suffix of executables... " >&6; }
   3487 if { { ac_try="$ac_link"
   3488 case "(($ac_try" in
   3489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3490   *) ac_try_echo=$ac_try;;
   3491 esac
   3492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3493 $as_echo "$ac_try_echo"; } >&5
   3494   (eval "$ac_link") 2>&5
   3495   ac_status=$?
   3496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3497   test $ac_status = 0; }; then :
   3498   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3499 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3500 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3501 # `rm'.
   3502 for ac_file in conftest.exe conftest conftest.*; do
   3503   test -f "$ac_file" || continue
   3504   case $ac_file in
   3505     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3506     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3507 	  break;;
   3508     * ) break;;
   3509   esac
   3510 done
   3511 else
   3512   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3513 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3514 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3515 See \`config.log' for more details" "$LINENO" 5; }
   3516 fi
   3517 rm -f conftest conftest$ac_cv_exeext
   3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3519 $as_echo "$ac_cv_exeext" >&6; }
   3520 
   3521 rm -f conftest.$ac_ext
   3522 EXEEXT=$ac_cv_exeext
   3523 ac_exeext=$EXEEXT
   3524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3525 /* end confdefs.h.  */
   3526 #include <stdio.h>
   3527 int
   3528 main ()
   3529 {
   3530 FILE *f = fopen ("conftest.out", "w");
   3531  return ferror (f) || fclose (f) != 0;
   3532 
   3533   ;
   3534   return 0;
   3535 }
   3536 _ACEOF
   3537 ac_clean_files="$ac_clean_files conftest.out"
   3538 # Check that the compiler produces executables we can run.  If not, either
   3539 # the compiler is broken, or we cross compile.
   3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3541 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3542 if test "$cross_compiling" != yes; then
   3543   { { ac_try="$ac_link"
   3544 case "(($ac_try" in
   3545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3546   *) ac_try_echo=$ac_try;;
   3547 esac
   3548 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3549 $as_echo "$ac_try_echo"; } >&5
   3550   (eval "$ac_link") 2>&5
   3551   ac_status=$?
   3552   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3553   test $ac_status = 0; }
   3554   if { ac_try='./conftest$ac_cv_exeext'
   3555   { { case "(($ac_try" in
   3556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3557   *) ac_try_echo=$ac_try;;
   3558 esac
   3559 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3560 $as_echo "$ac_try_echo"; } >&5
   3561   (eval "$ac_try") 2>&5
   3562   ac_status=$?
   3563   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3564   test $ac_status = 0; }; }; then
   3565     cross_compiling=no
   3566   else
   3567     if test "$cross_compiling" = maybe; then
   3568 	cross_compiling=yes
   3569     else
   3570 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3571 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3572 as_fn_error $? "cannot run C compiled programs.
   3573 If you meant to cross compile, use \`--host'.
   3574 See \`config.log' for more details" "$LINENO" 5; }
   3575     fi
   3576   fi
   3577 fi
   3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3579 $as_echo "$cross_compiling" >&6; }
   3580 
   3581 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3582 ac_clean_files=$ac_clean_files_save
   3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3584 $as_echo_n "checking for suffix of object files... " >&6; }
   3585 if ${ac_cv_objext+:} false; then :
   3586   $as_echo_n "(cached) " >&6
   3587 else
   3588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3589 /* end confdefs.h.  */
   3590 
   3591 int
   3592 main ()
   3593 {
   3594 
   3595   ;
   3596   return 0;
   3597 }
   3598 _ACEOF
   3599 rm -f conftest.o conftest.obj
   3600 if { { ac_try="$ac_compile"
   3601 case "(($ac_try" in
   3602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3603   *) ac_try_echo=$ac_try;;
   3604 esac
   3605 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3606 $as_echo "$ac_try_echo"; } >&5
   3607   (eval "$ac_compile") 2>&5
   3608   ac_status=$?
   3609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3610   test $ac_status = 0; }; then :
   3611   for ac_file in conftest.o conftest.obj conftest.*; do
   3612   test -f "$ac_file" || continue;
   3613   case $ac_file in
   3614     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3615     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3616        break;;
   3617   esac
   3618 done
   3619 else
   3620   $as_echo "$as_me: failed program was:" >&5
   3621 sed 's/^/| /' conftest.$ac_ext >&5
   3622 
   3623 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3624 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3625 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3626 See \`config.log' for more details" "$LINENO" 5; }
   3627 fi
   3628 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3629 fi
   3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3631 $as_echo "$ac_cv_objext" >&6; }
   3632 OBJEXT=$ac_cv_objext
   3633 ac_objext=$OBJEXT
   3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3635 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3636 if ${ac_cv_c_compiler_gnu+:} false; then :
   3637   $as_echo_n "(cached) " >&6
   3638 else
   3639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3640 /* end confdefs.h.  */
   3641 
   3642 int
   3643 main ()
   3644 {
   3645 #ifndef __GNUC__
   3646        choke me
   3647 #endif
   3648 
   3649   ;
   3650   return 0;
   3651 }
   3652 _ACEOF
   3653 if ac_fn_c_try_compile "$LINENO"; then :
   3654   ac_compiler_gnu=yes
   3655 else
   3656   ac_compiler_gnu=no
   3657 fi
   3658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3659 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3660 
   3661 fi
   3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3663 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3664 if test $ac_compiler_gnu = yes; then
   3665   GCC=yes
   3666 else
   3667   GCC=
   3668 fi
   3669 ac_test_CFLAGS=${CFLAGS+set}
   3670 ac_save_CFLAGS=$CFLAGS
   3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3672 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3673 if ${ac_cv_prog_cc_g+:} false; then :
   3674   $as_echo_n "(cached) " >&6
   3675 else
   3676   ac_save_c_werror_flag=$ac_c_werror_flag
   3677    ac_c_werror_flag=yes
   3678    ac_cv_prog_cc_g=no
   3679    CFLAGS="-g"
   3680    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3681 /* end confdefs.h.  */
   3682 
   3683 int
   3684 main ()
   3685 {
   3686 
   3687   ;
   3688   return 0;
   3689 }
   3690 _ACEOF
   3691 if ac_fn_c_try_compile "$LINENO"; then :
   3692   ac_cv_prog_cc_g=yes
   3693 else
   3694   CFLAGS=""
   3695       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3696 /* end confdefs.h.  */
   3697 
   3698 int
   3699 main ()
   3700 {
   3701 
   3702   ;
   3703   return 0;
   3704 }
   3705 _ACEOF
   3706 if ac_fn_c_try_compile "$LINENO"; then :
   3707 
   3708 else
   3709   ac_c_werror_flag=$ac_save_c_werror_flag
   3710 	 CFLAGS="-g"
   3711 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3712 /* end confdefs.h.  */
   3713 
   3714 int
   3715 main ()
   3716 {
   3717 
   3718   ;
   3719   return 0;
   3720 }
   3721 _ACEOF
   3722 if ac_fn_c_try_compile "$LINENO"; then :
   3723   ac_cv_prog_cc_g=yes
   3724 fi
   3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3726 fi
   3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3728 fi
   3729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3730    ac_c_werror_flag=$ac_save_c_werror_flag
   3731 fi
   3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3733 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3734 if test "$ac_test_CFLAGS" = set; then
   3735   CFLAGS=$ac_save_CFLAGS
   3736 elif test $ac_cv_prog_cc_g = yes; then
   3737   if test "$GCC" = yes; then
   3738     CFLAGS="-g -O2"
   3739   else
   3740     CFLAGS="-g"
   3741   fi
   3742 else
   3743   if test "$GCC" = yes; then
   3744     CFLAGS="-O2"
   3745   else
   3746     CFLAGS=
   3747   fi
   3748 fi
   3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3750 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3751 if ${ac_cv_prog_cc_c89+:} false; then :
   3752   $as_echo_n "(cached) " >&6
   3753 else
   3754   ac_cv_prog_cc_c89=no
   3755 ac_save_CC=$CC
   3756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3757 /* end confdefs.h.  */
   3758 #include <stdarg.h>
   3759 #include <stdio.h>
   3760 #include <sys/types.h>
   3761 #include <sys/stat.h>
   3762 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3763 struct buf { int x; };
   3764 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3765 static char *e (p, i)
   3766      char **p;
   3767      int i;
   3768 {
   3769   return p[i];
   3770 }
   3771 static char *f (char * (*g) (char **, int), char **p, ...)
   3772 {
   3773   char *s;
   3774   va_list v;
   3775   va_start (v,p);
   3776   s = g (p, va_arg (v,int));
   3777   va_end (v);
   3778   return s;
   3779 }
   3780 
   3781 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3782    function prototypes and stuff, but not '\xHH' hex character constants.
   3783    These don't provoke an error unfortunately, instead are silently treated
   3784    as 'x'.  The following induces an error, until -std is added to get
   3785    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3786    array size at least.  It's necessary to write '\x00'==0 to get something
   3787    that's true only with -std.  */
   3788 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3789 
   3790 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3791    inside strings and character constants.  */
   3792 #define FOO(x) 'x'
   3793 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3794 
   3795 int test (int i, double x);
   3796 struct s1 {int (*f) (int a);};
   3797 struct s2 {int (*f) (double a);};
   3798 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3799 int argc;
   3800 char **argv;
   3801 int
   3802 main ()
   3803 {
   3804 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3805   ;
   3806   return 0;
   3807 }
   3808 _ACEOF
   3809 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3810 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3811 do
   3812   CC="$ac_save_CC $ac_arg"
   3813   if ac_fn_c_try_compile "$LINENO"; then :
   3814   ac_cv_prog_cc_c89=$ac_arg
   3815 fi
   3816 rm -f core conftest.err conftest.$ac_objext
   3817   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3818 done
   3819 rm -f conftest.$ac_ext
   3820 CC=$ac_save_CC
   3821 
   3822 fi
   3823 # AC_CACHE_VAL
   3824 case "x$ac_cv_prog_cc_c89" in
   3825   x)
   3826     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3827 $as_echo "none needed" >&6; } ;;
   3828   xno)
   3829     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3830 $as_echo "unsupported" >&6; } ;;
   3831   *)
   3832     CC="$CC $ac_cv_prog_cc_c89"
   3833     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3834 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3835 esac
   3836 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3837 
   3838 fi
   3839 
   3840 ac_ext=c
   3841 ac_cpp='$CPP $CPPFLAGS'
   3842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3845 
   3846 depcc="$CC"   am_compiler_list=
   3847 
   3848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3849 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3850 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3851   $as_echo_n "(cached) " >&6
   3852 else
   3853   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3854   # We make a subdir and do the tests there.  Otherwise we can end up
   3855   # making bogus files that we don't know about and never remove.  For
   3856   # instance it was reported that on HP-UX the gcc test will end up
   3857   # making a dummy file named `D' -- because `-MD' means `put the output
   3858   # in D'.
   3859   mkdir conftest.dir
   3860   # Copy depcomp to subdir because otherwise we won't find it if we're
   3861   # using a relative directory.
   3862   cp "$am_depcomp" conftest.dir
   3863   cd conftest.dir
   3864   # We will build objects and dependencies in a subdirectory because
   3865   # it helps to detect inapplicable dependency modes.  For instance
   3866   # both Tru64's cc and ICC support -MD to output dependencies as a
   3867   # side effect of compilation, but ICC will put the dependencies in
   3868   # the current directory while Tru64 will put them in the object
   3869   # directory.
   3870   mkdir sub
   3871 
   3872   am_cv_CC_dependencies_compiler_type=none
   3873   if test "$am_compiler_list" = ""; then
   3874      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3875   fi
   3876   am__universal=false
   3877   case " $depcc " in #(
   3878      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3879      esac
   3880 
   3881   for depmode in $am_compiler_list; do
   3882     # Setup a source with many dependencies, because some compilers
   3883     # like to wrap large dependency lists on column 80 (with \), and
   3884     # we should not choose a depcomp mode which is confused by this.
   3885     #
   3886     # We need to recreate these files for each test, as the compiler may
   3887     # overwrite some of them when testing with obscure command lines.
   3888     # This happens at least with the AIX C compiler.
   3889     : > sub/conftest.c
   3890     for i in 1 2 3 4 5 6; do
   3891       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3892       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3893       # Solaris 8's {/usr,}/bin/sh.
   3894       touch sub/conftst$i.h
   3895     done
   3896     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3897 
   3898     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3899     # mode.  It turns out that the SunPro C++ compiler does not properly
   3900     # handle `-M -o', and we need to detect this.  Also, some Intel
   3901     # versions had trouble with output in subdirs
   3902     am__obj=sub/conftest.${OBJEXT-o}
   3903     am__minus_obj="-o $am__obj"
   3904     case $depmode in
   3905     gcc)
   3906       # This depmode causes a compiler race in universal mode.
   3907       test "$am__universal" = false || continue
   3908       ;;
   3909     nosideeffect)
   3910       # after this tag, mechanisms are not by side-effect, so they'll
   3911       # only be used when explicitly requested
   3912       if test "x$enable_dependency_tracking" = xyes; then
   3913 	continue
   3914       else
   3915 	break
   3916       fi
   3917       ;;
   3918     msvisualcpp | msvcmsys)
   3919       # This compiler won't grok `-c -o', but also, the minuso test has
   3920       # not run yet.  These depmodes are late enough in the game, and
   3921       # so weak that their functioning should not be impacted.
   3922       am__obj=conftest.${OBJEXT-o}
   3923       am__minus_obj=
   3924       ;;
   3925     none) break ;;
   3926     esac
   3927     if depmode=$depmode \
   3928        source=sub/conftest.c object=$am__obj \
   3929        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3930        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3931          >/dev/null 2>conftest.err &&
   3932        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3933        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3934        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3935        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3936       # icc doesn't choke on unknown options, it will just issue warnings
   3937       # or remarks (even with -Werror).  So we grep stderr for any message
   3938       # that says an option was ignored or not supported.
   3939       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3940       #   icc: Command line warning: ignoring option '-M'; no argument required
   3941       # The diagnosis changed in icc 8.0:
   3942       #   icc: Command line remark: option '-MP' not supported
   3943       if (grep 'ignoring option' conftest.err ||
   3944           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3945         am_cv_CC_dependencies_compiler_type=$depmode
   3946         break
   3947       fi
   3948     fi
   3949   done
   3950 
   3951   cd ..
   3952   rm -rf conftest.dir
   3953 else
   3954   am_cv_CC_dependencies_compiler_type=none
   3955 fi
   3956 
   3957 fi
   3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3959 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3960 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3961 
   3962  if
   3963   test "x$enable_dependency_tracking" != xno \
   3964   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3965   am__fastdepCC_TRUE=
   3966   am__fastdepCC_FALSE='#'
   3967 else
   3968   am__fastdepCC_TRUE='#'
   3969   am__fastdepCC_FALSE=
   3970 fi
   3971 
   3972 
   3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3974 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3975 if ${ac_cv_path_SED+:} false; then :
   3976   $as_echo_n "(cached) " >&6
   3977 else
   3978             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3979      for ac_i in 1 2 3 4 5 6 7; do
   3980        ac_script="$ac_script$as_nl$ac_script"
   3981      done
   3982      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3983      { ac_script=; unset ac_script;}
   3984      if test -z "$SED"; then
   3985   ac_path_SED_found=false
   3986   # Loop through the user's path and test for each of PROGNAME-LIST
   3987   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3988 for as_dir in $PATH
   3989 do
   3990   IFS=$as_save_IFS
   3991   test -z "$as_dir" && as_dir=.
   3992     for ac_prog in sed gsed; do
   3993     for ac_exec_ext in '' $ac_executable_extensions; do
   3994       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3995       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
   3996 # Check for GNU ac_path_SED and select it if it is found.
   3997   # Check for GNU $ac_path_SED
   3998 case `"$ac_path_SED" --version 2>&1` in
   3999 *GNU*)
   4000   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4001 *)
   4002   ac_count=0
   4003   $as_echo_n 0123456789 >"conftest.in"
   4004   while :
   4005   do
   4006     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4007     mv "conftest.tmp" "conftest.in"
   4008     cp "conftest.in" "conftest.nl"
   4009     $as_echo '' >> "conftest.nl"
   4010     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4011     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4012     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4013     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4014       # Best one so far, save it but keep looking for a better one
   4015       ac_cv_path_SED="$ac_path_SED"
   4016       ac_path_SED_max=$ac_count
   4017     fi
   4018     # 10*(2^10) chars as input seems more than enough
   4019     test $ac_count -gt 10 && break
   4020   done
   4021   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4022 esac
   4023 
   4024       $ac_path_SED_found && break 3
   4025     done
   4026   done
   4027   done
   4028 IFS=$as_save_IFS
   4029   if test -z "$ac_cv_path_SED"; then
   4030     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4031   fi
   4032 else
   4033   ac_cv_path_SED=$SED
   4034 fi
   4035 
   4036 fi
   4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4038 $as_echo "$ac_cv_path_SED" >&6; }
   4039  SED="$ac_cv_path_SED"
   4040   rm -f conftest.sed
   4041 
   4042 test -z "$SED" && SED=sed
   4043 Xsed="$SED -e 1s/^X//"
   4044 
   4045 
   4046 
   4047 
   4048 
   4049 
   4050 
   4051 
   4052 
   4053 
   4054 
   4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4056 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4057 if ${ac_cv_path_GREP+:} false; then :
   4058   $as_echo_n "(cached) " >&6
   4059 else
   4060   if test -z "$GREP"; then
   4061   ac_path_GREP_found=false
   4062   # Loop through the user's path and test for each of PROGNAME-LIST
   4063   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4064 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4065 do
   4066   IFS=$as_save_IFS
   4067   test -z "$as_dir" && as_dir=.
   4068     for ac_prog in grep ggrep; do
   4069     for ac_exec_ext in '' $ac_executable_extensions; do
   4070       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4071       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
   4072 # Check for GNU ac_path_GREP and select it if it is found.
   4073   # Check for GNU $ac_path_GREP
   4074 case `"$ac_path_GREP" --version 2>&1` in
   4075 *GNU*)
   4076   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4077 *)
   4078   ac_count=0
   4079   $as_echo_n 0123456789 >"conftest.in"
   4080   while :
   4081   do
   4082     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4083     mv "conftest.tmp" "conftest.in"
   4084     cp "conftest.in" "conftest.nl"
   4085     $as_echo 'GREP' >> "conftest.nl"
   4086     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4087     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4088     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4089     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4090       # Best one so far, save it but keep looking for a better one
   4091       ac_cv_path_GREP="$ac_path_GREP"
   4092       ac_path_GREP_max=$ac_count
   4093     fi
   4094     # 10*(2^10) chars as input seems more than enough
   4095     test $ac_count -gt 10 && break
   4096   done
   4097   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4098 esac
   4099 
   4100       $ac_path_GREP_found && break 3
   4101     done
   4102   done
   4103   done
   4104 IFS=$as_save_IFS
   4105   if test -z "$ac_cv_path_GREP"; then
   4106     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4107   fi
   4108 else
   4109   ac_cv_path_GREP=$GREP
   4110 fi
   4111 
   4112 fi
   4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4114 $as_echo "$ac_cv_path_GREP" >&6; }
   4115  GREP="$ac_cv_path_GREP"
   4116 
   4117 
   4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4119 $as_echo_n "checking for egrep... " >&6; }
   4120 if ${ac_cv_path_EGREP+:} false; then :
   4121   $as_echo_n "(cached) " >&6
   4122 else
   4123   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4124    then ac_cv_path_EGREP="$GREP -E"
   4125    else
   4126      if test -z "$EGREP"; then
   4127   ac_path_EGREP_found=false
   4128   # Loop through the user's path and test for each of PROGNAME-LIST
   4129   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4130 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4131 do
   4132   IFS=$as_save_IFS
   4133   test -z "$as_dir" && as_dir=.
   4134     for ac_prog in egrep; do
   4135     for ac_exec_ext in '' $ac_executable_extensions; do
   4136       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4137       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
   4138 # Check for GNU ac_path_EGREP and select it if it is found.
   4139   # Check for GNU $ac_path_EGREP
   4140 case `"$ac_path_EGREP" --version 2>&1` in
   4141 *GNU*)
   4142   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4143 *)
   4144   ac_count=0
   4145   $as_echo_n 0123456789 >"conftest.in"
   4146   while :
   4147   do
   4148     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4149     mv "conftest.tmp" "conftest.in"
   4150     cp "conftest.in" "conftest.nl"
   4151     $as_echo 'EGREP' >> "conftest.nl"
   4152     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4153     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4154     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4155     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4156       # Best one so far, save it but keep looking for a better one
   4157       ac_cv_path_EGREP="$ac_path_EGREP"
   4158       ac_path_EGREP_max=$ac_count
   4159     fi
   4160     # 10*(2^10) chars as input seems more than enough
   4161     test $ac_count -gt 10 && break
   4162   done
   4163   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4164 esac
   4165 
   4166       $ac_path_EGREP_found && break 3
   4167     done
   4168   done
   4169   done
   4170 IFS=$as_save_IFS
   4171   if test -z "$ac_cv_path_EGREP"; then
   4172     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4173   fi
   4174 else
   4175   ac_cv_path_EGREP=$EGREP
   4176 fi
   4177 
   4178    fi
   4179 fi
   4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4181 $as_echo "$ac_cv_path_EGREP" >&6; }
   4182  EGREP="$ac_cv_path_EGREP"
   4183 
   4184 
   4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4186 $as_echo_n "checking for fgrep... " >&6; }
   4187 if ${ac_cv_path_FGREP+:} false; then :
   4188   $as_echo_n "(cached) " >&6
   4189 else
   4190   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4191    then ac_cv_path_FGREP="$GREP -F"
   4192    else
   4193      if test -z "$FGREP"; then
   4194   ac_path_FGREP_found=false
   4195   # Loop through the user's path and test for each of PROGNAME-LIST
   4196   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4197 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4198 do
   4199   IFS=$as_save_IFS
   4200   test -z "$as_dir" && as_dir=.
   4201     for ac_prog in fgrep; do
   4202     for ac_exec_ext in '' $ac_executable_extensions; do
   4203       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4204       { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
   4205 # Check for GNU ac_path_FGREP and select it if it is found.
   4206   # Check for GNU $ac_path_FGREP
   4207 case `"$ac_path_FGREP" --version 2>&1` in
   4208 *GNU*)
   4209   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4210 *)
   4211   ac_count=0
   4212   $as_echo_n 0123456789 >"conftest.in"
   4213   while :
   4214   do
   4215     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4216     mv "conftest.tmp" "conftest.in"
   4217     cp "conftest.in" "conftest.nl"
   4218     $as_echo 'FGREP' >> "conftest.nl"
   4219     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4220     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4221     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4222     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4223       # Best one so far, save it but keep looking for a better one
   4224       ac_cv_path_FGREP="$ac_path_FGREP"
   4225       ac_path_FGREP_max=$ac_count
   4226     fi
   4227     # 10*(2^10) chars as input seems more than enough
   4228     test $ac_count -gt 10 && break
   4229   done
   4230   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4231 esac
   4232 
   4233       $ac_path_FGREP_found && break 3
   4234     done
   4235   done
   4236   done
   4237 IFS=$as_save_IFS
   4238   if test -z "$ac_cv_path_FGREP"; then
   4239     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4240   fi
   4241 else
   4242   ac_cv_path_FGREP=$FGREP
   4243 fi
   4244 
   4245    fi
   4246 fi
   4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4248 $as_echo "$ac_cv_path_FGREP" >&6; }
   4249  FGREP="$ac_cv_path_FGREP"
   4250 
   4251 
   4252 test -z "$GREP" && GREP=grep
   4253 
   4254 
   4255 
   4256 
   4257 
   4258 
   4259 
   4260 
   4261 
   4262 
   4263 
   4264 
   4265 
   4266 
   4267 
   4268 
   4269 
   4270 
   4271 
   4272 # Check whether --with-gnu-ld was given.
   4273 if test "${with_gnu_ld+set}" = set; then :
   4274   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4275 else
   4276   with_gnu_ld=no
   4277 fi
   4278 
   4279 ac_prog=ld
   4280 if test "$GCC" = yes; then
   4281   # Check if gcc -print-prog-name=ld gives a path.
   4282   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4283 $as_echo_n "checking for ld used by $CC... " >&6; }
   4284   case $host in
   4285   *-*-mingw*)
   4286     # gcc leaves a trailing carriage return which upsets mingw
   4287     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4288   *)
   4289     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4290   esac
   4291   case $ac_prog in
   4292     # Accept absolute paths.
   4293     [\\/]* | ?:[\\/]*)
   4294       re_direlt='/[^/][^/]*/\.\./'
   4295       # Canonicalize the pathname of ld
   4296       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4297       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4298 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4299       done
   4300       test -z "$LD" && LD="$ac_prog"
   4301       ;;
   4302   "")
   4303     # If it fails, then pretend we aren't using GCC.
   4304     ac_prog=ld
   4305     ;;
   4306   *)
   4307     # If it is relative, then search for the first ld in PATH.
   4308     with_gnu_ld=unknown
   4309     ;;
   4310   esac
   4311 elif test "$with_gnu_ld" = yes; then
   4312   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4313 $as_echo_n "checking for GNU ld... " >&6; }
   4314 else
   4315   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4316 $as_echo_n "checking for non-GNU ld... " >&6; }
   4317 fi
   4318 if ${lt_cv_path_LD+:} false; then :
   4319   $as_echo_n "(cached) " >&6
   4320 else
   4321   if test -z "$LD"; then
   4322   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4323   for ac_dir in $PATH; do
   4324     IFS="$lt_save_ifs"
   4325     test -z "$ac_dir" && ac_dir=.
   4326     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4327       lt_cv_path_LD="$ac_dir/$ac_prog"
   4328       # Check to see if the program is GNU ld.  I'd rather use --version,
   4329       # but apparently some variants of GNU ld only accept -v.
   4330       # Break only if it was the GNU/non-GNU ld that we prefer.
   4331       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4332       *GNU* | *'with BFD'*)
   4333 	test "$with_gnu_ld" != no && break
   4334 	;;
   4335       *)
   4336 	test "$with_gnu_ld" != yes && break
   4337 	;;
   4338       esac
   4339     fi
   4340   done
   4341   IFS="$lt_save_ifs"
   4342 else
   4343   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4344 fi
   4345 fi
   4346 
   4347 LD="$lt_cv_path_LD"
   4348 if test -n "$LD"; then
   4349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4350 $as_echo "$LD" >&6; }
   4351 else
   4352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4353 $as_echo "no" >&6; }
   4354 fi
   4355 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4357 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4358 if ${lt_cv_prog_gnu_ld+:} false; then :
   4359   $as_echo_n "(cached) " >&6
   4360 else
   4361   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4362 case `$LD -v 2>&1 </dev/null` in
   4363 *GNU* | *'with BFD'*)
   4364   lt_cv_prog_gnu_ld=yes
   4365   ;;
   4366 *)
   4367   lt_cv_prog_gnu_ld=no
   4368   ;;
   4369 esac
   4370 fi
   4371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4372 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4373 with_gnu_ld=$lt_cv_prog_gnu_ld
   4374 
   4375 
   4376 
   4377 
   4378 
   4379 
   4380 
   4381 
   4382 
   4383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4384 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4385 if ${lt_cv_path_NM+:} false; then :
   4386   $as_echo_n "(cached) " >&6
   4387 else
   4388   if test -n "$NM"; then
   4389   # Let the user override the test.
   4390   lt_cv_path_NM="$NM"
   4391 else
   4392   lt_nm_to_check="${ac_tool_prefix}nm"
   4393   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4394     lt_nm_to_check="$lt_nm_to_check nm"
   4395   fi
   4396   for lt_tmp_nm in $lt_nm_to_check; do
   4397     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4398     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4399       IFS="$lt_save_ifs"
   4400       test -z "$ac_dir" && ac_dir=.
   4401       tmp_nm="$ac_dir/$lt_tmp_nm"
   4402       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4403 	# Check to see if the nm accepts a BSD-compat flag.
   4404 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4405 	#   nm: unknown option "B" ignored
   4406 	# Tru64's nm complains that /dev/null is an invalid object file
   4407 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4408 	*/dev/null* | *'Invalid file or object type'*)
   4409 	  lt_cv_path_NM="$tmp_nm -B"
   4410 	  break
   4411 	  ;;
   4412 	*)
   4413 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4414 	  */dev/null*)
   4415 	    lt_cv_path_NM="$tmp_nm -p"
   4416 	    break
   4417 	    ;;
   4418 	  *)
   4419 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4420 	    continue # so that we can try to find one that supports BSD flags
   4421 	    ;;
   4422 	  esac
   4423 	  ;;
   4424 	esac
   4425       fi
   4426     done
   4427     IFS="$lt_save_ifs"
   4428   done
   4429   : ${lt_cv_path_NM=no}
   4430 fi
   4431 fi
   4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4433 $as_echo "$lt_cv_path_NM" >&6; }
   4434 if test "$lt_cv_path_NM" != "no"; then
   4435   NM="$lt_cv_path_NM"
   4436 else
   4437   # Didn't find any BSD compatible name lister, look for dumpbin.
   4438   if test -n "$DUMPBIN"; then :
   4439     # Let the user override the test.
   4440   else
   4441     if test -n "$ac_tool_prefix"; then
   4442   for ac_prog in dumpbin "link -dump"
   4443   do
   4444     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4445 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4447 $as_echo_n "checking for $ac_word... " >&6; }
   4448 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4449   $as_echo_n "(cached) " >&6
   4450 else
   4451   if test -n "$DUMPBIN"; then
   4452   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4453 else
   4454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4455 for as_dir in $PATH
   4456 do
   4457   IFS=$as_save_IFS
   4458   test -z "$as_dir" && as_dir=.
   4459     for ac_exec_ext in '' $ac_executable_extensions; do
   4460   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4461     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4462     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4463     break 2
   4464   fi
   4465 done
   4466   done
   4467 IFS=$as_save_IFS
   4468 
   4469 fi
   4470 fi
   4471 DUMPBIN=$ac_cv_prog_DUMPBIN
   4472 if test -n "$DUMPBIN"; then
   4473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4474 $as_echo "$DUMPBIN" >&6; }
   4475 else
   4476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4477 $as_echo "no" >&6; }
   4478 fi
   4479 
   4480 
   4481     test -n "$DUMPBIN" && break
   4482   done
   4483 fi
   4484 if test -z "$DUMPBIN"; then
   4485   ac_ct_DUMPBIN=$DUMPBIN
   4486   for ac_prog in dumpbin "link -dump"
   4487 do
   4488   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4489 set dummy $ac_prog; ac_word=$2
   4490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4491 $as_echo_n "checking for $ac_word... " >&6; }
   4492 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4493   $as_echo_n "(cached) " >&6
   4494 else
   4495   if test -n "$ac_ct_DUMPBIN"; then
   4496   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4497 else
   4498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4499 for as_dir in $PATH
   4500 do
   4501   IFS=$as_save_IFS
   4502   test -z "$as_dir" && as_dir=.
   4503     for ac_exec_ext in '' $ac_executable_extensions; do
   4504   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4505     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4507     break 2
   4508   fi
   4509 done
   4510   done
   4511 IFS=$as_save_IFS
   4512 
   4513 fi
   4514 fi
   4515 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4516 if test -n "$ac_ct_DUMPBIN"; then
   4517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4518 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4519 else
   4520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4521 $as_echo "no" >&6; }
   4522 fi
   4523 
   4524 
   4525   test -n "$ac_ct_DUMPBIN" && break
   4526 done
   4527 
   4528   if test "x$ac_ct_DUMPBIN" = x; then
   4529     DUMPBIN=":"
   4530   else
   4531     case $cross_compiling:$ac_tool_warned in
   4532 yes:)
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4535 ac_tool_warned=yes ;;
   4536 esac
   4537     DUMPBIN=$ac_ct_DUMPBIN
   4538   fi
   4539 fi
   4540 
   4541     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4542     *COFF*)
   4543       DUMPBIN="$DUMPBIN -symbols"
   4544       ;;
   4545     *)
   4546       DUMPBIN=:
   4547       ;;
   4548     esac
   4549   fi
   4550 
   4551   if test "$DUMPBIN" != ":"; then
   4552     NM="$DUMPBIN"
   4553   fi
   4554 fi
   4555 test -z "$NM" && NM=nm
   4556 
   4557 
   4558 
   4559 
   4560 
   4561 
   4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4563 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4564 if ${lt_cv_nm_interface+:} false; then :
   4565   $as_echo_n "(cached) " >&6
   4566 else
   4567   lt_cv_nm_interface="BSD nm"
   4568   echo "int some_variable = 0;" > conftest.$ac_ext
   4569   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4570   (eval "$ac_compile" 2>conftest.err)
   4571   cat conftest.err >&5
   4572   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4573   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4574   cat conftest.err >&5
   4575   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4576   cat conftest.out >&5
   4577   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4578     lt_cv_nm_interface="MS dumpbin"
   4579   fi
   4580   rm -f conftest*
   4581 fi
   4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4583 $as_echo "$lt_cv_nm_interface" >&6; }
   4584 
   4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4586 $as_echo_n "checking whether ln -s works... " >&6; }
   4587 LN_S=$as_ln_s
   4588 if test "$LN_S" = "ln -s"; then
   4589   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4590 $as_echo "yes" >&6; }
   4591 else
   4592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4593 $as_echo "no, using $LN_S" >&6; }
   4594 fi
   4595 
   4596 # find the maximum length of command line arguments
   4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4598 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4599 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4600   $as_echo_n "(cached) " >&6
   4601 else
   4602     i=0
   4603   teststring="ABCD"
   4604 
   4605   case $build_os in
   4606   msdosdjgpp*)
   4607     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4608     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4609     # during glob expansion).  Even if it were fixed, the result of this
   4610     # check would be larger than it should be.
   4611     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4612     ;;
   4613 
   4614   gnu*)
   4615     # Under GNU Hurd, this test is not required because there is
   4616     # no limit to the length of command line arguments.
   4617     # Libtool will interpret -1 as no limit whatsoever
   4618     lt_cv_sys_max_cmd_len=-1;
   4619     ;;
   4620 
   4621   cygwin* | mingw* | cegcc*)
   4622     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4623     # about 5 minutes as the teststring grows exponentially.
   4624     # Worse, since 9x/ME are not pre-emptively multitasking,
   4625     # you end up with a "frozen" computer, even though with patience
   4626     # the test eventually succeeds (with a max line length of 256k).
   4627     # Instead, let's just punt: use the minimum linelength reported by
   4628     # all of the supported platforms: 8192 (on NT/2K/XP).
   4629     lt_cv_sys_max_cmd_len=8192;
   4630     ;;
   4631 
   4632   mint*)
   4633     # On MiNT this can take a long time and run out of memory.
   4634     lt_cv_sys_max_cmd_len=8192;
   4635     ;;
   4636 
   4637   amigaos*)
   4638     # On AmigaOS with pdksh, this test takes hours, literally.
   4639     # So we just punt and use a minimum line length of 8192.
   4640     lt_cv_sys_max_cmd_len=8192;
   4641     ;;
   4642 
   4643   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4644     # This has been around since 386BSD, at least.  Likely further.
   4645     if test -x /sbin/sysctl; then
   4646       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4647     elif test -x /usr/sbin/sysctl; then
   4648       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4649     else
   4650       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4651     fi
   4652     # And add a safety zone
   4653     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4654     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4655     ;;
   4656 
   4657   interix*)
   4658     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4659     lt_cv_sys_max_cmd_len=196608
   4660     ;;
   4661 
   4662   osf*)
   4663     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4664     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4665     # nice to cause kernel panics so lets avoid the loop below.
   4666     # First set a reasonable default.
   4667     lt_cv_sys_max_cmd_len=16384
   4668     #
   4669     if test -x /sbin/sysconfig; then
   4670       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4671         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4672       esac
   4673     fi
   4674     ;;
   4675   sco3.2v5*)
   4676     lt_cv_sys_max_cmd_len=102400
   4677     ;;
   4678   sysv5* | sco5v6* | sysv4.2uw2*)
   4679     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4680     if test -n "$kargmax"; then
   4681       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4682     else
   4683       lt_cv_sys_max_cmd_len=32768
   4684     fi
   4685     ;;
   4686   *)
   4687     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4688     if test -n "$lt_cv_sys_max_cmd_len"; then
   4689       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4690       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4691     else
   4692       # Make teststring a little bigger before we do anything with it.
   4693       # a 1K string should be a reasonable start.
   4694       for i in 1 2 3 4 5 6 7 8 ; do
   4695         teststring=$teststring$teststring
   4696       done
   4697       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4698       # If test is not a shell built-in, we'll probably end up computing a
   4699       # maximum length that is only half of the actual maximum length, but
   4700       # we can't tell.
   4701       while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
   4702 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4703 	      test $i != 17 # 1/2 MB should be enough
   4704       do
   4705         i=`expr $i + 1`
   4706         teststring=$teststring$teststring
   4707       done
   4708       # Only check the string length outside the loop.
   4709       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4710       teststring=
   4711       # Add a significant safety factor because C++ compilers can tack on
   4712       # massive amounts of additional arguments before passing them to the
   4713       # linker.  It appears as though 1/2 is a usable value.
   4714       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4715     fi
   4716     ;;
   4717   esac
   4718 
   4719 fi
   4720 
   4721 if test -n $lt_cv_sys_max_cmd_len ; then
   4722   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4723 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4724 else
   4725   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4726 $as_echo "none" >&6; }
   4727 fi
   4728 max_cmd_len=$lt_cv_sys_max_cmd_len
   4729 
   4730 
   4731 
   4732 
   4733 
   4734 
   4735 : ${CP="cp -f"}
   4736 : ${MV="mv -f"}
   4737 : ${RM="rm -f"}
   4738 
   4739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4740 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4741 # Try some XSI features
   4742 xsi_shell=no
   4743 ( _lt_dummy="a/b/c"
   4744   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4745       = c,a/b,b/c, \
   4746     && eval 'test $(( 1 + 1 )) -eq 2 \
   4747     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4748   && xsi_shell=yes
   4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4750 $as_echo "$xsi_shell" >&6; }
   4751 
   4752 
   4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4754 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4755 lt_shell_append=no
   4756 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4757     >/dev/null 2>&1 \
   4758   && lt_shell_append=yes
   4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4760 $as_echo "$lt_shell_append" >&6; }
   4761 
   4762 
   4763 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4764   lt_unset=unset
   4765 else
   4766   lt_unset=false
   4767 fi
   4768 
   4769 
   4770 
   4771 
   4772 
   4773 # test EBCDIC or ASCII
   4774 case `echo X|tr X '\101'` in
   4775  A) # ASCII based system
   4776     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4777   lt_SP2NL='tr \040 \012'
   4778   lt_NL2SP='tr \015\012 \040\040'
   4779   ;;
   4780  *) # EBCDIC based system
   4781   lt_SP2NL='tr \100 \n'
   4782   lt_NL2SP='tr \r\n \100\100'
   4783   ;;
   4784 esac
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4795 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4796 if ${lt_cv_to_host_file_cmd+:} false; then :
   4797   $as_echo_n "(cached) " >&6
   4798 else
   4799   case $host in
   4800   *-*-mingw* )
   4801     case $build in
   4802       *-*-mingw* ) # actually msys
   4803         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4804         ;;
   4805       *-*-cygwin* )
   4806         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4807         ;;
   4808       * ) # otherwise, assume *nix
   4809         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4810         ;;
   4811     esac
   4812     ;;
   4813   *-*-cygwin* )
   4814     case $build in
   4815       *-*-mingw* ) # actually msys
   4816         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4817         ;;
   4818       *-*-cygwin* )
   4819         lt_cv_to_host_file_cmd=func_convert_file_noop
   4820         ;;
   4821       * ) # otherwise, assume *nix
   4822         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4823         ;;
   4824     esac
   4825     ;;
   4826   * ) # unhandled hosts (and "normal" native builds)
   4827     lt_cv_to_host_file_cmd=func_convert_file_noop
   4828     ;;
   4829 esac
   4830 
   4831 fi
   4832 
   4833 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4835 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4836 
   4837 
   4838 
   4839 
   4840 
   4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4842 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4843 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4844   $as_echo_n "(cached) " >&6
   4845 else
   4846   #assume ordinary cross tools, or native build.
   4847 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4848 case $host in
   4849   *-*-mingw* )
   4850     case $build in
   4851       *-*-mingw* ) # actually msys
   4852         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4853         ;;
   4854     esac
   4855     ;;
   4856 esac
   4857 
   4858 fi
   4859 
   4860 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4862 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4863 
   4864 
   4865 
   4866 
   4867 
   4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4869 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4870 if ${lt_cv_ld_reload_flag+:} false; then :
   4871   $as_echo_n "(cached) " >&6
   4872 else
   4873   lt_cv_ld_reload_flag='-r'
   4874 fi
   4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4876 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4877 reload_flag=$lt_cv_ld_reload_flag
   4878 case $reload_flag in
   4879 "" | " "*) ;;
   4880 *) reload_flag=" $reload_flag" ;;
   4881 esac
   4882 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4883 case $host_os in
   4884   cygwin* | mingw* | pw32* | cegcc*)
   4885     if test "$GCC" != yes; then
   4886       reload_cmds=false
   4887     fi
   4888     ;;
   4889   darwin*)
   4890     if test "$GCC" = yes; then
   4891       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4892     else
   4893       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4894     fi
   4895     ;;
   4896 esac
   4897 
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 if test -n "$ac_tool_prefix"; then
   4907   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4908 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4910 $as_echo_n "checking for $ac_word... " >&6; }
   4911 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4912   $as_echo_n "(cached) " >&6
   4913 else
   4914   if test -n "$OBJDUMP"; then
   4915   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4916 else
   4917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4918 for as_dir in $PATH
   4919 do
   4920   IFS=$as_save_IFS
   4921   test -z "$as_dir" && as_dir=.
   4922     for ac_exec_ext in '' $ac_executable_extensions; do
   4923   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4924     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4925     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4926     break 2
   4927   fi
   4928 done
   4929   done
   4930 IFS=$as_save_IFS
   4931 
   4932 fi
   4933 fi
   4934 OBJDUMP=$ac_cv_prog_OBJDUMP
   4935 if test -n "$OBJDUMP"; then
   4936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4937 $as_echo "$OBJDUMP" >&6; }
   4938 else
   4939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4940 $as_echo "no" >&6; }
   4941 fi
   4942 
   4943 
   4944 fi
   4945 if test -z "$ac_cv_prog_OBJDUMP"; then
   4946   ac_ct_OBJDUMP=$OBJDUMP
   4947   # Extract the first word of "objdump", so it can be a program name with args.
   4948 set dummy objdump; ac_word=$2
   4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4950 $as_echo_n "checking for $ac_word... " >&6; }
   4951 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4952   $as_echo_n "(cached) " >&6
   4953 else
   4954   if test -n "$ac_ct_OBJDUMP"; then
   4955   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4956 else
   4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4958 for as_dir in $PATH
   4959 do
   4960   IFS=$as_save_IFS
   4961   test -z "$as_dir" && as_dir=.
   4962     for ac_exec_ext in '' $ac_executable_extensions; do
   4963   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   4964     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4965     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4966     break 2
   4967   fi
   4968 done
   4969   done
   4970 IFS=$as_save_IFS
   4971 
   4972 fi
   4973 fi
   4974 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4975 if test -n "$ac_ct_OBJDUMP"; then
   4976   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4977 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4978 else
   4979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4980 $as_echo "no" >&6; }
   4981 fi
   4982 
   4983   if test "x$ac_ct_OBJDUMP" = x; then
   4984     OBJDUMP="false"
   4985   else
   4986     case $cross_compiling:$ac_tool_warned in
   4987 yes:)
   4988 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4989 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4990 ac_tool_warned=yes ;;
   4991 esac
   4992     OBJDUMP=$ac_ct_OBJDUMP
   4993   fi
   4994 else
   4995   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4996 fi
   4997 
   4998 test -z "$OBJDUMP" && OBJDUMP=objdump
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5009 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5010 if ${lt_cv_deplibs_check_method+:} false; then :
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5014 lt_cv_file_magic_test_file=
   5015 lt_cv_deplibs_check_method='unknown'
   5016 # Need to set the preceding variable on all platforms that support
   5017 # interlibrary dependencies.
   5018 # 'none' -- dependencies not supported.
   5019 # `unknown' -- same as none, but documents that we really don't know.
   5020 # 'pass_all' -- all dependencies passed with no checks.
   5021 # 'test_compile' -- check by making test program.
   5022 # 'file_magic [[regex]]' -- check by looking for files in library path
   5023 # which responds to the $file_magic_cmd with a given extended regex.
   5024 # If you have `file' or equivalent on your system and you're not sure
   5025 # whether `pass_all' will *always* work, you probably want this one.
   5026 
   5027 case $host_os in
   5028 aix[4-9]*)
   5029   lt_cv_deplibs_check_method=pass_all
   5030   ;;
   5031 
   5032 beos*)
   5033   lt_cv_deplibs_check_method=pass_all
   5034   ;;
   5035 
   5036 bsdi[45]*)
   5037   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5038   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5039   lt_cv_file_magic_test_file=/shlib/libc.so
   5040   ;;
   5041 
   5042 cygwin*)
   5043   # func_win32_libid is a shell function defined in ltmain.sh
   5044   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5045   lt_cv_file_magic_cmd='func_win32_libid'
   5046   ;;
   5047 
   5048 mingw* | pw32*)
   5049   # Base MSYS/MinGW do not provide the 'file' command needed by
   5050   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5051   # unless we find 'file', for example because we are cross-compiling.
   5052   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5053   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5054     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5055     lt_cv_file_magic_cmd='func_win32_libid'
   5056   else
   5057     # Keep this pattern in sync with the one in func_win32_libid.
   5058     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5059     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5060   fi
   5061   ;;
   5062 
   5063 cegcc*)
   5064   # use the weaker test based on 'objdump'. See mingw*.
   5065   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5066   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5067   ;;
   5068 
   5069 darwin* | rhapsody*)
   5070   lt_cv_deplibs_check_method=pass_all
   5071   ;;
   5072 
   5073 freebsd* | dragonfly*)
   5074   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5075     case $host_cpu in
   5076     i*86 )
   5077       # Not sure whether the presence of OpenBSD here was a mistake.
   5078       # Let's accept both of them until this is cleared up.
   5079       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5080       lt_cv_file_magic_cmd=/usr/bin/file
   5081       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5082       ;;
   5083     esac
   5084   else
   5085     lt_cv_deplibs_check_method=pass_all
   5086   fi
   5087   ;;
   5088 
   5089 gnu*)
   5090   lt_cv_deplibs_check_method=pass_all
   5091   ;;
   5092 
   5093 haiku*)
   5094   lt_cv_deplibs_check_method=pass_all
   5095   ;;
   5096 
   5097 hpux10.20* | hpux11*)
   5098   lt_cv_file_magic_cmd=/usr/bin/file
   5099   case $host_cpu in
   5100   ia64*)
   5101     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5102     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5103     ;;
   5104   hppa*64*)
   5105     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]'
   5106     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5107     ;;
   5108   *)
   5109     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5110     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5111     ;;
   5112   esac
   5113   ;;
   5114 
   5115 interix[3-9]*)
   5116   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5117   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5118   ;;
   5119 
   5120 irix5* | irix6* | nonstopux*)
   5121   case $LD in
   5122   *-32|*"-32 ") libmagic=32-bit;;
   5123   *-n32|*"-n32 ") libmagic=N32;;
   5124   *-64|*"-64 ") libmagic=64-bit;;
   5125   *) libmagic=never-match;;
   5126   esac
   5127   lt_cv_deplibs_check_method=pass_all
   5128   ;;
   5129 
   5130 # This must be Linux ELF.
   5131 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5132   lt_cv_deplibs_check_method=pass_all
   5133   ;;
   5134 
   5135 netbsd*)
   5136   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5137     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5138   else
   5139     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5140   fi
   5141   ;;
   5142 
   5143 newos6*)
   5144   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5145   lt_cv_file_magic_cmd=/usr/bin/file
   5146   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5147   ;;
   5148 
   5149 *nto* | *qnx*)
   5150   lt_cv_deplibs_check_method=pass_all
   5151   ;;
   5152 
   5153 openbsd*)
   5154   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5155     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5156   else
   5157     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5158   fi
   5159   ;;
   5160 
   5161 osf3* | osf4* | osf5*)
   5162   lt_cv_deplibs_check_method=pass_all
   5163   ;;
   5164 
   5165 rdos*)
   5166   lt_cv_deplibs_check_method=pass_all
   5167   ;;
   5168 
   5169 solaris*)
   5170   lt_cv_deplibs_check_method=pass_all
   5171   ;;
   5172 
   5173 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5174   lt_cv_deplibs_check_method=pass_all
   5175   ;;
   5176 
   5177 sysv4 | sysv4.3*)
   5178   case $host_vendor in
   5179   motorola)
   5180     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]'
   5181     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5182     ;;
   5183   ncr)
   5184     lt_cv_deplibs_check_method=pass_all
   5185     ;;
   5186   sequent)
   5187     lt_cv_file_magic_cmd='/bin/file'
   5188     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5189     ;;
   5190   sni)
   5191     lt_cv_file_magic_cmd='/bin/file'
   5192     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5193     lt_cv_file_magic_test_file=/lib/libc.so
   5194     ;;
   5195   siemens)
   5196     lt_cv_deplibs_check_method=pass_all
   5197     ;;
   5198   pc)
   5199     lt_cv_deplibs_check_method=pass_all
   5200     ;;
   5201   esac
   5202   ;;
   5203 
   5204 tpf*)
   5205   lt_cv_deplibs_check_method=pass_all
   5206   ;;
   5207 esac
   5208 
   5209 fi
   5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5211 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5212 
   5213 file_magic_glob=
   5214 want_nocaseglob=no
   5215 if test "$build" = "$host"; then
   5216   case $host_os in
   5217   mingw* | pw32*)
   5218     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5219       want_nocaseglob=yes
   5220     else
   5221       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5222     fi
   5223     ;;
   5224   esac
   5225 fi
   5226 
   5227 file_magic_cmd=$lt_cv_file_magic_cmd
   5228 deplibs_check_method=$lt_cv_deplibs_check_method
   5229 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 
   5236 
   5237 
   5238 
   5239 
   5240 
   5241 
   5242 
   5243 
   5244 
   5245 
   5246 
   5247 
   5248 
   5249 
   5250 
   5251 
   5252 if test -n "$ac_tool_prefix"; then
   5253   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5254 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5256 $as_echo_n "checking for $ac_word... " >&6; }
   5257 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5258   $as_echo_n "(cached) " >&6
   5259 else
   5260   if test -n "$DLLTOOL"; then
   5261   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5262 else
   5263 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5264 for as_dir in $PATH
   5265 do
   5266   IFS=$as_save_IFS
   5267   test -z "$as_dir" && as_dir=.
   5268     for ac_exec_ext in '' $ac_executable_extensions; do
   5269   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5270     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5271     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5272     break 2
   5273   fi
   5274 done
   5275   done
   5276 IFS=$as_save_IFS
   5277 
   5278 fi
   5279 fi
   5280 DLLTOOL=$ac_cv_prog_DLLTOOL
   5281 if test -n "$DLLTOOL"; then
   5282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5283 $as_echo "$DLLTOOL" >&6; }
   5284 else
   5285   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5286 $as_echo "no" >&6; }
   5287 fi
   5288 
   5289 
   5290 fi
   5291 if test -z "$ac_cv_prog_DLLTOOL"; then
   5292   ac_ct_DLLTOOL=$DLLTOOL
   5293   # Extract the first word of "dlltool", so it can be a program name with args.
   5294 set dummy dlltool; ac_word=$2
   5295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5296 $as_echo_n "checking for $ac_word... " >&6; }
   5297 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   if test -n "$ac_ct_DLLTOOL"; then
   5301   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5302 else
   5303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5304 for as_dir in $PATH
   5305 do
   5306   IFS=$as_save_IFS
   5307   test -z "$as_dir" && as_dir=.
   5308     for ac_exec_ext in '' $ac_executable_extensions; do
   5309   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5310     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5312     break 2
   5313   fi
   5314 done
   5315   done
   5316 IFS=$as_save_IFS
   5317 
   5318 fi
   5319 fi
   5320 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5321 if test -n "$ac_ct_DLLTOOL"; then
   5322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5323 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5324 else
   5325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5326 $as_echo "no" >&6; }
   5327 fi
   5328 
   5329   if test "x$ac_ct_DLLTOOL" = x; then
   5330     DLLTOOL="false"
   5331   else
   5332     case $cross_compiling:$ac_tool_warned in
   5333 yes:)
   5334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5336 ac_tool_warned=yes ;;
   5337 esac
   5338     DLLTOOL=$ac_ct_DLLTOOL
   5339   fi
   5340 else
   5341   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5342 fi
   5343 
   5344 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5356 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5357 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5358   $as_echo_n "(cached) " >&6
   5359 else
   5360   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5361 
   5362 case $host_os in
   5363 cygwin* | mingw* | pw32* | cegcc*)
   5364   # two different shell functions defined in ltmain.sh
   5365   # decide which to use based on capabilities of $DLLTOOL
   5366   case `$DLLTOOL --help 2>&1` in
   5367   *--identify-strict*)
   5368     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5369     ;;
   5370   *)
   5371     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5372     ;;
   5373   esac
   5374   ;;
   5375 *)
   5376   # fallback: assume linklib IS sharedlib
   5377   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5378   ;;
   5379 esac
   5380 
   5381 fi
   5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5383 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5384 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5385 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5386 
   5387 
   5388 
   5389 
   5390 
   5391 
   5392 
   5393 
   5394 if test -n "$ac_tool_prefix"; then
   5395   for ac_prog in ar
   5396   do
   5397     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5398 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5400 $as_echo_n "checking for $ac_word... " >&6; }
   5401 if ${ac_cv_prog_AR+:} false; then :
   5402   $as_echo_n "(cached) " >&6
   5403 else
   5404   if test -n "$AR"; then
   5405   ac_cv_prog_AR="$AR" # Let the user override the test.
   5406 else
   5407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5408 for as_dir in $PATH
   5409 do
   5410   IFS=$as_save_IFS
   5411   test -z "$as_dir" && as_dir=.
   5412     for ac_exec_ext in '' $ac_executable_extensions; do
   5413   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5414     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5415     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5416     break 2
   5417   fi
   5418 done
   5419   done
   5420 IFS=$as_save_IFS
   5421 
   5422 fi
   5423 fi
   5424 AR=$ac_cv_prog_AR
   5425 if test -n "$AR"; then
   5426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5427 $as_echo "$AR" >&6; }
   5428 else
   5429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5430 $as_echo "no" >&6; }
   5431 fi
   5432 
   5433 
   5434     test -n "$AR" && break
   5435   done
   5436 fi
   5437 if test -z "$AR"; then
   5438   ac_ct_AR=$AR
   5439   for ac_prog in ar
   5440 do
   5441   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5442 set dummy $ac_prog; ac_word=$2
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5444 $as_echo_n "checking for $ac_word... " >&6; }
   5445 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5446   $as_echo_n "(cached) " >&6
   5447 else
   5448   if test -n "$ac_ct_AR"; then
   5449   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5450 else
   5451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5452 for as_dir in $PATH
   5453 do
   5454   IFS=$as_save_IFS
   5455   test -z "$as_dir" && as_dir=.
   5456     for ac_exec_ext in '' $ac_executable_extensions; do
   5457   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5458     ac_cv_prog_ac_ct_AR="$ac_prog"
   5459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5460     break 2
   5461   fi
   5462 done
   5463   done
   5464 IFS=$as_save_IFS
   5465 
   5466 fi
   5467 fi
   5468 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5469 if test -n "$ac_ct_AR"; then
   5470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5471 $as_echo "$ac_ct_AR" >&6; }
   5472 else
   5473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5474 $as_echo "no" >&6; }
   5475 fi
   5476 
   5477 
   5478   test -n "$ac_ct_AR" && break
   5479 done
   5480 
   5481   if test "x$ac_ct_AR" = x; then
   5482     AR="false"
   5483   else
   5484     case $cross_compiling:$ac_tool_warned in
   5485 yes:)
   5486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5488 ac_tool_warned=yes ;;
   5489 esac
   5490     AR=$ac_ct_AR
   5491   fi
   5492 fi
   5493 
   5494 : ${AR=ar}
   5495 : ${AR_FLAGS=cru}
   5496 
   5497 
   5498 
   5499 
   5500 
   5501 
   5502 
   5503 
   5504 
   5505 
   5506 
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5508 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5509 if ${lt_cv_ar_at_file+:} false; then :
   5510   $as_echo_n "(cached) " >&6
   5511 else
   5512   lt_cv_ar_at_file=no
   5513    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5514 /* end confdefs.h.  */
   5515 
   5516 int
   5517 main ()
   5518 {
   5519 
   5520   ;
   5521   return 0;
   5522 }
   5523 _ACEOF
   5524 if ac_fn_c_try_compile "$LINENO"; then :
   5525   echo conftest.$ac_objext > conftest.lst
   5526       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5527       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5528   (eval $lt_ar_try) 2>&5
   5529   ac_status=$?
   5530   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5531   test $ac_status = 0; }
   5532       if test "$ac_status" -eq 0; then
   5533 	# Ensure the archiver fails upon bogus file names.
   5534 	rm -f conftest.$ac_objext libconftest.a
   5535 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5536   (eval $lt_ar_try) 2>&5
   5537   ac_status=$?
   5538   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5539   test $ac_status = 0; }
   5540 	if test "$ac_status" -ne 0; then
   5541           lt_cv_ar_at_file=@
   5542         fi
   5543       fi
   5544       rm -f conftest.* libconftest.a
   5545 
   5546 fi
   5547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5548 
   5549 fi
   5550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5551 $as_echo "$lt_cv_ar_at_file" >&6; }
   5552 
   5553 if test "x$lt_cv_ar_at_file" = xno; then
   5554   archiver_list_spec=
   5555 else
   5556   archiver_list_spec=$lt_cv_ar_at_file
   5557 fi
   5558 
   5559 
   5560 
   5561 
   5562 
   5563 
   5564 
   5565 if test -n "$ac_tool_prefix"; then
   5566   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5567 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5569 $as_echo_n "checking for $ac_word... " >&6; }
   5570 if ${ac_cv_prog_STRIP+:} false; then :
   5571   $as_echo_n "(cached) " >&6
   5572 else
   5573   if test -n "$STRIP"; then
   5574   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5575 else
   5576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5577 for as_dir in $PATH
   5578 do
   5579   IFS=$as_save_IFS
   5580   test -z "$as_dir" && as_dir=.
   5581     for ac_exec_ext in '' $ac_executable_extensions; do
   5582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5583     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5585     break 2
   5586   fi
   5587 done
   5588   done
   5589 IFS=$as_save_IFS
   5590 
   5591 fi
   5592 fi
   5593 STRIP=$ac_cv_prog_STRIP
   5594 if test -n "$STRIP"; then
   5595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5596 $as_echo "$STRIP" >&6; }
   5597 else
   5598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5599 $as_echo "no" >&6; }
   5600 fi
   5601 
   5602 
   5603 fi
   5604 if test -z "$ac_cv_prog_STRIP"; then
   5605   ac_ct_STRIP=$STRIP
   5606   # Extract the first word of "strip", so it can be a program name with args.
   5607 set dummy strip; ac_word=$2
   5608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5609 $as_echo_n "checking for $ac_word... " >&6; }
   5610 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5611   $as_echo_n "(cached) " >&6
   5612 else
   5613   if test -n "$ac_ct_STRIP"; then
   5614   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5615 else
   5616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5617 for as_dir in $PATH
   5618 do
   5619   IFS=$as_save_IFS
   5620   test -z "$as_dir" && as_dir=.
   5621     for ac_exec_ext in '' $ac_executable_extensions; do
   5622   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5623     ac_cv_prog_ac_ct_STRIP="strip"
   5624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5625     break 2
   5626   fi
   5627 done
   5628   done
   5629 IFS=$as_save_IFS
   5630 
   5631 fi
   5632 fi
   5633 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5634 if test -n "$ac_ct_STRIP"; then
   5635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5636 $as_echo "$ac_ct_STRIP" >&6; }
   5637 else
   5638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5639 $as_echo "no" >&6; }
   5640 fi
   5641 
   5642   if test "x$ac_ct_STRIP" = x; then
   5643     STRIP=":"
   5644   else
   5645     case $cross_compiling:$ac_tool_warned in
   5646 yes:)
   5647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5649 ac_tool_warned=yes ;;
   5650 esac
   5651     STRIP=$ac_ct_STRIP
   5652   fi
   5653 else
   5654   STRIP="$ac_cv_prog_STRIP"
   5655 fi
   5656 
   5657 test -z "$STRIP" && STRIP=:
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 if test -n "$ac_tool_prefix"; then
   5665   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5666 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5668 $as_echo_n "checking for $ac_word... " >&6; }
   5669 if ${ac_cv_prog_RANLIB+:} false; then :
   5670   $as_echo_n "(cached) " >&6
   5671 else
   5672   if test -n "$RANLIB"; then
   5673   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5674 else
   5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5676 for as_dir in $PATH
   5677 do
   5678   IFS=$as_save_IFS
   5679   test -z "$as_dir" && as_dir=.
   5680     for ac_exec_ext in '' $ac_executable_extensions; do
   5681   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5682     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5684     break 2
   5685   fi
   5686 done
   5687   done
   5688 IFS=$as_save_IFS
   5689 
   5690 fi
   5691 fi
   5692 RANLIB=$ac_cv_prog_RANLIB
   5693 if test -n "$RANLIB"; then
   5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5695 $as_echo "$RANLIB" >&6; }
   5696 else
   5697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5698 $as_echo "no" >&6; }
   5699 fi
   5700 
   5701 
   5702 fi
   5703 if test -z "$ac_cv_prog_RANLIB"; then
   5704   ac_ct_RANLIB=$RANLIB
   5705   # Extract the first word of "ranlib", so it can be a program name with args.
   5706 set dummy ranlib; ac_word=$2
   5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5708 $as_echo_n "checking for $ac_word... " >&6; }
   5709 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5710   $as_echo_n "(cached) " >&6
   5711 else
   5712   if test -n "$ac_ct_RANLIB"; then
   5713   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5714 else
   5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5716 for as_dir in $PATH
   5717 do
   5718   IFS=$as_save_IFS
   5719   test -z "$as_dir" && as_dir=.
   5720     for ac_exec_ext in '' $ac_executable_extensions; do
   5721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   5722     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5723     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5724     break 2
   5725   fi
   5726 done
   5727   done
   5728 IFS=$as_save_IFS
   5729 
   5730 fi
   5731 fi
   5732 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5733 if test -n "$ac_ct_RANLIB"; then
   5734   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5735 $as_echo "$ac_ct_RANLIB" >&6; }
   5736 else
   5737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5738 $as_echo "no" >&6; }
   5739 fi
   5740 
   5741   if test "x$ac_ct_RANLIB" = x; then
   5742     RANLIB=":"
   5743   else
   5744     case $cross_compiling:$ac_tool_warned in
   5745 yes:)
   5746 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5747 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5748 ac_tool_warned=yes ;;
   5749 esac
   5750     RANLIB=$ac_ct_RANLIB
   5751   fi
   5752 else
   5753   RANLIB="$ac_cv_prog_RANLIB"
   5754 fi
   5755 
   5756 test -z "$RANLIB" && RANLIB=:
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 # Determine commands to create old-style static archives.
   5764 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5765 old_postinstall_cmds='chmod 644 $oldlib'
   5766 old_postuninstall_cmds=
   5767 
   5768 if test -n "$RANLIB"; then
   5769   case $host_os in
   5770   openbsd*)
   5771     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   5772     ;;
   5773   *)
   5774     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   5775     ;;
   5776   esac
   5777   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   5778 fi
   5779 
   5780 case $host_os in
   5781   darwin*)
   5782     lock_old_archive_extraction=yes ;;
   5783   *)
   5784     lock_old_archive_extraction=no ;;
   5785 esac
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 
   5819 
   5820 
   5821 
   5822 
   5823 
   5824 
   5825 # If no C compiler was specified, use CC.
   5826 LTCC=${LTCC-"$CC"}
   5827 
   5828 # If no C compiler flags were specified, use CFLAGS.
   5829 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5830 
   5831 # Allow CC to be a program name with arguments.
   5832 compiler=$CC
   5833 
   5834 
   5835 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5837 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5838 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5839   $as_echo_n "(cached) " >&6
   5840 else
   5841 
   5842 # These are sane defaults that work on at least a few old systems.
   5843 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5844 
   5845 # Character class describing NM global symbol codes.
   5846 symcode='[BCDEGRST]'
   5847 
   5848 # Regexp to match symbols that can be accessed directly from C.
   5849 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5850 
   5851 # Define system-specific variables.
   5852 case $host_os in
   5853 aix*)
   5854   symcode='[BCDT]'
   5855   ;;
   5856 cygwin* | mingw* | pw32* | cegcc*)
   5857   symcode='[ABCDGISTW]'
   5858   ;;
   5859 hpux*)
   5860   if test "$host_cpu" = ia64; then
   5861     symcode='[ABCDEGRST]'
   5862   fi
   5863   ;;
   5864 irix* | nonstopux*)
   5865   symcode='[BCDEGRST]'
   5866   ;;
   5867 osf*)
   5868   symcode='[BCDEGQRST]'
   5869   ;;
   5870 solaris*)
   5871   symcode='[BDRT]'
   5872   ;;
   5873 sco3.2v5*)
   5874   symcode='[DT]'
   5875   ;;
   5876 sysv4.2uw2*)
   5877   symcode='[DT]'
   5878   ;;
   5879 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5880   symcode='[ABDT]'
   5881   ;;
   5882 sysv4)
   5883   symcode='[DFNSTU]'
   5884   ;;
   5885 esac
   5886 
   5887 # If we're using GNU nm, then use its standard symbol codes.
   5888 case `$NM -V 2>&1` in
   5889 *GNU* | *'with BFD'*)
   5890   symcode='[ABCDGIRSTW]' ;;
   5891 esac
   5892 
   5893 # Transform an extracted symbol line into a proper C declaration.
   5894 # Some systems (esp. on ia64) link data and code symbols differently,
   5895 # so use this general approach.
   5896 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5897 
   5898 # Transform an extracted symbol line into symbol name and symbol address
   5899 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5900 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'"
   5901 
   5902 # Handle CRLF in mingw tool chain
   5903 opt_cr=
   5904 case $build_os in
   5905 mingw*)
   5906   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5907   ;;
   5908 esac
   5909 
   5910 # Try without a prefix underscore, then with it.
   5911 for ac_symprfx in "" "_"; do
   5912 
   5913   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5914   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5915 
   5916   # Write the raw and C identifiers.
   5917   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5918     # Fake it for dumpbin and say T for any non-static function
   5919     # and D for any global variable.
   5920     # Also find C++ and __fastcall symbols from MSVC++,
   5921     # which start with @ or ?.
   5922     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5923 "     {last_section=section; section=\$ 3};"\
   5924 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5925 "     \$ 0!~/External *\|/{next};"\
   5926 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5927 "     {if(hide[section]) next};"\
   5928 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5929 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5930 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5931 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5932 "     ' prfx=^$ac_symprfx"
   5933   else
   5934     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5935   fi
   5936   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5937 
   5938   # Check to see that the pipe works correctly.
   5939   pipe_works=no
   5940 
   5941   rm -f conftest*
   5942   cat > conftest.$ac_ext <<_LT_EOF
   5943 #ifdef __cplusplus
   5944 extern "C" {
   5945 #endif
   5946 char nm_test_var;
   5947 void nm_test_func(void);
   5948 void nm_test_func(void){}
   5949 #ifdef __cplusplus
   5950 }
   5951 #endif
   5952 int main(){nm_test_var='a';nm_test_func();return(0);}
   5953 _LT_EOF
   5954 
   5955   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5956   (eval $ac_compile) 2>&5
   5957   ac_status=$?
   5958   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5959   test $ac_status = 0; }; then
   5960     # Now try to grab the symbols.
   5961     nlist=conftest.nm
   5962     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5963   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5964   ac_status=$?
   5965   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5966   test $ac_status = 0; } && test -s "$nlist"; then
   5967       # Try sorting and uniquifying the output.
   5968       if sort "$nlist" | uniq > "$nlist"T; then
   5969 	mv -f "$nlist"T "$nlist"
   5970       else
   5971 	rm -f "$nlist"T
   5972       fi
   5973 
   5974       # Make sure that we snagged all the symbols we need.
   5975       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5976 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5977 	  cat <<_LT_EOF > conftest.$ac_ext
   5978 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5979 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5980 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5981    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5982 # define LT_DLSYM_CONST
   5983 #elif defined(__osf__)
   5984 /* This system does not cope well with relocations in const data.  */
   5985 # define LT_DLSYM_CONST
   5986 #else
   5987 # define LT_DLSYM_CONST const
   5988 #endif
   5989 
   5990 #ifdef __cplusplus
   5991 extern "C" {
   5992 #endif
   5993 
   5994 _LT_EOF
   5995 	  # Now generate the symbol file.
   5996 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5997 
   5998 	  cat <<_LT_EOF >> conftest.$ac_ext
   5999 
   6000 /* The mapping between symbol names and symbols.  */
   6001 LT_DLSYM_CONST struct {
   6002   const char *name;
   6003   void       *address;
   6004 }
   6005 lt__PROGRAM__LTX_preloaded_symbols[] =
   6006 {
   6007   { "@PROGRAM@", (void *) 0 },
   6008 _LT_EOF
   6009 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6010 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6011   {0, (void *) 0}
   6012 };
   6013 
   6014 /* This works around a problem in FreeBSD linker */
   6015 #ifdef FREEBSD_WORKAROUND
   6016 static const void *lt_preloaded_setup() {
   6017   return lt__PROGRAM__LTX_preloaded_symbols;
   6018 }
   6019 #endif
   6020 
   6021 #ifdef __cplusplus
   6022 }
   6023 #endif
   6024 _LT_EOF
   6025 	  # Now try linking the two files.
   6026 	  mv conftest.$ac_objext conftstm.$ac_objext
   6027 	  lt_globsym_save_LIBS=$LIBS
   6028 	  lt_globsym_save_CFLAGS=$CFLAGS
   6029 	  LIBS="conftstm.$ac_objext"
   6030 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6031 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6032   (eval $ac_link) 2>&5
   6033   ac_status=$?
   6034   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6035   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6036 	    pipe_works=yes
   6037 	  fi
   6038 	  LIBS=$lt_globsym_save_LIBS
   6039 	  CFLAGS=$lt_globsym_save_CFLAGS
   6040 	else
   6041 	  echo "cannot find nm_test_func in $nlist" >&5
   6042 	fi
   6043       else
   6044 	echo "cannot find nm_test_var in $nlist" >&5
   6045       fi
   6046     else
   6047       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6048     fi
   6049   else
   6050     echo "$progname: failed program was:" >&5
   6051     cat conftest.$ac_ext >&5
   6052   fi
   6053   rm -rf conftest* conftst*
   6054 
   6055   # Do not use the global_symbol_pipe unless it works.
   6056   if test "$pipe_works" = yes; then
   6057     break
   6058   else
   6059     lt_cv_sys_global_symbol_pipe=
   6060   fi
   6061 done
   6062 
   6063 fi
   6064 
   6065 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6066   lt_cv_sys_global_symbol_to_cdecl=
   6067 fi
   6068 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6070 $as_echo "failed" >&6; }
   6071 else
   6072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6073 $as_echo "ok" >&6; }
   6074 fi
   6075 
   6076 # Response file support.
   6077 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6078   nm_file_list_spec='@'
   6079 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6080   nm_file_list_spec='@'
   6081 fi
   6082 
   6083 
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 
   6100 
   6101 
   6102 
   6103 
   6104 
   6105 
   6106 
   6107 
   6108 
   6109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6110 $as_echo_n "checking for sysroot... " >&6; }
   6111 
   6112 # Check whether --with-sysroot was given.
   6113 if test "${with_sysroot+set}" = set; then :
   6114   withval=$with_sysroot;
   6115 else
   6116   with_sysroot=no
   6117 fi
   6118 
   6119 
   6120 lt_sysroot=
   6121 case ${with_sysroot} in #(
   6122  yes)
   6123    if test "$GCC" = yes; then
   6124      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6125    fi
   6126    ;; #(
   6127  /*)
   6128    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6129    ;; #(
   6130  no|'')
   6131    ;; #(
   6132  *)
   6133    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6134 $as_echo "${with_sysroot}" >&6; }
   6135    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6136    ;;
   6137 esac
   6138 
   6139  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6140 $as_echo "${lt_sysroot:-no}" >&6; }
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 # Check whether --enable-libtool-lock was given.
   6147 if test "${enable_libtool_lock+set}" = set; then :
   6148   enableval=$enable_libtool_lock;
   6149 fi
   6150 
   6151 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6152 
   6153 # Some flags need to be propagated to the compiler or linker for good
   6154 # libtool support.
   6155 case $host in
   6156 ia64-*-hpux*)
   6157   # Find out which ABI we are using.
   6158   echo 'int i;' > conftest.$ac_ext
   6159   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6160   (eval $ac_compile) 2>&5
   6161   ac_status=$?
   6162   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6163   test $ac_status = 0; }; then
   6164     case `/usr/bin/file conftest.$ac_objext` in
   6165       *ELF-32*)
   6166 	HPUX_IA64_MODE="32"
   6167 	;;
   6168       *ELF-64*)
   6169 	HPUX_IA64_MODE="64"
   6170 	;;
   6171     esac
   6172   fi
   6173   rm -rf conftest*
   6174   ;;
   6175 *-*-irix6*)
   6176   # Find out which ABI we are using.
   6177   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6178   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6179   (eval $ac_compile) 2>&5
   6180   ac_status=$?
   6181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6182   test $ac_status = 0; }; then
   6183     if test "$lt_cv_prog_gnu_ld" = yes; then
   6184       case `/usr/bin/file conftest.$ac_objext` in
   6185 	*32-bit*)
   6186 	  LD="${LD-ld} -melf32bsmip"
   6187 	  ;;
   6188 	*N32*)
   6189 	  LD="${LD-ld} -melf32bmipn32"
   6190 	  ;;
   6191 	*64-bit*)
   6192 	  LD="${LD-ld} -melf64bmip"
   6193 	;;
   6194       esac
   6195     else
   6196       case `/usr/bin/file conftest.$ac_objext` in
   6197 	*32-bit*)
   6198 	  LD="${LD-ld} -32"
   6199 	  ;;
   6200 	*N32*)
   6201 	  LD="${LD-ld} -n32"
   6202 	  ;;
   6203 	*64-bit*)
   6204 	  LD="${LD-ld} -64"
   6205 	  ;;
   6206       esac
   6207     fi
   6208   fi
   6209   rm -rf conftest*
   6210   ;;
   6211 
   6212 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6213 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6214   # Find out which ABI we are using.
   6215   echo 'int i;' > conftest.$ac_ext
   6216   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6217   (eval $ac_compile) 2>&5
   6218   ac_status=$?
   6219   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6220   test $ac_status = 0; }; then
   6221     case `/usr/bin/file conftest.o` in
   6222       *32-bit*)
   6223 	case $host in
   6224 	  x86_64-*kfreebsd*-gnu)
   6225 	    LD="${LD-ld} -m elf_i386_fbsd"
   6226 	    ;;
   6227 	  x86_64-*linux*)
   6228 	    LD="${LD-ld} -m elf_i386"
   6229 	    ;;
   6230 	  ppc64-*linux*|powerpc64-*linux*)
   6231 	    LD="${LD-ld} -m elf32ppclinux"
   6232 	    ;;
   6233 	  s390x-*linux*)
   6234 	    LD="${LD-ld} -m elf_s390"
   6235 	    ;;
   6236 	  sparc64-*linux*)
   6237 	    LD="${LD-ld} -m elf32_sparc"
   6238 	    ;;
   6239 	esac
   6240 	;;
   6241       *64-bit*)
   6242 	case $host in
   6243 	  x86_64-*kfreebsd*-gnu)
   6244 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6245 	    ;;
   6246 	  x86_64-*linux*)
   6247 	    LD="${LD-ld} -m elf_x86_64"
   6248 	    ;;
   6249 	  ppc*-*linux*|powerpc*-*linux*)
   6250 	    LD="${LD-ld} -m elf64ppc"
   6251 	    ;;
   6252 	  s390*-*linux*|s390*-*tpf*)
   6253 	    LD="${LD-ld} -m elf64_s390"
   6254 	    ;;
   6255 	  sparc*-*linux*)
   6256 	    LD="${LD-ld} -m elf64_sparc"
   6257 	    ;;
   6258 	esac
   6259 	;;
   6260     esac
   6261   fi
   6262   rm -rf conftest*
   6263   ;;
   6264 
   6265 *-*-sco3.2v5*)
   6266   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6267   SAVE_CFLAGS="$CFLAGS"
   6268   CFLAGS="$CFLAGS -belf"
   6269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6270 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6271 if ${lt_cv_cc_needs_belf+:} false; then :
   6272   $as_echo_n "(cached) " >&6
   6273 else
   6274   ac_ext=c
   6275 ac_cpp='$CPP $CPPFLAGS'
   6276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6279 
   6280      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6281 /* end confdefs.h.  */
   6282 
   6283 int
   6284 main ()
   6285 {
   6286 
   6287   ;
   6288   return 0;
   6289 }
   6290 _ACEOF
   6291 if ac_fn_c_try_link "$LINENO"; then :
   6292   lt_cv_cc_needs_belf=yes
   6293 else
   6294   lt_cv_cc_needs_belf=no
   6295 fi
   6296 rm -f core conftest.err conftest.$ac_objext \
   6297     conftest$ac_exeext conftest.$ac_ext
   6298      ac_ext=c
   6299 ac_cpp='$CPP $CPPFLAGS'
   6300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6303 
   6304 fi
   6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6306 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6307   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6308     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6309     CFLAGS="$SAVE_CFLAGS"
   6310   fi
   6311   ;;
   6312 sparc*-*solaris*)
   6313   # Find out which ABI we are using.
   6314   echo 'int i;' > conftest.$ac_ext
   6315   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6316   (eval $ac_compile) 2>&5
   6317   ac_status=$?
   6318   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6319   test $ac_status = 0; }; then
   6320     case `/usr/bin/file conftest.o` in
   6321     *64-bit*)
   6322       case $lt_cv_prog_gnu_ld in
   6323       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6324       *)
   6325 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6326 	  LD="${LD-ld} -64"
   6327 	fi
   6328 	;;
   6329       esac
   6330       ;;
   6331     esac
   6332   fi
   6333   rm -rf conftest*
   6334   ;;
   6335 esac
   6336 
   6337 need_locks="$enable_libtool_lock"
   6338 
   6339 if test -n "$ac_tool_prefix"; then
   6340   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6341 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6343 $as_echo_n "checking for $ac_word... " >&6; }
   6344 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6345   $as_echo_n "(cached) " >&6
   6346 else
   6347   if test -n "$MANIFEST_TOOL"; then
   6348   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6349 else
   6350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6351 for as_dir in $PATH
   6352 do
   6353   IFS=$as_save_IFS
   6354   test -z "$as_dir" && as_dir=.
   6355     for ac_exec_ext in '' $ac_executable_extensions; do
   6356   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6357     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6358     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6359     break 2
   6360   fi
   6361 done
   6362   done
   6363 IFS=$as_save_IFS
   6364 
   6365 fi
   6366 fi
   6367 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6368 if test -n "$MANIFEST_TOOL"; then
   6369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6370 $as_echo "$MANIFEST_TOOL" >&6; }
   6371 else
   6372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6373 $as_echo "no" >&6; }
   6374 fi
   6375 
   6376 
   6377 fi
   6378 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6379   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6380   # Extract the first word of "mt", so it can be a program name with args.
   6381 set dummy mt; ac_word=$2
   6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6383 $as_echo_n "checking for $ac_word... " >&6; }
   6384 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6385   $as_echo_n "(cached) " >&6
   6386 else
   6387   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6388   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6389 else
   6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6391 for as_dir in $PATH
   6392 do
   6393   IFS=$as_save_IFS
   6394   test -z "$as_dir" && as_dir=.
   6395     for ac_exec_ext in '' $ac_executable_extensions; do
   6396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6397     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6399     break 2
   6400   fi
   6401 done
   6402   done
   6403 IFS=$as_save_IFS
   6404 
   6405 fi
   6406 fi
   6407 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6408 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6409   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6410 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6411 else
   6412   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6413 $as_echo "no" >&6; }
   6414 fi
   6415 
   6416   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6417     MANIFEST_TOOL=":"
   6418   else
   6419     case $cross_compiling:$ac_tool_warned in
   6420 yes:)
   6421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6422 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6423 ac_tool_warned=yes ;;
   6424 esac
   6425     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6426   fi
   6427 else
   6428   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6429 fi
   6430 
   6431 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6433 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6434 if ${lt_cv_path_mainfest_tool+:} false; then :
   6435   $as_echo_n "(cached) " >&6
   6436 else
   6437   lt_cv_path_mainfest_tool=no
   6438   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6439   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6440   cat conftest.err >&5
   6441   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6442     lt_cv_path_mainfest_tool=yes
   6443   fi
   6444   rm -f conftest*
   6445 fi
   6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6447 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6448 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6449   MANIFEST_TOOL=:
   6450 fi
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457   case $host_os in
   6458     rhapsody* | darwin*)
   6459     if test -n "$ac_tool_prefix"; then
   6460   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6461 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6463 $as_echo_n "checking for $ac_word... " >&6; }
   6464 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6465   $as_echo_n "(cached) " >&6
   6466 else
   6467   if test -n "$DSYMUTIL"; then
   6468   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6469 else
   6470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6471 for as_dir in $PATH
   6472 do
   6473   IFS=$as_save_IFS
   6474   test -z "$as_dir" && as_dir=.
   6475     for ac_exec_ext in '' $ac_executable_extensions; do
   6476   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6477     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6479     break 2
   6480   fi
   6481 done
   6482   done
   6483 IFS=$as_save_IFS
   6484 
   6485 fi
   6486 fi
   6487 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6488 if test -n "$DSYMUTIL"; then
   6489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6490 $as_echo "$DSYMUTIL" >&6; }
   6491 else
   6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6493 $as_echo "no" >&6; }
   6494 fi
   6495 
   6496 
   6497 fi
   6498 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6499   ac_ct_DSYMUTIL=$DSYMUTIL
   6500   # Extract the first word of "dsymutil", so it can be a program name with args.
   6501 set dummy dsymutil; ac_word=$2
   6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6503 $as_echo_n "checking for $ac_word... " >&6; }
   6504 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6505   $as_echo_n "(cached) " >&6
   6506 else
   6507   if test -n "$ac_ct_DSYMUTIL"; then
   6508   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6509 else
   6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6511 for as_dir in $PATH
   6512 do
   6513   IFS=$as_save_IFS
   6514   test -z "$as_dir" && as_dir=.
   6515     for ac_exec_ext in '' $ac_executable_extensions; do
   6516   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6517     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6519     break 2
   6520   fi
   6521 done
   6522   done
   6523 IFS=$as_save_IFS
   6524 
   6525 fi
   6526 fi
   6527 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6528 if test -n "$ac_ct_DSYMUTIL"; then
   6529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6530 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6531 else
   6532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6533 $as_echo "no" >&6; }
   6534 fi
   6535 
   6536   if test "x$ac_ct_DSYMUTIL" = x; then
   6537     DSYMUTIL=":"
   6538   else
   6539     case $cross_compiling:$ac_tool_warned in
   6540 yes:)
   6541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6543 ac_tool_warned=yes ;;
   6544 esac
   6545     DSYMUTIL=$ac_ct_DSYMUTIL
   6546   fi
   6547 else
   6548   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6549 fi
   6550 
   6551     if test -n "$ac_tool_prefix"; then
   6552   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6553 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6555 $as_echo_n "checking for $ac_word... " >&6; }
   6556 if ${ac_cv_prog_NMEDIT+:} false; then :
   6557   $as_echo_n "(cached) " >&6
   6558 else
   6559   if test -n "$NMEDIT"; then
   6560   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6561 else
   6562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6563 for as_dir in $PATH
   6564 do
   6565   IFS=$as_save_IFS
   6566   test -z "$as_dir" && as_dir=.
   6567     for ac_exec_ext in '' $ac_executable_extensions; do
   6568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6569     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6570     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6571     break 2
   6572   fi
   6573 done
   6574   done
   6575 IFS=$as_save_IFS
   6576 
   6577 fi
   6578 fi
   6579 NMEDIT=$ac_cv_prog_NMEDIT
   6580 if test -n "$NMEDIT"; then
   6581   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6582 $as_echo "$NMEDIT" >&6; }
   6583 else
   6584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6585 $as_echo "no" >&6; }
   6586 fi
   6587 
   6588 
   6589 fi
   6590 if test -z "$ac_cv_prog_NMEDIT"; then
   6591   ac_ct_NMEDIT=$NMEDIT
   6592   # Extract the first word of "nmedit", so it can be a program name with args.
   6593 set dummy nmedit; ac_word=$2
   6594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6595 $as_echo_n "checking for $ac_word... " >&6; }
   6596 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6597   $as_echo_n "(cached) " >&6
   6598 else
   6599   if test -n "$ac_ct_NMEDIT"; then
   6600   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6601 else
   6602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6603 for as_dir in $PATH
   6604 do
   6605   IFS=$as_save_IFS
   6606   test -z "$as_dir" && as_dir=.
   6607     for ac_exec_ext in '' $ac_executable_extensions; do
   6608   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6609     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6611     break 2
   6612   fi
   6613 done
   6614   done
   6615 IFS=$as_save_IFS
   6616 
   6617 fi
   6618 fi
   6619 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6620 if test -n "$ac_ct_NMEDIT"; then
   6621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6622 $as_echo "$ac_ct_NMEDIT" >&6; }
   6623 else
   6624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6625 $as_echo "no" >&6; }
   6626 fi
   6627 
   6628   if test "x$ac_ct_NMEDIT" = x; then
   6629     NMEDIT=":"
   6630   else
   6631     case $cross_compiling:$ac_tool_warned in
   6632 yes:)
   6633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6634 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6635 ac_tool_warned=yes ;;
   6636 esac
   6637     NMEDIT=$ac_ct_NMEDIT
   6638   fi
   6639 else
   6640   NMEDIT="$ac_cv_prog_NMEDIT"
   6641 fi
   6642 
   6643     if test -n "$ac_tool_prefix"; then
   6644   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6645 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6647 $as_echo_n "checking for $ac_word... " >&6; }
   6648 if ${ac_cv_prog_LIPO+:} false; then :
   6649   $as_echo_n "(cached) " >&6
   6650 else
   6651   if test -n "$LIPO"; then
   6652   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6653 else
   6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6655 for as_dir in $PATH
   6656 do
   6657   IFS=$as_save_IFS
   6658   test -z "$as_dir" && as_dir=.
   6659     for ac_exec_ext in '' $ac_executable_extensions; do
   6660   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6661     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6662     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6663     break 2
   6664   fi
   6665 done
   6666   done
   6667 IFS=$as_save_IFS
   6668 
   6669 fi
   6670 fi
   6671 LIPO=$ac_cv_prog_LIPO
   6672 if test -n "$LIPO"; then
   6673   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6674 $as_echo "$LIPO" >&6; }
   6675 else
   6676   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6677 $as_echo "no" >&6; }
   6678 fi
   6679 
   6680 
   6681 fi
   6682 if test -z "$ac_cv_prog_LIPO"; then
   6683   ac_ct_LIPO=$LIPO
   6684   # Extract the first word of "lipo", so it can be a program name with args.
   6685 set dummy lipo; ac_word=$2
   6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6687 $as_echo_n "checking for $ac_word... " >&6; }
   6688 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6689   $as_echo_n "(cached) " >&6
   6690 else
   6691   if test -n "$ac_ct_LIPO"; then
   6692   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6693 else
   6694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6695 for as_dir in $PATH
   6696 do
   6697   IFS=$as_save_IFS
   6698   test -z "$as_dir" && as_dir=.
   6699     for ac_exec_ext in '' $ac_executable_extensions; do
   6700   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6701     ac_cv_prog_ac_ct_LIPO="lipo"
   6702     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6703     break 2
   6704   fi
   6705 done
   6706   done
   6707 IFS=$as_save_IFS
   6708 
   6709 fi
   6710 fi
   6711 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6712 if test -n "$ac_ct_LIPO"; then
   6713   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6714 $as_echo "$ac_ct_LIPO" >&6; }
   6715 else
   6716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6717 $as_echo "no" >&6; }
   6718 fi
   6719 
   6720   if test "x$ac_ct_LIPO" = x; then
   6721     LIPO=":"
   6722   else
   6723     case $cross_compiling:$ac_tool_warned in
   6724 yes:)
   6725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6726 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6727 ac_tool_warned=yes ;;
   6728 esac
   6729     LIPO=$ac_ct_LIPO
   6730   fi
   6731 else
   6732   LIPO="$ac_cv_prog_LIPO"
   6733 fi
   6734 
   6735     if test -n "$ac_tool_prefix"; then
   6736   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6737 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6739 $as_echo_n "checking for $ac_word... " >&6; }
   6740 if ${ac_cv_prog_OTOOL+:} false; then :
   6741   $as_echo_n "(cached) " >&6
   6742 else
   6743   if test -n "$OTOOL"; then
   6744   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6745 else
   6746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6747 for as_dir in $PATH
   6748 do
   6749   IFS=$as_save_IFS
   6750   test -z "$as_dir" && as_dir=.
   6751     for ac_exec_ext in '' $ac_executable_extensions; do
   6752   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6753     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6754     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6755     break 2
   6756   fi
   6757 done
   6758   done
   6759 IFS=$as_save_IFS
   6760 
   6761 fi
   6762 fi
   6763 OTOOL=$ac_cv_prog_OTOOL
   6764 if test -n "$OTOOL"; then
   6765   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6766 $as_echo "$OTOOL" >&6; }
   6767 else
   6768   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6769 $as_echo "no" >&6; }
   6770 fi
   6771 
   6772 
   6773 fi
   6774 if test -z "$ac_cv_prog_OTOOL"; then
   6775   ac_ct_OTOOL=$OTOOL
   6776   # Extract the first word of "otool", so it can be a program name with args.
   6777 set dummy otool; ac_word=$2
   6778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6779 $as_echo_n "checking for $ac_word... " >&6; }
   6780 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6781   $as_echo_n "(cached) " >&6
   6782 else
   6783   if test -n "$ac_ct_OTOOL"; then
   6784   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6785 else
   6786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6787 for as_dir in $PATH
   6788 do
   6789   IFS=$as_save_IFS
   6790   test -z "$as_dir" && as_dir=.
   6791     for ac_exec_ext in '' $ac_executable_extensions; do
   6792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6793     ac_cv_prog_ac_ct_OTOOL="otool"
   6794     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6795     break 2
   6796   fi
   6797 done
   6798   done
   6799 IFS=$as_save_IFS
   6800 
   6801 fi
   6802 fi
   6803 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6804 if test -n "$ac_ct_OTOOL"; then
   6805   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6806 $as_echo "$ac_ct_OTOOL" >&6; }
   6807 else
   6808   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6809 $as_echo "no" >&6; }
   6810 fi
   6811 
   6812   if test "x$ac_ct_OTOOL" = x; then
   6813     OTOOL=":"
   6814   else
   6815     case $cross_compiling:$ac_tool_warned in
   6816 yes:)
   6817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6818 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6819 ac_tool_warned=yes ;;
   6820 esac
   6821     OTOOL=$ac_ct_OTOOL
   6822   fi
   6823 else
   6824   OTOOL="$ac_cv_prog_OTOOL"
   6825 fi
   6826 
   6827     if test -n "$ac_tool_prefix"; then
   6828   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6829 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6831 $as_echo_n "checking for $ac_word... " >&6; }
   6832 if ${ac_cv_prog_OTOOL64+:} false; then :
   6833   $as_echo_n "(cached) " >&6
   6834 else
   6835   if test -n "$OTOOL64"; then
   6836   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6837 else
   6838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6839 for as_dir in $PATH
   6840 do
   6841   IFS=$as_save_IFS
   6842   test -z "$as_dir" && as_dir=.
   6843     for ac_exec_ext in '' $ac_executable_extensions; do
   6844   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6845     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6846     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6847     break 2
   6848   fi
   6849 done
   6850   done
   6851 IFS=$as_save_IFS
   6852 
   6853 fi
   6854 fi
   6855 OTOOL64=$ac_cv_prog_OTOOL64
   6856 if test -n "$OTOOL64"; then
   6857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6858 $as_echo "$OTOOL64" >&6; }
   6859 else
   6860   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6861 $as_echo "no" >&6; }
   6862 fi
   6863 
   6864 
   6865 fi
   6866 if test -z "$ac_cv_prog_OTOOL64"; then
   6867   ac_ct_OTOOL64=$OTOOL64
   6868   # Extract the first word of "otool64", so it can be a program name with args.
   6869 set dummy otool64; ac_word=$2
   6870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6871 $as_echo_n "checking for $ac_word... " >&6; }
   6872 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6873   $as_echo_n "(cached) " >&6
   6874 else
   6875   if test -n "$ac_ct_OTOOL64"; then
   6876   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6877 else
   6878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6879 for as_dir in $PATH
   6880 do
   6881   IFS=$as_save_IFS
   6882   test -z "$as_dir" && as_dir=.
   6883     for ac_exec_ext in '' $ac_executable_extensions; do
   6884   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   6885     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6886     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6887     break 2
   6888   fi
   6889 done
   6890   done
   6891 IFS=$as_save_IFS
   6892 
   6893 fi
   6894 fi
   6895 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6896 if test -n "$ac_ct_OTOOL64"; then
   6897   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6898 $as_echo "$ac_ct_OTOOL64" >&6; }
   6899 else
   6900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6901 $as_echo "no" >&6; }
   6902 fi
   6903 
   6904   if test "x$ac_ct_OTOOL64" = x; then
   6905     OTOOL64=":"
   6906   else
   6907     case $cross_compiling:$ac_tool_warned in
   6908 yes:)
   6909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6910 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6911 ac_tool_warned=yes ;;
   6912 esac
   6913     OTOOL64=$ac_ct_OTOOL64
   6914   fi
   6915 else
   6916   OTOOL64="$ac_cv_prog_OTOOL64"
   6917 fi
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6946 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6947 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6948   $as_echo_n "(cached) " >&6
   6949 else
   6950   lt_cv_apple_cc_single_mod=no
   6951       if test -z "${LT_MULTI_MODULE}"; then
   6952 	# By default we will add the -single_module flag. You can override
   6953 	# by either setting the environment variable LT_MULTI_MODULE
   6954 	# non-empty at configure time, or by adding -multi_module to the
   6955 	# link flags.
   6956 	rm -rf libconftest.dylib*
   6957 	echo "int foo(void){return 1;}" > conftest.c
   6958 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6959 -dynamiclib -Wl,-single_module conftest.c" >&5
   6960 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6961 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6962         _lt_result=$?
   6963 	if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
   6964 	  lt_cv_apple_cc_single_mod=yes
   6965 	else
   6966 	  cat conftest.err >&5
   6967 	fi
   6968 	rm -rf libconftest.dylib*
   6969 	rm -f conftest.*
   6970       fi
   6971 fi
   6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6973 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6974     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6975 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6976 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6977   $as_echo_n "(cached) " >&6
   6978 else
   6979   lt_cv_ld_exported_symbols_list=no
   6980       save_LDFLAGS=$LDFLAGS
   6981       echo "_main" > conftest.sym
   6982       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6983       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6984 /* end confdefs.h.  */
   6985 
   6986 int
   6987 main ()
   6988 {
   6989 
   6990   ;
   6991   return 0;
   6992 }
   6993 _ACEOF
   6994 if ac_fn_c_try_link "$LINENO"; then :
   6995   lt_cv_ld_exported_symbols_list=yes
   6996 else
   6997   lt_cv_ld_exported_symbols_list=no
   6998 fi
   6999 rm -f core conftest.err conftest.$ac_objext \
   7000     conftest$ac_exeext conftest.$ac_ext
   7001 	LDFLAGS="$save_LDFLAGS"
   7002 
   7003 fi
   7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7005 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7006     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7007 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7008 if ${lt_cv_ld_force_load+:} false; then :
   7009   $as_echo_n "(cached) " >&6
   7010 else
   7011   lt_cv_ld_force_load=no
   7012       cat > conftest.c << _LT_EOF
   7013 int forced_loaded() { return 2;}
   7014 _LT_EOF
   7015       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7016       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7017       echo "$AR cru libconftest.a conftest.o" >&5
   7018       $AR cru libconftest.a conftest.o 2>&5
   7019       echo "$RANLIB libconftest.a" >&5
   7020       $RANLIB libconftest.a 2>&5
   7021       cat > conftest.c << _LT_EOF
   7022 int main() { return 0;}
   7023 _LT_EOF
   7024       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7025       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7026       _lt_result=$?
   7027       if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
   7028 	lt_cv_ld_force_load=yes
   7029       else
   7030 	cat conftest.err >&5
   7031       fi
   7032         rm -f conftest.err libconftest.a conftest conftest.c
   7033         rm -rf conftest.dSYM
   7034 
   7035 fi
   7036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7037 $as_echo "$lt_cv_ld_force_load" >&6; }
   7038     case $host_os in
   7039     rhapsody* | darwin1.[012])
   7040       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7041     darwin1.*)
   7042       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7043     darwin*) # darwin 5.x on
   7044       # if running on 10.5 or later, the deployment target defaults
   7045       # to the OS version, if on x86, and 10.4, the deployment
   7046       # target defaults to 10.4. Don't you love it?
   7047       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7048 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7049 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7050 	10.[012]*)
   7051 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7052 	10.*)
   7053 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7054       esac
   7055     ;;
   7056   esac
   7057     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7058       _lt_dar_single_mod='$single_module'
   7059     fi
   7060     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7061       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7062     else
   7063       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7064     fi
   7065     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7066       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7067     else
   7068       _lt_dsymutil=
   7069     fi
   7070     ;;
   7071   esac
   7072 
   7073 ac_ext=c
   7074 ac_cpp='$CPP $CPPFLAGS'
   7075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7079 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7080 # On Suns, sometimes $CPP names a directory.
   7081 if test -n "$CPP" && test -d "$CPP"; then
   7082   CPP=
   7083 fi
   7084 if test -z "$CPP"; then
   7085   if ${ac_cv_prog_CPP+:} false; then :
   7086   $as_echo_n "(cached) " >&6
   7087 else
   7088       # Double quotes because CPP needs to be expanded
   7089     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7090     do
   7091       ac_preproc_ok=false
   7092 for ac_c_preproc_warn_flag in '' yes
   7093 do
   7094   # Use a header file that comes with gcc, so configuring glibc
   7095   # with a fresh cross-compiler works.
   7096   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7097   # <limits.h> exists even on freestanding compilers.
   7098   # On the NeXT, cc -E runs the code through the compiler's parser,
   7099   # not just through cpp. "Syntax error" is here to catch this case.
   7100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7101 /* end confdefs.h.  */
   7102 #ifdef __STDC__
   7103 # include <limits.h>
   7104 #else
   7105 # include <assert.h>
   7106 #endif
   7107 		     Syntax error
   7108 _ACEOF
   7109 if ac_fn_c_try_cpp "$LINENO"; then :
   7110 
   7111 else
   7112   # Broken: fails on valid input.
   7113 continue
   7114 fi
   7115 rm -f conftest.err conftest.i conftest.$ac_ext
   7116 
   7117   # OK, works on sane cases.  Now check whether nonexistent headers
   7118   # can be detected and how.
   7119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7120 /* end confdefs.h.  */
   7121 #include <ac_nonexistent.h>
   7122 _ACEOF
   7123 if ac_fn_c_try_cpp "$LINENO"; then :
   7124   # Broken: success on invalid input.
   7125 continue
   7126 else
   7127   # Passes both tests.
   7128 ac_preproc_ok=:
   7129 break
   7130 fi
   7131 rm -f conftest.err conftest.i conftest.$ac_ext
   7132 
   7133 done
   7134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7135 rm -f conftest.i conftest.err conftest.$ac_ext
   7136 if $ac_preproc_ok; then :
   7137   break
   7138 fi
   7139 
   7140     done
   7141     ac_cv_prog_CPP=$CPP
   7142 
   7143 fi
   7144   CPP=$ac_cv_prog_CPP
   7145 else
   7146   ac_cv_prog_CPP=$CPP
   7147 fi
   7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7149 $as_echo "$CPP" >&6; }
   7150 ac_preproc_ok=false
   7151 for ac_c_preproc_warn_flag in '' yes
   7152 do
   7153   # Use a header file that comes with gcc, so configuring glibc
   7154   # with a fresh cross-compiler works.
   7155   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7156   # <limits.h> exists even on freestanding compilers.
   7157   # On the NeXT, cc -E runs the code through the compiler's parser,
   7158   # not just through cpp. "Syntax error" is here to catch this case.
   7159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7160 /* end confdefs.h.  */
   7161 #ifdef __STDC__
   7162 # include <limits.h>
   7163 #else
   7164 # include <assert.h>
   7165 #endif
   7166 		     Syntax error
   7167 _ACEOF
   7168 if ac_fn_c_try_cpp "$LINENO"; then :
   7169 
   7170 else
   7171   # Broken: fails on valid input.
   7172 continue
   7173 fi
   7174 rm -f conftest.err conftest.i conftest.$ac_ext
   7175 
   7176   # OK, works on sane cases.  Now check whether nonexistent headers
   7177   # can be detected and how.
   7178   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7179 /* end confdefs.h.  */
   7180 #include <ac_nonexistent.h>
   7181 _ACEOF
   7182 if ac_fn_c_try_cpp "$LINENO"; then :
   7183   # Broken: success on invalid input.
   7184 continue
   7185 else
   7186   # Passes both tests.
   7187 ac_preproc_ok=:
   7188 break
   7189 fi
   7190 rm -f conftest.err conftest.i conftest.$ac_ext
   7191 
   7192 done
   7193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7194 rm -f conftest.i conftest.err conftest.$ac_ext
   7195 if $ac_preproc_ok; then :
   7196 
   7197 else
   7198   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7200 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7201 See \`config.log' for more details" "$LINENO" 5; }
   7202 fi
   7203 
   7204 ac_ext=c
   7205 ac_cpp='$CPP $CPPFLAGS'
   7206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7209 
   7210 
   7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7212 $as_echo_n "checking for ANSI C header files... " >&6; }
   7213 if ${ac_cv_header_stdc+:} false; then :
   7214   $as_echo_n "(cached) " >&6
   7215 else
   7216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7217 /* end confdefs.h.  */
   7218 #include <stdlib.h>
   7219 #include <stdarg.h>
   7220 #include <string.h>
   7221 #include <float.h>
   7222 
   7223 int
   7224 main ()
   7225 {
   7226 
   7227   ;
   7228   return 0;
   7229 }
   7230 _ACEOF
   7231 if ac_fn_c_try_compile "$LINENO"; then :
   7232   ac_cv_header_stdc=yes
   7233 else
   7234   ac_cv_header_stdc=no
   7235 fi
   7236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7237 
   7238 if test $ac_cv_header_stdc = yes; then
   7239   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7241 /* end confdefs.h.  */
   7242 #include <string.h>
   7243 
   7244 _ACEOF
   7245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7246   $EGREP "memchr" >/dev/null 2>&1; then :
   7247 
   7248 else
   7249   ac_cv_header_stdc=no
   7250 fi
   7251 rm -f conftest*
   7252 
   7253 fi
   7254 
   7255 if test $ac_cv_header_stdc = yes; then
   7256   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7258 /* end confdefs.h.  */
   7259 #include <stdlib.h>
   7260 
   7261 _ACEOF
   7262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7263   $EGREP "free" >/dev/null 2>&1; then :
   7264 
   7265 else
   7266   ac_cv_header_stdc=no
   7267 fi
   7268 rm -f conftest*
   7269 
   7270 fi
   7271 
   7272 if test $ac_cv_header_stdc = yes; then
   7273   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7274   if test "$cross_compiling" = yes; then :
   7275   :
   7276 else
   7277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7278 /* end confdefs.h.  */
   7279 #include <ctype.h>
   7280 #include <stdlib.h>
   7281 #if ((' ' & 0x0FF) == 0x020)
   7282 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7283 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7284 #else
   7285 # define ISLOWER(c) \
   7286 		   (('a' <= (c) && (c) <= 'i') \
   7287 		     || ('j' <= (c) && (c) <= 'r') \
   7288 		     || ('s' <= (c) && (c) <= 'z'))
   7289 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7290 #endif
   7291 
   7292 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7293 int
   7294 main ()
   7295 {
   7296   int i;
   7297   for (i = 0; i < 256; i++)
   7298     if (XOR (islower (i), ISLOWER (i))
   7299 	|| toupper (i) != TOUPPER (i))
   7300       return 2;
   7301   return 0;
   7302 }
   7303 _ACEOF
   7304 if ac_fn_c_try_run "$LINENO"; then :
   7305 
   7306 else
   7307   ac_cv_header_stdc=no
   7308 fi
   7309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7310   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7311 fi
   7312 
   7313 fi
   7314 fi
   7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7316 $as_echo "$ac_cv_header_stdc" >&6; }
   7317 if test $ac_cv_header_stdc = yes; then
   7318 
   7319 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7320 
   7321 fi
   7322 
   7323 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7324 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7325 		  inttypes.h stdint.h unistd.h
   7326 do :
   7327   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7328 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7329 "
   7330 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7331   cat >>confdefs.h <<_ACEOF
   7332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7333 _ACEOF
   7334 
   7335 fi
   7336 
   7337 done
   7338 
   7339 
   7340 for ac_header in dlfcn.h
   7341 do :
   7342   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7343 "
   7344 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7345   cat >>confdefs.h <<_ACEOF
   7346 #define HAVE_DLFCN_H 1
   7347 _ACEOF
   7348 
   7349 fi
   7350 
   7351 done
   7352 
   7353 
   7354 
   7355 
   7356 
   7357 # Set options
   7358 
   7359 
   7360 
   7361         enable_dlopen=no
   7362 
   7363 
   7364   enable_win32_dll=no
   7365 
   7366 
   7367             # Check whether --enable-shared was given.
   7368 if test "${enable_shared+set}" = set; then :
   7369   enableval=$enable_shared; p=${PACKAGE-default}
   7370     case $enableval in
   7371     yes) enable_shared=yes ;;
   7372     no) enable_shared=no ;;
   7373     *)
   7374       enable_shared=no
   7375       # Look at the argument we got.  We use all the common list separators.
   7376       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7377       for pkg in $enableval; do
   7378 	IFS="$lt_save_ifs"
   7379 	if test "X$pkg" = "X$p"; then
   7380 	  enable_shared=yes
   7381 	fi
   7382       done
   7383       IFS="$lt_save_ifs"
   7384       ;;
   7385     esac
   7386 else
   7387   enable_shared=yes
   7388 fi
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 
   7398   # Check whether --enable-static was given.
   7399 if test "${enable_static+set}" = set; then :
   7400   enableval=$enable_static; p=${PACKAGE-default}
   7401     case $enableval in
   7402     yes) enable_static=yes ;;
   7403     no) enable_static=no ;;
   7404     *)
   7405      enable_static=no
   7406       # Look at the argument we got.  We use all the common list separators.
   7407       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7408       for pkg in $enableval; do
   7409 	IFS="$lt_save_ifs"
   7410 	if test "X$pkg" = "X$p"; then
   7411 	  enable_static=yes
   7412 	fi
   7413       done
   7414       IFS="$lt_save_ifs"
   7415       ;;
   7416     esac
   7417 else
   7418   enable_static=yes
   7419 fi
   7420 
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 # Check whether --with-pic was given.
   7431 if test "${with_pic+set}" = set; then :
   7432   withval=$with_pic; pic_mode="$withval"
   7433 else
   7434   pic_mode=default
   7435 fi
   7436 
   7437 
   7438 test -z "$pic_mode" && pic_mode=default
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 
   7446   # Check whether --enable-fast-install was given.
   7447 if test "${enable_fast_install+set}" = set; then :
   7448   enableval=$enable_fast_install; p=${PACKAGE-default}
   7449     case $enableval in
   7450     yes) enable_fast_install=yes ;;
   7451     no) enable_fast_install=no ;;
   7452     *)
   7453       enable_fast_install=no
   7454       # Look at the argument we got.  We use all the common list separators.
   7455       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7456       for pkg in $enableval; do
   7457 	IFS="$lt_save_ifs"
   7458 	if test "X$pkg" = "X$p"; then
   7459 	  enable_fast_install=yes
   7460 	fi
   7461       done
   7462       IFS="$lt_save_ifs"
   7463       ;;
   7464     esac
   7465 else
   7466   enable_fast_install=yes
   7467 fi
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 # This can be used to rebuild libtool when needed
   7480 LIBTOOL_DEPS="$ltmain"
   7481 
   7482 # Always use our own libtool.
   7483 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 
   7496 
   7497 
   7498 
   7499 
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 test -z "$LN_S" && LN_S="ln -s"
   7511 
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 
   7523 
   7524 
   7525 if test -n "${ZSH_VERSION+set}" ; then
   7526    setopt NO_GLOB_SUBST
   7527 fi
   7528 
   7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7530 $as_echo_n "checking for objdir... " >&6; }
   7531 if ${lt_cv_objdir+:} false; then :
   7532   $as_echo_n "(cached) " >&6
   7533 else
   7534   rm -f .libs 2>/dev/null
   7535 mkdir .libs 2>/dev/null
   7536 if test -d .libs; then
   7537   lt_cv_objdir=.libs
   7538 else
   7539   # MS-DOS does not allow filenames that begin with a dot.
   7540   lt_cv_objdir=_libs
   7541 fi
   7542 rmdir .libs 2>/dev/null
   7543 fi
   7544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7545 $as_echo "$lt_cv_objdir" >&6; }
   7546 objdir=$lt_cv_objdir
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 cat >>confdefs.h <<_ACEOF
   7553 #define LT_OBJDIR "$lt_cv_objdir/"
   7554 _ACEOF
   7555 
   7556 
   7557 
   7558 
   7559 case $host_os in
   7560 aix3*)
   7561   # AIX sometimes has problems with the GCC collect2 program.  For some
   7562   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7563   # vanish in a puff of smoke.
   7564   if test "X${COLLECT_NAMES+set}" != Xset; then
   7565     COLLECT_NAMES=
   7566     export COLLECT_NAMES
   7567   fi
   7568   ;;
   7569 esac
   7570 
   7571 # Global variables:
   7572 ofile=libtool
   7573 can_build_shared=yes
   7574 
   7575 # All known linkers require a `.a' archive for static linking (except MSVC,
   7576 # which needs '.lib').
   7577 libext=a
   7578 
   7579 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7580 
   7581 old_CC="$CC"
   7582 old_CFLAGS="$CFLAGS"
   7583 
   7584 # Set sane defaults for various variables
   7585 test -z "$CC" && CC=cc
   7586 test -z "$LTCC" && LTCC=$CC
   7587 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7588 test -z "$LD" && LD=ld
   7589 test -z "$ac_objext" && ac_objext=o
   7590 
   7591 for cc_temp in $compiler""; do
   7592   case $cc_temp in
   7593     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7594     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7595     \-*) ;;
   7596     *) break;;
   7597   esac
   7598 done
   7599 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7600 
   7601 
   7602 # Only perform the check for file, if the check method requires it
   7603 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7604 case $deplibs_check_method in
   7605 file_magic*)
   7606   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7607     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7608 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7609 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7610   $as_echo_n "(cached) " >&6
   7611 else
   7612   case $MAGIC_CMD in
   7613 [\\/*] |  ?:[\\/]*)
   7614   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7615   ;;
   7616 *)
   7617   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7618   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7619   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7620   for ac_dir in $ac_dummy; do
   7621     IFS="$lt_save_ifs"
   7622     test -z "$ac_dir" && ac_dir=.
   7623     if test -f $ac_dir/${ac_tool_prefix}file; then
   7624       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7625       if test -n "$file_magic_test_file"; then
   7626 	case $deplibs_check_method in
   7627 	"file_magic "*)
   7628 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7629 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7630 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7631 	    $EGREP "$file_magic_regex" > /dev/null; then
   7632 	    :
   7633 	  else
   7634 	    cat <<_LT_EOF 1>&2
   7635 
   7636 *** Warning: the command libtool uses to detect shared libraries,
   7637 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7638 *** The result is that libtool may fail to recognize shared libraries
   7639 *** as such.  This will affect the creation of libtool libraries that
   7640 *** depend on shared libraries, but programs linked with such libtool
   7641 *** libraries will work regardless of this problem.  Nevertheless, you
   7642 *** may want to report the problem to your system manager and/or to
   7643 *** bug-libtool@gnu.org
   7644 
   7645 _LT_EOF
   7646 	  fi ;;
   7647 	esac
   7648       fi
   7649       break
   7650     fi
   7651   done
   7652   IFS="$lt_save_ifs"
   7653   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7654   ;;
   7655 esac
   7656 fi
   7657 
   7658 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7659 if test -n "$MAGIC_CMD"; then
   7660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7661 $as_echo "$MAGIC_CMD" >&6; }
   7662 else
   7663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7664 $as_echo "no" >&6; }
   7665 fi
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7672   if test -n "$ac_tool_prefix"; then
   7673     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7674 $as_echo_n "checking for file... " >&6; }
   7675 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7676   $as_echo_n "(cached) " >&6
   7677 else
   7678   case $MAGIC_CMD in
   7679 [\\/*] |  ?:[\\/]*)
   7680   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7681   ;;
   7682 *)
   7683   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7684   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7685   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7686   for ac_dir in $ac_dummy; do
   7687     IFS="$lt_save_ifs"
   7688     test -z "$ac_dir" && ac_dir=.
   7689     if test -f $ac_dir/file; then
   7690       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7691       if test -n "$file_magic_test_file"; then
   7692 	case $deplibs_check_method in
   7693 	"file_magic "*)
   7694 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7695 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7696 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7697 	    $EGREP "$file_magic_regex" > /dev/null; then
   7698 	    :
   7699 	  else
   7700 	    cat <<_LT_EOF 1>&2
   7701 
   7702 *** Warning: the command libtool uses to detect shared libraries,
   7703 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7704 *** The result is that libtool may fail to recognize shared libraries
   7705 *** as such.  This will affect the creation of libtool libraries that
   7706 *** depend on shared libraries, but programs linked with such libtool
   7707 *** libraries will work regardless of this problem.  Nevertheless, you
   7708 *** may want to report the problem to your system manager and/or to
   7709 *** bug-libtool@gnu.org
   7710 
   7711 _LT_EOF
   7712 	  fi ;;
   7713 	esac
   7714       fi
   7715       break
   7716     fi
   7717   done
   7718   IFS="$lt_save_ifs"
   7719   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7720   ;;
   7721 esac
   7722 fi
   7723 
   7724 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7725 if test -n "$MAGIC_CMD"; then
   7726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7727 $as_echo "$MAGIC_CMD" >&6; }
   7728 else
   7729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7730 $as_echo "no" >&6; }
   7731 fi
   7732 
   7733 
   7734   else
   7735     MAGIC_CMD=:
   7736   fi
   7737 fi
   7738 
   7739   fi
   7740   ;;
   7741 esac
   7742 
   7743 # Use C for the default configuration in the libtool script
   7744 
   7745 lt_save_CC="$CC"
   7746 ac_ext=c
   7747 ac_cpp='$CPP $CPPFLAGS'
   7748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7751 
   7752 
   7753 # Source file extension for C test sources.
   7754 ac_ext=c
   7755 
   7756 # Object file extension for compiled C test sources.
   7757 objext=o
   7758 objext=$objext
   7759 
   7760 # Code to be used in simple compile tests
   7761 lt_simple_compile_test_code="int some_variable = 0;"
   7762 
   7763 # Code to be used in simple link tests
   7764 lt_simple_link_test_code='int main(){return(0);}'
   7765 
   7766 
   7767 
   7768 
   7769 
   7770 
   7771 
   7772 # If no C compiler was specified, use CC.
   7773 LTCC=${LTCC-"$CC"}
   7774 
   7775 # If no C compiler flags were specified, use CFLAGS.
   7776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7777 
   7778 # Allow CC to be a program name with arguments.
   7779 compiler=$CC
   7780 
   7781 # Save the default compiler, since it gets overwritten when the other
   7782 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7783 compiler_DEFAULT=$CC
   7784 
   7785 # save warnings/boilerplate of simple test code
   7786 ac_outfile=conftest.$ac_objext
   7787 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7788 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7789 _lt_compiler_boilerplate=`cat conftest.err`
   7790 $RM conftest*
   7791 
   7792 ac_outfile=conftest.$ac_objext
   7793 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7794 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7795 _lt_linker_boilerplate=`cat conftest.err`
   7796 $RM -r conftest*
   7797 
   7798 
   7799 if test -n "$compiler"; then
   7800 
   7801 lt_prog_compiler_no_builtin_flag=
   7802 
   7803 if test "$GCC" = yes; then
   7804   case $cc_basename in
   7805   nvcc*)
   7806     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7807   *)
   7808     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7809   esac
   7810 
   7811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7812 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7813 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7814   $as_echo_n "(cached) " >&6
   7815 else
   7816   lt_cv_prog_compiler_rtti_exceptions=no
   7817    ac_outfile=conftest.$ac_objext
   7818    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7819    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7820    # Insert the option either (1) after the last *FLAGS variable, or
   7821    # (2) before a word containing "conftest.", or (3) at the end.
   7822    # Note that $ac_compile itself does not contain backslashes and begins
   7823    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7824    # The option is referenced via a variable to avoid confusing sed.
   7825    lt_compile=`echo "$ac_compile" | $SED \
   7826    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7827    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7828    -e 's:$: $lt_compiler_flag:'`
   7829    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7830    (eval "$lt_compile" 2>conftest.err)
   7831    ac_status=$?
   7832    cat conftest.err >&5
   7833    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7834    if (exit $ac_status) && test -s "$ac_outfile"; then
   7835      # The compiler can only warn and ignore the option if not recognized
   7836      # So say no if there are warnings other than the usual output.
   7837      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7838      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7839      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7840        lt_cv_prog_compiler_rtti_exceptions=yes
   7841      fi
   7842    fi
   7843    $RM conftest*
   7844 
   7845 fi
   7846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7847 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7848 
   7849 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7850     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7851 else
   7852     :
   7853 fi
   7854 
   7855 fi
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862   lt_prog_compiler_wl=
   7863 lt_prog_compiler_pic=
   7864 lt_prog_compiler_static=
   7865 
   7866 
   7867   if test "$GCC" = yes; then
   7868     lt_prog_compiler_wl='-Wl,'
   7869     lt_prog_compiler_static='-static'
   7870 
   7871     case $host_os in
   7872       aix*)
   7873       # All AIX code is PIC.
   7874       if test "$host_cpu" = ia64; then
   7875 	# AIX 5 now supports IA64 processor
   7876 	lt_prog_compiler_static='-Bstatic'
   7877       fi
   7878       ;;
   7879 
   7880     amigaos*)
   7881       case $host_cpu in
   7882       powerpc)
   7883             # see comment about AmigaOS4 .so support
   7884             lt_prog_compiler_pic='-fPIC'
   7885         ;;
   7886       m68k)
   7887             # FIXME: we need at least 68020 code to build shared libraries, but
   7888             # adding the `-m68020' flag to GCC prevents building anything better,
   7889             # like `-m68040'.
   7890             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7891         ;;
   7892       esac
   7893       ;;
   7894 
   7895     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7896       # PIC is the default for these OSes.
   7897       ;;
   7898 
   7899     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7900       # This hack is so that the source file can tell whether it is being
   7901       # built for inclusion in a dll (and should export symbols for example).
   7902       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7903       # (--disable-auto-import) libraries
   7904       lt_prog_compiler_pic='-DDLL_EXPORT'
   7905       ;;
   7906 
   7907     darwin* | rhapsody*)
   7908       # PIC is the default on this platform
   7909       # Common symbols not allowed in MH_DYLIB files
   7910       lt_prog_compiler_pic='-fno-common'
   7911       ;;
   7912 
   7913     haiku*)
   7914       # PIC is the default for Haiku.
   7915       # The "-static" flag exists, but is broken.
   7916       lt_prog_compiler_static=
   7917       ;;
   7918 
   7919     hpux*)
   7920       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7921       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7922       # sets the default TLS model and affects inlining.
   7923       case $host_cpu in
   7924       hppa*64*)
   7925 	# +Z the default
   7926 	;;
   7927       *)
   7928 	lt_prog_compiler_pic='-fPIC'
   7929 	;;
   7930       esac
   7931       ;;
   7932 
   7933     interix[3-9]*)
   7934       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7935       # Instead, we relocate shared libraries at runtime.
   7936       ;;
   7937 
   7938     msdosdjgpp*)
   7939       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7940       # on systems that don't support them.
   7941       lt_prog_compiler_can_build_shared=no
   7942       enable_shared=no
   7943       ;;
   7944 
   7945     *nto* | *qnx*)
   7946       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7947       # it will coredump.
   7948       lt_prog_compiler_pic='-fPIC -shared'
   7949       ;;
   7950 
   7951     sysv4*MP*)
   7952       if test -d /usr/nec; then
   7953 	lt_prog_compiler_pic=-Kconform_pic
   7954       fi
   7955       ;;
   7956 
   7957     *)
   7958       lt_prog_compiler_pic='-fPIC'
   7959       ;;
   7960     esac
   7961 
   7962     case $cc_basename in
   7963     nvcc*) # Cuda Compiler Driver 2.2
   7964       lt_prog_compiler_wl='-Xlinker '
   7965       lt_prog_compiler_pic='-Xcompiler -fPIC'
   7966       ;;
   7967     esac
   7968   else
   7969     # PORTME Check for flag to pass linker flags through the system compiler.
   7970     case $host_os in
   7971     aix*)
   7972       lt_prog_compiler_wl='-Wl,'
   7973       if test "$host_cpu" = ia64; then
   7974 	# AIX 5 now supports IA64 processor
   7975 	lt_prog_compiler_static='-Bstatic'
   7976       else
   7977 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7978       fi
   7979       ;;
   7980 
   7981     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7982       # This hack is so that the source file can tell whether it is being
   7983       # built for inclusion in a dll (and should export symbols for example).
   7984       lt_prog_compiler_pic='-DDLL_EXPORT'
   7985       ;;
   7986 
   7987     hpux9* | hpux10* | hpux11*)
   7988       lt_prog_compiler_wl='-Wl,'
   7989       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7990       # not for PA HP-UX.
   7991       case $host_cpu in
   7992       hppa*64*|ia64*)
   7993 	# +Z the default
   7994 	;;
   7995       *)
   7996 	lt_prog_compiler_pic='+Z'
   7997 	;;
   7998       esac
   7999       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8000       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8001       ;;
   8002 
   8003     irix5* | irix6* | nonstopux*)
   8004       lt_prog_compiler_wl='-Wl,'
   8005       # PIC (with -KPIC) is the default.
   8006       lt_prog_compiler_static='-non_shared'
   8007       ;;
   8008 
   8009     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8010       case $cc_basename in
   8011       # old Intel for x86_64 which still supported -KPIC.
   8012       ecc*)
   8013 	lt_prog_compiler_wl='-Wl,'
   8014 	lt_prog_compiler_pic='-KPIC'
   8015 	lt_prog_compiler_static='-static'
   8016         ;;
   8017       # icc used to be incompatible with GCC.
   8018       # ICC 10 doesn't accept -KPIC any more.
   8019       icc* | ifort*)
   8020 	lt_prog_compiler_wl='-Wl,'
   8021 	lt_prog_compiler_pic='-fPIC'
   8022 	lt_prog_compiler_static='-static'
   8023         ;;
   8024       # Lahey Fortran 8.1.
   8025       lf95*)
   8026 	lt_prog_compiler_wl='-Wl,'
   8027 	lt_prog_compiler_pic='--shared'
   8028 	lt_prog_compiler_static='--static'
   8029 	;;
   8030       nagfor*)
   8031 	# NAG Fortran compiler
   8032 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8033 	lt_prog_compiler_pic='-PIC'
   8034 	lt_prog_compiler_static='-Bstatic'
   8035 	;;
   8036       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8037         # Portland Group compilers (*not* the Pentium gcc compiler,
   8038 	# which looks to be a dead project)
   8039 	lt_prog_compiler_wl='-Wl,'
   8040 	lt_prog_compiler_pic='-fpic'
   8041 	lt_prog_compiler_static='-Bstatic'
   8042         ;;
   8043       ccc*)
   8044         lt_prog_compiler_wl='-Wl,'
   8045         # All Alpha code is PIC.
   8046         lt_prog_compiler_static='-non_shared'
   8047         ;;
   8048       xl* | bgxl* | bgf* | mpixl*)
   8049 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8050 	lt_prog_compiler_wl='-Wl,'
   8051 	lt_prog_compiler_pic='-qpic'
   8052 	lt_prog_compiler_static='-qstaticlink'
   8053 	;;
   8054       *)
   8055 	case `$CC -V 2>&1 | sed 5q` in
   8056 	*Sun\ F* | *Sun*Fortran*)
   8057 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8058 	  lt_prog_compiler_pic='-KPIC'
   8059 	  lt_prog_compiler_static='-Bstatic'
   8060 	  lt_prog_compiler_wl=''
   8061 	  ;;
   8062 	*Sun\ C*)
   8063 	  # Sun C 5.9
   8064 	  lt_prog_compiler_pic='-KPIC'
   8065 	  lt_prog_compiler_static='-Bstatic'
   8066 	  lt_prog_compiler_wl='-Wl,'
   8067 	  ;;
   8068 	esac
   8069 	;;
   8070       esac
   8071       ;;
   8072 
   8073     newsos6)
   8074       lt_prog_compiler_pic='-KPIC'
   8075       lt_prog_compiler_static='-Bstatic'
   8076       ;;
   8077 
   8078     *nto* | *qnx*)
   8079       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8080       # it will coredump.
   8081       lt_prog_compiler_pic='-fPIC -shared'
   8082       ;;
   8083 
   8084     osf3* | osf4* | osf5*)
   8085       lt_prog_compiler_wl='-Wl,'
   8086       # All OSF/1 code is PIC.
   8087       lt_prog_compiler_static='-non_shared'
   8088       ;;
   8089 
   8090     rdos*)
   8091       lt_prog_compiler_static='-non_shared'
   8092       ;;
   8093 
   8094     solaris*)
   8095       lt_prog_compiler_pic='-KPIC'
   8096       lt_prog_compiler_static='-Bstatic'
   8097       case $cc_basename in
   8098       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8099 	lt_prog_compiler_wl='-Qoption ld ';;
   8100       *)
   8101 	lt_prog_compiler_wl='-Wl,';;
   8102       esac
   8103       ;;
   8104 
   8105     sunos4*)
   8106       lt_prog_compiler_wl='-Qoption ld '
   8107       lt_prog_compiler_pic='-PIC'
   8108       lt_prog_compiler_static='-Bstatic'
   8109       ;;
   8110 
   8111     sysv4 | sysv4.2uw2* | sysv4.3*)
   8112       lt_prog_compiler_wl='-Wl,'
   8113       lt_prog_compiler_pic='-KPIC'
   8114       lt_prog_compiler_static='-Bstatic'
   8115       ;;
   8116 
   8117     sysv4*MP*)
   8118       if test -d /usr/nec ;then
   8119 	lt_prog_compiler_pic='-Kconform_pic'
   8120 	lt_prog_compiler_static='-Bstatic'
   8121       fi
   8122       ;;
   8123 
   8124     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8125       lt_prog_compiler_wl='-Wl,'
   8126       lt_prog_compiler_pic='-KPIC'
   8127       lt_prog_compiler_static='-Bstatic'
   8128       ;;
   8129 
   8130     unicos*)
   8131       lt_prog_compiler_wl='-Wl,'
   8132       lt_prog_compiler_can_build_shared=no
   8133       ;;
   8134 
   8135     uts4*)
   8136       lt_prog_compiler_pic='-pic'
   8137       lt_prog_compiler_static='-Bstatic'
   8138       ;;
   8139 
   8140     *)
   8141       lt_prog_compiler_can_build_shared=no
   8142       ;;
   8143     esac
   8144   fi
   8145 
   8146 case $host_os in
   8147   # For platforms which do not support PIC, -DPIC is meaningless:
   8148   *djgpp*)
   8149     lt_prog_compiler_pic=
   8150     ;;
   8151   *)
   8152     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8153     ;;
   8154 esac
   8155 
   8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8157 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8158 if ${lt_cv_prog_compiler_pic+:} false; then :
   8159   $as_echo_n "(cached) " >&6
   8160 else
   8161   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8162 fi
   8163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8164 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8165 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8166 
   8167 #
   8168 # Check to make sure the PIC flag actually works.
   8169 #
   8170 if test -n "$lt_prog_compiler_pic"; then
   8171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8172 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8173 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8174   $as_echo_n "(cached) " >&6
   8175 else
   8176   lt_cv_prog_compiler_pic_works=no
   8177    ac_outfile=conftest.$ac_objext
   8178    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8179    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8180    # Insert the option either (1) after the last *FLAGS variable, or
   8181    # (2) before a word containing "conftest.", or (3) at the end.
   8182    # Note that $ac_compile itself does not contain backslashes and begins
   8183    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8184    # The option is referenced via a variable to avoid confusing sed.
   8185    lt_compile=`echo "$ac_compile" | $SED \
   8186    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8187    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8188    -e 's:$: $lt_compiler_flag:'`
   8189    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8190    (eval "$lt_compile" 2>conftest.err)
   8191    ac_status=$?
   8192    cat conftest.err >&5
   8193    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8194    if (exit $ac_status) && test -s "$ac_outfile"; then
   8195      # The compiler can only warn and ignore the option if not recognized
   8196      # So say no if there are warnings other than the usual output.
   8197      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8198      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8199      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8200        lt_cv_prog_compiler_pic_works=yes
   8201      fi
   8202    fi
   8203    $RM conftest*
   8204 
   8205 fi
   8206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8207 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8208 
   8209 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8210     case $lt_prog_compiler_pic in
   8211      "" | " "*) ;;
   8212      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8213      esac
   8214 else
   8215     lt_prog_compiler_pic=
   8216      lt_prog_compiler_can_build_shared=no
   8217 fi
   8218 
   8219 fi
   8220 
   8221 
   8222 
   8223 
   8224 
   8225 
   8226 
   8227 
   8228 
   8229 
   8230 
   8231 #
   8232 # Check to make sure the static flag actually works.
   8233 #
   8234 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8236 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8237 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8238   $as_echo_n "(cached) " >&6
   8239 else
   8240   lt_cv_prog_compiler_static_works=no
   8241    save_LDFLAGS="$LDFLAGS"
   8242    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8243    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8244    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8245      # The linker can only warn and ignore the option if not recognized
   8246      # So say no if there are warnings
   8247      if test -s conftest.err; then
   8248        # Append any errors to the config.log.
   8249        cat conftest.err 1>&5
   8250        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8251        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8252        if diff conftest.exp conftest.er2 >/dev/null; then
   8253          lt_cv_prog_compiler_static_works=yes
   8254        fi
   8255      else
   8256        lt_cv_prog_compiler_static_works=yes
   8257      fi
   8258    fi
   8259    $RM -r conftest*
   8260    LDFLAGS="$save_LDFLAGS"
   8261 
   8262 fi
   8263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8264 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8265 
   8266 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8267     :
   8268 else
   8269     lt_prog_compiler_static=
   8270 fi
   8271 
   8272 
   8273 
   8274 
   8275 
   8276 
   8277 
   8278   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8279 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8280 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8281   $as_echo_n "(cached) " >&6
   8282 else
   8283   lt_cv_prog_compiler_c_o=no
   8284    $RM -r conftest 2>/dev/null
   8285    mkdir conftest
   8286    cd conftest
   8287    mkdir out
   8288    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8289 
   8290    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8291    # Insert the option either (1) after the last *FLAGS variable, or
   8292    # (2) before a word containing "conftest.", or (3) at the end.
   8293    # Note that $ac_compile itself does not contain backslashes and begins
   8294    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8295    lt_compile=`echo "$ac_compile" | $SED \
   8296    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8297    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8298    -e 's:$: $lt_compiler_flag:'`
   8299    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8300    (eval "$lt_compile" 2>out/conftest.err)
   8301    ac_status=$?
   8302    cat out/conftest.err >&5
   8303    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8304    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8305    then
   8306      # The compiler can only warn and ignore the option if not recognized
   8307      # So say no if there are warnings
   8308      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8309      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8310      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8311        lt_cv_prog_compiler_c_o=yes
   8312      fi
   8313    fi
   8314    chmod u+w . 2>&5
   8315    $RM conftest*
   8316    # SGI C++ compiler will create directory out/ii_files/ for
   8317    # template instantiation
   8318    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8319    $RM out/* && rmdir out
   8320    cd ..
   8321    $RM -r conftest
   8322    $RM conftest*
   8323 
   8324 fi
   8325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8326 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8334 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8335 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8336   $as_echo_n "(cached) " >&6
   8337 else
   8338   lt_cv_prog_compiler_c_o=no
   8339    $RM -r conftest 2>/dev/null
   8340    mkdir conftest
   8341    cd conftest
   8342    mkdir out
   8343    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8344 
   8345    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8346    # Insert the option either (1) after the last *FLAGS variable, or
   8347    # (2) before a word containing "conftest.", or (3) at the end.
   8348    # Note that $ac_compile itself does not contain backslashes and begins
   8349    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8350    lt_compile=`echo "$ac_compile" | $SED \
   8351    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8352    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8353    -e 's:$: $lt_compiler_flag:'`
   8354    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8355    (eval "$lt_compile" 2>out/conftest.err)
   8356    ac_status=$?
   8357    cat out/conftest.err >&5
   8358    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8359    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8360    then
   8361      # The compiler can only warn and ignore the option if not recognized
   8362      # So say no if there are warnings
   8363      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8364      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8365      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8366        lt_cv_prog_compiler_c_o=yes
   8367      fi
   8368    fi
   8369    chmod u+w . 2>&5
   8370    $RM conftest*
   8371    # SGI C++ compiler will create directory out/ii_files/ for
   8372    # template instantiation
   8373    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8374    $RM out/* && rmdir out
   8375    cd ..
   8376    $RM -r conftest
   8377    $RM conftest*
   8378 
   8379 fi
   8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8381 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8382 
   8383 
   8384 
   8385 
   8386 hard_links="nottested"
   8387 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8388   # do not overwrite the value of need_locks provided by the user
   8389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8390 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8391   hard_links=yes
   8392   $RM conftest*
   8393   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8394   touch conftest.a
   8395   ln conftest.a conftest.b 2>&5 || hard_links=no
   8396   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8398 $as_echo "$hard_links" >&6; }
   8399   if test "$hard_links" = no; then
   8400     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8401 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8402     need_locks=warn
   8403   fi
   8404 else
   8405   need_locks=no
   8406 fi
   8407 
   8408 
   8409 
   8410 
   8411 
   8412 
   8413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8414 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8415 
   8416   runpath_var=
   8417   allow_undefined_flag=
   8418   always_export_symbols=no
   8419   archive_cmds=
   8420   archive_expsym_cmds=
   8421   compiler_needs_object=no
   8422   enable_shared_with_static_runtimes=no
   8423   export_dynamic_flag_spec=
   8424   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8425   hardcode_automatic=no
   8426   hardcode_direct=no
   8427   hardcode_direct_absolute=no
   8428   hardcode_libdir_flag_spec=
   8429   hardcode_libdir_flag_spec_ld=
   8430   hardcode_libdir_separator=
   8431   hardcode_minus_L=no
   8432   hardcode_shlibpath_var=unsupported
   8433   inherit_rpath=no
   8434   link_all_deplibs=unknown
   8435   module_cmds=
   8436   module_expsym_cmds=
   8437   old_archive_from_new_cmds=
   8438   old_archive_from_expsyms_cmds=
   8439   thread_safe_flag_spec=
   8440   whole_archive_flag_spec=
   8441   # include_expsyms should be a list of space-separated symbols to be *always*
   8442   # included in the symbol list
   8443   include_expsyms=
   8444   # exclude_expsyms can be an extended regexp of symbols to exclude
   8445   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8446   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8447   # as well as any symbol that contains `d'.
   8448   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8449   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8450   # platforms (ab)use it in PIC code, but their linkers get confused if
   8451   # the symbol is explicitly referenced.  Since portable code cannot
   8452   # rely on this symbol name, it's probably fine to never include it in
   8453   # preloaded symbol tables.
   8454   # Exclude shared library initialization/finalization symbols.
   8455   extract_expsyms_cmds=
   8456 
   8457   case $host_os in
   8458   cygwin* | mingw* | pw32* | cegcc*)
   8459     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8460     # When not using gcc, we currently assume that we are using
   8461     # Microsoft Visual C++.
   8462     if test "$GCC" != yes; then
   8463       with_gnu_ld=no
   8464     fi
   8465     ;;
   8466   interix*)
   8467     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8468     with_gnu_ld=yes
   8469     ;;
   8470   openbsd*)
   8471     with_gnu_ld=no
   8472     ;;
   8473   esac
   8474 
   8475   ld_shlibs=yes
   8476 
   8477   # On some targets, GNU ld is compatible enough with the native linker
   8478   # that we're better off using the native interface for both.
   8479   lt_use_gnu_ld_interface=no
   8480   if test "$with_gnu_ld" = yes; then
   8481     case $host_os in
   8482       aix*)
   8483 	# The AIX port of GNU ld has always aspired to compatibility
   8484 	# with the native linker.  However, as the warning in the GNU ld
   8485 	# block says, versions before 2.19.5* couldn't really create working
   8486 	# shared libraries, regardless of the interface used.
   8487 	case `$LD -v 2>&1` in
   8488 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8489 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8490 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8491 	  *)
   8492 	    lt_use_gnu_ld_interface=yes
   8493 	    ;;
   8494 	esac
   8495 	;;
   8496       *)
   8497 	lt_use_gnu_ld_interface=yes
   8498 	;;
   8499     esac
   8500   fi
   8501 
   8502   if test "$lt_use_gnu_ld_interface" = yes; then
   8503     # If archive_cmds runs LD, not CC, wlarc should be empty
   8504     wlarc='${wl}'
   8505 
   8506     # Set some defaults for GNU ld with shared library support. These
   8507     # are reset later if shared libraries are not supported. Putting them
   8508     # here allows them to be overridden if necessary.
   8509     runpath_var=LD_RUN_PATH
   8510     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8511     export_dynamic_flag_spec='${wl}--export-dynamic'
   8512     # ancient GNU ld didn't support --whole-archive et. al.
   8513     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8514       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8515     else
   8516       whole_archive_flag_spec=
   8517     fi
   8518     supports_anon_versioning=no
   8519     case `$LD -v 2>&1` in
   8520       *GNU\ gold*) supports_anon_versioning=yes ;;
   8521       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8522       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8523       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8524       *\ 2.11.*) ;; # other 2.11 versions
   8525       *) supports_anon_versioning=yes ;;
   8526     esac
   8527 
   8528     # See if GNU ld supports shared libraries.
   8529     case $host_os in
   8530     aix[3-9]*)
   8531       # On AIX/PPC, the GNU linker is very broken
   8532       if test "$host_cpu" != ia64; then
   8533 	ld_shlibs=no
   8534 	cat <<_LT_EOF 1>&2
   8535 
   8536 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8537 *** to be unable to reliably create shared libraries on AIX.
   8538 *** Therefore, libtool is disabling shared libraries support.  If you
   8539 *** really care for shared libraries, you may want to install binutils
   8540 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8541 *** You will then need to restart the configuration process.
   8542 
   8543 _LT_EOF
   8544       fi
   8545       ;;
   8546 
   8547     amigaos*)
   8548       case $host_cpu in
   8549       powerpc)
   8550             # see comment about AmigaOS4 .so support
   8551             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8552             archive_expsym_cmds=''
   8553         ;;
   8554       m68k)
   8555             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)'
   8556             hardcode_libdir_flag_spec='-L$libdir'
   8557             hardcode_minus_L=yes
   8558         ;;
   8559       esac
   8560       ;;
   8561 
   8562     beos*)
   8563       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8564 	allow_undefined_flag=unsupported
   8565 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8566 	# support --undefined.  This deserves some investigation.  FIXME
   8567 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8568       else
   8569 	ld_shlibs=no
   8570       fi
   8571       ;;
   8572 
   8573     cygwin* | mingw* | pw32* | cegcc*)
   8574       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8575       # as there is no search path for DLLs.
   8576       hardcode_libdir_flag_spec='-L$libdir'
   8577       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8578       allow_undefined_flag=unsupported
   8579       always_export_symbols=no
   8580       enable_shared_with_static_runtimes=yes
   8581       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'
   8582       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8583 
   8584       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8585         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8586 	# If the export-symbols file already is a .def file (1st line
   8587 	# is EXPORTS), use it as is; otherwise, prepend...
   8588 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8589 	  cp $export_symbols $output_objdir/$soname.def;
   8590 	else
   8591 	  echo EXPORTS > $output_objdir/$soname.def;
   8592 	  cat $export_symbols >> $output_objdir/$soname.def;
   8593 	fi~
   8594 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8595       else
   8596 	ld_shlibs=no
   8597       fi
   8598       ;;
   8599 
   8600     haiku*)
   8601       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8602       link_all_deplibs=yes
   8603       ;;
   8604 
   8605     interix[3-9]*)
   8606       hardcode_direct=no
   8607       hardcode_shlibpath_var=no
   8608       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8609       export_dynamic_flag_spec='${wl}-E'
   8610       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8611       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8612       # default) and relocated if they conflict, which is a slow very memory
   8613       # consuming and fragmenting process.  To avoid this, we pick a random,
   8614       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8615       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8616       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8617       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'
   8618       ;;
   8619 
   8620     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8621       tmp_diet=no
   8622       if test "$host_os" = linux-dietlibc; then
   8623 	case $cc_basename in
   8624 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8625 	esac
   8626       fi
   8627       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8628 	 && test "$tmp_diet" = no
   8629       then
   8630 	tmp_addflag=' $pic_flag'
   8631 	tmp_sharedflag='-shared'
   8632 	case $cc_basename,$host_cpu in
   8633         pgcc*)				# Portland Group C compiler
   8634 	  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'
   8635 	  tmp_addflag=' $pic_flag'
   8636 	  ;;
   8637 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8638 					# Portland Group f77 and f90 compilers
   8639 	  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'
   8640 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8641 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8642 	  tmp_addflag=' -i_dynamic' ;;
   8643 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8644 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8645 	ifc* | ifort*)			# Intel Fortran compiler
   8646 	  tmp_addflag=' -nofor_main' ;;
   8647 	lf95*)				# Lahey Fortran 8.1
   8648 	  whole_archive_flag_spec=
   8649 	  tmp_sharedflag='--shared' ;;
   8650 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8651 	  tmp_sharedflag='-qmkshrobj'
   8652 	  tmp_addflag= ;;
   8653 	nvcc*)	# Cuda Compiler Driver 2.2
   8654 	  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'
   8655 	  compiler_needs_object=yes
   8656 	  ;;
   8657 	esac
   8658 	case `$CC -V 2>&1 | sed 5q` in
   8659 	*Sun\ C*)			# Sun C 5.9
   8660 	  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'
   8661 	  compiler_needs_object=yes
   8662 	  tmp_sharedflag='-G' ;;
   8663 	*Sun\ F*)			# Sun Fortran 8.3
   8664 	  tmp_sharedflag='-G' ;;
   8665 	esac
   8666 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8667 
   8668         if test "x$supports_anon_versioning" = xyes; then
   8669           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8670 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8671 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8672 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8673         fi
   8674 
   8675 	case $cc_basename in
   8676 	xlf* | bgf* | bgxlf* | mpixlf*)
   8677 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8678 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8679 	  hardcode_libdir_flag_spec=
   8680 	  hardcode_libdir_flag_spec_ld='-rpath $libdir'
   8681 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8682 	  if test "x$supports_anon_versioning" = xyes; then
   8683 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8684 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8685 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8686 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8687 	  fi
   8688 	  ;;
   8689 	esac
   8690       else
   8691         ld_shlibs=no
   8692       fi
   8693       ;;
   8694 
   8695     netbsd*)
   8696       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8697 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8698 	wlarc=
   8699       else
   8700 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8701 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8702       fi
   8703       ;;
   8704 
   8705     solaris*)
   8706       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8707 	ld_shlibs=no
   8708 	cat <<_LT_EOF 1>&2
   8709 
   8710 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8711 *** create shared libraries on Solaris systems.  Therefore, libtool
   8712 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8713 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8714 *** your PATH or compiler configuration so that the native linker is
   8715 *** used, and then restart.
   8716 
   8717 _LT_EOF
   8718       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8719 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8720 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8721       else
   8722 	ld_shlibs=no
   8723       fi
   8724       ;;
   8725 
   8726     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8727       case `$LD -v 2>&1` in
   8728         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8729 	ld_shlibs=no
   8730 	cat <<_LT_EOF 1>&2
   8731 
   8732 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8733 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8734 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8735 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8736 *** your PATH or compiler configuration so that the native linker is
   8737 *** used, and then restart.
   8738 
   8739 _LT_EOF
   8740 	;;
   8741 	*)
   8742 	  # For security reasons, it is highly recommended that you always
   8743 	  # use absolute paths for naming shared libraries, and exclude the
   8744 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8745 	  # requires that you compile everything twice, which is a pain.
   8746 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8747 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8748 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8749 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8750 	  else
   8751 	    ld_shlibs=no
   8752 	  fi
   8753 	;;
   8754       esac
   8755       ;;
   8756 
   8757     sunos4*)
   8758       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8759       wlarc=
   8760       hardcode_direct=yes
   8761       hardcode_shlibpath_var=no
   8762       ;;
   8763 
   8764     *)
   8765       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8766 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8767 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8768       else
   8769 	ld_shlibs=no
   8770       fi
   8771       ;;
   8772     esac
   8773 
   8774     if test "$ld_shlibs" = no; then
   8775       runpath_var=
   8776       hardcode_libdir_flag_spec=
   8777       export_dynamic_flag_spec=
   8778       whole_archive_flag_spec=
   8779     fi
   8780   else
   8781     # PORTME fill in a description of your system's linker (not GNU ld)
   8782     case $host_os in
   8783     aix3*)
   8784       allow_undefined_flag=unsupported
   8785       always_export_symbols=yes
   8786       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'
   8787       # Note: this linker hardcodes the directories in LIBPATH if there
   8788       # are no directories specified by -L.
   8789       hardcode_minus_L=yes
   8790       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8791 	# Neither direct hardcoding nor static linking is supported with a
   8792 	# broken collect2.
   8793 	hardcode_direct=unsupported
   8794       fi
   8795       ;;
   8796 
   8797     aix[4-9]*)
   8798       if test "$host_cpu" = ia64; then
   8799 	# On IA64, the linker does run time linking by default, so we don't
   8800 	# have to do anything special.
   8801 	aix_use_runtimelinking=no
   8802 	exp_sym_flag='-Bexport'
   8803 	no_entry_flag=""
   8804       else
   8805 	# If we're using GNU nm, then we don't want the "-C" option.
   8806 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8807 	# Also, AIX nm treats weak defined symbols like other global
   8808 	# defined symbols, whereas GNU nm marks them as "W".
   8809 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8810 	  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'
   8811 	else
   8812 	  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'
   8813 	fi
   8814 	aix_use_runtimelinking=no
   8815 
   8816 	# Test if we are trying to use run time linking or normal
   8817 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8818 	# need to do runtime linking.
   8819 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8820 	  for ld_flag in $LDFLAGS; do
   8821 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8822 	    aix_use_runtimelinking=yes
   8823 	    break
   8824 	  fi
   8825 	  done
   8826 	  ;;
   8827 	esac
   8828 
   8829 	exp_sym_flag='-bexport'
   8830 	no_entry_flag='-bnoentry'
   8831       fi
   8832 
   8833       # When large executables or shared objects are built, AIX ld can
   8834       # have problems creating the table of contents.  If linking a library
   8835       # or program results in "error TOC overflow" add -mminimal-toc to
   8836       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8837       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8838 
   8839       archive_cmds=''
   8840       hardcode_direct=yes
   8841       hardcode_direct_absolute=yes
   8842       hardcode_libdir_separator=':'
   8843       link_all_deplibs=yes
   8844       file_list_spec='${wl}-f,'
   8845 
   8846       if test "$GCC" = yes; then
   8847 	case $host_os in aix4.[012]|aix4.[012].*)
   8848 	# We only want to do this on AIX 4.2 and lower, the check
   8849 	# below for broken collect2 doesn't work under 4.3+
   8850 	  collect2name=`${CC} -print-prog-name=collect2`
   8851 	  if test -f "$collect2name" &&
   8852 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8853 	  then
   8854 	  # We have reworked collect2
   8855 	  :
   8856 	  else
   8857 	  # We have old collect2
   8858 	  hardcode_direct=unsupported
   8859 	  # It fails to find uninstalled libraries when the uninstalled
   8860 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8861 	  # to unsupported forces relinking
   8862 	  hardcode_minus_L=yes
   8863 	  hardcode_libdir_flag_spec='-L$libdir'
   8864 	  hardcode_libdir_separator=
   8865 	  fi
   8866 	  ;;
   8867 	esac
   8868 	shared_flag='-shared'
   8869 	if test "$aix_use_runtimelinking" = yes; then
   8870 	  shared_flag="$shared_flag "'${wl}-G'
   8871 	fi
   8872       else
   8873 	# not using gcc
   8874 	if test "$host_cpu" = ia64; then
   8875 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8876 	# chokes on -Wl,-G. The following line is correct:
   8877 	  shared_flag='-G'
   8878 	else
   8879 	  if test "$aix_use_runtimelinking" = yes; then
   8880 	    shared_flag='${wl}-G'
   8881 	  else
   8882 	    shared_flag='${wl}-bM:SRE'
   8883 	  fi
   8884 	fi
   8885       fi
   8886 
   8887       export_dynamic_flag_spec='${wl}-bexpall'
   8888       # It seems that -bexpall does not export symbols beginning with
   8889       # underscore (_), so it is better to generate a list of symbols to export.
   8890       always_export_symbols=yes
   8891       if test "$aix_use_runtimelinking" = yes; then
   8892 	# Warning - without using the other runtime loading flags (-brtl),
   8893 	# -berok will link without error, but may produce a broken library.
   8894 	allow_undefined_flag='-berok'
   8895         # Determine the default libpath from the value encoded in an
   8896         # empty executable.
   8897         if test "${lt_cv_aix_libpath+set}" = set; then
   8898   aix_libpath=$lt_cv_aix_libpath
   8899 else
   8900   if ${lt_cv_aix_libpath_+:} false; then :
   8901   $as_echo_n "(cached) " >&6
   8902 else
   8903   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8904 /* end confdefs.h.  */
   8905 
   8906 int
   8907 main ()
   8908 {
   8909 
   8910   ;
   8911   return 0;
   8912 }
   8913 _ACEOF
   8914 if ac_fn_c_try_link "$LINENO"; then :
   8915 
   8916   lt_aix_libpath_sed='
   8917       /Import File Strings/,/^$/ {
   8918 	  /^0/ {
   8919 	      s/^0  *\([^ ]*\) *$/\1/
   8920 	      p
   8921 	  }
   8922       }'
   8923   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8924   # Check for a 64-bit object if we didn't find anything.
   8925   if test -z "$lt_cv_aix_libpath_"; then
   8926     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8927   fi
   8928 fi
   8929 rm -f core conftest.err conftest.$ac_objext \
   8930     conftest$ac_exeext conftest.$ac_ext
   8931   if test -z "$lt_cv_aix_libpath_"; then
   8932     lt_cv_aix_libpath_="/usr/lib:/lib"
   8933   fi
   8934 
   8935 fi
   8936 
   8937   aix_libpath=$lt_cv_aix_libpath_
   8938 fi
   8939 
   8940         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8941         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"
   8942       else
   8943 	if test "$host_cpu" = ia64; then
   8944 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8945 	  allow_undefined_flag="-z nodefs"
   8946 	  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"
   8947 	else
   8948 	 # Determine the default libpath from the value encoded in an
   8949 	 # empty executable.
   8950 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8951   aix_libpath=$lt_cv_aix_libpath
   8952 else
   8953   if ${lt_cv_aix_libpath_+:} false; then :
   8954   $as_echo_n "(cached) " >&6
   8955 else
   8956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8957 /* end confdefs.h.  */
   8958 
   8959 int
   8960 main ()
   8961 {
   8962 
   8963   ;
   8964   return 0;
   8965 }
   8966 _ACEOF
   8967 if ac_fn_c_try_link "$LINENO"; then :
   8968 
   8969   lt_aix_libpath_sed='
   8970       /Import File Strings/,/^$/ {
   8971 	  /^0/ {
   8972 	      s/^0  *\([^ ]*\) *$/\1/
   8973 	      p
   8974 	  }
   8975       }'
   8976   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8977   # Check for a 64-bit object if we didn't find anything.
   8978   if test -z "$lt_cv_aix_libpath_"; then
   8979     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8980   fi
   8981 fi
   8982 rm -f core conftest.err conftest.$ac_objext \
   8983     conftest$ac_exeext conftest.$ac_ext
   8984   if test -z "$lt_cv_aix_libpath_"; then
   8985     lt_cv_aix_libpath_="/usr/lib:/lib"
   8986   fi
   8987 
   8988 fi
   8989 
   8990   aix_libpath=$lt_cv_aix_libpath_
   8991 fi
   8992 
   8993 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8994 	  # Warning - without using the other run time loading flags,
   8995 	  # -berok will link without error, but may produce a broken library.
   8996 	  no_undefined_flag=' ${wl}-bernotok'
   8997 	  allow_undefined_flag=' ${wl}-berok'
   8998 	  if test "$with_gnu_ld" = yes; then
   8999 	    # We only use this code for GNU lds that support --whole-archive.
   9000 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9001 	  else
   9002 	    # Exported symbols can be pulled into shared objects from archives
   9003 	    whole_archive_flag_spec='$convenience'
   9004 	  fi
   9005 	  archive_cmds_need_lc=yes
   9006 	  # This is similar to how AIX traditionally builds its shared libraries.
   9007 	  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'
   9008 	fi
   9009       fi
   9010       ;;
   9011 
   9012     amigaos*)
   9013       case $host_cpu in
   9014       powerpc)
   9015             # see comment about AmigaOS4 .so support
   9016             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9017             archive_expsym_cmds=''
   9018         ;;
   9019       m68k)
   9020             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)'
   9021             hardcode_libdir_flag_spec='-L$libdir'
   9022             hardcode_minus_L=yes
   9023         ;;
   9024       esac
   9025       ;;
   9026 
   9027     bsdi[45]*)
   9028       export_dynamic_flag_spec=-rdynamic
   9029       ;;
   9030 
   9031     cygwin* | mingw* | pw32* | cegcc*)
   9032       # When not using gcc, we currently assume that we are using
   9033       # Microsoft Visual C++.
   9034       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9035       # no search path for DLLs.
   9036       case $cc_basename in
   9037       cl*)
   9038 	# Native MSVC
   9039 	hardcode_libdir_flag_spec=' '
   9040 	allow_undefined_flag=unsupported
   9041 	always_export_symbols=yes
   9042 	file_list_spec='@'
   9043 	# Tell ltmain to make .lib files, not .a files.
   9044 	libext=lib
   9045 	# Tell ltmain to make .dll files, not .so files.
   9046 	shrext_cmds=".dll"
   9047 	# FIXME: Setting linknames here is a bad hack.
   9048 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9049 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9050 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9051 	  else
   9052 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9053 	  fi~
   9054 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9055 	  linknames='
   9056 	# The linker will not automatically build a static lib if we build a DLL.
   9057 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9058 	enable_shared_with_static_runtimes=yes
   9059 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9060 	# Don't use ranlib
   9061 	old_postinstall_cmds='chmod 644 $oldlib'
   9062 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9063 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9064 	  case $lt_outputfile in
   9065 	    *.exe|*.EXE) ;;
   9066 	    *)
   9067 	      lt_outputfile="$lt_outputfile.exe"
   9068 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9069 	      ;;
   9070 	  esac~
   9071 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9072 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9073 	    $RM "$lt_outputfile.manifest";
   9074 	  fi'
   9075 	;;
   9076       *)
   9077 	# Assume MSVC wrapper
   9078 	hardcode_libdir_flag_spec=' '
   9079 	allow_undefined_flag=unsupported
   9080 	# Tell ltmain to make .lib files, not .a files.
   9081 	libext=lib
   9082 	# Tell ltmain to make .dll files, not .so files.
   9083 	shrext_cmds=".dll"
   9084 	# FIXME: Setting linknames here is a bad hack.
   9085 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9086 	# The linker will automatically build a .lib file if we build a DLL.
   9087 	old_archive_from_new_cmds='true'
   9088 	# FIXME: Should let the user specify the lib program.
   9089 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9090 	enable_shared_with_static_runtimes=yes
   9091 	;;
   9092       esac
   9093       ;;
   9094 
   9095     darwin* | rhapsody*)
   9096 
   9097 
   9098   archive_cmds_need_lc=no
   9099   hardcode_direct=no
   9100   hardcode_automatic=yes
   9101   hardcode_shlibpath_var=unsupported
   9102   if test "$lt_cv_ld_force_load" = "yes"; then
   9103     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\"`'
   9104   else
   9105     whole_archive_flag_spec=''
   9106   fi
   9107   link_all_deplibs=yes
   9108   allow_undefined_flag="$_lt_dar_allow_undefined"
   9109   case $cc_basename in
   9110      ifort*) _lt_dar_can_shared=yes ;;
   9111      *) _lt_dar_can_shared=$GCC ;;
   9112   esac
   9113   if test "$_lt_dar_can_shared" = "yes"; then
   9114     output_verbose_link_cmd=func_echo_all
   9115     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9116     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9117     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}"
   9118     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}"
   9119 
   9120   else
   9121   ld_shlibs=no
   9122   fi
   9123 
   9124       ;;
   9125 
   9126     dgux*)
   9127       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9128       hardcode_libdir_flag_spec='-L$libdir'
   9129       hardcode_shlibpath_var=no
   9130       ;;
   9131 
   9132     freebsd1*)
   9133       ld_shlibs=no
   9134       ;;
   9135 
   9136     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9137     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9138     # does not break anything, and helps significantly (at the cost of a little
   9139     # extra space).
   9140     freebsd2.2*)
   9141       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9142       hardcode_libdir_flag_spec='-R$libdir'
   9143       hardcode_direct=yes
   9144       hardcode_shlibpath_var=no
   9145       ;;
   9146 
   9147     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9148     freebsd2*)
   9149       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9150       hardcode_direct=yes
   9151       hardcode_minus_L=yes
   9152       hardcode_shlibpath_var=no
   9153       ;;
   9154 
   9155     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9156     freebsd* | dragonfly*)
   9157       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9158       hardcode_libdir_flag_spec='-R$libdir'
   9159       hardcode_direct=yes
   9160       hardcode_shlibpath_var=no
   9161       ;;
   9162 
   9163     hpux9*)
   9164       if test "$GCC" = yes; then
   9165 	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'
   9166       else
   9167 	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'
   9168       fi
   9169       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9170       hardcode_libdir_separator=:
   9171       hardcode_direct=yes
   9172 
   9173       # hardcode_minus_L: Not really in the search PATH,
   9174       # but as the default location of the library.
   9175       hardcode_minus_L=yes
   9176       export_dynamic_flag_spec='${wl}-E'
   9177       ;;
   9178 
   9179     hpux10*)
   9180       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9181 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9182       else
   9183 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9184       fi
   9185       if test "$with_gnu_ld" = no; then
   9186 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9187 	hardcode_libdir_flag_spec_ld='+b $libdir'
   9188 	hardcode_libdir_separator=:
   9189 	hardcode_direct=yes
   9190 	hardcode_direct_absolute=yes
   9191 	export_dynamic_flag_spec='${wl}-E'
   9192 	# hardcode_minus_L: Not really in the search PATH,
   9193 	# but as the default location of the library.
   9194 	hardcode_minus_L=yes
   9195       fi
   9196       ;;
   9197 
   9198     hpux11*)
   9199       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9200 	case $host_cpu in
   9201 	hppa*64*)
   9202 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9203 	  ;;
   9204 	ia64*)
   9205 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9206 	  ;;
   9207 	*)
   9208 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9209 	  ;;
   9210 	esac
   9211       else
   9212 	case $host_cpu in
   9213 	hppa*64*)
   9214 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9215 	  ;;
   9216 	ia64*)
   9217 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9218 	  ;;
   9219 	*)
   9220 
   9221 	  # Older versions of the 11.00 compiler do not understand -b yet
   9222 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9223 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9224 $as_echo_n "checking if $CC understands -b... " >&6; }
   9225 if ${lt_cv_prog_compiler__b+:} false; then :
   9226   $as_echo_n "(cached) " >&6
   9227 else
   9228   lt_cv_prog_compiler__b=no
   9229    save_LDFLAGS="$LDFLAGS"
   9230    LDFLAGS="$LDFLAGS -b"
   9231    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9232    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9233      # The linker can only warn and ignore the option if not recognized
   9234      # So say no if there are warnings
   9235      if test -s conftest.err; then
   9236        # Append any errors to the config.log.
   9237        cat conftest.err 1>&5
   9238        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9239        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9240        if diff conftest.exp conftest.er2 >/dev/null; then
   9241          lt_cv_prog_compiler__b=yes
   9242        fi
   9243      else
   9244        lt_cv_prog_compiler__b=yes
   9245      fi
   9246    fi
   9247    $RM -r conftest*
   9248    LDFLAGS="$save_LDFLAGS"
   9249 
   9250 fi
   9251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9252 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9253 
   9254 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9255     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9256 else
   9257     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9258 fi
   9259 
   9260 	  ;;
   9261 	esac
   9262       fi
   9263       if test "$with_gnu_ld" = no; then
   9264 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9265 	hardcode_libdir_separator=:
   9266 
   9267 	case $host_cpu in
   9268 	hppa*64*|ia64*)
   9269 	  hardcode_direct=no
   9270 	  hardcode_shlibpath_var=no
   9271 	  ;;
   9272 	*)
   9273 	  hardcode_direct=yes
   9274 	  hardcode_direct_absolute=yes
   9275 	  export_dynamic_flag_spec='${wl}-E'
   9276 
   9277 	  # hardcode_minus_L: Not really in the search PATH,
   9278 	  # but as the default location of the library.
   9279 	  hardcode_minus_L=yes
   9280 	  ;;
   9281 	esac
   9282       fi
   9283       ;;
   9284 
   9285     irix5* | irix6* | nonstopux*)
   9286       if test "$GCC" = yes; then
   9287 	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'
   9288 	# Try to use the -exported_symbol ld option, if it does not
   9289 	# work, assume that -exports_file does not work either and
   9290 	# implicitly export all symbols.
   9291 	# This should be the same for all languages, so no per-tag cache variable.
   9292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9293 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9294 if ${lt_cv_irix_exported_symbol+:} false; then :
   9295   $as_echo_n "(cached) " >&6
   9296 else
   9297   save_LDFLAGS="$LDFLAGS"
   9298 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9299 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9300 /* end confdefs.h.  */
   9301 int foo (void) { return 0; }
   9302 _ACEOF
   9303 if ac_fn_c_try_link "$LINENO"; then :
   9304   lt_cv_irix_exported_symbol=yes
   9305 else
   9306   lt_cv_irix_exported_symbol=no
   9307 fi
   9308 rm -f core conftest.err conftest.$ac_objext \
   9309     conftest$ac_exeext conftest.$ac_ext
   9310            LDFLAGS="$save_LDFLAGS"
   9311 fi
   9312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9313 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9314 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9315           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'
   9316 	fi
   9317       else
   9318 	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'
   9319 	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'
   9320       fi
   9321       archive_cmds_need_lc='no'
   9322       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9323       hardcode_libdir_separator=:
   9324       inherit_rpath=yes
   9325       link_all_deplibs=yes
   9326       ;;
   9327 
   9328     netbsd*)
   9329       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9330 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9331       else
   9332 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9333       fi
   9334       hardcode_libdir_flag_spec='-R$libdir'
   9335       hardcode_direct=yes
   9336       hardcode_shlibpath_var=no
   9337       ;;
   9338 
   9339     newsos6)
   9340       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9341       hardcode_direct=yes
   9342       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9343       hardcode_libdir_separator=:
   9344       hardcode_shlibpath_var=no
   9345       ;;
   9346 
   9347     *nto* | *qnx*)
   9348       ;;
   9349 
   9350     openbsd*)
   9351       if test -f /usr/libexec/ld.so; then
   9352 	hardcode_direct=yes
   9353 	hardcode_shlibpath_var=no
   9354 	hardcode_direct_absolute=yes
   9355 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9356 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9357 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9358 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9359 	  export_dynamic_flag_spec='${wl}-E'
   9360 	else
   9361 	  case $host_os in
   9362 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9363 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9364 	     hardcode_libdir_flag_spec='-R$libdir'
   9365 	     ;;
   9366 	   *)
   9367 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9368 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9369 	     ;;
   9370 	  esac
   9371 	fi
   9372       else
   9373 	ld_shlibs=no
   9374       fi
   9375       ;;
   9376 
   9377     os2*)
   9378       hardcode_libdir_flag_spec='-L$libdir'
   9379       hardcode_minus_L=yes
   9380       allow_undefined_flag=unsupported
   9381       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'
   9382       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9383       ;;
   9384 
   9385     osf3*)
   9386       if test "$GCC" = yes; then
   9387 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9388 	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'
   9389       else
   9390 	allow_undefined_flag=' -expect_unresolved \*'
   9391 	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'
   9392       fi
   9393       archive_cmds_need_lc='no'
   9394       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9395       hardcode_libdir_separator=:
   9396       ;;
   9397 
   9398     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9399       if test "$GCC" = yes; then
   9400 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9401 	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'
   9402 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9403       else
   9404 	allow_undefined_flag=' -expect_unresolved \*'
   9405 	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'
   9406 	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~
   9407 	$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'
   9408 
   9409 	# Both c and cxx compiler support -rpath directly
   9410 	hardcode_libdir_flag_spec='-rpath $libdir'
   9411       fi
   9412       archive_cmds_need_lc='no'
   9413       hardcode_libdir_separator=:
   9414       ;;
   9415 
   9416     solaris*)
   9417       no_undefined_flag=' -z defs'
   9418       if test "$GCC" = yes; then
   9419 	wlarc='${wl}'
   9420 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9421 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9422 	  $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'
   9423       else
   9424 	case `$CC -V 2>&1` in
   9425 	*"Compilers 5.0"*)
   9426 	  wlarc=''
   9427 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9428 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9429 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9430 	  ;;
   9431 	*)
   9432 	  wlarc='${wl}'
   9433 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9434 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9435 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9436 	  ;;
   9437 	esac
   9438       fi
   9439       hardcode_libdir_flag_spec='-R$libdir'
   9440       hardcode_shlibpath_var=no
   9441       case $host_os in
   9442       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9443       *)
   9444 	# The compiler driver will combine and reorder linker options,
   9445 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9446 	# but is careful enough not to reorder.
   9447 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9448 	if test "$GCC" = yes; then
   9449 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9450 	else
   9451 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9452 	fi
   9453 	;;
   9454       esac
   9455       link_all_deplibs=yes
   9456       ;;
   9457 
   9458     sunos4*)
   9459       if test "x$host_vendor" = xsequent; then
   9460 	# Use $CC to link under sequent, because it throws in some extra .o
   9461 	# files that make .init and .fini sections work.
   9462 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9463       else
   9464 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9465       fi
   9466       hardcode_libdir_flag_spec='-L$libdir'
   9467       hardcode_direct=yes
   9468       hardcode_minus_L=yes
   9469       hardcode_shlibpath_var=no
   9470       ;;
   9471 
   9472     sysv4)
   9473       case $host_vendor in
   9474 	sni)
   9475 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9476 	  hardcode_direct=yes # is this really true???
   9477 	;;
   9478 	siemens)
   9479 	  ## LD is ld it makes a PLAMLIB
   9480 	  ## CC just makes a GrossModule.
   9481 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9482 	  reload_cmds='$CC -r -o $output$reload_objs'
   9483 	  hardcode_direct=no
   9484         ;;
   9485 	motorola)
   9486 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9487 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9488 	;;
   9489       esac
   9490       runpath_var='LD_RUN_PATH'
   9491       hardcode_shlibpath_var=no
   9492       ;;
   9493 
   9494     sysv4.3*)
   9495       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9496       hardcode_shlibpath_var=no
   9497       export_dynamic_flag_spec='-Bexport'
   9498       ;;
   9499 
   9500     sysv4*MP*)
   9501       if test -d /usr/nec; then
   9502 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9503 	hardcode_shlibpath_var=no
   9504 	runpath_var=LD_RUN_PATH
   9505 	hardcode_runpath_var=yes
   9506 	ld_shlibs=yes
   9507       fi
   9508       ;;
   9509 
   9510     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9511       no_undefined_flag='${wl}-z,text'
   9512       archive_cmds_need_lc=no
   9513       hardcode_shlibpath_var=no
   9514       runpath_var='LD_RUN_PATH'
   9515 
   9516       if test "$GCC" = yes; then
   9517 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9518 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9519       else
   9520 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9521 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9522       fi
   9523       ;;
   9524 
   9525     sysv5* | sco3.2v5* | sco5v6*)
   9526       # Note: We can NOT use -z defs as we might desire, because we do not
   9527       # link with -lc, and that would cause any symbols used from libc to
   9528       # always be unresolved, which means just about no library would
   9529       # ever link correctly.  If we're not using GNU ld we use -z text
   9530       # though, which does catch some bad symbols but isn't as heavy-handed
   9531       # as -z defs.
   9532       no_undefined_flag='${wl}-z,text'
   9533       allow_undefined_flag='${wl}-z,nodefs'
   9534       archive_cmds_need_lc=no
   9535       hardcode_shlibpath_var=no
   9536       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9537       hardcode_libdir_separator=':'
   9538       link_all_deplibs=yes
   9539       export_dynamic_flag_spec='${wl}-Bexport'
   9540       runpath_var='LD_RUN_PATH'
   9541 
   9542       if test "$GCC" = yes; then
   9543 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9544 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9545       else
   9546 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9547 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9548       fi
   9549       ;;
   9550 
   9551     uts4*)
   9552       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9553       hardcode_libdir_flag_spec='-L$libdir'
   9554       hardcode_shlibpath_var=no
   9555       ;;
   9556 
   9557     *)
   9558       ld_shlibs=no
   9559       ;;
   9560     esac
   9561 
   9562     if test x$host_vendor = xsni; then
   9563       case $host in
   9564       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9565 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9566 	;;
   9567       esac
   9568     fi
   9569   fi
   9570 
   9571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9572 $as_echo "$ld_shlibs" >&6; }
   9573 test "$ld_shlibs" = no && can_build_shared=no
   9574 
   9575 with_gnu_ld=$with_gnu_ld
   9576 
   9577 
   9578 
   9579 
   9580 
   9581 
   9582 
   9583 
   9584 
   9585 
   9586 
   9587 
   9588 
   9589 
   9590 
   9591 #
   9592 # Do we need to explicitly link libc?
   9593 #
   9594 case "x$archive_cmds_need_lc" in
   9595 x|xyes)
   9596   # Assume -lc should be added
   9597   archive_cmds_need_lc=yes
   9598 
   9599   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9600     case $archive_cmds in
   9601     *'~'*)
   9602       # FIXME: we may have to deal with multi-command sequences.
   9603       ;;
   9604     '$CC '*)
   9605       # Test whether the compiler implicitly links with -lc since on some
   9606       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9607       # to ld, don't add -lc before -lgcc.
   9608       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9609 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9610 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9611   $as_echo_n "(cached) " >&6
   9612 else
   9613   $RM conftest*
   9614 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9615 
   9616 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9617   (eval $ac_compile) 2>&5
   9618   ac_status=$?
   9619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9620   test $ac_status = 0; } 2>conftest.err; then
   9621 	  soname=conftest
   9622 	  lib=conftest
   9623 	  libobjs=conftest.$ac_objext
   9624 	  deplibs=
   9625 	  wl=$lt_prog_compiler_wl
   9626 	  pic_flag=$lt_prog_compiler_pic
   9627 	  compiler_flags=-v
   9628 	  linker_flags=-v
   9629 	  verstring=
   9630 	  output_objdir=.
   9631 	  libname=conftest
   9632 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9633 	  allow_undefined_flag=
   9634 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9635   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9636   ac_status=$?
   9637   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9638   test $ac_status = 0; }
   9639 	  then
   9640 	    lt_cv_archive_cmds_need_lc=no
   9641 	  else
   9642 	    lt_cv_archive_cmds_need_lc=yes
   9643 	  fi
   9644 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9645 	else
   9646 	  cat conftest.err 1>&5
   9647 	fi
   9648 	$RM conftest*
   9649 
   9650 fi
   9651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9652 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9653       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9654       ;;
   9655     esac
   9656   fi
   9657   ;;
   9658 esac
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9817 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9818 
   9819 if test "$GCC" = yes; then
   9820   case $host_os in
   9821     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9822     *) lt_awk_arg="/^libraries:/" ;;
   9823   esac
   9824   case $host_os in
   9825     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9826     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9827   esac
   9828   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9829   case $lt_search_path_spec in
   9830   *\;*)
   9831     # if the path contains ";" then we assume it to be the separator
   9832     # otherwise default to the standard path separator (i.e. ":") - it is
   9833     # assumed that no part of a normal pathname contains ";" but that should
   9834     # okay in the real world where ";" in dirpaths is itself problematic.
   9835     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9836     ;;
   9837   *)
   9838     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9839     ;;
   9840   esac
   9841   # Ok, now we have the path, separated by spaces, we can step through it
   9842   # and add multilib dir if necessary.
   9843   lt_tmp_lt_search_path_spec=
   9844   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9845   for lt_sys_path in $lt_search_path_spec; do
   9846     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9847       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9848     else
   9849       test -d "$lt_sys_path" && \
   9850 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9851     fi
   9852   done
   9853   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9854 BEGIN {RS=" "; FS="/|\n";} {
   9855   lt_foo="";
   9856   lt_count=0;
   9857   for (lt_i = NF; lt_i > 0; lt_i--) {
   9858     if ($lt_i != "" && $lt_i != ".") {
   9859       if ($lt_i == "..") {
   9860         lt_count++;
   9861       } else {
   9862         if (lt_count == 0) {
   9863           lt_foo="/" $lt_i lt_foo;
   9864         } else {
   9865           lt_count--;
   9866         }
   9867       }
   9868     }
   9869   }
   9870   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9871   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9872 }'`
   9873   # AWK program above erroneously prepends '/' to C:/dos/paths
   9874   # for these hosts.
   9875   case $host_os in
   9876     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9877       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9878   esac
   9879   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9880 else
   9881   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9882 fi
   9883 library_names_spec=
   9884 libname_spec='lib$name'
   9885 soname_spec=
   9886 shrext_cmds=".so"
   9887 postinstall_cmds=
   9888 postuninstall_cmds=
   9889 finish_cmds=
   9890 finish_eval=
   9891 shlibpath_var=
   9892 shlibpath_overrides_runpath=unknown
   9893 version_type=none
   9894 dynamic_linker="$host_os ld.so"
   9895 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9896 need_lib_prefix=unknown
   9897 hardcode_into_libs=no
   9898 
   9899 # when you set need_version to no, make sure it does not cause -set_version
   9900 # flags to be left without arguments
   9901 need_version=unknown
   9902 
   9903 case $host_os in
   9904 aix3*)
   9905   version_type=linux
   9906   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9907   shlibpath_var=LIBPATH
   9908 
   9909   # AIX 3 has no versioning support, so we append a major version to the name.
   9910   soname_spec='${libname}${release}${shared_ext}$major'
   9911   ;;
   9912 
   9913 aix[4-9]*)
   9914   version_type=linux
   9915   need_lib_prefix=no
   9916   need_version=no
   9917   hardcode_into_libs=yes
   9918   if test "$host_cpu" = ia64; then
   9919     # AIX 5 supports IA64
   9920     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9921     shlibpath_var=LD_LIBRARY_PATH
   9922   else
   9923     # With GCC up to 2.95.x, collect2 would create an import file
   9924     # for dependence libraries.  The import file would start with
   9925     # the line `#! .'.  This would cause the generated library to
   9926     # depend on `.', always an invalid library.  This was fixed in
   9927     # development snapshots of GCC prior to 3.0.
   9928     case $host_os in
   9929       aix4 | aix4.[01] | aix4.[01].*)
   9930       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9931 	   echo ' yes '
   9932 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9933 	:
   9934       else
   9935 	can_build_shared=no
   9936       fi
   9937       ;;
   9938     esac
   9939     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9940     # soname into executable. Probably we can add versioning support to
   9941     # collect2, so additional links can be useful in future.
   9942     if test "$aix_use_runtimelinking" = yes; then
   9943       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9944       # instead of lib<name>.a to let people know that these are not
   9945       # typical AIX shared libraries.
   9946       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9947     else
   9948       # We preserve .a as extension for shared libraries through AIX4.2
   9949       # and later when we are not doing run time linking.
   9950       library_names_spec='${libname}${release}.a $libname.a'
   9951       soname_spec='${libname}${release}${shared_ext}$major'
   9952     fi
   9953     shlibpath_var=LIBPATH
   9954   fi
   9955   ;;
   9956 
   9957 amigaos*)
   9958   case $host_cpu in
   9959   powerpc)
   9960     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9961     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9962     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9963     ;;
   9964   m68k)
   9965     library_names_spec='$libname.ixlibrary $libname.a'
   9966     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9967     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'
   9968     ;;
   9969   esac
   9970   ;;
   9971 
   9972 beos*)
   9973   library_names_spec='${libname}${shared_ext}'
   9974   dynamic_linker="$host_os ld.so"
   9975   shlibpath_var=LIBRARY_PATH
   9976   ;;
   9977 
   9978 bsdi[45]*)
   9979   version_type=linux
   9980   need_version=no
   9981   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9982   soname_spec='${libname}${release}${shared_ext}$major'
   9983   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9984   shlibpath_var=LD_LIBRARY_PATH
   9985   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9986   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9987   # the default ld.so.conf also contains /usr/contrib/lib and
   9988   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9989   # libtool to hard-code these into programs
   9990   ;;
   9991 
   9992 cygwin* | mingw* | pw32* | cegcc*)
   9993   version_type=windows
   9994   shrext_cmds=".dll"
   9995   need_version=no
   9996   need_lib_prefix=no
   9997 
   9998   case $GCC,$cc_basename in
   9999   yes,*)
   10000     # gcc
   10001     library_names_spec='$libname.dll.a'
   10002     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10003     postinstall_cmds='base_file=`basename \${file}`~
   10004       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10005       dldir=$destdir/`dirname \$dlpath`~
   10006       test -d \$dldir || mkdir -p \$dldir~
   10007       $install_prog $dir/$dlname \$dldir/$dlname~
   10008       chmod a+x \$dldir/$dlname~
   10009       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10010         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10011       fi'
   10012     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10013       dlpath=$dir/\$dldll~
   10014        $RM \$dlpath'
   10015     shlibpath_overrides_runpath=yes
   10016 
   10017     case $host_os in
   10018     cygwin*)
   10019       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10020       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10021 
   10022       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10023       ;;
   10024     mingw* | cegcc*)
   10025       # MinGW DLLs use traditional 'lib' prefix
   10026       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10027       ;;
   10028     pw32*)
   10029       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10030       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10031       ;;
   10032     esac
   10033     dynamic_linker='Win32 ld.exe'
   10034     ;;
   10035 
   10036   *,cl*)
   10037     # Native MSVC
   10038     libname_spec='$name'
   10039     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10040     library_names_spec='${libname}.dll.lib'
   10041 
   10042     case $build_os in
   10043     mingw*)
   10044       sys_lib_search_path_spec=
   10045       lt_save_ifs=$IFS
   10046       IFS=';'
   10047       for lt_path in $LIB
   10048       do
   10049         IFS=$lt_save_ifs
   10050         # Let DOS variable expansion print the short 8.3 style file name.
   10051         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10052         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10053       done
   10054       IFS=$lt_save_ifs
   10055       # Convert to MSYS style.
   10056       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10057       ;;
   10058     cygwin*)
   10059       # Convert to unix form, then to dos form, then back to unix form
   10060       # but this time dos style (no spaces!) so that the unix form looks
   10061       # like /cygdrive/c/PROGRA~1:/cygdr...
   10062       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10063       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10064       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10065       ;;
   10066     *)
   10067       sys_lib_search_path_spec="$LIB"
   10068       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10069         # It is most probably a Windows format PATH.
   10070         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10071       else
   10072         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10073       fi
   10074       # FIXME: find the short name or the path components, as spaces are
   10075       # common. (e.g. "Program Files" -> "PROGRA~1")
   10076       ;;
   10077     esac
   10078 
   10079     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10080     postinstall_cmds='base_file=`basename \${file}`~
   10081       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10082       dldir=$destdir/`dirname \$dlpath`~
   10083       test -d \$dldir || mkdir -p \$dldir~
   10084       $install_prog $dir/$dlname \$dldir/$dlname'
   10085     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10086       dlpath=$dir/\$dldll~
   10087        $RM \$dlpath'
   10088     shlibpath_overrides_runpath=yes
   10089     dynamic_linker='Win32 link.exe'
   10090     ;;
   10091 
   10092   *)
   10093     # Assume MSVC wrapper
   10094     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10095     dynamic_linker='Win32 ld.exe'
   10096     ;;
   10097   esac
   10098   # FIXME: first we should search . and the directory the executable is in
   10099   shlibpath_var=PATH
   10100   ;;
   10101 
   10102 darwin* | rhapsody*)
   10103   dynamic_linker="$host_os dyld"
   10104   version_type=darwin
   10105   need_lib_prefix=no
   10106   need_version=no
   10107   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10108   soname_spec='${libname}${release}${major}$shared_ext'
   10109   shlibpath_overrides_runpath=yes
   10110   shlibpath_var=DYLD_LIBRARY_PATH
   10111   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10112 
   10113   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10114   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10115   ;;
   10116 
   10117 dgux*)
   10118   version_type=linux
   10119   need_lib_prefix=no
   10120   need_version=no
   10121   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10122   soname_spec='${libname}${release}${shared_ext}$major'
   10123   shlibpath_var=LD_LIBRARY_PATH
   10124   ;;
   10125 
   10126 freebsd1*)
   10127   dynamic_linker=no
   10128   ;;
   10129 
   10130 freebsd* | dragonfly*)
   10131   # DragonFly does not have aout.  When/if they implement a new
   10132   # versioning mechanism, adjust this.
   10133   if test -x /usr/bin/objformat; then
   10134     objformat=`/usr/bin/objformat`
   10135   else
   10136     case $host_os in
   10137     freebsd[123]*) objformat=aout ;;
   10138     *) objformat=elf ;;
   10139     esac
   10140   fi
   10141   version_type=freebsd-$objformat
   10142   case $version_type in
   10143     freebsd-elf*)
   10144       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10145       need_version=no
   10146       need_lib_prefix=no
   10147       ;;
   10148     freebsd-*)
   10149       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10150       need_version=yes
   10151       ;;
   10152   esac
   10153   shlibpath_var=LD_LIBRARY_PATH
   10154   case $host_os in
   10155   freebsd2*)
   10156     shlibpath_overrides_runpath=yes
   10157     ;;
   10158   freebsd3.[01]* | freebsdelf3.[01]*)
   10159     shlibpath_overrides_runpath=yes
   10160     hardcode_into_libs=yes
   10161     ;;
   10162   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10163   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10164     shlibpath_overrides_runpath=no
   10165     hardcode_into_libs=yes
   10166     ;;
   10167   *) # from 4.6 on, and DragonFly
   10168     shlibpath_overrides_runpath=yes
   10169     hardcode_into_libs=yes
   10170     ;;
   10171   esac
   10172   ;;
   10173 
   10174 gnu*)
   10175   version_type=linux
   10176   need_lib_prefix=no
   10177   need_version=no
   10178   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10179   soname_spec='${libname}${release}${shared_ext}$major'
   10180   shlibpath_var=LD_LIBRARY_PATH
   10181   hardcode_into_libs=yes
   10182   ;;
   10183 
   10184 haiku*)
   10185   version_type=linux
   10186   need_lib_prefix=no
   10187   need_version=no
   10188   dynamic_linker="$host_os runtime_loader"
   10189   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10190   soname_spec='${libname}${release}${shared_ext}$major'
   10191   shlibpath_var=LIBRARY_PATH
   10192   shlibpath_overrides_runpath=yes
   10193   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10194   hardcode_into_libs=yes
   10195   ;;
   10196 
   10197 hpux9* | hpux10* | hpux11*)
   10198   # Give a soname corresponding to the major version so that dld.sl refuses to
   10199   # link against other versions.
   10200   version_type=sunos
   10201   need_lib_prefix=no
   10202   need_version=no
   10203   case $host_cpu in
   10204   ia64*)
   10205     shrext_cmds='.so'
   10206     hardcode_into_libs=yes
   10207     dynamic_linker="$host_os dld.so"
   10208     shlibpath_var=LD_LIBRARY_PATH
   10209     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10210     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10211     soname_spec='${libname}${release}${shared_ext}$major'
   10212     if test "X$HPUX_IA64_MODE" = X32; then
   10213       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10214     else
   10215       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10216     fi
   10217     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10218     ;;
   10219   hppa*64*)
   10220     shrext_cmds='.sl'
   10221     hardcode_into_libs=yes
   10222     dynamic_linker="$host_os dld.sl"
   10223     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10224     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10225     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10226     soname_spec='${libname}${release}${shared_ext}$major'
   10227     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10228     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10229     ;;
   10230   *)
   10231     shrext_cmds='.sl'
   10232     dynamic_linker="$host_os dld.sl"
   10233     shlibpath_var=SHLIB_PATH
   10234     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10235     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10236     soname_spec='${libname}${release}${shared_ext}$major'
   10237     ;;
   10238   esac
   10239   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10240   postinstall_cmds='chmod 555 $lib'
   10241   # or fails outright, so override atomically:
   10242   install_override_mode=555
   10243   ;;
   10244 
   10245 interix[3-9]*)
   10246   version_type=linux
   10247   need_lib_prefix=no
   10248   need_version=no
   10249   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10250   soname_spec='${libname}${release}${shared_ext}$major'
   10251   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10252   shlibpath_var=LD_LIBRARY_PATH
   10253   shlibpath_overrides_runpath=no
   10254   hardcode_into_libs=yes
   10255   ;;
   10256 
   10257 irix5* | irix6* | nonstopux*)
   10258   case $host_os in
   10259     nonstopux*) version_type=nonstopux ;;
   10260     *)
   10261 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10262 		version_type=linux
   10263 	else
   10264 		version_type=irix
   10265 	fi ;;
   10266   esac
   10267   need_lib_prefix=no
   10268   need_version=no
   10269   soname_spec='${libname}${release}${shared_ext}$major'
   10270   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10271   case $host_os in
   10272   irix5* | nonstopux*)
   10273     libsuff= shlibsuff=
   10274     ;;
   10275   *)
   10276     case $LD in # libtool.m4 will add one of these switches to LD
   10277     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10278       libsuff= shlibsuff= libmagic=32-bit;;
   10279     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10280       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10281     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10282       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10283     *) libsuff= shlibsuff= libmagic=never-match;;
   10284     esac
   10285     ;;
   10286   esac
   10287   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10288   shlibpath_overrides_runpath=no
   10289   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10290   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10291   hardcode_into_libs=yes
   10292   ;;
   10293 
   10294 # No shared lib support for Linux oldld, aout, or coff.
   10295 linux*oldld* | linux*aout* | linux*coff*)
   10296   dynamic_linker=no
   10297   ;;
   10298 
   10299 # This must be Linux ELF.
   10300 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10301   version_type=linux
   10302   need_lib_prefix=no
   10303   need_version=no
   10304   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10305   soname_spec='${libname}${release}${shared_ext}$major'
   10306   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10307   shlibpath_var=LD_LIBRARY_PATH
   10308   shlibpath_overrides_runpath=no
   10309 
   10310   # Some binutils ld are patched to set DT_RUNPATH
   10311   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10312   $as_echo_n "(cached) " >&6
   10313 else
   10314   lt_cv_shlibpath_overrides_runpath=no
   10315     save_LDFLAGS=$LDFLAGS
   10316     save_libdir=$libdir
   10317     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10318 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10319     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10320 /* end confdefs.h.  */
   10321 
   10322 int
   10323 main ()
   10324 {
   10325 
   10326   ;
   10327   return 0;
   10328 }
   10329 _ACEOF
   10330 if ac_fn_c_try_link "$LINENO"; then :
   10331   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10332   lt_cv_shlibpath_overrides_runpath=yes
   10333 fi
   10334 fi
   10335 rm -f core conftest.err conftest.$ac_objext \
   10336     conftest$ac_exeext conftest.$ac_ext
   10337     LDFLAGS=$save_LDFLAGS
   10338     libdir=$save_libdir
   10339 
   10340 fi
   10341 
   10342   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10343 
   10344   # This implies no fast_install, which is unacceptable.
   10345   # Some rework will be needed to allow for fast_install
   10346   # before this can be enabled.
   10347   hardcode_into_libs=yes
   10348 
   10349   # Append ld.so.conf contents to the search path
   10350   if test -f /etc/ld.so.conf; then
   10351     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' ' '`
   10352     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10353   fi
   10354 
   10355   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10356   # powerpc, because MkLinux only supported shared libraries with the
   10357   # GNU dynamic linker.  Since this was broken with cross compilers,
   10358   # most powerpc-linux boxes support dynamic linking these days and
   10359   # people can always --disable-shared, the test was removed, and we
   10360   # assume the GNU/Linux dynamic linker is in use.
   10361   dynamic_linker='GNU/Linux ld.so'
   10362   ;;
   10363 
   10364 netbsd*)
   10365   version_type=sunos
   10366   need_lib_prefix=no
   10367   need_version=no
   10368   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10369     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10370     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10371     dynamic_linker='NetBSD (a.out) ld.so'
   10372   else
   10373     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10374     soname_spec='${libname}${release}${shared_ext}$major'
   10375     dynamic_linker='NetBSD ld.elf_so'
   10376   fi
   10377   shlibpath_var=LD_LIBRARY_PATH
   10378   shlibpath_overrides_runpath=yes
   10379   hardcode_into_libs=yes
   10380   ;;
   10381 
   10382 newsos6)
   10383   version_type=linux
   10384   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10385   shlibpath_var=LD_LIBRARY_PATH
   10386   shlibpath_overrides_runpath=yes
   10387   ;;
   10388 
   10389 *nto* | *qnx*)
   10390   version_type=qnx
   10391   need_lib_prefix=no
   10392   need_version=no
   10393   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10394   soname_spec='${libname}${release}${shared_ext}$major'
   10395   shlibpath_var=LD_LIBRARY_PATH
   10396   shlibpath_overrides_runpath=no
   10397   hardcode_into_libs=yes
   10398   dynamic_linker='ldqnx.so'
   10399   ;;
   10400 
   10401 openbsd*)
   10402   version_type=sunos
   10403   sys_lib_dlsearch_path_spec="/usr/lib"
   10404   need_lib_prefix=no
   10405   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10406   case $host_os in
   10407     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10408     *)				need_version=no  ;;
   10409   esac
   10410   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10411   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10412   shlibpath_var=LD_LIBRARY_PATH
   10413   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10414     case $host_os in
   10415       openbsd2.[89] | openbsd2.[89].*)
   10416 	shlibpath_overrides_runpath=no
   10417 	;;
   10418       *)
   10419 	shlibpath_overrides_runpath=yes
   10420 	;;
   10421       esac
   10422   else
   10423     shlibpath_overrides_runpath=yes
   10424   fi
   10425   ;;
   10426 
   10427 os2*)
   10428   libname_spec='$name'
   10429   shrext_cmds=".dll"
   10430   need_lib_prefix=no
   10431   library_names_spec='$libname${shared_ext} $libname.a'
   10432   dynamic_linker='OS/2 ld.exe'
   10433   shlibpath_var=LIBPATH
   10434   ;;
   10435 
   10436 osf3* | osf4* | osf5*)
   10437   version_type=osf
   10438   need_lib_prefix=no
   10439   need_version=no
   10440   soname_spec='${libname}${release}${shared_ext}$major'
   10441   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10442   shlibpath_var=LD_LIBRARY_PATH
   10443   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10444   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10445   ;;
   10446 
   10447 rdos*)
   10448   dynamic_linker=no
   10449   ;;
   10450 
   10451 solaris*)
   10452   version_type=linux
   10453   need_lib_prefix=no
   10454   need_version=no
   10455   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10456   soname_spec='${libname}${release}${shared_ext}$major'
   10457   shlibpath_var=LD_LIBRARY_PATH
   10458   shlibpath_overrides_runpath=yes
   10459   hardcode_into_libs=yes
   10460   # ldd complains unless libraries are executable
   10461   postinstall_cmds='chmod +x $lib'
   10462   ;;
   10463 
   10464 sunos4*)
   10465   version_type=sunos
   10466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10467   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10468   shlibpath_var=LD_LIBRARY_PATH
   10469   shlibpath_overrides_runpath=yes
   10470   if test "$with_gnu_ld" = yes; then
   10471     need_lib_prefix=no
   10472   fi
   10473   need_version=yes
   10474   ;;
   10475 
   10476 sysv4 | sysv4.3*)
   10477   version_type=linux
   10478   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10479   soname_spec='${libname}${release}${shared_ext}$major'
   10480   shlibpath_var=LD_LIBRARY_PATH
   10481   case $host_vendor in
   10482     sni)
   10483       shlibpath_overrides_runpath=no
   10484       need_lib_prefix=no
   10485       runpath_var=LD_RUN_PATH
   10486       ;;
   10487     siemens)
   10488       need_lib_prefix=no
   10489       ;;
   10490     motorola)
   10491       need_lib_prefix=no
   10492       need_version=no
   10493       shlibpath_overrides_runpath=no
   10494       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10495       ;;
   10496   esac
   10497   ;;
   10498 
   10499 sysv4*MP*)
   10500   if test -d /usr/nec ;then
   10501     version_type=linux
   10502     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10503     soname_spec='$libname${shared_ext}.$major'
   10504     shlibpath_var=LD_LIBRARY_PATH
   10505   fi
   10506   ;;
   10507 
   10508 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10509   version_type=freebsd-elf
   10510   need_lib_prefix=no
   10511   need_version=no
   10512   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10513   soname_spec='${libname}${release}${shared_ext}$major'
   10514   shlibpath_var=LD_LIBRARY_PATH
   10515   shlibpath_overrides_runpath=yes
   10516   hardcode_into_libs=yes
   10517   if test "$with_gnu_ld" = yes; then
   10518     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10519   else
   10520     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10521     case $host_os in
   10522       sco3.2v5*)
   10523         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10524 	;;
   10525     esac
   10526   fi
   10527   sys_lib_dlsearch_path_spec='/usr/lib'
   10528   ;;
   10529 
   10530 tpf*)
   10531   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10532   version_type=linux
   10533   need_lib_prefix=no
   10534   need_version=no
   10535   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10536   shlibpath_var=LD_LIBRARY_PATH
   10537   shlibpath_overrides_runpath=no
   10538   hardcode_into_libs=yes
   10539   ;;
   10540 
   10541 uts4*)
   10542   version_type=linux
   10543   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10544   soname_spec='${libname}${release}${shared_ext}$major'
   10545   shlibpath_var=LD_LIBRARY_PATH
   10546   ;;
   10547 
   10548 *)
   10549   dynamic_linker=no
   10550   ;;
   10551 esac
   10552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10553 $as_echo "$dynamic_linker" >&6; }
   10554 test "$dynamic_linker" = no && can_build_shared=no
   10555 
   10556 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10557 if test "$GCC" = yes; then
   10558   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10559 fi
   10560 
   10561 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10562   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10563 fi
   10564 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10565   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10566 fi
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 
   10639 
   10640 
   10641 
   10642 
   10643 
   10644 
   10645 
   10646 
   10647 
   10648 
   10649 
   10650 
   10651 
   10652 
   10653 
   10654 
   10655 
   10656 
   10657 
   10658 
   10659   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10660 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10661 hardcode_action=
   10662 if test -n "$hardcode_libdir_flag_spec" ||
   10663    test -n "$runpath_var" ||
   10664    test "X$hardcode_automatic" = "Xyes" ; then
   10665 
   10666   # We can hardcode non-existent directories.
   10667   if test "$hardcode_direct" != no &&
   10668      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10669      # have to relink, otherwise we might link with an installed library
   10670      # when we should be linking with a yet-to-be-installed one
   10671      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10672      test "$hardcode_minus_L" != no; then
   10673     # Linking always hardcodes the temporary library directory.
   10674     hardcode_action=relink
   10675   else
   10676     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10677     hardcode_action=immediate
   10678   fi
   10679 else
   10680   # We cannot hardcode anything, or else we can only hardcode existing
   10681   # directories.
   10682   hardcode_action=unsupported
   10683 fi
   10684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10685 $as_echo "$hardcode_action" >&6; }
   10686 
   10687 if test "$hardcode_action" = relink ||
   10688    test "$inherit_rpath" = yes; then
   10689   # Fast installation is not supported
   10690   enable_fast_install=no
   10691 elif test "$shlibpath_overrides_runpath" = yes ||
   10692      test "$enable_shared" = no; then
   10693   # Fast installation is not necessary
   10694   enable_fast_install=needless
   10695 fi
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702   if test "x$enable_dlopen" != xyes; then
   10703   enable_dlopen=unknown
   10704   enable_dlopen_self=unknown
   10705   enable_dlopen_self_static=unknown
   10706 else
   10707   lt_cv_dlopen=no
   10708   lt_cv_dlopen_libs=
   10709 
   10710   case $host_os in
   10711   beos*)
   10712     lt_cv_dlopen="load_add_on"
   10713     lt_cv_dlopen_libs=
   10714     lt_cv_dlopen_self=yes
   10715     ;;
   10716 
   10717   mingw* | pw32* | cegcc*)
   10718     lt_cv_dlopen="LoadLibrary"
   10719     lt_cv_dlopen_libs=
   10720     ;;
   10721 
   10722   cygwin*)
   10723     lt_cv_dlopen="dlopen"
   10724     lt_cv_dlopen_libs=
   10725     ;;
   10726 
   10727   darwin*)
   10728   # if libdl is installed we need to link against it
   10729     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10730 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10731 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10732   $as_echo_n "(cached) " >&6
   10733 else
   10734   ac_check_lib_save_LIBS=$LIBS
   10735 LIBS="-ldl  $LIBS"
   10736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10737 /* end confdefs.h.  */
   10738 
   10739 /* Override any GCC internal prototype to avoid an error.
   10740    Use char because int might match the return type of a GCC
   10741    builtin and then its argument prototype would still apply.  */
   10742 #ifdef __cplusplus
   10743 extern "C"
   10744 #endif
   10745 char dlopen ();
   10746 int
   10747 main ()
   10748 {
   10749 return dlopen ();
   10750   ;
   10751   return 0;
   10752 }
   10753 _ACEOF
   10754 if ac_fn_c_try_link "$LINENO"; then :
   10755   ac_cv_lib_dl_dlopen=yes
   10756 else
   10757   ac_cv_lib_dl_dlopen=no
   10758 fi
   10759 rm -f core conftest.err conftest.$ac_objext \
   10760     conftest$ac_exeext conftest.$ac_ext
   10761 LIBS=$ac_check_lib_save_LIBS
   10762 fi
   10763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10764 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10765 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10766   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10767 else
   10768 
   10769     lt_cv_dlopen="dyld"
   10770     lt_cv_dlopen_libs=
   10771     lt_cv_dlopen_self=yes
   10772 
   10773 fi
   10774 
   10775     ;;
   10776 
   10777   *)
   10778     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10779 if test "x$ac_cv_func_shl_load" = xyes; then :
   10780   lt_cv_dlopen="shl_load"
   10781 else
   10782   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10783 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10784 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10785   $as_echo_n "(cached) " >&6
   10786 else
   10787   ac_check_lib_save_LIBS=$LIBS
   10788 LIBS="-ldld  $LIBS"
   10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10790 /* end confdefs.h.  */
   10791 
   10792 /* Override any GCC internal prototype to avoid an error.
   10793    Use char because int might match the return type of a GCC
   10794    builtin and then its argument prototype would still apply.  */
   10795 #ifdef __cplusplus
   10796 extern "C"
   10797 #endif
   10798 char shl_load ();
   10799 int
   10800 main ()
   10801 {
   10802 return shl_load ();
   10803   ;
   10804   return 0;
   10805 }
   10806 _ACEOF
   10807 if ac_fn_c_try_link "$LINENO"; then :
   10808   ac_cv_lib_dld_shl_load=yes
   10809 else
   10810   ac_cv_lib_dld_shl_load=no
   10811 fi
   10812 rm -f core conftest.err conftest.$ac_objext \
   10813     conftest$ac_exeext conftest.$ac_ext
   10814 LIBS=$ac_check_lib_save_LIBS
   10815 fi
   10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10817 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10818 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10819   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10820 else
   10821   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10822 if test "x$ac_cv_func_dlopen" = xyes; then :
   10823   lt_cv_dlopen="dlopen"
   10824 else
   10825   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10826 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10827 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10828   $as_echo_n "(cached) " >&6
   10829 else
   10830   ac_check_lib_save_LIBS=$LIBS
   10831 LIBS="-ldl  $LIBS"
   10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10833 /* end confdefs.h.  */
   10834 
   10835 /* Override any GCC internal prototype to avoid an error.
   10836    Use char because int might match the return type of a GCC
   10837    builtin and then its argument prototype would still apply.  */
   10838 #ifdef __cplusplus
   10839 extern "C"
   10840 #endif
   10841 char dlopen ();
   10842 int
   10843 main ()
   10844 {
   10845 return dlopen ();
   10846   ;
   10847   return 0;
   10848 }
   10849 _ACEOF
   10850 if ac_fn_c_try_link "$LINENO"; then :
   10851   ac_cv_lib_dl_dlopen=yes
   10852 else
   10853   ac_cv_lib_dl_dlopen=no
   10854 fi
   10855 rm -f core conftest.err conftest.$ac_objext \
   10856     conftest$ac_exeext conftest.$ac_ext
   10857 LIBS=$ac_check_lib_save_LIBS
   10858 fi
   10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10860 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10861 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10862   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10863 else
   10864   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10865 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10866 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10867   $as_echo_n "(cached) " >&6
   10868 else
   10869   ac_check_lib_save_LIBS=$LIBS
   10870 LIBS="-lsvld  $LIBS"
   10871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10872 /* end confdefs.h.  */
   10873 
   10874 /* Override any GCC internal prototype to avoid an error.
   10875    Use char because int might match the return type of a GCC
   10876    builtin and then its argument prototype would still apply.  */
   10877 #ifdef __cplusplus
   10878 extern "C"
   10879 #endif
   10880 char dlopen ();
   10881 int
   10882 main ()
   10883 {
   10884 return dlopen ();
   10885   ;
   10886   return 0;
   10887 }
   10888 _ACEOF
   10889 if ac_fn_c_try_link "$LINENO"; then :
   10890   ac_cv_lib_svld_dlopen=yes
   10891 else
   10892   ac_cv_lib_svld_dlopen=no
   10893 fi
   10894 rm -f core conftest.err conftest.$ac_objext \
   10895     conftest$ac_exeext conftest.$ac_ext
   10896 LIBS=$ac_check_lib_save_LIBS
   10897 fi
   10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10899 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10900 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10901   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10902 else
   10903   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10904 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10905 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10906   $as_echo_n "(cached) " >&6
   10907 else
   10908   ac_check_lib_save_LIBS=$LIBS
   10909 LIBS="-ldld  $LIBS"
   10910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10911 /* end confdefs.h.  */
   10912 
   10913 /* Override any GCC internal prototype to avoid an error.
   10914    Use char because int might match the return type of a GCC
   10915    builtin and then its argument prototype would still apply.  */
   10916 #ifdef __cplusplus
   10917 extern "C"
   10918 #endif
   10919 char dld_link ();
   10920 int
   10921 main ()
   10922 {
   10923 return dld_link ();
   10924   ;
   10925   return 0;
   10926 }
   10927 _ACEOF
   10928 if ac_fn_c_try_link "$LINENO"; then :
   10929   ac_cv_lib_dld_dld_link=yes
   10930 else
   10931   ac_cv_lib_dld_dld_link=no
   10932 fi
   10933 rm -f core conftest.err conftest.$ac_objext \
   10934     conftest$ac_exeext conftest.$ac_ext
   10935 LIBS=$ac_check_lib_save_LIBS
   10936 fi
   10937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10938 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10939 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10940   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10941 fi
   10942 
   10943 
   10944 fi
   10945 
   10946 
   10947 fi
   10948 
   10949 
   10950 fi
   10951 
   10952 
   10953 fi
   10954 
   10955 
   10956 fi
   10957 
   10958     ;;
   10959   esac
   10960 
   10961   if test "x$lt_cv_dlopen" != xno; then
   10962     enable_dlopen=yes
   10963   else
   10964     enable_dlopen=no
   10965   fi
   10966 
   10967   case $lt_cv_dlopen in
   10968   dlopen)
   10969     save_CPPFLAGS="$CPPFLAGS"
   10970     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10971 
   10972     save_LDFLAGS="$LDFLAGS"
   10973     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10974 
   10975     save_LIBS="$LIBS"
   10976     LIBS="$lt_cv_dlopen_libs $LIBS"
   10977 
   10978     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10979 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10980 if ${lt_cv_dlopen_self+:} false; then :
   10981   $as_echo_n "(cached) " >&6
   10982 else
   10983   	  if test "$cross_compiling" = yes; then :
   10984   lt_cv_dlopen_self=cross
   10985 else
   10986   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10987   lt_status=$lt_dlunknown
   10988   cat > conftest.$ac_ext <<_LT_EOF
   10989 #line $LINENO "configure"
   10990 #include "confdefs.h"
   10991 
   10992 #if HAVE_DLFCN_H
   10993 #include <dlfcn.h>
   10994 #endif
   10995 
   10996 #include <stdio.h>
   10997 
   10998 #ifdef RTLD_GLOBAL
   10999 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11000 #else
   11001 #  ifdef DL_GLOBAL
   11002 #    define LT_DLGLOBAL		DL_GLOBAL
   11003 #  else
   11004 #    define LT_DLGLOBAL		0
   11005 #  endif
   11006 #endif
   11007 
   11008 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11009    find out it does not work in some platform. */
   11010 #ifndef LT_DLLAZY_OR_NOW
   11011 #  ifdef RTLD_LAZY
   11012 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11013 #  else
   11014 #    ifdef DL_LAZY
   11015 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11016 #    else
   11017 #      ifdef RTLD_NOW
   11018 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11019 #      else
   11020 #        ifdef DL_NOW
   11021 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11022 #        else
   11023 #          define LT_DLLAZY_OR_NOW	0
   11024 #        endif
   11025 #      endif
   11026 #    endif
   11027 #  endif
   11028 #endif
   11029 
   11030 /* When -fvisbility=hidden is used, assume the code has been annotated
   11031    correspondingly for the symbols needed.  */
   11032 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11033 int fnord () __attribute__((visibility("default")));
   11034 #endif
   11035 
   11036 int fnord () { return 42; }
   11037 int main ()
   11038 {
   11039   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11040   int status = $lt_dlunknown;
   11041 
   11042   if (self)
   11043     {
   11044       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11045       else
   11046         {
   11047 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11048           else puts (dlerror ());
   11049 	}
   11050       /* dlclose (self); */
   11051     }
   11052   else
   11053     puts (dlerror ());
   11054 
   11055   return status;
   11056 }
   11057 _LT_EOF
   11058   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11059   (eval $ac_link) 2>&5
   11060   ac_status=$?
   11061   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11062   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11063     (./conftest; exit; ) >&5 2>/dev/null
   11064     lt_status=$?
   11065     case x$lt_status in
   11066       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11067       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11068       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11069     esac
   11070   else :
   11071     # compilation failed
   11072     lt_cv_dlopen_self=no
   11073   fi
   11074 fi
   11075 rm -fr conftest*
   11076 
   11077 
   11078 fi
   11079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11080 $as_echo "$lt_cv_dlopen_self" >&6; }
   11081 
   11082     if test "x$lt_cv_dlopen_self" = xyes; then
   11083       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11084       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11085 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11086 if ${lt_cv_dlopen_self_static+:} false; then :
   11087   $as_echo_n "(cached) " >&6
   11088 else
   11089   	  if test "$cross_compiling" = yes; then :
   11090   lt_cv_dlopen_self_static=cross
   11091 else
   11092   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11093   lt_status=$lt_dlunknown
   11094   cat > conftest.$ac_ext <<_LT_EOF
   11095 #line $LINENO "configure"
   11096 #include "confdefs.h"
   11097 
   11098 #if HAVE_DLFCN_H
   11099 #include <dlfcn.h>
   11100 #endif
   11101 
   11102 #include <stdio.h>
   11103 
   11104 #ifdef RTLD_GLOBAL
   11105 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11106 #else
   11107 #  ifdef DL_GLOBAL
   11108 #    define LT_DLGLOBAL		DL_GLOBAL
   11109 #  else
   11110 #    define LT_DLGLOBAL		0
   11111 #  endif
   11112 #endif
   11113 
   11114 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11115    find out it does not work in some platform. */
   11116 #ifndef LT_DLLAZY_OR_NOW
   11117 #  ifdef RTLD_LAZY
   11118 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11119 #  else
   11120 #    ifdef DL_LAZY
   11121 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11122 #    else
   11123 #      ifdef RTLD_NOW
   11124 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11125 #      else
   11126 #        ifdef DL_NOW
   11127 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11128 #        else
   11129 #          define LT_DLLAZY_OR_NOW	0
   11130 #        endif
   11131 #      endif
   11132 #    endif
   11133 #  endif
   11134 #endif
   11135 
   11136 /* When -fvisbility=hidden is used, assume the code has been annotated
   11137    correspondingly for the symbols needed.  */
   11138 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11139 int fnord () __attribute__((visibility("default")));
   11140 #endif
   11141 
   11142 int fnord () { return 42; }
   11143 int main ()
   11144 {
   11145   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11146   int status = $lt_dlunknown;
   11147 
   11148   if (self)
   11149     {
   11150       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11151       else
   11152         {
   11153 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11154           else puts (dlerror ());
   11155 	}
   11156       /* dlclose (self); */
   11157     }
   11158   else
   11159     puts (dlerror ());
   11160 
   11161   return status;
   11162 }
   11163 _LT_EOF
   11164   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11165   (eval $ac_link) 2>&5
   11166   ac_status=$?
   11167   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11168   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11169     (./conftest; exit; ) >&5 2>/dev/null
   11170     lt_status=$?
   11171     case x$lt_status in
   11172       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11173       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11174       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11175     esac
   11176   else :
   11177     # compilation failed
   11178     lt_cv_dlopen_self_static=no
   11179   fi
   11180 fi
   11181 rm -fr conftest*
   11182 
   11183 
   11184 fi
   11185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11186 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11187     fi
   11188 
   11189     CPPFLAGS="$save_CPPFLAGS"
   11190     LDFLAGS="$save_LDFLAGS"
   11191     LIBS="$save_LIBS"
   11192     ;;
   11193   esac
   11194 
   11195   case $lt_cv_dlopen_self in
   11196   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11197   *) enable_dlopen_self=unknown ;;
   11198   esac
   11199 
   11200   case $lt_cv_dlopen_self_static in
   11201   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11202   *) enable_dlopen_self_static=unknown ;;
   11203   esac
   11204 fi
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 striplib=
   11223 old_striplib=
   11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11225 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11226 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11227   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11228   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11230 $as_echo "yes" >&6; }
   11231 else
   11232 # FIXME - insert some real tests, host_os isn't really good enough
   11233   case $host_os in
   11234   darwin*)
   11235     if test -n "$STRIP" ; then
   11236       striplib="$STRIP -x"
   11237       old_striplib="$STRIP -S"
   11238       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11239 $as_echo "yes" >&6; }
   11240     else
   11241       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11242 $as_echo "no" >&6; }
   11243     fi
   11244     ;;
   11245   *)
   11246     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11247 $as_echo "no" >&6; }
   11248     ;;
   11249   esac
   11250 fi
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263   # Report which library types will actually be built
   11264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11265 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11266   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11267 $as_echo "$can_build_shared" >&6; }
   11268 
   11269   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11270 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11271   test "$can_build_shared" = "no" && enable_shared=no
   11272 
   11273   # On AIX, shared libraries and static libraries use the same namespace, and
   11274   # are all built from PIC.
   11275   case $host_os in
   11276   aix3*)
   11277     test "$enable_shared" = yes && enable_static=no
   11278     if test -n "$RANLIB"; then
   11279       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11280       postinstall_cmds='$RANLIB $lib'
   11281     fi
   11282     ;;
   11283 
   11284   aix[4-9]*)
   11285     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11286       test "$enable_shared" = yes && enable_static=no
   11287     fi
   11288     ;;
   11289   esac
   11290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11291 $as_echo "$enable_shared" >&6; }
   11292 
   11293   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11294 $as_echo_n "checking whether to build static libraries... " >&6; }
   11295   # Make sure either enable_shared or enable_static is yes.
   11296   test "$enable_shared" = yes || enable_static=yes
   11297   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11298 $as_echo "$enable_static" >&6; }
   11299 
   11300 
   11301 
   11302 
   11303 fi
   11304 ac_ext=c
   11305 ac_cpp='$CPP $CPPFLAGS'
   11306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11309 
   11310 CC="$lt_save_CC"
   11311 
   11312 
   11313 
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324         ac_config_commands="$ac_config_commands libtool"
   11325 
   11326 
   11327 
   11328 
   11329 # Only expand once:
   11330 
   11331 
   11332 
   11333 # Require xorg-macros minimum of 1.12 for DocBook external references
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11346 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11347 if ${ac_cv_prog_cc_c99+:} false; then :
   11348   $as_echo_n "(cached) " >&6
   11349 else
   11350   ac_cv_prog_cc_c99=no
   11351 ac_save_CC=$CC
   11352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11353 /* end confdefs.h.  */
   11354 #include <stdarg.h>
   11355 #include <stdbool.h>
   11356 #include <stdlib.h>
   11357 #include <wchar.h>
   11358 #include <stdio.h>
   11359 
   11360 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11361 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11362 #define showlist(...) puts (#__VA_ARGS__)
   11363 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11364 static void
   11365 test_varargs_macros (void)
   11366 {
   11367   int x = 1234;
   11368   int y = 5678;
   11369   debug ("Flag");
   11370   debug ("X = %d\n", x);
   11371   showlist (The first, second, and third items.);
   11372   report (x>y, "x is %d but y is %d", x, y);
   11373 }
   11374 
   11375 // Check long long types.
   11376 #define BIG64 18446744073709551615ull
   11377 #define BIG32 4294967295ul
   11378 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11379 #if !BIG_OK
   11380   your preprocessor is broken;
   11381 #endif
   11382 #if BIG_OK
   11383 #else
   11384   your preprocessor is broken;
   11385 #endif
   11386 static long long int bignum = -9223372036854775807LL;
   11387 static unsigned long long int ubignum = BIG64;
   11388 
   11389 struct incomplete_array
   11390 {
   11391   int datasize;
   11392   double data[];
   11393 };
   11394 
   11395 struct named_init {
   11396   int number;
   11397   const wchar_t *name;
   11398   double average;
   11399 };
   11400 
   11401 typedef const char *ccp;
   11402 
   11403 static inline int
   11404 test_restrict (ccp restrict text)
   11405 {
   11406   // See if C++-style comments work.
   11407   // Iterate through items via the restricted pointer.
   11408   // Also check for declarations in for loops.
   11409   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11410     continue;
   11411   return 0;
   11412 }
   11413 
   11414 // Check varargs and va_copy.
   11415 static void
   11416 test_varargs (const char *format, ...)
   11417 {
   11418   va_list args;
   11419   va_start (args, format);
   11420   va_list args_copy;
   11421   va_copy (args_copy, args);
   11422 
   11423   const char *str;
   11424   int number;
   11425   float fnumber;
   11426 
   11427   while (*format)
   11428     {
   11429       switch (*format++)
   11430 	{
   11431 	case 's': // string
   11432 	  str = va_arg (args_copy, const char *);
   11433 	  break;
   11434 	case 'd': // int
   11435 	  number = va_arg (args_copy, int);
   11436 	  break;
   11437 	case 'f': // float
   11438 	  fnumber = va_arg (args_copy, double);
   11439 	  break;
   11440 	default:
   11441 	  break;
   11442 	}
   11443     }
   11444   va_end (args_copy);
   11445   va_end (args);
   11446 }
   11447 
   11448 int
   11449 main ()
   11450 {
   11451 
   11452   // Check bool.
   11453   _Bool success = false;
   11454 
   11455   // Check restrict.
   11456   if (test_restrict ("String literal") == 0)
   11457     success = true;
   11458   char *restrict newvar = "Another string";
   11459 
   11460   // Check varargs.
   11461   test_varargs ("s, d' f .", "string", 65, 34.234);
   11462   test_varargs_macros ();
   11463 
   11464   // Check flexible array members.
   11465   struct incomplete_array *ia =
   11466     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11467   ia->datasize = 10;
   11468   for (int i = 0; i < ia->datasize; ++i)
   11469     ia->data[i] = i * 1.234;
   11470 
   11471   // Check named initializers.
   11472   struct named_init ni = {
   11473     .number = 34,
   11474     .name = L"Test wide string",
   11475     .average = 543.34343,
   11476   };
   11477 
   11478   ni.number = 58;
   11479 
   11480   int dynamic_array[ni.number];
   11481   dynamic_array[ni.number - 1] = 543;
   11482 
   11483   // work around unused variable warnings
   11484   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11485 	  || dynamic_array[ni.number - 1] != 543);
   11486 
   11487   ;
   11488   return 0;
   11489 }
   11490 _ACEOF
   11491 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -xc99=all -qlanglvl=extc99
   11492 do
   11493   CC="$ac_save_CC $ac_arg"
   11494   if ac_fn_c_try_compile "$LINENO"; then :
   11495   ac_cv_prog_cc_c99=$ac_arg
   11496 fi
   11497 rm -f core conftest.err conftest.$ac_objext
   11498   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11499 done
   11500 rm -f conftest.$ac_ext
   11501 CC=$ac_save_CC
   11502 
   11503 fi
   11504 # AC_CACHE_VAL
   11505 case "x$ac_cv_prog_cc_c99" in
   11506   x)
   11507     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11508 $as_echo "none needed" >&6; } ;;
   11509   xno)
   11510     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11511 $as_echo "unsupported" >&6; } ;;
   11512   *)
   11513     CC="$CC $ac_cv_prog_cc_c99"
   11514     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11515 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11516 esac
   11517 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11518 
   11519 fi
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11527 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11528   CLANGCC="yes"
   11529 else
   11530   CLANGCC="no"
   11531 fi
   11532 
   11533 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11534 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11535   INTELCC="yes"
   11536 else
   11537   INTELCC="no"
   11538 fi
   11539 
   11540 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11541 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11542   SUNCC="yes"
   11543 else
   11544   SUNCC="no"
   11545 fi
   11546 
   11547 
   11548 
   11549 
   11550 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11551 	if test -n "$ac_tool_prefix"; then
   11552   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11553 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11555 $as_echo_n "checking for $ac_word... " >&6; }
   11556 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11557   $as_echo_n "(cached) " >&6
   11558 else
   11559   case $PKG_CONFIG in
   11560   [\\/]* | ?:[\\/]*)
   11561   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11562   ;;
   11563   *)
   11564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11565 for as_dir in $PATH
   11566 do
   11567   IFS=$as_save_IFS
   11568   test -z "$as_dir" && as_dir=.
   11569     for ac_exec_ext in '' $ac_executable_extensions; do
   11570   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11571     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11572     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11573     break 2
   11574   fi
   11575 done
   11576   done
   11577 IFS=$as_save_IFS
   11578 
   11579   ;;
   11580 esac
   11581 fi
   11582 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11583 if test -n "$PKG_CONFIG"; then
   11584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11585 $as_echo "$PKG_CONFIG" >&6; }
   11586 else
   11587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11588 $as_echo "no" >&6; }
   11589 fi
   11590 
   11591 
   11592 fi
   11593 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11594   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11595   # Extract the first word of "pkg-config", so it can be a program name with args.
   11596 set dummy pkg-config; ac_word=$2
   11597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11598 $as_echo_n "checking for $ac_word... " >&6; }
   11599 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11600   $as_echo_n "(cached) " >&6
   11601 else
   11602   case $ac_pt_PKG_CONFIG in
   11603   [\\/]* | ?:[\\/]*)
   11604   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11605   ;;
   11606   *)
   11607   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11608 for as_dir in $PATH
   11609 do
   11610   IFS=$as_save_IFS
   11611   test -z "$as_dir" && as_dir=.
   11612     for ac_exec_ext in '' $ac_executable_extensions; do
   11613   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   11614     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11615     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11616     break 2
   11617   fi
   11618 done
   11619   done
   11620 IFS=$as_save_IFS
   11621 
   11622   ;;
   11623 esac
   11624 fi
   11625 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11626 if test -n "$ac_pt_PKG_CONFIG"; then
   11627   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11628 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11629 else
   11630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11631 $as_echo "no" >&6; }
   11632 fi
   11633 
   11634   if test "x$ac_pt_PKG_CONFIG" = x; then
   11635     PKG_CONFIG=""
   11636   else
   11637     case $cross_compiling:$ac_tool_warned in
   11638 yes:)
   11639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11641 ac_tool_warned=yes ;;
   11642 esac
   11643     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11644   fi
   11645 else
   11646   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11647 fi
   11648 
   11649 fi
   11650 if test -n "$PKG_CONFIG"; then
   11651 	_pkg_min_version=0.9.0
   11652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11653 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11654 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11656 $as_echo "yes" >&6; }
   11657 	else
   11658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11659 $as_echo "no" >&6; }
   11660 		PKG_CONFIG=""
   11661 	fi
   11662 
   11663 fi
   11664 
   11665 
   11666 
   11667 
   11668 
   11669 # Check whether --enable-selective-werror was given.
   11670 if test "${enable_selective_werror+set}" = set; then :
   11671   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11672 else
   11673   SELECTIVE_WERROR=yes
   11674 fi
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11681 if test "x$SUNCC" = "xyes"; then
   11682     BASE_CFLAGS="-v"
   11683 else
   11684     BASE_CFLAGS=""
   11685 fi
   11686 
   11687 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11688 
   11689 
   11690 
   11691 
   11692 
   11693 
   11694 
   11695 
   11696 
   11697 
   11698 
   11699 xorg_testset_save_CFLAGS="$CFLAGS"
   11700 
   11701 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11702 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11704 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11705 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11706   $as_echo_n "(cached) " >&6
   11707 else
   11708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11709 /* end confdefs.h.  */
   11710 int i;
   11711 _ACEOF
   11712 if ac_fn_c_try_compile "$LINENO"; then :
   11713   xorg_cv_compiler_flag_unknown_warning_option=yes
   11714 else
   11715   xorg_cv_compiler_flag_unknown_warning_option=no
   11716 fi
   11717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11718 fi
   11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11720 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11721 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11722 	CFLAGS="$xorg_testset_save_CFLAGS"
   11723 fi
   11724 
   11725 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11726 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11727 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11728 	fi
   11729 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11730 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11731 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11732 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11733   $as_echo_n "(cached) " >&6
   11734 else
   11735   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11736 /* end confdefs.h.  */
   11737 int i;
   11738 _ACEOF
   11739 if ac_fn_c_try_compile "$LINENO"; then :
   11740   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11741 else
   11742   xorg_cv_compiler_flag_unused_command_line_argument=no
   11743 fi
   11744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11745 fi
   11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11747 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11748 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11749 	CFLAGS="$xorg_testset_save_CFLAGS"
   11750 fi
   11751 
   11752 found="no"
   11753 
   11754 	if test $found = "no" ; then
   11755 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11756 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11757 		fi
   11758 
   11759 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11760 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11761 		fi
   11762 
   11763 		CFLAGS="$CFLAGS -Wall"
   11764 
   11765 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11766 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11767 		cacheid=`$as_echo xorg_cv_cc_flag_-Wall`
   11768 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11769   $as_echo_n "(cached) " >&6
   11770 else
   11771   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11772 /* end confdefs.h.  */
   11773 int i;
   11774 int
   11775 main ()
   11776 {
   11777 
   11778   ;
   11779   return 0;
   11780 }
   11781 _ACEOF
   11782 if ac_fn_c_try_link "$LINENO"; then :
   11783   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11784 else
   11785   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11786 fi
   11787 rm -f core conftest.err conftest.$ac_objext \
   11788     conftest$ac_exeext conftest.$ac_ext
   11789 fi
   11790 
   11791 
   11792 		CFLAGS="$xorg_testset_save_CFLAGS"
   11793 
   11794 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11796 $as_echo "$supported" >&6; }
   11797 		if test "$supported" = "yes" ; then
   11798 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11799 			found="yes"
   11800 		fi
   11801 	fi
   11802 
   11803 
   11804 
   11805 
   11806 
   11807 
   11808 
   11809 
   11810 
   11811 
   11812 
   11813 
   11814 
   11815 xorg_testset_save_CFLAGS="$CFLAGS"
   11816 
   11817 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11818 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11820 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11821 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11822   $as_echo_n "(cached) " >&6
   11823 else
   11824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11825 /* end confdefs.h.  */
   11826 int i;
   11827 _ACEOF
   11828 if ac_fn_c_try_compile "$LINENO"; then :
   11829   xorg_cv_compiler_flag_unknown_warning_option=yes
   11830 else
   11831   xorg_cv_compiler_flag_unknown_warning_option=no
   11832 fi
   11833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11834 fi
   11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11836 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11837 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11838 	CFLAGS="$xorg_testset_save_CFLAGS"
   11839 fi
   11840 
   11841 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11842 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11843 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11844 	fi
   11845 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11846 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11847 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11848 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11849   $as_echo_n "(cached) " >&6
   11850 else
   11851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11852 /* end confdefs.h.  */
   11853 int i;
   11854 _ACEOF
   11855 if ac_fn_c_try_compile "$LINENO"; then :
   11856   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11857 else
   11858   xorg_cv_compiler_flag_unused_command_line_argument=no
   11859 fi
   11860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11861 fi
   11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11863 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11864 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11865 	CFLAGS="$xorg_testset_save_CFLAGS"
   11866 fi
   11867 
   11868 found="no"
   11869 
   11870 	if test $found = "no" ; then
   11871 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11872 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11873 		fi
   11874 
   11875 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11876 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11877 		fi
   11878 
   11879 		CFLAGS="$CFLAGS -Wpointer-arith"
   11880 
   11881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11882 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11883 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-arith`
   11884 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   11885   $as_echo_n "(cached) " >&6
   11886 else
   11887   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11888 /* end confdefs.h.  */
   11889 int i;
   11890 int
   11891 main ()
   11892 {
   11893 
   11894   ;
   11895   return 0;
   11896 }
   11897 _ACEOF
   11898 if ac_fn_c_try_link "$LINENO"; then :
   11899   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   11900 else
   11901   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   11902 fi
   11903 rm -f core conftest.err conftest.$ac_objext \
   11904     conftest$ac_exeext conftest.$ac_ext
   11905 fi
   11906 
   11907 
   11908 		CFLAGS="$xorg_testset_save_CFLAGS"
   11909 
   11910 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   11911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11912 $as_echo "$supported" >&6; }
   11913 		if test "$supported" = "yes" ; then
   11914 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11915 			found="yes"
   11916 		fi
   11917 	fi
   11918 
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926 
   11927 
   11928 
   11929 
   11930 
   11931 xorg_testset_save_CFLAGS="$CFLAGS"
   11932 
   11933 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   11934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   11936 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   11937 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   11938   $as_echo_n "(cached) " >&6
   11939 else
   11940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11941 /* end confdefs.h.  */
   11942 int i;
   11943 _ACEOF
   11944 if ac_fn_c_try_compile "$LINENO"; then :
   11945   xorg_cv_compiler_flag_unknown_warning_option=yes
   11946 else
   11947   xorg_cv_compiler_flag_unknown_warning_option=no
   11948 fi
   11949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11950 fi
   11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   11952 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   11953 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   11954 	CFLAGS="$xorg_testset_save_CFLAGS"
   11955 fi
   11956 
   11957 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   11958 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11960 	fi
   11961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   11963 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   11964 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   11965   $as_echo_n "(cached) " >&6
   11966 else
   11967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11968 /* end confdefs.h.  */
   11969 int i;
   11970 _ACEOF
   11971 if ac_fn_c_try_compile "$LINENO"; then :
   11972   xorg_cv_compiler_flag_unused_command_line_argument=yes
   11973 else
   11974   xorg_cv_compiler_flag_unused_command_line_argument=no
   11975 fi
   11976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11977 fi
   11978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   11979 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   11980 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   11981 	CFLAGS="$xorg_testset_save_CFLAGS"
   11982 fi
   11983 
   11984 found="no"
   11985 
   11986 	if test $found = "no" ; then
   11987 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11989 		fi
   11990 
   11991 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11993 		fi
   11994 
   11995 		CFLAGS="$CFLAGS -Wmissing-declarations"
   11996 
   11997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   11998 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   11999 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-declarations`
   12000 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12001   $as_echo_n "(cached) " >&6
   12002 else
   12003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12004 /* end confdefs.h.  */
   12005 int i;
   12006 int
   12007 main ()
   12008 {
   12009 
   12010   ;
   12011   return 0;
   12012 }
   12013 _ACEOF
   12014 if ac_fn_c_try_link "$LINENO"; then :
   12015   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12016 else
   12017   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12018 fi
   12019 rm -f core conftest.err conftest.$ac_objext \
   12020     conftest$ac_exeext conftest.$ac_ext
   12021 fi
   12022 
   12023 
   12024 		CFLAGS="$xorg_testset_save_CFLAGS"
   12025 
   12026 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12028 $as_echo "$supported" >&6; }
   12029 		if test "$supported" = "yes" ; then
   12030 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12031 			found="yes"
   12032 		fi
   12033 	fi
   12034 
   12035 
   12036 
   12037 
   12038 
   12039 
   12040 
   12041 
   12042 
   12043 
   12044 
   12045 
   12046 
   12047 xorg_testset_save_CFLAGS="$CFLAGS"
   12048 
   12049 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12050 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12051 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12052 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12053 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12054   $as_echo_n "(cached) " >&6
   12055 else
   12056   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12057 /* end confdefs.h.  */
   12058 int i;
   12059 _ACEOF
   12060 if ac_fn_c_try_compile "$LINENO"; then :
   12061   xorg_cv_compiler_flag_unknown_warning_option=yes
   12062 else
   12063   xorg_cv_compiler_flag_unknown_warning_option=no
   12064 fi
   12065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12066 fi
   12067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12068 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12069 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12070 	CFLAGS="$xorg_testset_save_CFLAGS"
   12071 fi
   12072 
   12073 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12074 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12075 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12076 	fi
   12077 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12078 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12079 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12080 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12081   $as_echo_n "(cached) " >&6
   12082 else
   12083   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12084 /* end confdefs.h.  */
   12085 int i;
   12086 _ACEOF
   12087 if ac_fn_c_try_compile "$LINENO"; then :
   12088   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12089 else
   12090   xorg_cv_compiler_flag_unused_command_line_argument=no
   12091 fi
   12092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12093 fi
   12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12095 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12096 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12097 	CFLAGS="$xorg_testset_save_CFLAGS"
   12098 fi
   12099 
   12100 found="no"
   12101 
   12102 	if test $found = "no" ; then
   12103 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12104 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12105 		fi
   12106 
   12107 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12108 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12109 		fi
   12110 
   12111 		CFLAGS="$CFLAGS -Wformat=2"
   12112 
   12113 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12114 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12115 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat=2`
   12116 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12117   $as_echo_n "(cached) " >&6
   12118 else
   12119   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12120 /* end confdefs.h.  */
   12121 int i;
   12122 int
   12123 main ()
   12124 {
   12125 
   12126   ;
   12127   return 0;
   12128 }
   12129 _ACEOF
   12130 if ac_fn_c_try_link "$LINENO"; then :
   12131   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12132 else
   12133   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12134 fi
   12135 rm -f core conftest.err conftest.$ac_objext \
   12136     conftest$ac_exeext conftest.$ac_ext
   12137 fi
   12138 
   12139 
   12140 		CFLAGS="$xorg_testset_save_CFLAGS"
   12141 
   12142 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12143 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12144 $as_echo "$supported" >&6; }
   12145 		if test "$supported" = "yes" ; then
   12146 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12147 			found="yes"
   12148 		fi
   12149 	fi
   12150 
   12151 	if test $found = "no" ; then
   12152 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12153 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12154 		fi
   12155 
   12156 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12157 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12158 		fi
   12159 
   12160 		CFLAGS="$CFLAGS -Wformat"
   12161 
   12162 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12163 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12164 		cacheid=`$as_echo xorg_cv_cc_flag_-Wformat`
   12165 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12166   $as_echo_n "(cached) " >&6
   12167 else
   12168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12169 /* end confdefs.h.  */
   12170 int i;
   12171 int
   12172 main ()
   12173 {
   12174 
   12175   ;
   12176   return 0;
   12177 }
   12178 _ACEOF
   12179 if ac_fn_c_try_link "$LINENO"; then :
   12180   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12181 else
   12182   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12183 fi
   12184 rm -f core conftest.err conftest.$ac_objext \
   12185     conftest$ac_exeext conftest.$ac_ext
   12186 fi
   12187 
   12188 
   12189 		CFLAGS="$xorg_testset_save_CFLAGS"
   12190 
   12191 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12193 $as_echo "$supported" >&6; }
   12194 		if test "$supported" = "yes" ; then
   12195 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12196 			found="yes"
   12197 		fi
   12198 	fi
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 xorg_testset_save_CFLAGS="$CFLAGS"
   12215 
   12216 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12217 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12218 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12219 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12220 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12221   $as_echo_n "(cached) " >&6
   12222 else
   12223   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12224 /* end confdefs.h.  */
   12225 int i;
   12226 _ACEOF
   12227 if ac_fn_c_try_compile "$LINENO"; then :
   12228   xorg_cv_compiler_flag_unknown_warning_option=yes
   12229 else
   12230   xorg_cv_compiler_flag_unknown_warning_option=no
   12231 fi
   12232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12233 fi
   12234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12235 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12236 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12237 	CFLAGS="$xorg_testset_save_CFLAGS"
   12238 fi
   12239 
   12240 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12241 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12242 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12243 	fi
   12244 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12246 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12247 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12248   $as_echo_n "(cached) " >&6
   12249 else
   12250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12251 /* end confdefs.h.  */
   12252 int i;
   12253 _ACEOF
   12254 if ac_fn_c_try_compile "$LINENO"; then :
   12255   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12256 else
   12257   xorg_cv_compiler_flag_unused_command_line_argument=no
   12258 fi
   12259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12260 fi
   12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12262 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12263 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12264 	CFLAGS="$xorg_testset_save_CFLAGS"
   12265 fi
   12266 
   12267 found="no"
   12268 
   12269 	if test $found = "no" ; then
   12270 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12271 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12272 		fi
   12273 
   12274 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12275 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12276 		fi
   12277 
   12278 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12279 
   12280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12281 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12282 		cacheid=`$as_echo xorg_cv_cc_flag_-Wstrict-prototypes`
   12283 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12284   $as_echo_n "(cached) " >&6
   12285 else
   12286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12287 /* end confdefs.h.  */
   12288 int i;
   12289 int
   12290 main ()
   12291 {
   12292 
   12293   ;
   12294   return 0;
   12295 }
   12296 _ACEOF
   12297 if ac_fn_c_try_link "$LINENO"; then :
   12298   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12299 else
   12300   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12301 fi
   12302 rm -f core conftest.err conftest.$ac_objext \
   12303     conftest$ac_exeext conftest.$ac_ext
   12304 fi
   12305 
   12306 
   12307 		CFLAGS="$xorg_testset_save_CFLAGS"
   12308 
   12309 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12311 $as_echo "$supported" >&6; }
   12312 		if test "$supported" = "yes" ; then
   12313 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12314 			found="yes"
   12315 		fi
   12316 	fi
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 xorg_testset_save_CFLAGS="$CFLAGS"
   12331 
   12332 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12333 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12334 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12335 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12336 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12337   $as_echo_n "(cached) " >&6
   12338 else
   12339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12340 /* end confdefs.h.  */
   12341 int i;
   12342 _ACEOF
   12343 if ac_fn_c_try_compile "$LINENO"; then :
   12344   xorg_cv_compiler_flag_unknown_warning_option=yes
   12345 else
   12346   xorg_cv_compiler_flag_unknown_warning_option=no
   12347 fi
   12348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12349 fi
   12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12351 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12352 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12353 	CFLAGS="$xorg_testset_save_CFLAGS"
   12354 fi
   12355 
   12356 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12357 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12358 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12359 	fi
   12360 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12362 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12363 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12364   $as_echo_n "(cached) " >&6
   12365 else
   12366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12367 /* end confdefs.h.  */
   12368 int i;
   12369 _ACEOF
   12370 if ac_fn_c_try_compile "$LINENO"; then :
   12371   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12372 else
   12373   xorg_cv_compiler_flag_unused_command_line_argument=no
   12374 fi
   12375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12376 fi
   12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12378 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12379 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12380 	CFLAGS="$xorg_testset_save_CFLAGS"
   12381 fi
   12382 
   12383 found="no"
   12384 
   12385 	if test $found = "no" ; then
   12386 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12387 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12388 		fi
   12389 
   12390 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12391 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12392 		fi
   12393 
   12394 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12395 
   12396 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12397 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12398 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-prototypes`
   12399 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12400   $as_echo_n "(cached) " >&6
   12401 else
   12402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12403 /* end confdefs.h.  */
   12404 int i;
   12405 int
   12406 main ()
   12407 {
   12408 
   12409   ;
   12410   return 0;
   12411 }
   12412 _ACEOF
   12413 if ac_fn_c_try_link "$LINENO"; then :
   12414   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12415 else
   12416   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12417 fi
   12418 rm -f core conftest.err conftest.$ac_objext \
   12419     conftest$ac_exeext conftest.$ac_ext
   12420 fi
   12421 
   12422 
   12423 		CFLAGS="$xorg_testset_save_CFLAGS"
   12424 
   12425 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12427 $as_echo "$supported" >&6; }
   12428 		if test "$supported" = "yes" ; then
   12429 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12430 			found="yes"
   12431 		fi
   12432 	fi
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 xorg_testset_save_CFLAGS="$CFLAGS"
   12447 
   12448 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12449 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12450 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12451 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12452 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12453   $as_echo_n "(cached) " >&6
   12454 else
   12455   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12456 /* end confdefs.h.  */
   12457 int i;
   12458 _ACEOF
   12459 if ac_fn_c_try_compile "$LINENO"; then :
   12460   xorg_cv_compiler_flag_unknown_warning_option=yes
   12461 else
   12462   xorg_cv_compiler_flag_unknown_warning_option=no
   12463 fi
   12464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12465 fi
   12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12467 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12468 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12469 	CFLAGS="$xorg_testset_save_CFLAGS"
   12470 fi
   12471 
   12472 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12473 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12474 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12475 	fi
   12476 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12477 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12478 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12479 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12480   $as_echo_n "(cached) " >&6
   12481 else
   12482   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12483 /* end confdefs.h.  */
   12484 int i;
   12485 _ACEOF
   12486 if ac_fn_c_try_compile "$LINENO"; then :
   12487   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12488 else
   12489   xorg_cv_compiler_flag_unused_command_line_argument=no
   12490 fi
   12491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12492 fi
   12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12494 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12495 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12496 	CFLAGS="$xorg_testset_save_CFLAGS"
   12497 fi
   12498 
   12499 found="no"
   12500 
   12501 	if test $found = "no" ; then
   12502 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12503 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12504 		fi
   12505 
   12506 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12507 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12508 		fi
   12509 
   12510 		CFLAGS="$CFLAGS -Wnested-externs"
   12511 
   12512 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12513 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12514 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnested-externs`
   12515 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12516   $as_echo_n "(cached) " >&6
   12517 else
   12518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12519 /* end confdefs.h.  */
   12520 int i;
   12521 int
   12522 main ()
   12523 {
   12524 
   12525   ;
   12526   return 0;
   12527 }
   12528 _ACEOF
   12529 if ac_fn_c_try_link "$LINENO"; then :
   12530   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12531 else
   12532   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12533 fi
   12534 rm -f core conftest.err conftest.$ac_objext \
   12535     conftest$ac_exeext conftest.$ac_ext
   12536 fi
   12537 
   12538 
   12539 		CFLAGS="$xorg_testset_save_CFLAGS"
   12540 
   12541 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12542 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12543 $as_echo "$supported" >&6; }
   12544 		if test "$supported" = "yes" ; then
   12545 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12546 			found="yes"
   12547 		fi
   12548 	fi
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 
   12562 xorg_testset_save_CFLAGS="$CFLAGS"
   12563 
   12564 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12567 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12568 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12569   $as_echo_n "(cached) " >&6
   12570 else
   12571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12572 /* end confdefs.h.  */
   12573 int i;
   12574 _ACEOF
   12575 if ac_fn_c_try_compile "$LINENO"; then :
   12576   xorg_cv_compiler_flag_unknown_warning_option=yes
   12577 else
   12578   xorg_cv_compiler_flag_unknown_warning_option=no
   12579 fi
   12580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12581 fi
   12582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12583 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12584 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12585 	CFLAGS="$xorg_testset_save_CFLAGS"
   12586 fi
   12587 
   12588 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12589 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12591 	fi
   12592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12594 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12595 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12596   $as_echo_n "(cached) " >&6
   12597 else
   12598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12599 /* end confdefs.h.  */
   12600 int i;
   12601 _ACEOF
   12602 if ac_fn_c_try_compile "$LINENO"; then :
   12603   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12604 else
   12605   xorg_cv_compiler_flag_unused_command_line_argument=no
   12606 fi
   12607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12608 fi
   12609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12610 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12611 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12612 	CFLAGS="$xorg_testset_save_CFLAGS"
   12613 fi
   12614 
   12615 found="no"
   12616 
   12617 	if test $found = "no" ; then
   12618 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12620 		fi
   12621 
   12622 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12624 		fi
   12625 
   12626 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12627 
   12628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12629 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12630 		cacheid=`$as_echo xorg_cv_cc_flag_-Wbad-function-cast`
   12631 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12632   $as_echo_n "(cached) " >&6
   12633 else
   12634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12635 /* end confdefs.h.  */
   12636 int i;
   12637 int
   12638 main ()
   12639 {
   12640 
   12641   ;
   12642   return 0;
   12643 }
   12644 _ACEOF
   12645 if ac_fn_c_try_link "$LINENO"; then :
   12646   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12647 else
   12648   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12649 fi
   12650 rm -f core conftest.err conftest.$ac_objext \
   12651     conftest$ac_exeext conftest.$ac_ext
   12652 fi
   12653 
   12654 
   12655 		CFLAGS="$xorg_testset_save_CFLAGS"
   12656 
   12657 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12659 $as_echo "$supported" >&6; }
   12660 		if test "$supported" = "yes" ; then
   12661 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12662 			found="yes"
   12663 		fi
   12664 	fi
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 xorg_testset_save_CFLAGS="$CFLAGS"
   12679 
   12680 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12683 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12684 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12685   $as_echo_n "(cached) " >&6
   12686 else
   12687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12688 /* end confdefs.h.  */
   12689 int i;
   12690 _ACEOF
   12691 if ac_fn_c_try_compile "$LINENO"; then :
   12692   xorg_cv_compiler_flag_unknown_warning_option=yes
   12693 else
   12694   xorg_cv_compiler_flag_unknown_warning_option=no
   12695 fi
   12696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12697 fi
   12698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12699 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12700 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12701 	CFLAGS="$xorg_testset_save_CFLAGS"
   12702 fi
   12703 
   12704 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12705 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12707 	fi
   12708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12710 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12711 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12712   $as_echo_n "(cached) " >&6
   12713 else
   12714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12715 /* end confdefs.h.  */
   12716 int i;
   12717 _ACEOF
   12718 if ac_fn_c_try_compile "$LINENO"; then :
   12719   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12720 else
   12721   xorg_cv_compiler_flag_unused_command_line_argument=no
   12722 fi
   12723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12724 fi
   12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12726 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12727 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12728 	CFLAGS="$xorg_testset_save_CFLAGS"
   12729 fi
   12730 
   12731 found="no"
   12732 
   12733 	if test $found = "no" ; then
   12734 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12736 		fi
   12737 
   12738 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12740 		fi
   12741 
   12742 		CFLAGS="$CFLAGS -Wold-style-definition"
   12743 
   12744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12745 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12746 		cacheid=`$as_echo xorg_cv_cc_flag_-Wold-style-definition`
   12747 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12748   $as_echo_n "(cached) " >&6
   12749 else
   12750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12751 /* end confdefs.h.  */
   12752 int i;
   12753 int
   12754 main ()
   12755 {
   12756 
   12757   ;
   12758   return 0;
   12759 }
   12760 _ACEOF
   12761 if ac_fn_c_try_link "$LINENO"; then :
   12762   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12763 else
   12764   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   12765 fi
   12766 rm -f core conftest.err conftest.$ac_objext \
   12767     conftest$ac_exeext conftest.$ac_ext
   12768 fi
   12769 
   12770 
   12771 		CFLAGS="$xorg_testset_save_CFLAGS"
   12772 
   12773 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   12774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12775 $as_echo "$supported" >&6; }
   12776 		if test "$supported" = "yes" ; then
   12777 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12778 			found="yes"
   12779 		fi
   12780 	fi
   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_unknown_warning_option" = "x" ; then
   12797 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12799 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12800 if ${xorg_cv_compiler_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_compiler_flag_unknown_warning_option=yes
   12809 else
   12810   xorg_cv_compiler_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_compiler_flag_unknown_warning_option" >&5
   12815 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12816 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12817 	CFLAGS="$xorg_testset_save_CFLAGS"
   12818 fi
   12819 
   12820 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12821 	if test "x$xorg_testset_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 compiler supports -Werror=unused-command-line-argument" >&5
   12826 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12827 if ${xorg_cv_compiler_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_compiler_flag_unused_command_line_argument=yes
   12836 else
   12837   xorg_cv_compiler_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_compiler_flag_unused_command_line_argument" >&5
   12842 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12843 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_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 -Wdeclaration-after-statement"
   12859 
   12860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12861 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12862 		cacheid=`$as_echo xorg_cv_cc_flag_-Wdeclaration-after-statement`
   12863 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   12879 else
   12880   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   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 -Wdeclaration-after-statement"
   12894 			found="yes"
   12895 		fi
   12896 	fi
   12897 
   12898 
   12899 
   12900 
   12901 
   12902 # This chunk adds additional warnings that could catch undesired effects.
   12903 
   12904 
   12905 
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 xorg_testset_save_CFLAGS="$CFLAGS"
   12915 
   12916 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   12917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   12919 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   12920 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   12921   $as_echo_n "(cached) " >&6
   12922 else
   12923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12924 /* end confdefs.h.  */
   12925 int i;
   12926 _ACEOF
   12927 if ac_fn_c_try_compile "$LINENO"; then :
   12928   xorg_cv_compiler_flag_unknown_warning_option=yes
   12929 else
   12930   xorg_cv_compiler_flag_unknown_warning_option=no
   12931 fi
   12932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12933 fi
   12934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   12935 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   12936 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   12937 	CFLAGS="$xorg_testset_save_CFLAGS"
   12938 fi
   12939 
   12940 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   12941 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12943 	fi
   12944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   12946 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   12947 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   12948   $as_echo_n "(cached) " >&6
   12949 else
   12950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12951 /* end confdefs.h.  */
   12952 int i;
   12953 _ACEOF
   12954 if ac_fn_c_try_compile "$LINENO"; then :
   12955   xorg_cv_compiler_flag_unused_command_line_argument=yes
   12956 else
   12957   xorg_cv_compiler_flag_unused_command_line_argument=no
   12958 fi
   12959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12960 fi
   12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   12962 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   12963 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   12964 	CFLAGS="$xorg_testset_save_CFLAGS"
   12965 fi
   12966 
   12967 found="no"
   12968 
   12969 	if test $found = "no" ; then
   12970 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12972 		fi
   12973 
   12974 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12976 		fi
   12977 
   12978 		CFLAGS="$CFLAGS -Wunused"
   12979 
   12980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   12981 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   12982 		cacheid=`$as_echo xorg_cv_cc_flag_-Wunused`
   12983 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   12984   $as_echo_n "(cached) " >&6
   12985 else
   12986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12987 /* end confdefs.h.  */
   12988 int i;
   12989 int
   12990 main ()
   12991 {
   12992 
   12993   ;
   12994   return 0;
   12995 }
   12996 _ACEOF
   12997 if ac_fn_c_try_link "$LINENO"; then :
   12998   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   12999 else
   13000   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13001 fi
   13002 rm -f core conftest.err conftest.$ac_objext \
   13003     conftest$ac_exeext conftest.$ac_ext
   13004 fi
   13005 
   13006 
   13007 		CFLAGS="$xorg_testset_save_CFLAGS"
   13008 
   13009 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13011 $as_echo "$supported" >&6; }
   13012 		if test "$supported" = "yes" ; then
   13013 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13014 			found="yes"
   13015 		fi
   13016 	fi
   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_unknown_warning_option" = "x" ; then
   13033 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13035 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13036 if ${xorg_cv_compiler_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_compiler_flag_unknown_warning_option=yes
   13045 else
   13046   xorg_cv_compiler_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_compiler_flag_unknown_warning_option" >&5
   13051 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13052 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13053 	CFLAGS="$xorg_testset_save_CFLAGS"
   13054 fi
   13055 
   13056 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13057 	if test "x$xorg_testset_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 compiler supports -Werror=unused-command-line-argument" >&5
   13062 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13063 if ${xorg_cv_compiler_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_compiler_flag_unused_command_line_argument=yes
   13072 else
   13073   xorg_cv_compiler_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_compiler_flag_unused_command_line_argument" >&5
   13078 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13079 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_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 -Wuninitialized"
   13095 
   13096 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13097 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13098 		cacheid=`$as_echo xorg_cv_cc_flag_-Wuninitialized`
   13099 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 `$as_echo "$cacheid" | $as_tr_sh`=yes
   13115 else
   13116   eval `$as_echo "$cacheid" | $as_tr_sh`=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=$`$as_echo "$cacheid" | $as_tr_sh`
   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 -Wuninitialized"
   13130 			found="yes"
   13131 		fi
   13132 	fi
   13133 
   13134 
   13135 
   13136 
   13137 
   13138 
   13139 
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 xorg_testset_save_CFLAGS="$CFLAGS"
   13147 
   13148 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13149 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13151 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13152 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13153   $as_echo_n "(cached) " >&6
   13154 else
   13155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13156 /* end confdefs.h.  */
   13157 int i;
   13158 _ACEOF
   13159 if ac_fn_c_try_compile "$LINENO"; then :
   13160   xorg_cv_compiler_flag_unknown_warning_option=yes
   13161 else
   13162   xorg_cv_compiler_flag_unknown_warning_option=no
   13163 fi
   13164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13165 fi
   13166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13167 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13168 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13169 	CFLAGS="$xorg_testset_save_CFLAGS"
   13170 fi
   13171 
   13172 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13173 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13174 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13175 	fi
   13176 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13178 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13179 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13180   $as_echo_n "(cached) " >&6
   13181 else
   13182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13183 /* end confdefs.h.  */
   13184 int i;
   13185 _ACEOF
   13186 if ac_fn_c_try_compile "$LINENO"; then :
   13187   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13188 else
   13189   xorg_cv_compiler_flag_unused_command_line_argument=no
   13190 fi
   13191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13192 fi
   13193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13194 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13195 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13196 	CFLAGS="$xorg_testset_save_CFLAGS"
   13197 fi
   13198 
   13199 found="no"
   13200 
   13201 	if test $found = "no" ; then
   13202 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13203 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13204 		fi
   13205 
   13206 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13207 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13208 		fi
   13209 
   13210 		CFLAGS="$CFLAGS -Wshadow"
   13211 
   13212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13213 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13214 		cacheid=`$as_echo xorg_cv_cc_flag_-Wshadow`
   13215 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13216   $as_echo_n "(cached) " >&6
   13217 else
   13218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13219 /* end confdefs.h.  */
   13220 int i;
   13221 int
   13222 main ()
   13223 {
   13224 
   13225   ;
   13226   return 0;
   13227 }
   13228 _ACEOF
   13229 if ac_fn_c_try_link "$LINENO"; then :
   13230   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13231 else
   13232   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13233 fi
   13234 rm -f core conftest.err conftest.$ac_objext \
   13235     conftest$ac_exeext conftest.$ac_ext
   13236 fi
   13237 
   13238 
   13239 		CFLAGS="$xorg_testset_save_CFLAGS"
   13240 
   13241 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13243 $as_echo "$supported" >&6; }
   13244 		if test "$supported" = "yes" ; then
   13245 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13246 			found="yes"
   13247 		fi
   13248 	fi
   13249 
   13250 
   13251 
   13252 
   13253 
   13254 
   13255 
   13256 
   13257 
   13258 
   13259 
   13260 
   13261 
   13262 xorg_testset_save_CFLAGS="$CFLAGS"
   13263 
   13264 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13265 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13267 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13268 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13269   $as_echo_n "(cached) " >&6
   13270 else
   13271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13272 /* end confdefs.h.  */
   13273 int i;
   13274 _ACEOF
   13275 if ac_fn_c_try_compile "$LINENO"; then :
   13276   xorg_cv_compiler_flag_unknown_warning_option=yes
   13277 else
   13278   xorg_cv_compiler_flag_unknown_warning_option=no
   13279 fi
   13280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13281 fi
   13282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13283 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13284 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13285 	CFLAGS="$xorg_testset_save_CFLAGS"
   13286 fi
   13287 
   13288 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13289 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13290 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13291 	fi
   13292 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13294 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13295 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13296   $as_echo_n "(cached) " >&6
   13297 else
   13298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13299 /* end confdefs.h.  */
   13300 int i;
   13301 _ACEOF
   13302 if ac_fn_c_try_compile "$LINENO"; then :
   13303   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13304 else
   13305   xorg_cv_compiler_flag_unused_command_line_argument=no
   13306 fi
   13307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13308 fi
   13309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13310 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13311 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13312 	CFLAGS="$xorg_testset_save_CFLAGS"
   13313 fi
   13314 
   13315 found="no"
   13316 
   13317 	if test $found = "no" ; then
   13318 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13319 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13320 		fi
   13321 
   13322 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13323 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13324 		fi
   13325 
   13326 		CFLAGS="$CFLAGS -Wcast-qual"
   13327 
   13328 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13329 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13330 		cacheid=`$as_echo xorg_cv_cc_flag_-Wcast-qual`
   13331 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13332   $as_echo_n "(cached) " >&6
   13333 else
   13334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13335 /* end confdefs.h.  */
   13336 int i;
   13337 int
   13338 main ()
   13339 {
   13340 
   13341   ;
   13342   return 0;
   13343 }
   13344 _ACEOF
   13345 if ac_fn_c_try_link "$LINENO"; then :
   13346   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13347 else
   13348   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13349 fi
   13350 rm -f core conftest.err conftest.$ac_objext \
   13351     conftest$ac_exeext conftest.$ac_ext
   13352 fi
   13353 
   13354 
   13355 		CFLAGS="$xorg_testset_save_CFLAGS"
   13356 
   13357 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13358 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13359 $as_echo "$supported" >&6; }
   13360 		if test "$supported" = "yes" ; then
   13361 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13362 			found="yes"
   13363 		fi
   13364 	fi
   13365 
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 
   13375 
   13376 
   13377 
   13378 xorg_testset_save_CFLAGS="$CFLAGS"
   13379 
   13380 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13381 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13383 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13384 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13385   $as_echo_n "(cached) " >&6
   13386 else
   13387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13388 /* end confdefs.h.  */
   13389 int i;
   13390 _ACEOF
   13391 if ac_fn_c_try_compile "$LINENO"; then :
   13392   xorg_cv_compiler_flag_unknown_warning_option=yes
   13393 else
   13394   xorg_cv_compiler_flag_unknown_warning_option=no
   13395 fi
   13396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13397 fi
   13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13399 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13400 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13401 	CFLAGS="$xorg_testset_save_CFLAGS"
   13402 fi
   13403 
   13404 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13405 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13406 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13407 	fi
   13408 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13409 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13410 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13411 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13412   $as_echo_n "(cached) " >&6
   13413 else
   13414   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13415 /* end confdefs.h.  */
   13416 int i;
   13417 _ACEOF
   13418 if ac_fn_c_try_compile "$LINENO"; then :
   13419   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13420 else
   13421   xorg_cv_compiler_flag_unused_command_line_argument=no
   13422 fi
   13423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13424 fi
   13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13426 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13427 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13428 	CFLAGS="$xorg_testset_save_CFLAGS"
   13429 fi
   13430 
   13431 found="no"
   13432 
   13433 	if test $found = "no" ; then
   13434 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13435 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13436 		fi
   13437 
   13438 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13439 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13440 		fi
   13441 
   13442 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13443 
   13444 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13445 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13446 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-noreturn`
   13447 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13448   $as_echo_n "(cached) " >&6
   13449 else
   13450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13451 /* end confdefs.h.  */
   13452 int i;
   13453 int
   13454 main ()
   13455 {
   13456 
   13457   ;
   13458   return 0;
   13459 }
   13460 _ACEOF
   13461 if ac_fn_c_try_link "$LINENO"; then :
   13462   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13463 else
   13464   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13465 fi
   13466 rm -f core conftest.err conftest.$ac_objext \
   13467     conftest$ac_exeext conftest.$ac_ext
   13468 fi
   13469 
   13470 
   13471 		CFLAGS="$xorg_testset_save_CFLAGS"
   13472 
   13473 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13474 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13475 $as_echo "$supported" >&6; }
   13476 		if test "$supported" = "yes" ; then
   13477 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13478 			found="yes"
   13479 		fi
   13480 	fi
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 
   13488 
   13489 
   13490 
   13491 
   13492 
   13493 
   13494 xorg_testset_save_CFLAGS="$CFLAGS"
   13495 
   13496 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13497 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13498 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13499 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13500 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13501   $as_echo_n "(cached) " >&6
   13502 else
   13503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13504 /* end confdefs.h.  */
   13505 int i;
   13506 _ACEOF
   13507 if ac_fn_c_try_compile "$LINENO"; then :
   13508   xorg_cv_compiler_flag_unknown_warning_option=yes
   13509 else
   13510   xorg_cv_compiler_flag_unknown_warning_option=no
   13511 fi
   13512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13513 fi
   13514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13515 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13516 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13517 	CFLAGS="$xorg_testset_save_CFLAGS"
   13518 fi
   13519 
   13520 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13521 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13522 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13523 	fi
   13524 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13525 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13526 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13527 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13528   $as_echo_n "(cached) " >&6
   13529 else
   13530   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13531 /* end confdefs.h.  */
   13532 int i;
   13533 _ACEOF
   13534 if ac_fn_c_try_compile "$LINENO"; then :
   13535   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13536 else
   13537   xorg_cv_compiler_flag_unused_command_line_argument=no
   13538 fi
   13539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13540 fi
   13541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13542 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13543 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13544 	CFLAGS="$xorg_testset_save_CFLAGS"
   13545 fi
   13546 
   13547 found="no"
   13548 
   13549 	if test $found = "no" ; then
   13550 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13551 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13552 		fi
   13553 
   13554 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13555 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13556 		fi
   13557 
   13558 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13559 
   13560 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13561 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13562 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-format-attribute`
   13563 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13564   $as_echo_n "(cached) " >&6
   13565 else
   13566   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13567 /* end confdefs.h.  */
   13568 int i;
   13569 int
   13570 main ()
   13571 {
   13572 
   13573   ;
   13574   return 0;
   13575 }
   13576 _ACEOF
   13577 if ac_fn_c_try_link "$LINENO"; then :
   13578   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13579 else
   13580   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13581 fi
   13582 rm -f core conftest.err conftest.$ac_objext \
   13583     conftest$ac_exeext conftest.$ac_ext
   13584 fi
   13585 
   13586 
   13587 		CFLAGS="$xorg_testset_save_CFLAGS"
   13588 
   13589 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13590 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13591 $as_echo "$supported" >&6; }
   13592 		if test "$supported" = "yes" ; then
   13593 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13594 			found="yes"
   13595 		fi
   13596 	fi
   13597 
   13598 
   13599 
   13600 
   13601 
   13602 
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 
   13610 xorg_testset_save_CFLAGS="$CFLAGS"
   13611 
   13612 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13613 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13615 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13616 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13617   $as_echo_n "(cached) " >&6
   13618 else
   13619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13620 /* end confdefs.h.  */
   13621 int i;
   13622 _ACEOF
   13623 if ac_fn_c_try_compile "$LINENO"; then :
   13624   xorg_cv_compiler_flag_unknown_warning_option=yes
   13625 else
   13626   xorg_cv_compiler_flag_unknown_warning_option=no
   13627 fi
   13628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13629 fi
   13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13631 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13632 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13633 	CFLAGS="$xorg_testset_save_CFLAGS"
   13634 fi
   13635 
   13636 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13637 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13638 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13639 	fi
   13640 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13641 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13642 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13643 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13644   $as_echo_n "(cached) " >&6
   13645 else
   13646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13647 /* end confdefs.h.  */
   13648 int i;
   13649 _ACEOF
   13650 if ac_fn_c_try_compile "$LINENO"; then :
   13651   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13652 else
   13653   xorg_cv_compiler_flag_unused_command_line_argument=no
   13654 fi
   13655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13656 fi
   13657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13658 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13659 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13660 	CFLAGS="$xorg_testset_save_CFLAGS"
   13661 fi
   13662 
   13663 found="no"
   13664 
   13665 	if test $found = "no" ; then
   13666 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13667 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13668 		fi
   13669 
   13670 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13671 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13672 		fi
   13673 
   13674 		CFLAGS="$CFLAGS -Wredundant-decls"
   13675 
   13676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13677 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13678 		cacheid=`$as_echo xorg_cv_cc_flag_-Wredundant-decls`
   13679 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13680   $as_echo_n "(cached) " >&6
   13681 else
   13682   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13683 /* end confdefs.h.  */
   13684 int i;
   13685 int
   13686 main ()
   13687 {
   13688 
   13689   ;
   13690   return 0;
   13691 }
   13692 _ACEOF
   13693 if ac_fn_c_try_link "$LINENO"; then :
   13694   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13695 else
   13696   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13697 fi
   13698 rm -f core conftest.err conftest.$ac_objext \
   13699     conftest$ac_exeext conftest.$ac_ext
   13700 fi
   13701 
   13702 
   13703 		CFLAGS="$xorg_testset_save_CFLAGS"
   13704 
   13705 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13706 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13707 $as_echo "$supported" >&6; }
   13708 		if test "$supported" = "yes" ; then
   13709 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13710 			found="yes"
   13711 		fi
   13712 	fi
   13713 
   13714 
   13715 
   13716 # These are currently disabled because they are noisy.  They will be enabled
   13717 # in the future once the codebase is sufficiently modernized to silence
   13718 # them.  For now, I don't want them to drown out the other warnings.
   13719 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13720 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13721 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13722 
   13723 # Turn some warnings into errors, so we don't accidently get successful builds
   13724 # when there are problems that should be fixed.
   13725 
   13726 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13727 
   13728 
   13729 
   13730 
   13731 
   13732 
   13733 
   13734 
   13735 
   13736 
   13737 
   13738 xorg_testset_save_CFLAGS="$CFLAGS"
   13739 
   13740 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13741 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13743 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13744 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13745   $as_echo_n "(cached) " >&6
   13746 else
   13747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13748 /* end confdefs.h.  */
   13749 int i;
   13750 _ACEOF
   13751 if ac_fn_c_try_compile "$LINENO"; then :
   13752   xorg_cv_compiler_flag_unknown_warning_option=yes
   13753 else
   13754   xorg_cv_compiler_flag_unknown_warning_option=no
   13755 fi
   13756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13757 fi
   13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13759 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13760 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13761 	CFLAGS="$xorg_testset_save_CFLAGS"
   13762 fi
   13763 
   13764 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13765 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13766 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13767 	fi
   13768 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13770 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13771 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13772   $as_echo_n "(cached) " >&6
   13773 else
   13774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13775 /* end confdefs.h.  */
   13776 int i;
   13777 _ACEOF
   13778 if ac_fn_c_try_compile "$LINENO"; then :
   13779   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13780 else
   13781   xorg_cv_compiler_flag_unused_command_line_argument=no
   13782 fi
   13783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13784 fi
   13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13786 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13787 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13788 	CFLAGS="$xorg_testset_save_CFLAGS"
   13789 fi
   13790 
   13791 found="no"
   13792 
   13793 	if test $found = "no" ; then
   13794 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13795 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13796 		fi
   13797 
   13798 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13799 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13800 		fi
   13801 
   13802 		CFLAGS="$CFLAGS -Werror=implicit"
   13803 
   13804 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13805 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13806 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=implicit`
   13807 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13808   $as_echo_n "(cached) " >&6
   13809 else
   13810   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13811 /* end confdefs.h.  */
   13812 int i;
   13813 int
   13814 main ()
   13815 {
   13816 
   13817   ;
   13818   return 0;
   13819 }
   13820 _ACEOF
   13821 if ac_fn_c_try_link "$LINENO"; then :
   13822   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13823 else
   13824   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13825 fi
   13826 rm -f core conftest.err conftest.$ac_objext \
   13827     conftest$ac_exeext conftest.$ac_ext
   13828 fi
   13829 
   13830 
   13831 		CFLAGS="$xorg_testset_save_CFLAGS"
   13832 
   13833 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13834 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13835 $as_echo "$supported" >&6; }
   13836 		if test "$supported" = "yes" ; then
   13837 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13838 			found="yes"
   13839 		fi
   13840 	fi
   13841 
   13842 	if test $found = "no" ; then
   13843 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13844 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13845 		fi
   13846 
   13847 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13848 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13849 		fi
   13850 
   13851 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13852 
   13853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13854 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13855 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED`
   13856 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13857   $as_echo_n "(cached) " >&6
   13858 else
   13859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13860 /* end confdefs.h.  */
   13861 int i;
   13862 int
   13863 main ()
   13864 {
   13865 
   13866   ;
   13867   return 0;
   13868 }
   13869 _ACEOF
   13870 if ac_fn_c_try_link "$LINENO"; then :
   13871   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13872 else
   13873   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13874 fi
   13875 rm -f core conftest.err conftest.$ac_objext \
   13876     conftest$ac_exeext conftest.$ac_ext
   13877 fi
   13878 
   13879 
   13880 		CFLAGS="$xorg_testset_save_CFLAGS"
   13881 
   13882 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13883 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13884 $as_echo "$supported" >&6; }
   13885 		if test "$supported" = "yes" ; then
   13886 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13887 			found="yes"
   13888 		fi
   13889 	fi
   13890 
   13891 
   13892 
   13893 
   13894 
   13895 
   13896 
   13897 
   13898 
   13899 
   13900 
   13901 
   13902 
   13903 xorg_testset_save_CFLAGS="$CFLAGS"
   13904 
   13905 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   13906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   13908 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   13909 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   13910   $as_echo_n "(cached) " >&6
   13911 else
   13912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13913 /* end confdefs.h.  */
   13914 int i;
   13915 _ACEOF
   13916 if ac_fn_c_try_compile "$LINENO"; then :
   13917   xorg_cv_compiler_flag_unknown_warning_option=yes
   13918 else
   13919   xorg_cv_compiler_flag_unknown_warning_option=no
   13920 fi
   13921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13922 fi
   13923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   13924 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   13925 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   13926 	CFLAGS="$xorg_testset_save_CFLAGS"
   13927 fi
   13928 
   13929 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   13930 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13932 	fi
   13933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   13935 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   13936 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   13937   $as_echo_n "(cached) " >&6
   13938 else
   13939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13940 /* end confdefs.h.  */
   13941 int i;
   13942 _ACEOF
   13943 if ac_fn_c_try_compile "$LINENO"; then :
   13944   xorg_cv_compiler_flag_unused_command_line_argument=yes
   13945 else
   13946   xorg_cv_compiler_flag_unused_command_line_argument=no
   13947 fi
   13948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13949 fi
   13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   13951 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   13952 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   13953 	CFLAGS="$xorg_testset_save_CFLAGS"
   13954 fi
   13955 
   13956 found="no"
   13957 
   13958 	if test $found = "no" ; then
   13959 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13961 		fi
   13962 
   13963 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13965 		fi
   13966 
   13967 		CFLAGS="$CFLAGS -Werror=nonnull"
   13968 
   13969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   13970 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   13971 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=nonnull`
   13972 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   13973   $as_echo_n "(cached) " >&6
   13974 else
   13975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13976 /* end confdefs.h.  */
   13977 int i;
   13978 int
   13979 main ()
   13980 {
   13981 
   13982   ;
   13983   return 0;
   13984 }
   13985 _ACEOF
   13986 if ac_fn_c_try_link "$LINENO"; then :
   13987   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   13988 else
   13989   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   13990 fi
   13991 rm -f core conftest.err conftest.$ac_objext \
   13992     conftest$ac_exeext conftest.$ac_ext
   13993 fi
   13994 
   13995 
   13996 		CFLAGS="$xorg_testset_save_CFLAGS"
   13997 
   13998 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   13999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14000 $as_echo "$supported" >&6; }
   14001 		if test "$supported" = "yes" ; then
   14002 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14003 			found="yes"
   14004 		fi
   14005 	fi
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 xorg_testset_save_CFLAGS="$CFLAGS"
   14020 
   14021 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14022 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14023 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14024 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14025 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14026   $as_echo_n "(cached) " >&6
   14027 else
   14028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14029 /* end confdefs.h.  */
   14030 int i;
   14031 _ACEOF
   14032 if ac_fn_c_try_compile "$LINENO"; then :
   14033   xorg_cv_compiler_flag_unknown_warning_option=yes
   14034 else
   14035   xorg_cv_compiler_flag_unknown_warning_option=no
   14036 fi
   14037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14038 fi
   14039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14040 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14041 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14042 	CFLAGS="$xorg_testset_save_CFLAGS"
   14043 fi
   14044 
   14045 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14046 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14047 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14048 	fi
   14049 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14050 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14051 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14052 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14053   $as_echo_n "(cached) " >&6
   14054 else
   14055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14056 /* end confdefs.h.  */
   14057 int i;
   14058 _ACEOF
   14059 if ac_fn_c_try_compile "$LINENO"; then :
   14060   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14061 else
   14062   xorg_cv_compiler_flag_unused_command_line_argument=no
   14063 fi
   14064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14065 fi
   14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14067 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14068 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14069 	CFLAGS="$xorg_testset_save_CFLAGS"
   14070 fi
   14071 
   14072 found="no"
   14073 
   14074 	if test $found = "no" ; then
   14075 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14076 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14077 		fi
   14078 
   14079 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14080 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14081 		fi
   14082 
   14083 		CFLAGS="$CFLAGS -Werror=init-self"
   14084 
   14085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14086 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14087 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=init-self`
   14088 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14089   $as_echo_n "(cached) " >&6
   14090 else
   14091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14092 /* end confdefs.h.  */
   14093 int i;
   14094 int
   14095 main ()
   14096 {
   14097 
   14098   ;
   14099   return 0;
   14100 }
   14101 _ACEOF
   14102 if ac_fn_c_try_link "$LINENO"; then :
   14103   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14104 else
   14105   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14106 fi
   14107 rm -f core conftest.err conftest.$ac_objext \
   14108     conftest$ac_exeext conftest.$ac_ext
   14109 fi
   14110 
   14111 
   14112 		CFLAGS="$xorg_testset_save_CFLAGS"
   14113 
   14114 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14116 $as_echo "$supported" >&6; }
   14117 		if test "$supported" = "yes" ; then
   14118 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14119 			found="yes"
   14120 		fi
   14121 	fi
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 xorg_testset_save_CFLAGS="$CFLAGS"
   14136 
   14137 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14138 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14139 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14140 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14141 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14142   $as_echo_n "(cached) " >&6
   14143 else
   14144   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14145 /* end confdefs.h.  */
   14146 int i;
   14147 _ACEOF
   14148 if ac_fn_c_try_compile "$LINENO"; then :
   14149   xorg_cv_compiler_flag_unknown_warning_option=yes
   14150 else
   14151   xorg_cv_compiler_flag_unknown_warning_option=no
   14152 fi
   14153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14154 fi
   14155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14156 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14157 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14158 	CFLAGS="$xorg_testset_save_CFLAGS"
   14159 fi
   14160 
   14161 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14162 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14163 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14164 	fi
   14165 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14166 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14167 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14168 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14169   $as_echo_n "(cached) " >&6
   14170 else
   14171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14172 /* end confdefs.h.  */
   14173 int i;
   14174 _ACEOF
   14175 if ac_fn_c_try_compile "$LINENO"; then :
   14176   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14177 else
   14178   xorg_cv_compiler_flag_unused_command_line_argument=no
   14179 fi
   14180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14181 fi
   14182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14183 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14184 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14185 	CFLAGS="$xorg_testset_save_CFLAGS"
   14186 fi
   14187 
   14188 found="no"
   14189 
   14190 	if test $found = "no" ; then
   14191 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14192 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14193 		fi
   14194 
   14195 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14196 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14197 		fi
   14198 
   14199 		CFLAGS="$CFLAGS -Werror=main"
   14200 
   14201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14202 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14203 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=main`
   14204 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14205   $as_echo_n "(cached) " >&6
   14206 else
   14207   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14208 /* end confdefs.h.  */
   14209 int i;
   14210 int
   14211 main ()
   14212 {
   14213 
   14214   ;
   14215   return 0;
   14216 }
   14217 _ACEOF
   14218 if ac_fn_c_try_link "$LINENO"; then :
   14219   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14220 else
   14221   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14222 fi
   14223 rm -f core conftest.err conftest.$ac_objext \
   14224     conftest$ac_exeext conftest.$ac_ext
   14225 fi
   14226 
   14227 
   14228 		CFLAGS="$xorg_testset_save_CFLAGS"
   14229 
   14230 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14231 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14232 $as_echo "$supported" >&6; }
   14233 		if test "$supported" = "yes" ; then
   14234 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14235 			found="yes"
   14236 		fi
   14237 	fi
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 
   14245 
   14246 
   14247 
   14248 
   14249 
   14250 
   14251 xorg_testset_save_CFLAGS="$CFLAGS"
   14252 
   14253 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14254 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14255 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14256 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14257 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14258   $as_echo_n "(cached) " >&6
   14259 else
   14260   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14261 /* end confdefs.h.  */
   14262 int i;
   14263 _ACEOF
   14264 if ac_fn_c_try_compile "$LINENO"; then :
   14265   xorg_cv_compiler_flag_unknown_warning_option=yes
   14266 else
   14267   xorg_cv_compiler_flag_unknown_warning_option=no
   14268 fi
   14269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14270 fi
   14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14272 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14273 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14274 	CFLAGS="$xorg_testset_save_CFLAGS"
   14275 fi
   14276 
   14277 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14278 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14279 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14280 	fi
   14281 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14283 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14284 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14285   $as_echo_n "(cached) " >&6
   14286 else
   14287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14288 /* end confdefs.h.  */
   14289 int i;
   14290 _ACEOF
   14291 if ac_fn_c_try_compile "$LINENO"; then :
   14292   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14293 else
   14294   xorg_cv_compiler_flag_unused_command_line_argument=no
   14295 fi
   14296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14297 fi
   14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14299 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14300 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14301 	CFLAGS="$xorg_testset_save_CFLAGS"
   14302 fi
   14303 
   14304 found="no"
   14305 
   14306 	if test $found = "no" ; then
   14307 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14308 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14309 		fi
   14310 
   14311 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14312 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14313 		fi
   14314 
   14315 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14316 
   14317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14318 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14319 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=missing-braces`
   14320 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14321   $as_echo_n "(cached) " >&6
   14322 else
   14323   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14324 /* end confdefs.h.  */
   14325 int i;
   14326 int
   14327 main ()
   14328 {
   14329 
   14330   ;
   14331   return 0;
   14332 }
   14333 _ACEOF
   14334 if ac_fn_c_try_link "$LINENO"; then :
   14335   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14336 else
   14337   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14338 fi
   14339 rm -f core conftest.err conftest.$ac_objext \
   14340     conftest$ac_exeext conftest.$ac_ext
   14341 fi
   14342 
   14343 
   14344 		CFLAGS="$xorg_testset_save_CFLAGS"
   14345 
   14346 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14347 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14348 $as_echo "$supported" >&6; }
   14349 		if test "$supported" = "yes" ; then
   14350 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14351 			found="yes"
   14352 		fi
   14353 	fi
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 
   14363 
   14364 
   14365 
   14366 
   14367 xorg_testset_save_CFLAGS="$CFLAGS"
   14368 
   14369 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14372 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14373 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14374   $as_echo_n "(cached) " >&6
   14375 else
   14376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14377 /* end confdefs.h.  */
   14378 int i;
   14379 _ACEOF
   14380 if ac_fn_c_try_compile "$LINENO"; then :
   14381   xorg_cv_compiler_flag_unknown_warning_option=yes
   14382 else
   14383   xorg_cv_compiler_flag_unknown_warning_option=no
   14384 fi
   14385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14386 fi
   14387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14388 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14389 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14390 	CFLAGS="$xorg_testset_save_CFLAGS"
   14391 fi
   14392 
   14393 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14394 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14396 	fi
   14397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14399 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14400 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14401   $as_echo_n "(cached) " >&6
   14402 else
   14403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14404 /* end confdefs.h.  */
   14405 int i;
   14406 _ACEOF
   14407 if ac_fn_c_try_compile "$LINENO"; then :
   14408   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14409 else
   14410   xorg_cv_compiler_flag_unused_command_line_argument=no
   14411 fi
   14412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14413 fi
   14414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14415 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14416 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14417 	CFLAGS="$xorg_testset_save_CFLAGS"
   14418 fi
   14419 
   14420 found="no"
   14421 
   14422 	if test $found = "no" ; then
   14423 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14425 		fi
   14426 
   14427 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14429 		fi
   14430 
   14431 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14432 
   14433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14434 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14435 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=sequence-point`
   14436 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14437   $as_echo_n "(cached) " >&6
   14438 else
   14439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14440 /* end confdefs.h.  */
   14441 int i;
   14442 int
   14443 main ()
   14444 {
   14445 
   14446   ;
   14447   return 0;
   14448 }
   14449 _ACEOF
   14450 if ac_fn_c_try_link "$LINENO"; then :
   14451   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14452 else
   14453   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14454 fi
   14455 rm -f core conftest.err conftest.$ac_objext \
   14456     conftest$ac_exeext conftest.$ac_ext
   14457 fi
   14458 
   14459 
   14460 		CFLAGS="$xorg_testset_save_CFLAGS"
   14461 
   14462 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14464 $as_echo "$supported" >&6; }
   14465 		if test "$supported" = "yes" ; then
   14466 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14467 			found="yes"
   14468 		fi
   14469 	fi
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 
   14481 
   14482 
   14483 xorg_testset_save_CFLAGS="$CFLAGS"
   14484 
   14485 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14488 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14489 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14490   $as_echo_n "(cached) " >&6
   14491 else
   14492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14493 /* end confdefs.h.  */
   14494 int i;
   14495 _ACEOF
   14496 if ac_fn_c_try_compile "$LINENO"; then :
   14497   xorg_cv_compiler_flag_unknown_warning_option=yes
   14498 else
   14499   xorg_cv_compiler_flag_unknown_warning_option=no
   14500 fi
   14501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14502 fi
   14503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14504 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14505 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14506 	CFLAGS="$xorg_testset_save_CFLAGS"
   14507 fi
   14508 
   14509 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14510 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14512 	fi
   14513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14515 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14516 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14517   $as_echo_n "(cached) " >&6
   14518 else
   14519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14520 /* end confdefs.h.  */
   14521 int i;
   14522 _ACEOF
   14523 if ac_fn_c_try_compile "$LINENO"; then :
   14524   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14525 else
   14526   xorg_cv_compiler_flag_unused_command_line_argument=no
   14527 fi
   14528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14529 fi
   14530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14531 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14532 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14533 	CFLAGS="$xorg_testset_save_CFLAGS"
   14534 fi
   14535 
   14536 found="no"
   14537 
   14538 	if test $found = "no" ; then
   14539 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14541 		fi
   14542 
   14543 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14545 		fi
   14546 
   14547 		CFLAGS="$CFLAGS -Werror=return-type"
   14548 
   14549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14550 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14551 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=return-type`
   14552 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14553   $as_echo_n "(cached) " >&6
   14554 else
   14555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14556 /* end confdefs.h.  */
   14557 int i;
   14558 int
   14559 main ()
   14560 {
   14561 
   14562   ;
   14563   return 0;
   14564 }
   14565 _ACEOF
   14566 if ac_fn_c_try_link "$LINENO"; then :
   14567   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14568 else
   14569   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14570 fi
   14571 rm -f core conftest.err conftest.$ac_objext \
   14572     conftest$ac_exeext conftest.$ac_ext
   14573 fi
   14574 
   14575 
   14576 		CFLAGS="$xorg_testset_save_CFLAGS"
   14577 
   14578 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14580 $as_echo "$supported" >&6; }
   14581 		if test "$supported" = "yes" ; then
   14582 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14583 			found="yes"
   14584 		fi
   14585 	fi
   14586 
   14587 	if test $found = "no" ; then
   14588 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14589 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14590 		fi
   14591 
   14592 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14593 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14594 		fi
   14595 
   14596 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14597 
   14598 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14599 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14600 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_FUNC_HAS_NO_RETURN_STMT`
   14601 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14602   $as_echo_n "(cached) " >&6
   14603 else
   14604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14605 /* end confdefs.h.  */
   14606 int i;
   14607 int
   14608 main ()
   14609 {
   14610 
   14611   ;
   14612   return 0;
   14613 }
   14614 _ACEOF
   14615 if ac_fn_c_try_link "$LINENO"; then :
   14616   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14617 else
   14618   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14619 fi
   14620 rm -f core conftest.err conftest.$ac_objext \
   14621     conftest$ac_exeext conftest.$ac_ext
   14622 fi
   14623 
   14624 
   14625 		CFLAGS="$xorg_testset_save_CFLAGS"
   14626 
   14627 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14629 $as_echo "$supported" >&6; }
   14630 		if test "$supported" = "yes" ; then
   14631 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14632 			found="yes"
   14633 		fi
   14634 	fi
   14635 
   14636 
   14637 
   14638 
   14639 
   14640 
   14641 
   14642 
   14643 
   14644 
   14645 
   14646 
   14647 
   14648 xorg_testset_save_CFLAGS="$CFLAGS"
   14649 
   14650 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14651 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14653 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14654 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14655   $as_echo_n "(cached) " >&6
   14656 else
   14657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14658 /* end confdefs.h.  */
   14659 int i;
   14660 _ACEOF
   14661 if ac_fn_c_try_compile "$LINENO"; then :
   14662   xorg_cv_compiler_flag_unknown_warning_option=yes
   14663 else
   14664   xorg_cv_compiler_flag_unknown_warning_option=no
   14665 fi
   14666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14667 fi
   14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14669 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14670 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14671 	CFLAGS="$xorg_testset_save_CFLAGS"
   14672 fi
   14673 
   14674 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14675 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14676 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14677 	fi
   14678 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14679 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14680 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14681 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14682   $as_echo_n "(cached) " >&6
   14683 else
   14684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14685 /* end confdefs.h.  */
   14686 int i;
   14687 _ACEOF
   14688 if ac_fn_c_try_compile "$LINENO"; then :
   14689   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14690 else
   14691   xorg_cv_compiler_flag_unused_command_line_argument=no
   14692 fi
   14693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14694 fi
   14695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14696 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14697 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14698 	CFLAGS="$xorg_testset_save_CFLAGS"
   14699 fi
   14700 
   14701 found="no"
   14702 
   14703 	if test $found = "no" ; then
   14704 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14705 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14706 		fi
   14707 
   14708 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14709 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14710 		fi
   14711 
   14712 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14713 
   14714 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14715 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14716 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=trigraphs`
   14717 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14718   $as_echo_n "(cached) " >&6
   14719 else
   14720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14721 /* end confdefs.h.  */
   14722 int i;
   14723 int
   14724 main ()
   14725 {
   14726 
   14727   ;
   14728   return 0;
   14729 }
   14730 _ACEOF
   14731 if ac_fn_c_try_link "$LINENO"; then :
   14732   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14733 else
   14734   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14735 fi
   14736 rm -f core conftest.err conftest.$ac_objext \
   14737     conftest$ac_exeext conftest.$ac_ext
   14738 fi
   14739 
   14740 
   14741 		CFLAGS="$xorg_testset_save_CFLAGS"
   14742 
   14743 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14745 $as_echo "$supported" >&6; }
   14746 		if test "$supported" = "yes" ; then
   14747 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14748 			found="yes"
   14749 		fi
   14750 	fi
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757 
   14758 
   14759 
   14760 
   14761 
   14762 
   14763 
   14764 xorg_testset_save_CFLAGS="$CFLAGS"
   14765 
   14766 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14767 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14768 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14769 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14770 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14771   $as_echo_n "(cached) " >&6
   14772 else
   14773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14774 /* end confdefs.h.  */
   14775 int i;
   14776 _ACEOF
   14777 if ac_fn_c_try_compile "$LINENO"; then :
   14778   xorg_cv_compiler_flag_unknown_warning_option=yes
   14779 else
   14780   xorg_cv_compiler_flag_unknown_warning_option=no
   14781 fi
   14782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14783 fi
   14784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14785 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14786 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14787 	CFLAGS="$xorg_testset_save_CFLAGS"
   14788 fi
   14789 
   14790 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14791 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14792 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14793 	fi
   14794 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14795 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14796 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14797 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14798   $as_echo_n "(cached) " >&6
   14799 else
   14800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14801 /* end confdefs.h.  */
   14802 int i;
   14803 _ACEOF
   14804 if ac_fn_c_try_compile "$LINENO"; then :
   14805   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14806 else
   14807   xorg_cv_compiler_flag_unused_command_line_argument=no
   14808 fi
   14809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14810 fi
   14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14812 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14813 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14814 	CFLAGS="$xorg_testset_save_CFLAGS"
   14815 fi
   14816 
   14817 found="no"
   14818 
   14819 	if test $found = "no" ; then
   14820 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14821 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14822 		fi
   14823 
   14824 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14825 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14826 		fi
   14827 
   14828 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14829 
   14830 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14831 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14832 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=array-bounds`
   14833 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14834   $as_echo_n "(cached) " >&6
   14835 else
   14836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14837 /* end confdefs.h.  */
   14838 int i;
   14839 int
   14840 main ()
   14841 {
   14842 
   14843   ;
   14844   return 0;
   14845 }
   14846 _ACEOF
   14847 if ac_fn_c_try_link "$LINENO"; then :
   14848   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14849 else
   14850   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14851 fi
   14852 rm -f core conftest.err conftest.$ac_objext \
   14853     conftest$ac_exeext conftest.$ac_ext
   14854 fi
   14855 
   14856 
   14857 		CFLAGS="$xorg_testset_save_CFLAGS"
   14858 
   14859 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14860 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14861 $as_echo "$supported" >&6; }
   14862 		if test "$supported" = "yes" ; then
   14863 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14864 			found="yes"
   14865 		fi
   14866 	fi
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 xorg_testset_save_CFLAGS="$CFLAGS"
   14881 
   14882 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14883 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14884 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   14885 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   14886 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   14887   $as_echo_n "(cached) " >&6
   14888 else
   14889   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14890 /* end confdefs.h.  */
   14891 int i;
   14892 _ACEOF
   14893 if ac_fn_c_try_compile "$LINENO"; then :
   14894   xorg_cv_compiler_flag_unknown_warning_option=yes
   14895 else
   14896   xorg_cv_compiler_flag_unknown_warning_option=no
   14897 fi
   14898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14899 fi
   14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   14901 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   14902 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   14903 	CFLAGS="$xorg_testset_save_CFLAGS"
   14904 fi
   14905 
   14906 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   14907 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14908 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14909 	fi
   14910 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14911 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   14912 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   14913 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   14914   $as_echo_n "(cached) " >&6
   14915 else
   14916   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14917 /* end confdefs.h.  */
   14918 int i;
   14919 _ACEOF
   14920 if ac_fn_c_try_compile "$LINENO"; then :
   14921   xorg_cv_compiler_flag_unused_command_line_argument=yes
   14922 else
   14923   xorg_cv_compiler_flag_unused_command_line_argument=no
   14924 fi
   14925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14926 fi
   14927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   14928 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   14929 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   14930 	CFLAGS="$xorg_testset_save_CFLAGS"
   14931 fi
   14932 
   14933 found="no"
   14934 
   14935 	if test $found = "no" ; then
   14936 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14937 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14938 		fi
   14939 
   14940 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14941 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14942 		fi
   14943 
   14944 		CFLAGS="$CFLAGS -Werror=write-strings"
   14945 
   14946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14947 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14948 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=write-strings`
   14949 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   14950   $as_echo_n "(cached) " >&6
   14951 else
   14952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14953 /* end confdefs.h.  */
   14954 int i;
   14955 int
   14956 main ()
   14957 {
   14958 
   14959   ;
   14960   return 0;
   14961 }
   14962 _ACEOF
   14963 if ac_fn_c_try_link "$LINENO"; then :
   14964   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   14965 else
   14966   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   14967 fi
   14968 rm -f core conftest.err conftest.$ac_objext \
   14969     conftest$ac_exeext conftest.$ac_ext
   14970 fi
   14971 
   14972 
   14973 		CFLAGS="$xorg_testset_save_CFLAGS"
   14974 
   14975 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   14976 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14977 $as_echo "$supported" >&6; }
   14978 		if test "$supported" = "yes" ; then
   14979 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   14980 			found="yes"
   14981 		fi
   14982 	fi
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 xorg_testset_save_CFLAGS="$CFLAGS"
   14997 
   14998 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   14999 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15000 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15001 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15002 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15003   $as_echo_n "(cached) " >&6
   15004 else
   15005   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15006 /* end confdefs.h.  */
   15007 int i;
   15008 _ACEOF
   15009 if ac_fn_c_try_compile "$LINENO"; then :
   15010   xorg_cv_compiler_flag_unknown_warning_option=yes
   15011 else
   15012   xorg_cv_compiler_flag_unknown_warning_option=no
   15013 fi
   15014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15015 fi
   15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15017 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15018 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15019 	CFLAGS="$xorg_testset_save_CFLAGS"
   15020 fi
   15021 
   15022 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15023 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15024 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15025 	fi
   15026 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15027 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15028 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15029 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15030   $as_echo_n "(cached) " >&6
   15031 else
   15032   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15033 /* end confdefs.h.  */
   15034 int i;
   15035 _ACEOF
   15036 if ac_fn_c_try_compile "$LINENO"; then :
   15037   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15038 else
   15039   xorg_cv_compiler_flag_unused_command_line_argument=no
   15040 fi
   15041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15042 fi
   15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15044 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15045 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15046 	CFLAGS="$xorg_testset_save_CFLAGS"
   15047 fi
   15048 
   15049 found="no"
   15050 
   15051 	if test $found = "no" ; then
   15052 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15053 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15054 		fi
   15055 
   15056 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15057 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15058 		fi
   15059 
   15060 		CFLAGS="$CFLAGS -Werror=address"
   15061 
   15062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15063 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15064 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=address`
   15065 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} 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 int
   15072 main ()
   15073 {
   15074 
   15075   ;
   15076   return 0;
   15077 }
   15078 _ACEOF
   15079 if ac_fn_c_try_link "$LINENO"; then :
   15080   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15081 else
   15082   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15083 fi
   15084 rm -f core conftest.err conftest.$ac_objext \
   15085     conftest$ac_exeext conftest.$ac_ext
   15086 fi
   15087 
   15088 
   15089 		CFLAGS="$xorg_testset_save_CFLAGS"
   15090 
   15091 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15092 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15093 $as_echo "$supported" >&6; }
   15094 		if test "$supported" = "yes" ; then
   15095 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15096 			found="yes"
   15097 		fi
   15098 	fi
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 
   15108 
   15109 
   15110 
   15111 
   15112 xorg_testset_save_CFLAGS="$CFLAGS"
   15113 
   15114 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15115 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15116 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15117 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15118 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15119   $as_echo_n "(cached) " >&6
   15120 else
   15121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15122 /* end confdefs.h.  */
   15123 int i;
   15124 _ACEOF
   15125 if ac_fn_c_try_compile "$LINENO"; then :
   15126   xorg_cv_compiler_flag_unknown_warning_option=yes
   15127 else
   15128   xorg_cv_compiler_flag_unknown_warning_option=no
   15129 fi
   15130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15131 fi
   15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15133 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15134 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15135 	CFLAGS="$xorg_testset_save_CFLAGS"
   15136 fi
   15137 
   15138 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15139 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15140 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15141 	fi
   15142 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15143 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15144 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15145 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15146   $as_echo_n "(cached) " >&6
   15147 else
   15148   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15149 /* end confdefs.h.  */
   15150 int i;
   15151 _ACEOF
   15152 if ac_fn_c_try_compile "$LINENO"; then :
   15153   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15154 else
   15155   xorg_cv_compiler_flag_unused_command_line_argument=no
   15156 fi
   15157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15158 fi
   15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15160 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15161 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15162 	CFLAGS="$xorg_testset_save_CFLAGS"
   15163 fi
   15164 
   15165 found="no"
   15166 
   15167 	if test $found = "no" ; then
   15168 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15169 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15170 		fi
   15171 
   15172 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15173 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15174 		fi
   15175 
   15176 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15177 
   15178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15179 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15180 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=int-to-pointer-cast`
   15181 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15182   $as_echo_n "(cached) " >&6
   15183 else
   15184   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15185 /* end confdefs.h.  */
   15186 int i;
   15187 int
   15188 main ()
   15189 {
   15190 
   15191   ;
   15192   return 0;
   15193 }
   15194 _ACEOF
   15195 if ac_fn_c_try_link "$LINENO"; then :
   15196   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15197 else
   15198   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15199 fi
   15200 rm -f core conftest.err conftest.$ac_objext \
   15201     conftest$ac_exeext conftest.$ac_ext
   15202 fi
   15203 
   15204 
   15205 		CFLAGS="$xorg_testset_save_CFLAGS"
   15206 
   15207 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15208 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15209 $as_echo "$supported" >&6; }
   15210 		if test "$supported" = "yes" ; then
   15211 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15212 			found="yes"
   15213 		fi
   15214 	fi
   15215 
   15216 	if test $found = "no" ; then
   15217 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15219 		fi
   15220 
   15221 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15223 		fi
   15224 
   15225 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15226 
   15227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15228 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15229 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn=E_BAD_PTR_INT_COMBINATION`
   15230 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15231   $as_echo_n "(cached) " >&6
   15232 else
   15233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15234 /* end confdefs.h.  */
   15235 int i;
   15236 int
   15237 main ()
   15238 {
   15239 
   15240   ;
   15241   return 0;
   15242 }
   15243 _ACEOF
   15244 if ac_fn_c_try_link "$LINENO"; then :
   15245   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15246 else
   15247   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15248 fi
   15249 rm -f core conftest.err conftest.$ac_objext \
   15250     conftest$ac_exeext conftest.$ac_ext
   15251 fi
   15252 
   15253 
   15254 		CFLAGS="$xorg_testset_save_CFLAGS"
   15255 
   15256 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15258 $as_echo "$supported" >&6; }
   15259 		if test "$supported" = "yes" ; then
   15260 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15261 			found="yes"
   15262 		fi
   15263 	fi
   15264 
   15265 
   15266 
   15267 
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276 
   15277 xorg_testset_save_CFLAGS="$CFLAGS"
   15278 
   15279 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15280 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15281 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15282 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15283 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15284   $as_echo_n "(cached) " >&6
   15285 else
   15286   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15287 /* end confdefs.h.  */
   15288 int i;
   15289 _ACEOF
   15290 if ac_fn_c_try_compile "$LINENO"; then :
   15291   xorg_cv_compiler_flag_unknown_warning_option=yes
   15292 else
   15293   xorg_cv_compiler_flag_unknown_warning_option=no
   15294 fi
   15295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15296 fi
   15297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15298 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15299 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15300 	CFLAGS="$xorg_testset_save_CFLAGS"
   15301 fi
   15302 
   15303 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15304 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15305 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15306 	fi
   15307 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15308 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15309 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15310 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15311   $as_echo_n "(cached) " >&6
   15312 else
   15313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15314 /* end confdefs.h.  */
   15315 int i;
   15316 _ACEOF
   15317 if ac_fn_c_try_compile "$LINENO"; then :
   15318   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15319 else
   15320   xorg_cv_compiler_flag_unused_command_line_argument=no
   15321 fi
   15322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15323 fi
   15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15325 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15326 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15327 	CFLAGS="$xorg_testset_save_CFLAGS"
   15328 fi
   15329 
   15330 found="no"
   15331 
   15332 	if test $found = "no" ; then
   15333 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15334 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15335 		fi
   15336 
   15337 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15338 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15339 		fi
   15340 
   15341 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15342 
   15343 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15344 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15345 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=pointer-to-int-cast`
   15346 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15347   $as_echo_n "(cached) " >&6
   15348 else
   15349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15350 /* end confdefs.h.  */
   15351 int i;
   15352 int
   15353 main ()
   15354 {
   15355 
   15356   ;
   15357   return 0;
   15358 }
   15359 _ACEOF
   15360 if ac_fn_c_try_link "$LINENO"; then :
   15361   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15362 else
   15363   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15364 fi
   15365 rm -f core conftest.err conftest.$ac_objext \
   15366     conftest$ac_exeext conftest.$ac_ext
   15367 fi
   15368 
   15369 
   15370 		CFLAGS="$xorg_testset_save_CFLAGS"
   15371 
   15372 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15374 $as_echo "$supported" >&6; }
   15375 		if test "$supported" = "yes" ; then
   15376 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15377 			found="yes"
   15378 		fi
   15379 	fi
   15380 
   15381  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15382 else
   15383 { $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
   15384 $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;}
   15385 
   15386 
   15387 
   15388 
   15389 
   15390 
   15391 
   15392 
   15393 
   15394 
   15395 
   15396 xorg_testset_save_CFLAGS="$CFLAGS"
   15397 
   15398 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15401 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15402 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15403   $as_echo_n "(cached) " >&6
   15404 else
   15405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15406 /* end confdefs.h.  */
   15407 int i;
   15408 _ACEOF
   15409 if ac_fn_c_try_compile "$LINENO"; then :
   15410   xorg_cv_compiler_flag_unknown_warning_option=yes
   15411 else
   15412   xorg_cv_compiler_flag_unknown_warning_option=no
   15413 fi
   15414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15415 fi
   15416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15417 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15418 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15419 	CFLAGS="$xorg_testset_save_CFLAGS"
   15420 fi
   15421 
   15422 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15423 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15425 	fi
   15426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15428 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15429 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15430   $as_echo_n "(cached) " >&6
   15431 else
   15432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15433 /* end confdefs.h.  */
   15434 int i;
   15435 _ACEOF
   15436 if ac_fn_c_try_compile "$LINENO"; then :
   15437   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15438 else
   15439   xorg_cv_compiler_flag_unused_command_line_argument=no
   15440 fi
   15441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15442 fi
   15443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15444 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15445 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15446 	CFLAGS="$xorg_testset_save_CFLAGS"
   15447 fi
   15448 
   15449 found="no"
   15450 
   15451 	if test $found = "no" ; then
   15452 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15454 		fi
   15455 
   15456 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15458 		fi
   15459 
   15460 		CFLAGS="$CFLAGS -Wimplicit"
   15461 
   15462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15463 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15464 		cacheid=`$as_echo xorg_cv_cc_flag_-Wimplicit`
   15465 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15466   $as_echo_n "(cached) " >&6
   15467 else
   15468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15469 /* end confdefs.h.  */
   15470 int i;
   15471 int
   15472 main ()
   15473 {
   15474 
   15475   ;
   15476   return 0;
   15477 }
   15478 _ACEOF
   15479 if ac_fn_c_try_link "$LINENO"; then :
   15480   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15481 else
   15482   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15483 fi
   15484 rm -f core conftest.err conftest.$ac_objext \
   15485     conftest$ac_exeext conftest.$ac_ext
   15486 fi
   15487 
   15488 
   15489 		CFLAGS="$xorg_testset_save_CFLAGS"
   15490 
   15491 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15493 $as_echo "$supported" >&6; }
   15494 		if test "$supported" = "yes" ; then
   15495 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15496 			found="yes"
   15497 		fi
   15498 	fi
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 xorg_testset_save_CFLAGS="$CFLAGS"
   15513 
   15514 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15517 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15518 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15519   $as_echo_n "(cached) " >&6
   15520 else
   15521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15522 /* end confdefs.h.  */
   15523 int i;
   15524 _ACEOF
   15525 if ac_fn_c_try_compile "$LINENO"; then :
   15526   xorg_cv_compiler_flag_unknown_warning_option=yes
   15527 else
   15528   xorg_cv_compiler_flag_unknown_warning_option=no
   15529 fi
   15530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15531 fi
   15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15533 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15534 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15535 	CFLAGS="$xorg_testset_save_CFLAGS"
   15536 fi
   15537 
   15538 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15539 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15541 	fi
   15542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15544 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15545 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15546   $as_echo_n "(cached) " >&6
   15547 else
   15548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15549 /* end confdefs.h.  */
   15550 int i;
   15551 _ACEOF
   15552 if ac_fn_c_try_compile "$LINENO"; then :
   15553   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15554 else
   15555   xorg_cv_compiler_flag_unused_command_line_argument=no
   15556 fi
   15557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15558 fi
   15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15560 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15561 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15562 	CFLAGS="$xorg_testset_save_CFLAGS"
   15563 fi
   15564 
   15565 found="no"
   15566 
   15567 	if test $found = "no" ; then
   15568 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15569 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15570 		fi
   15571 
   15572 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15573 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15574 		fi
   15575 
   15576 		CFLAGS="$CFLAGS -Wnonnull"
   15577 
   15578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15579 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15580 		cacheid=`$as_echo xorg_cv_cc_flag_-Wnonnull`
   15581 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15582   $as_echo_n "(cached) " >&6
   15583 else
   15584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15585 /* end confdefs.h.  */
   15586 int i;
   15587 int
   15588 main ()
   15589 {
   15590 
   15591   ;
   15592   return 0;
   15593 }
   15594 _ACEOF
   15595 if ac_fn_c_try_link "$LINENO"; then :
   15596   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15597 else
   15598   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15599 fi
   15600 rm -f core conftest.err conftest.$ac_objext \
   15601     conftest$ac_exeext conftest.$ac_ext
   15602 fi
   15603 
   15604 
   15605 		CFLAGS="$xorg_testset_save_CFLAGS"
   15606 
   15607 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15609 $as_echo "$supported" >&6; }
   15610 		if test "$supported" = "yes" ; then
   15611 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15612 			found="yes"
   15613 		fi
   15614 	fi
   15615 
   15616 
   15617 
   15618 
   15619 
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 xorg_testset_save_CFLAGS="$CFLAGS"
   15629 
   15630 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15633 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15634 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15635   $as_echo_n "(cached) " >&6
   15636 else
   15637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15638 /* end confdefs.h.  */
   15639 int i;
   15640 _ACEOF
   15641 if ac_fn_c_try_compile "$LINENO"; then :
   15642   xorg_cv_compiler_flag_unknown_warning_option=yes
   15643 else
   15644   xorg_cv_compiler_flag_unknown_warning_option=no
   15645 fi
   15646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15647 fi
   15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15649 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15650 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15651 	CFLAGS="$xorg_testset_save_CFLAGS"
   15652 fi
   15653 
   15654 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15655 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15657 	fi
   15658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15660 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15661 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15662   $as_echo_n "(cached) " >&6
   15663 else
   15664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15665 /* end confdefs.h.  */
   15666 int i;
   15667 _ACEOF
   15668 if ac_fn_c_try_compile "$LINENO"; then :
   15669   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15670 else
   15671   xorg_cv_compiler_flag_unused_command_line_argument=no
   15672 fi
   15673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15674 fi
   15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15676 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15677 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15678 	CFLAGS="$xorg_testset_save_CFLAGS"
   15679 fi
   15680 
   15681 found="no"
   15682 
   15683 	if test $found = "no" ; then
   15684 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15686 		fi
   15687 
   15688 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15690 		fi
   15691 
   15692 		CFLAGS="$CFLAGS -Winit-self"
   15693 
   15694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15695 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15696 		cacheid=`$as_echo xorg_cv_cc_flag_-Winit-self`
   15697 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15698   $as_echo_n "(cached) " >&6
   15699 else
   15700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15701 /* end confdefs.h.  */
   15702 int i;
   15703 int
   15704 main ()
   15705 {
   15706 
   15707   ;
   15708   return 0;
   15709 }
   15710 _ACEOF
   15711 if ac_fn_c_try_link "$LINENO"; then :
   15712   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15713 else
   15714   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15715 fi
   15716 rm -f core conftest.err conftest.$ac_objext \
   15717     conftest$ac_exeext conftest.$ac_ext
   15718 fi
   15719 
   15720 
   15721 		CFLAGS="$xorg_testset_save_CFLAGS"
   15722 
   15723 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15725 $as_echo "$supported" >&6; }
   15726 		if test "$supported" = "yes" ; then
   15727 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15728 			found="yes"
   15729 		fi
   15730 	fi
   15731 
   15732 
   15733 
   15734 
   15735 
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 xorg_testset_save_CFLAGS="$CFLAGS"
   15745 
   15746 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15747 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15749 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15750 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15751   $as_echo_n "(cached) " >&6
   15752 else
   15753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15754 /* end confdefs.h.  */
   15755 int i;
   15756 _ACEOF
   15757 if ac_fn_c_try_compile "$LINENO"; then :
   15758   xorg_cv_compiler_flag_unknown_warning_option=yes
   15759 else
   15760   xorg_cv_compiler_flag_unknown_warning_option=no
   15761 fi
   15762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15763 fi
   15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15765 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15766 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15767 	CFLAGS="$xorg_testset_save_CFLAGS"
   15768 fi
   15769 
   15770 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15771 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15772 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15773 	fi
   15774 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15775 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15776 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15777 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15778   $as_echo_n "(cached) " >&6
   15779 else
   15780   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15781 /* end confdefs.h.  */
   15782 int i;
   15783 _ACEOF
   15784 if ac_fn_c_try_compile "$LINENO"; then :
   15785   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15786 else
   15787   xorg_cv_compiler_flag_unused_command_line_argument=no
   15788 fi
   15789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15790 fi
   15791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15792 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15793 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15794 	CFLAGS="$xorg_testset_save_CFLAGS"
   15795 fi
   15796 
   15797 found="no"
   15798 
   15799 	if test $found = "no" ; then
   15800 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15801 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15802 		fi
   15803 
   15804 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15805 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15806 		fi
   15807 
   15808 		CFLAGS="$CFLAGS -Wmain"
   15809 
   15810 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15811 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15812 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmain`
   15813 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15814   $as_echo_n "(cached) " >&6
   15815 else
   15816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15817 /* end confdefs.h.  */
   15818 int i;
   15819 int
   15820 main ()
   15821 {
   15822 
   15823   ;
   15824   return 0;
   15825 }
   15826 _ACEOF
   15827 if ac_fn_c_try_link "$LINENO"; then :
   15828   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15829 else
   15830   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15831 fi
   15832 rm -f core conftest.err conftest.$ac_objext \
   15833     conftest$ac_exeext conftest.$ac_ext
   15834 fi
   15835 
   15836 
   15837 		CFLAGS="$xorg_testset_save_CFLAGS"
   15838 
   15839 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15841 $as_echo "$supported" >&6; }
   15842 		if test "$supported" = "yes" ; then
   15843 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15844 			found="yes"
   15845 		fi
   15846 	fi
   15847 
   15848 
   15849 
   15850 
   15851 
   15852 
   15853 
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 
   15860 xorg_testset_save_CFLAGS="$CFLAGS"
   15861 
   15862 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15863 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15864 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15865 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15866 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15867   $as_echo_n "(cached) " >&6
   15868 else
   15869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15870 /* end confdefs.h.  */
   15871 int i;
   15872 _ACEOF
   15873 if ac_fn_c_try_compile "$LINENO"; then :
   15874   xorg_cv_compiler_flag_unknown_warning_option=yes
   15875 else
   15876   xorg_cv_compiler_flag_unknown_warning_option=no
   15877 fi
   15878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15879 fi
   15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15881 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15882 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15883 	CFLAGS="$xorg_testset_save_CFLAGS"
   15884 fi
   15885 
   15886 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   15887 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15888 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15889 	fi
   15890 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   15892 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   15893 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   15894   $as_echo_n "(cached) " >&6
   15895 else
   15896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15897 /* end confdefs.h.  */
   15898 int i;
   15899 _ACEOF
   15900 if ac_fn_c_try_compile "$LINENO"; then :
   15901   xorg_cv_compiler_flag_unused_command_line_argument=yes
   15902 else
   15903   xorg_cv_compiler_flag_unused_command_line_argument=no
   15904 fi
   15905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15906 fi
   15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   15908 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   15909 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   15910 	CFLAGS="$xorg_testset_save_CFLAGS"
   15911 fi
   15912 
   15913 found="no"
   15914 
   15915 	if test $found = "no" ; then
   15916 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15917 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15918 		fi
   15919 
   15920 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15921 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15922 		fi
   15923 
   15924 		CFLAGS="$CFLAGS -Wmissing-braces"
   15925 
   15926 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15927 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15928 		cacheid=`$as_echo xorg_cv_cc_flag_-Wmissing-braces`
   15929 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   15930   $as_echo_n "(cached) " >&6
   15931 else
   15932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15933 /* end confdefs.h.  */
   15934 int i;
   15935 int
   15936 main ()
   15937 {
   15938 
   15939   ;
   15940   return 0;
   15941 }
   15942 _ACEOF
   15943 if ac_fn_c_try_link "$LINENO"; then :
   15944   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   15945 else
   15946   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   15947 fi
   15948 rm -f core conftest.err conftest.$ac_objext \
   15949     conftest$ac_exeext conftest.$ac_ext
   15950 fi
   15951 
   15952 
   15953 		CFLAGS="$xorg_testset_save_CFLAGS"
   15954 
   15955 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   15956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15957 $as_echo "$supported" >&6; }
   15958 		if test "$supported" = "yes" ; then
   15959 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   15960 			found="yes"
   15961 		fi
   15962 	fi
   15963 
   15964 
   15965 
   15966 
   15967 
   15968 
   15969 
   15970 
   15971 
   15972 
   15973 
   15974 
   15975 
   15976 xorg_testset_save_CFLAGS="$CFLAGS"
   15977 
   15978 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   15979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   15981 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   15982 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   15983   $as_echo_n "(cached) " >&6
   15984 else
   15985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15986 /* end confdefs.h.  */
   15987 int i;
   15988 _ACEOF
   15989 if ac_fn_c_try_compile "$LINENO"; then :
   15990   xorg_cv_compiler_flag_unknown_warning_option=yes
   15991 else
   15992   xorg_cv_compiler_flag_unknown_warning_option=no
   15993 fi
   15994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15995 fi
   15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   15997 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   15998 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   15999 	CFLAGS="$xorg_testset_save_CFLAGS"
   16000 fi
   16001 
   16002 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16003 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16005 	fi
   16006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16008 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16009 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16010   $as_echo_n "(cached) " >&6
   16011 else
   16012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16013 /* end confdefs.h.  */
   16014 int i;
   16015 _ACEOF
   16016 if ac_fn_c_try_compile "$LINENO"; then :
   16017   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16018 else
   16019   xorg_cv_compiler_flag_unused_command_line_argument=no
   16020 fi
   16021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16022 fi
   16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16024 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16025 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16026 	CFLAGS="$xorg_testset_save_CFLAGS"
   16027 fi
   16028 
   16029 found="no"
   16030 
   16031 	if test $found = "no" ; then
   16032 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16034 		fi
   16035 
   16036 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16038 		fi
   16039 
   16040 		CFLAGS="$CFLAGS -Wsequence-point"
   16041 
   16042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16043 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16044 		cacheid=`$as_echo xorg_cv_cc_flag_-Wsequence-point`
   16045 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16046   $as_echo_n "(cached) " >&6
   16047 else
   16048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16049 /* end confdefs.h.  */
   16050 int i;
   16051 int
   16052 main ()
   16053 {
   16054 
   16055   ;
   16056   return 0;
   16057 }
   16058 _ACEOF
   16059 if ac_fn_c_try_link "$LINENO"; then :
   16060   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16061 else
   16062   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16063 fi
   16064 rm -f core conftest.err conftest.$ac_objext \
   16065     conftest$ac_exeext conftest.$ac_ext
   16066 fi
   16067 
   16068 
   16069 		CFLAGS="$xorg_testset_save_CFLAGS"
   16070 
   16071 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16073 $as_echo "$supported" >&6; }
   16074 		if test "$supported" = "yes" ; then
   16075 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16076 			found="yes"
   16077 		fi
   16078 	fi
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 xorg_testset_save_CFLAGS="$CFLAGS"
   16093 
   16094 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16095 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16096 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16097 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16098 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16099   $as_echo_n "(cached) " >&6
   16100 else
   16101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16102 /* end confdefs.h.  */
   16103 int i;
   16104 _ACEOF
   16105 if ac_fn_c_try_compile "$LINENO"; then :
   16106   xorg_cv_compiler_flag_unknown_warning_option=yes
   16107 else
   16108   xorg_cv_compiler_flag_unknown_warning_option=no
   16109 fi
   16110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16111 fi
   16112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16113 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16114 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16115 	CFLAGS="$xorg_testset_save_CFLAGS"
   16116 fi
   16117 
   16118 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16119 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16120 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16121 	fi
   16122 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16124 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16125 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16126   $as_echo_n "(cached) " >&6
   16127 else
   16128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16129 /* end confdefs.h.  */
   16130 int i;
   16131 _ACEOF
   16132 if ac_fn_c_try_compile "$LINENO"; then :
   16133   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16134 else
   16135   xorg_cv_compiler_flag_unused_command_line_argument=no
   16136 fi
   16137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16138 fi
   16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16140 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16141 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16142 	CFLAGS="$xorg_testset_save_CFLAGS"
   16143 fi
   16144 
   16145 found="no"
   16146 
   16147 	if test $found = "no" ; then
   16148 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16149 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16150 		fi
   16151 
   16152 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16153 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16154 		fi
   16155 
   16156 		CFLAGS="$CFLAGS -Wreturn-type"
   16157 
   16158 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16159 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16160 		cacheid=`$as_echo xorg_cv_cc_flag_-Wreturn-type`
   16161 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16162   $as_echo_n "(cached) " >&6
   16163 else
   16164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16165 /* end confdefs.h.  */
   16166 int i;
   16167 int
   16168 main ()
   16169 {
   16170 
   16171   ;
   16172   return 0;
   16173 }
   16174 _ACEOF
   16175 if ac_fn_c_try_link "$LINENO"; then :
   16176   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16177 else
   16178   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16179 fi
   16180 rm -f core conftest.err conftest.$ac_objext \
   16181     conftest$ac_exeext conftest.$ac_ext
   16182 fi
   16183 
   16184 
   16185 		CFLAGS="$xorg_testset_save_CFLAGS"
   16186 
   16187 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16188 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16189 $as_echo "$supported" >&6; }
   16190 		if test "$supported" = "yes" ; then
   16191 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16192 			found="yes"
   16193 		fi
   16194 	fi
   16195 
   16196 
   16197 
   16198 
   16199 
   16200 
   16201 
   16202 
   16203 
   16204 
   16205 
   16206 
   16207 
   16208 xorg_testset_save_CFLAGS="$CFLAGS"
   16209 
   16210 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16213 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16214 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16215   $as_echo_n "(cached) " >&6
   16216 else
   16217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16218 /* end confdefs.h.  */
   16219 int i;
   16220 _ACEOF
   16221 if ac_fn_c_try_compile "$LINENO"; then :
   16222   xorg_cv_compiler_flag_unknown_warning_option=yes
   16223 else
   16224   xorg_cv_compiler_flag_unknown_warning_option=no
   16225 fi
   16226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16227 fi
   16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16229 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16230 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16231 	CFLAGS="$xorg_testset_save_CFLAGS"
   16232 fi
   16233 
   16234 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16235 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16237 	fi
   16238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16240 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16241 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16242   $as_echo_n "(cached) " >&6
   16243 else
   16244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16245 /* end confdefs.h.  */
   16246 int i;
   16247 _ACEOF
   16248 if ac_fn_c_try_compile "$LINENO"; then :
   16249   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16250 else
   16251   xorg_cv_compiler_flag_unused_command_line_argument=no
   16252 fi
   16253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16254 fi
   16255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16256 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16257 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16258 	CFLAGS="$xorg_testset_save_CFLAGS"
   16259 fi
   16260 
   16261 found="no"
   16262 
   16263 	if test $found = "no" ; then
   16264 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16266 		fi
   16267 
   16268 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16270 		fi
   16271 
   16272 		CFLAGS="$CFLAGS -Wtrigraphs"
   16273 
   16274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16275 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16276 		cacheid=`$as_echo xorg_cv_cc_flag_-Wtrigraphs`
   16277 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16278   $as_echo_n "(cached) " >&6
   16279 else
   16280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16281 /* end confdefs.h.  */
   16282 int i;
   16283 int
   16284 main ()
   16285 {
   16286 
   16287   ;
   16288   return 0;
   16289 }
   16290 _ACEOF
   16291 if ac_fn_c_try_link "$LINENO"; then :
   16292   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16293 else
   16294   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16295 fi
   16296 rm -f core conftest.err conftest.$ac_objext \
   16297     conftest$ac_exeext conftest.$ac_ext
   16298 fi
   16299 
   16300 
   16301 		CFLAGS="$xorg_testset_save_CFLAGS"
   16302 
   16303 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16305 $as_echo "$supported" >&6; }
   16306 		if test "$supported" = "yes" ; then
   16307 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16308 			found="yes"
   16309 		fi
   16310 	fi
   16311 
   16312 
   16313 
   16314 
   16315 
   16316 
   16317 
   16318 
   16319 
   16320 
   16321 
   16322 
   16323 
   16324 xorg_testset_save_CFLAGS="$CFLAGS"
   16325 
   16326 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16327 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16329 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16330 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16331   $as_echo_n "(cached) " >&6
   16332 else
   16333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16334 /* end confdefs.h.  */
   16335 int i;
   16336 _ACEOF
   16337 if ac_fn_c_try_compile "$LINENO"; then :
   16338   xorg_cv_compiler_flag_unknown_warning_option=yes
   16339 else
   16340   xorg_cv_compiler_flag_unknown_warning_option=no
   16341 fi
   16342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16343 fi
   16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16345 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16346 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16347 	CFLAGS="$xorg_testset_save_CFLAGS"
   16348 fi
   16349 
   16350 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16351 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16352 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16353 	fi
   16354 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16356 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16357 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16358   $as_echo_n "(cached) " >&6
   16359 else
   16360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16361 /* end confdefs.h.  */
   16362 int i;
   16363 _ACEOF
   16364 if ac_fn_c_try_compile "$LINENO"; then :
   16365   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16366 else
   16367   xorg_cv_compiler_flag_unused_command_line_argument=no
   16368 fi
   16369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16370 fi
   16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16372 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16373 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16374 	CFLAGS="$xorg_testset_save_CFLAGS"
   16375 fi
   16376 
   16377 found="no"
   16378 
   16379 	if test $found = "no" ; then
   16380 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16381 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16382 		fi
   16383 
   16384 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16385 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16386 		fi
   16387 
   16388 		CFLAGS="$CFLAGS -Warray-bounds"
   16389 
   16390 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16391 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16392 		cacheid=`$as_echo xorg_cv_cc_flag_-Warray-bounds`
   16393 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16394   $as_echo_n "(cached) " >&6
   16395 else
   16396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16397 /* end confdefs.h.  */
   16398 int i;
   16399 int
   16400 main ()
   16401 {
   16402 
   16403   ;
   16404   return 0;
   16405 }
   16406 _ACEOF
   16407 if ac_fn_c_try_link "$LINENO"; then :
   16408   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16409 else
   16410   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16411 fi
   16412 rm -f core conftest.err conftest.$ac_objext \
   16413     conftest$ac_exeext conftest.$ac_ext
   16414 fi
   16415 
   16416 
   16417 		CFLAGS="$xorg_testset_save_CFLAGS"
   16418 
   16419 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16420 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16421 $as_echo "$supported" >&6; }
   16422 		if test "$supported" = "yes" ; then
   16423 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16424 			found="yes"
   16425 		fi
   16426 	fi
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 xorg_testset_save_CFLAGS="$CFLAGS"
   16441 
   16442 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16443 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16444 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16445 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16446 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16447   $as_echo_n "(cached) " >&6
   16448 else
   16449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16450 /* end confdefs.h.  */
   16451 int i;
   16452 _ACEOF
   16453 if ac_fn_c_try_compile "$LINENO"; then :
   16454   xorg_cv_compiler_flag_unknown_warning_option=yes
   16455 else
   16456   xorg_cv_compiler_flag_unknown_warning_option=no
   16457 fi
   16458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16459 fi
   16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16461 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16462 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16463 	CFLAGS="$xorg_testset_save_CFLAGS"
   16464 fi
   16465 
   16466 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16467 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16468 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16469 	fi
   16470 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16471 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16472 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16473 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16474   $as_echo_n "(cached) " >&6
   16475 else
   16476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16477 /* end confdefs.h.  */
   16478 int i;
   16479 _ACEOF
   16480 if ac_fn_c_try_compile "$LINENO"; then :
   16481   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16482 else
   16483   xorg_cv_compiler_flag_unused_command_line_argument=no
   16484 fi
   16485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16486 fi
   16487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16488 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16489 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16490 	CFLAGS="$xorg_testset_save_CFLAGS"
   16491 fi
   16492 
   16493 found="no"
   16494 
   16495 	if test $found = "no" ; then
   16496 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16497 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16498 		fi
   16499 
   16500 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16501 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16502 		fi
   16503 
   16504 		CFLAGS="$CFLAGS -Wwrite-strings"
   16505 
   16506 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16507 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16508 		cacheid=`$as_echo xorg_cv_cc_flag_-Wwrite-strings`
   16509 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16510   $as_echo_n "(cached) " >&6
   16511 else
   16512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16513 /* end confdefs.h.  */
   16514 int i;
   16515 int
   16516 main ()
   16517 {
   16518 
   16519   ;
   16520   return 0;
   16521 }
   16522 _ACEOF
   16523 if ac_fn_c_try_link "$LINENO"; then :
   16524   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16525 else
   16526   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16527 fi
   16528 rm -f core conftest.err conftest.$ac_objext \
   16529     conftest$ac_exeext conftest.$ac_ext
   16530 fi
   16531 
   16532 
   16533 		CFLAGS="$xorg_testset_save_CFLAGS"
   16534 
   16535 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16537 $as_echo "$supported" >&6; }
   16538 		if test "$supported" = "yes" ; then
   16539 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16540 			found="yes"
   16541 		fi
   16542 	fi
   16543 
   16544 
   16545 
   16546 
   16547 
   16548 
   16549 
   16550 
   16551 
   16552 
   16553 
   16554 
   16555 
   16556 xorg_testset_save_CFLAGS="$CFLAGS"
   16557 
   16558 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16559 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16561 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16562 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16563   $as_echo_n "(cached) " >&6
   16564 else
   16565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16566 /* end confdefs.h.  */
   16567 int i;
   16568 _ACEOF
   16569 if ac_fn_c_try_compile "$LINENO"; then :
   16570   xorg_cv_compiler_flag_unknown_warning_option=yes
   16571 else
   16572   xorg_cv_compiler_flag_unknown_warning_option=no
   16573 fi
   16574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16575 fi
   16576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16577 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16578 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16579 	CFLAGS="$xorg_testset_save_CFLAGS"
   16580 fi
   16581 
   16582 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16583 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16584 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16585 	fi
   16586 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16588 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16589 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16590   $as_echo_n "(cached) " >&6
   16591 else
   16592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16593 /* end confdefs.h.  */
   16594 int i;
   16595 _ACEOF
   16596 if ac_fn_c_try_compile "$LINENO"; then :
   16597   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16598 else
   16599   xorg_cv_compiler_flag_unused_command_line_argument=no
   16600 fi
   16601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16602 fi
   16603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16604 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16605 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16606 	CFLAGS="$xorg_testset_save_CFLAGS"
   16607 fi
   16608 
   16609 found="no"
   16610 
   16611 	if test $found = "no" ; then
   16612 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16613 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16614 		fi
   16615 
   16616 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16617 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16618 		fi
   16619 
   16620 		CFLAGS="$CFLAGS -Waddress"
   16621 
   16622 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16623 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16624 		cacheid=`$as_echo xorg_cv_cc_flag_-Waddress`
   16625 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16626   $as_echo_n "(cached) " >&6
   16627 else
   16628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16629 /* end confdefs.h.  */
   16630 int i;
   16631 int
   16632 main ()
   16633 {
   16634 
   16635   ;
   16636   return 0;
   16637 }
   16638 _ACEOF
   16639 if ac_fn_c_try_link "$LINENO"; then :
   16640   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16641 else
   16642   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16643 fi
   16644 rm -f core conftest.err conftest.$ac_objext \
   16645     conftest$ac_exeext conftest.$ac_ext
   16646 fi
   16647 
   16648 
   16649 		CFLAGS="$xorg_testset_save_CFLAGS"
   16650 
   16651 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16653 $as_echo "$supported" >&6; }
   16654 		if test "$supported" = "yes" ; then
   16655 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16656 			found="yes"
   16657 		fi
   16658 	fi
   16659 
   16660 
   16661 
   16662 
   16663 
   16664 
   16665 
   16666 
   16667 
   16668 
   16669 
   16670 
   16671 
   16672 xorg_testset_save_CFLAGS="$CFLAGS"
   16673 
   16674 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16677 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16678 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16679   $as_echo_n "(cached) " >&6
   16680 else
   16681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16682 /* end confdefs.h.  */
   16683 int i;
   16684 _ACEOF
   16685 if ac_fn_c_try_compile "$LINENO"; then :
   16686   xorg_cv_compiler_flag_unknown_warning_option=yes
   16687 else
   16688   xorg_cv_compiler_flag_unknown_warning_option=no
   16689 fi
   16690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16691 fi
   16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16693 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16694 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16695 	CFLAGS="$xorg_testset_save_CFLAGS"
   16696 fi
   16697 
   16698 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16699 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16701 	fi
   16702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16704 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16705 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16706   $as_echo_n "(cached) " >&6
   16707 else
   16708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16709 /* end confdefs.h.  */
   16710 int i;
   16711 _ACEOF
   16712 if ac_fn_c_try_compile "$LINENO"; then :
   16713   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16714 else
   16715   xorg_cv_compiler_flag_unused_command_line_argument=no
   16716 fi
   16717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16718 fi
   16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16720 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16721 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16722 	CFLAGS="$xorg_testset_save_CFLAGS"
   16723 fi
   16724 
   16725 found="no"
   16726 
   16727 	if test $found = "no" ; then
   16728 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16730 		fi
   16731 
   16732 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16734 		fi
   16735 
   16736 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16737 
   16738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16739 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16740 		cacheid=`$as_echo xorg_cv_cc_flag_-Wint-to-pointer-cast`
   16741 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16742   $as_echo_n "(cached) " >&6
   16743 else
   16744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16745 /* end confdefs.h.  */
   16746 int i;
   16747 int
   16748 main ()
   16749 {
   16750 
   16751   ;
   16752   return 0;
   16753 }
   16754 _ACEOF
   16755 if ac_fn_c_try_link "$LINENO"; then :
   16756   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16757 else
   16758   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16759 fi
   16760 rm -f core conftest.err conftest.$ac_objext \
   16761     conftest$ac_exeext conftest.$ac_ext
   16762 fi
   16763 
   16764 
   16765 		CFLAGS="$xorg_testset_save_CFLAGS"
   16766 
   16767 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16769 $as_echo "$supported" >&6; }
   16770 		if test "$supported" = "yes" ; then
   16771 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16772 			found="yes"
   16773 		fi
   16774 	fi
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 xorg_testset_save_CFLAGS="$CFLAGS"
   16789 
   16790 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16793 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16794 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16795   $as_echo_n "(cached) " >&6
   16796 else
   16797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16798 /* end confdefs.h.  */
   16799 int i;
   16800 _ACEOF
   16801 if ac_fn_c_try_compile "$LINENO"; then :
   16802   xorg_cv_compiler_flag_unknown_warning_option=yes
   16803 else
   16804   xorg_cv_compiler_flag_unknown_warning_option=no
   16805 fi
   16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16807 fi
   16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16809 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16810 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16811 	CFLAGS="$xorg_testset_save_CFLAGS"
   16812 fi
   16813 
   16814 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16815 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16817 	fi
   16818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16820 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16821 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16822   $as_echo_n "(cached) " >&6
   16823 else
   16824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16825 /* end confdefs.h.  */
   16826 int i;
   16827 _ACEOF
   16828 if ac_fn_c_try_compile "$LINENO"; then :
   16829   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16830 else
   16831   xorg_cv_compiler_flag_unused_command_line_argument=no
   16832 fi
   16833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16834 fi
   16835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16836 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16837 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16838 	CFLAGS="$xorg_testset_save_CFLAGS"
   16839 fi
   16840 
   16841 found="no"
   16842 
   16843 	if test $found = "no" ; then
   16844 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16846 		fi
   16847 
   16848 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16850 		fi
   16851 
   16852 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16853 
   16854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16855 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16856 		cacheid=`$as_echo xorg_cv_cc_flag_-Wpointer-to-int-cast`
   16857 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   16858   $as_echo_n "(cached) " >&6
   16859 else
   16860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16861 /* end confdefs.h.  */
   16862 int i;
   16863 int
   16864 main ()
   16865 {
   16866 
   16867   ;
   16868   return 0;
   16869 }
   16870 _ACEOF
   16871 if ac_fn_c_try_link "$LINENO"; then :
   16872   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   16873 else
   16874   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   16875 fi
   16876 rm -f core conftest.err conftest.$ac_objext \
   16877     conftest$ac_exeext conftest.$ac_ext
   16878 fi
   16879 
   16880 
   16881 		CFLAGS="$xorg_testset_save_CFLAGS"
   16882 
   16883 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   16884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16885 $as_echo "$supported" >&6; }
   16886 		if test "$supported" = "yes" ; then
   16887 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16888 			found="yes"
   16889 		fi
   16890 	fi
   16891 
   16892 
   16893 fi
   16894 
   16895 
   16896 
   16897 
   16898 
   16899 
   16900 
   16901 		CWARNFLAGS="$BASE_CFLAGS"
   16902 		if  test "x$GCC" = xyes ; then
   16903 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16904 		fi
   16905 
   16906 
   16907 
   16908 
   16909 
   16910 
   16911 
   16912 
   16913 # Check whether --enable-strict-compilation was given.
   16914 if test "${enable_strict_compilation+set}" = set; then :
   16915   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16916 else
   16917   STRICT_COMPILE=no
   16918 fi
   16919 
   16920 
   16921 
   16922 
   16923 
   16924 
   16925 STRICT_CFLAGS=""
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 xorg_testset_save_CFLAGS="$CFLAGS"
   16938 
   16939 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   16940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   16942 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   16943 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   16944   $as_echo_n "(cached) " >&6
   16945 else
   16946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16947 /* end confdefs.h.  */
   16948 int i;
   16949 _ACEOF
   16950 if ac_fn_c_try_compile "$LINENO"; then :
   16951   xorg_cv_compiler_flag_unknown_warning_option=yes
   16952 else
   16953   xorg_cv_compiler_flag_unknown_warning_option=no
   16954 fi
   16955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16956 fi
   16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   16958 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   16959 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   16960 	CFLAGS="$xorg_testset_save_CFLAGS"
   16961 fi
   16962 
   16963 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   16964 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16966 	fi
   16967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   16969 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   16970 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   16971   $as_echo_n "(cached) " >&6
   16972 else
   16973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16974 /* end confdefs.h.  */
   16975 int i;
   16976 _ACEOF
   16977 if ac_fn_c_try_compile "$LINENO"; then :
   16978   xorg_cv_compiler_flag_unused_command_line_argument=yes
   16979 else
   16980   xorg_cv_compiler_flag_unused_command_line_argument=no
   16981 fi
   16982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16983 fi
   16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   16985 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   16986 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   16987 	CFLAGS="$xorg_testset_save_CFLAGS"
   16988 fi
   16989 
   16990 found="no"
   16991 
   16992 	if test $found = "no" ; then
   16993 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16995 		fi
   16996 
   16997 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16999 		fi
   17000 
   17001 		CFLAGS="$CFLAGS -pedantic"
   17002 
   17003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17004 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17005 		cacheid=`$as_echo xorg_cv_cc_flag_-pedantic`
   17006 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17007   $as_echo_n "(cached) " >&6
   17008 else
   17009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17010 /* end confdefs.h.  */
   17011 int i;
   17012 int
   17013 main ()
   17014 {
   17015 
   17016   ;
   17017   return 0;
   17018 }
   17019 _ACEOF
   17020 if ac_fn_c_try_link "$LINENO"; then :
   17021   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17022 else
   17023   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17024 fi
   17025 rm -f core conftest.err conftest.$ac_objext \
   17026     conftest$ac_exeext conftest.$ac_ext
   17027 fi
   17028 
   17029 
   17030 		CFLAGS="$xorg_testset_save_CFLAGS"
   17031 
   17032 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17034 $as_echo "$supported" >&6; }
   17035 		if test "$supported" = "yes" ; then
   17036 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17037 			found="yes"
   17038 		fi
   17039 	fi
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 xorg_testset_save_CFLAGS="$CFLAGS"
   17054 
   17055 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   17056 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17057 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   17058 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   17059 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   17060   $as_echo_n "(cached) " >&6
   17061 else
   17062   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17063 /* end confdefs.h.  */
   17064 int i;
   17065 _ACEOF
   17066 if ac_fn_c_try_compile "$LINENO"; then :
   17067   xorg_cv_compiler_flag_unknown_warning_option=yes
   17068 else
   17069   xorg_cv_compiler_flag_unknown_warning_option=no
   17070 fi
   17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17072 fi
   17073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   17074 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   17075 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   17076 	CFLAGS="$xorg_testset_save_CFLAGS"
   17077 fi
   17078 
   17079 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   17080 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17081 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17082 	fi
   17083 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17084 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   17085 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   17086 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   17087   $as_echo_n "(cached) " >&6
   17088 else
   17089   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17090 /* end confdefs.h.  */
   17091 int i;
   17092 _ACEOF
   17093 if ac_fn_c_try_compile "$LINENO"; then :
   17094   xorg_cv_compiler_flag_unused_command_line_argument=yes
   17095 else
   17096   xorg_cv_compiler_flag_unused_command_line_argument=no
   17097 fi
   17098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17099 fi
   17100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   17101 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   17102 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   17103 	CFLAGS="$xorg_testset_save_CFLAGS"
   17104 fi
   17105 
   17106 found="no"
   17107 
   17108 	if test $found = "no" ; then
   17109 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17110 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17111 		fi
   17112 
   17113 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17114 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17115 		fi
   17116 
   17117 		CFLAGS="$CFLAGS -Werror"
   17118 
   17119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17120 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17121 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror`
   17122 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17123   $as_echo_n "(cached) " >&6
   17124 else
   17125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17126 /* end confdefs.h.  */
   17127 int i;
   17128 int
   17129 main ()
   17130 {
   17131 
   17132   ;
   17133   return 0;
   17134 }
   17135 _ACEOF
   17136 if ac_fn_c_try_link "$LINENO"; then :
   17137   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17138 else
   17139   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17140 fi
   17141 rm -f core conftest.err conftest.$ac_objext \
   17142     conftest$ac_exeext conftest.$ac_ext
   17143 fi
   17144 
   17145 
   17146 		CFLAGS="$xorg_testset_save_CFLAGS"
   17147 
   17148 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17149 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17150 $as_echo "$supported" >&6; }
   17151 		if test "$supported" = "yes" ; then
   17152 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17153 			found="yes"
   17154 		fi
   17155 	fi
   17156 
   17157 	if test $found = "no" ; then
   17158 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17159 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17160 		fi
   17161 
   17162 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17163 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17164 		fi
   17165 
   17166 		CFLAGS="$CFLAGS -errwarn"
   17167 
   17168 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17169 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17170 		cacheid=`$as_echo xorg_cv_cc_flag_-errwarn`
   17171 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17172   $as_echo_n "(cached) " >&6
   17173 else
   17174   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17175 /* end confdefs.h.  */
   17176 int i;
   17177 int
   17178 main ()
   17179 {
   17180 
   17181   ;
   17182   return 0;
   17183 }
   17184 _ACEOF
   17185 if ac_fn_c_try_link "$LINENO"; then :
   17186   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17187 else
   17188   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17189 fi
   17190 rm -f core conftest.err conftest.$ac_objext \
   17191     conftest$ac_exeext conftest.$ac_ext
   17192 fi
   17193 
   17194 
   17195 		CFLAGS="$xorg_testset_save_CFLAGS"
   17196 
   17197 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17198 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17199 $as_echo "$supported" >&6; }
   17200 		if test "$supported" = "yes" ; then
   17201 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17202 			found="yes"
   17203 		fi
   17204 	fi
   17205 
   17206 
   17207 
   17208 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17209 # activate it with -Werror, so we add it here explicitly.
   17210 
   17211 
   17212 
   17213 
   17214 
   17215 
   17216 
   17217 
   17218 
   17219 
   17220 
   17221 xorg_testset_save_CFLAGS="$CFLAGS"
   17222 
   17223 if test "x$xorg_testset_unknown_warning_option" = "x" ; then
   17224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unknown-warning-option" >&5
   17226 $as_echo_n "checking if compiler supports -Werror=unknown-warning-option... " >&6; }
   17227 if ${xorg_cv_compiler_flag_unknown_warning_option+:} false; then :
   17228   $as_echo_n "(cached) " >&6
   17229 else
   17230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17231 /* end confdefs.h.  */
   17232 int i;
   17233 _ACEOF
   17234 if ac_fn_c_try_compile "$LINENO"; then :
   17235   xorg_cv_compiler_flag_unknown_warning_option=yes
   17236 else
   17237   xorg_cv_compiler_flag_unknown_warning_option=no
   17238 fi
   17239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17240 fi
   17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unknown_warning_option" >&5
   17242 $as_echo "$xorg_cv_compiler_flag_unknown_warning_option" >&6; }
   17243 	xorg_testset_unknown_warning_option=$xorg_cv_compiler_flag_unknown_warning_option
   17244 	CFLAGS="$xorg_testset_save_CFLAGS"
   17245 fi
   17246 
   17247 if test "x$xorg_testset_unused_command_line_argument" = "x" ; then
   17248 	if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17250 	fi
   17251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -Werror=unused-command-line-argument" >&5
   17253 $as_echo_n "checking if compiler supports -Werror=unused-command-line-argument... " >&6; }
   17254 if ${xorg_cv_compiler_flag_unused_command_line_argument+:} false; then :
   17255   $as_echo_n "(cached) " >&6
   17256 else
   17257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17258 /* end confdefs.h.  */
   17259 int i;
   17260 _ACEOF
   17261 if ac_fn_c_try_compile "$LINENO"; then :
   17262   xorg_cv_compiler_flag_unused_command_line_argument=yes
   17263 else
   17264   xorg_cv_compiler_flag_unused_command_line_argument=no
   17265 fi
   17266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17267 fi
   17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_compiler_flag_unused_command_line_argument" >&5
   17269 $as_echo "$xorg_cv_compiler_flag_unused_command_line_argument" >&6; }
   17270 	xorg_testset_unused_command_line_argument=$xorg_cv_compiler_flag_unused_command_line_argument
   17271 	CFLAGS="$xorg_testset_save_CFLAGS"
   17272 fi
   17273 
   17274 found="no"
   17275 
   17276 	if test $found = "no" ; then
   17277 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17279 		fi
   17280 
   17281 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17283 		fi
   17284 
   17285 		CFLAGS="$CFLAGS -Werror=attributes"
   17286 
   17287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17288 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17289 		cacheid=`$as_echo xorg_cv_cc_flag_-Werror=attributes`
   17290 		if { as_var=`$as_echo "$cacheid" | $as_tr_sh`; eval \${$as_var+:} false; }; then :
   17291   $as_echo_n "(cached) " >&6
   17292 else
   17293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17294 /* end confdefs.h.  */
   17295 int i;
   17296 int
   17297 main ()
   17298 {
   17299 
   17300   ;
   17301   return 0;
   17302 }
   17303 _ACEOF
   17304 if ac_fn_c_try_link "$LINENO"; then :
   17305   eval `$as_echo "$cacheid" | $as_tr_sh`=yes
   17306 else
   17307   eval `$as_echo "$cacheid" | $as_tr_sh`=no
   17308 fi
   17309 rm -f core conftest.err conftest.$ac_objext \
   17310     conftest$ac_exeext conftest.$ac_ext
   17311 fi
   17312 
   17313 
   17314 		CFLAGS="$xorg_testset_save_CFLAGS"
   17315 
   17316 		eval supported=$`$as_echo "$cacheid" | $as_tr_sh`
   17317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17318 $as_echo "$supported" >&6; }
   17319 		if test "$supported" = "yes" ; then
   17320 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17321 			found="yes"
   17322 		fi
   17323 	fi
   17324 
   17325 
   17326 
   17327 if test "x$STRICT_COMPILE" = "xyes"; then
   17328     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17329     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17330 fi
   17331 
   17332 
   17333 
   17334 
   17335 
   17336 
   17337 cat >>confdefs.h <<_ACEOF
   17338 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17339 _ACEOF
   17340 
   17341 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17342 	if test "x$PVM" = "x"; then
   17343 		PVM="0"
   17344 	fi
   17345 
   17346 cat >>confdefs.h <<_ACEOF
   17347 #define PACKAGE_VERSION_MINOR $PVM
   17348 _ACEOF
   17349 
   17350 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17351 	if test "x$PVP" = "x"; then
   17352 		PVP="0"
   17353 	fi
   17354 
   17355 cat >>confdefs.h <<_ACEOF
   17356 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17357 _ACEOF
   17358 
   17359 
   17360 
   17361 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17362 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17363 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17364 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17365 
   17366 
   17367 
   17368 
   17369 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17370 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17371 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17372 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17373 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17374 
   17375 
   17376 
   17377 
   17378 
   17379 
   17380 if test x$APP_MAN_SUFFIX = x    ; then
   17381     APP_MAN_SUFFIX=1
   17382 fi
   17383 if test x$APP_MAN_DIR = x    ; then
   17384     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17385 fi
   17386 
   17387 if test x$LIB_MAN_SUFFIX = x    ; then
   17388     LIB_MAN_SUFFIX=3
   17389 fi
   17390 if test x$LIB_MAN_DIR = x    ; then
   17391     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17392 fi
   17393 
   17394 if test x$FILE_MAN_SUFFIX = x    ; then
   17395     case $host_os in
   17396 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17397 	*)		FILE_MAN_SUFFIX=5  ;;
   17398     esac
   17399 fi
   17400 if test x$FILE_MAN_DIR = x    ; then
   17401     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17402 fi
   17403 
   17404 if test x$MISC_MAN_SUFFIX = x    ; then
   17405     case $host_os in
   17406 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17407 	*)		MISC_MAN_SUFFIX=7  ;;
   17408     esac
   17409 fi
   17410 if test x$MISC_MAN_DIR = x    ; then
   17411     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17412 fi
   17413 
   17414 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17415     case $host_os in
   17416 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17417 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17418     esac
   17419 fi
   17420 if test x$DRIVER_MAN_DIR = x    ; then
   17421     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17422 fi
   17423 
   17424 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17425     case $host_os in
   17426 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17427 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17428     esac
   17429 fi
   17430 if test x$ADMIN_MAN_DIR = x    ; then
   17431     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17432 fi
   17433 
   17434 
   17435 
   17436 
   17437 
   17438 
   17439 
   17440 
   17441 
   17442 
   17443 
   17444 
   17445 
   17446 
   17447 
   17448 XORG_MAN_PAGE="X Version 11"
   17449 
   17450 MAN_SUBSTS="\
   17451 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17452 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17453 	-e 's|__xservername__|Xorg|g' \
   17454 	-e 's|__xconfigfile__|xorg.conf|g' \
   17455 	-e 's|__projectroot__|\$(prefix)|g' \
   17456 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17457 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17458 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17459 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17460 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17461 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17462 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17463 
   17464 
   17465 
   17466 # Check whether --enable-silent-rules was given.
   17467 if test "${enable_silent_rules+set}" = set; then :
   17468   enableval=$enable_silent_rules;
   17469 fi
   17470 
   17471 case $enable_silent_rules in
   17472 yes) AM_DEFAULT_VERBOSITY=0;;
   17473 no)  AM_DEFAULT_VERBOSITY=1;;
   17474 *)   AM_DEFAULT_VERBOSITY=0;;
   17475 esac
   17476 AM_BACKSLASH='\'
   17477 
   17478 
   17479 
   17480 
   17481 # Check whether --enable-specs was given.
   17482 if test "${enable_specs+set}" = set; then :
   17483   enableval=$enable_specs; build_specs=$enableval
   17484 else
   17485   build_specs=yes
   17486 fi
   17487 
   17488 
   17489  if test x$build_specs = xyes; then
   17490   ENABLE_SPECS_TRUE=
   17491   ENABLE_SPECS_FALSE='#'
   17492 else
   17493   ENABLE_SPECS_TRUE='#'
   17494   ENABLE_SPECS_FALSE=
   17495 fi
   17496 
   17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build functional specifications" >&5
   17498 $as_echo_n "checking whether to build functional specifications... " >&6; }
   17499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $build_specs" >&5
   17500 $as_echo "$build_specs" >&6; }
   17501 
   17502 
   17503 
   17504 
   17505 
   17506 # Check whether --with-xmlto was given.
   17507 if test "${with_xmlto+set}" = set; then :
   17508   withval=$with_xmlto; use_xmlto=$withval
   17509 else
   17510   use_xmlto=auto
   17511 fi
   17512 
   17513 
   17514 
   17515 if test "x$use_xmlto" = x"auto"; then
   17516    # Extract the first word of "xmlto", so it can be a program name with args.
   17517 set dummy xmlto; ac_word=$2
   17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17519 $as_echo_n "checking for $ac_word... " >&6; }
   17520 if ${ac_cv_path_XMLTO+:} false; then :
   17521   $as_echo_n "(cached) " >&6
   17522 else
   17523   case $XMLTO in
   17524   [\\/]* | ?:[\\/]*)
   17525   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17526   ;;
   17527   *)
   17528   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17529 for as_dir in $PATH
   17530 do
   17531   IFS=$as_save_IFS
   17532   test -z "$as_dir" && as_dir=.
   17533     for ac_exec_ext in '' $ac_executable_extensions; do
   17534   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17535     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17536     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17537     break 2
   17538   fi
   17539 done
   17540   done
   17541 IFS=$as_save_IFS
   17542 
   17543   ;;
   17544 esac
   17545 fi
   17546 XMLTO=$ac_cv_path_XMLTO
   17547 if test -n "$XMLTO"; then
   17548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17549 $as_echo "$XMLTO" >&6; }
   17550 else
   17551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17552 $as_echo "no" >&6; }
   17553 fi
   17554 
   17555 
   17556    if test "x$XMLTO" = "x"; then
   17557         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto not found - documentation targets will be skipped" >&5
   17558 $as_echo "$as_me: WARNING: xmlto not found - documentation targets will be skipped" >&2;}
   17559 	have_xmlto=no
   17560    else
   17561         have_xmlto=yes
   17562    fi
   17563 elif test "x$use_xmlto" = x"yes" ; then
   17564    # Extract the first word of "xmlto", so it can be a program name with args.
   17565 set dummy xmlto; ac_word=$2
   17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17567 $as_echo_n "checking for $ac_word... " >&6; }
   17568 if ${ac_cv_path_XMLTO+:} false; then :
   17569   $as_echo_n "(cached) " >&6
   17570 else
   17571   case $XMLTO in
   17572   [\\/]* | ?:[\\/]*)
   17573   ac_cv_path_XMLTO="$XMLTO" # Let the user override the test with a path.
   17574   ;;
   17575   *)
   17576   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17577 for as_dir in $PATH
   17578 do
   17579   IFS=$as_save_IFS
   17580   test -z "$as_dir" && as_dir=.
   17581     for ac_exec_ext in '' $ac_executable_extensions; do
   17582   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17583     ac_cv_path_XMLTO="$as_dir/$ac_word$ac_exec_ext"
   17584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17585     break 2
   17586   fi
   17587 done
   17588   done
   17589 IFS=$as_save_IFS
   17590 
   17591   ;;
   17592 esac
   17593 fi
   17594 XMLTO=$ac_cv_path_XMLTO
   17595 if test -n "$XMLTO"; then
   17596   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLTO" >&5
   17597 $as_echo "$XMLTO" >&6; }
   17598 else
   17599   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17600 $as_echo "no" >&6; }
   17601 fi
   17602 
   17603 
   17604    if test "x$XMLTO" = "x"; then
   17605         as_fn_error $? "--with-xmlto=yes specified but xmlto not found in PATH" "$LINENO" 5
   17606    fi
   17607    have_xmlto=yes
   17608 elif test "x$use_xmlto" = x"no" ; then
   17609    if test "x$XMLTO" != "x"; then
   17610       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&5
   17611 $as_echo "$as_me: WARNING: ignoring XMLTO environment variable since --with-xmlto=no was specified" >&2;}
   17612    fi
   17613    have_xmlto=no
   17614 else
   17615    as_fn_error $? "--with-xmlto expects 'yes' or 'no'" "$LINENO" 5
   17616 fi
   17617 
   17618 # Test for a minimum version of xmlto, if provided.
   17619 if test "$have_xmlto" = yes; then
   17620     # scrape the xmlto version
   17621     { $as_echo "$as_me:${as_lineno-$LINENO}: checking the xmlto version" >&5
   17622 $as_echo_n "checking the xmlto version... " >&6; }
   17623     xmlto_version=`$XMLTO --version 2>/dev/null | cut -d' ' -f3`
   17624     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xmlto_version" >&5
   17625 $as_echo "$xmlto_version" >&6; }
   17626     as_arg_v1=$xmlto_version
   17627 as_arg_v2=0.0.22
   17628 awk "$as_awk_strverscmp" v1="$as_arg_v1" v2="$as_arg_v2" /dev/null
   17629 case $? in #(
   17630   1) :
   17631     if test "x$use_xmlto" = xauto; then
   17632             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&5
   17633 $as_echo "$as_me: WARNING: xmlto version $xmlto_version found, but 0.0.22 needed" >&2;}
   17634             have_xmlto=no
   17635         else
   17636             as_fn_error $? "xmlto version $xmlto_version found, but 0.0.22 needed" "$LINENO" 5
   17637         fi ;; #(
   17638   0) :
   17639      ;; #(
   17640   2) :
   17641      ;; #(
   17642   *) :
   17643      ;;
   17644 esac
   17645 fi
   17646 
   17647 # Test for the ability of xmlto to generate a text target
   17648 have_xmlto_text=no
   17649 cat > conftest.xml << "EOF"
   17650 EOF
   17651 if test "$have_xmlto" = yes; then :
   17652   if $XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1; then :
   17653   have_xmlto_text=yes
   17654 else
   17655   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xmlto cannot generate text format, this format skipped" >&5
   17656 $as_echo "$as_me: WARNING: xmlto cannot generate text format, this format skipped" >&2;}
   17657 fi
   17658 fi
   17659 rm -f conftest.xml
   17660  if test $have_xmlto_text = yes; then
   17661   HAVE_XMLTO_TEXT_TRUE=
   17662   HAVE_XMLTO_TEXT_FALSE='#'
   17663 else
   17664   HAVE_XMLTO_TEXT_TRUE='#'
   17665   HAVE_XMLTO_TEXT_FALSE=
   17666 fi
   17667 
   17668  if test "$have_xmlto" = yes; then
   17669   HAVE_XMLTO_TRUE=
   17670   HAVE_XMLTO_FALSE='#'
   17671 else
   17672   HAVE_XMLTO_TRUE='#'
   17673   HAVE_XMLTO_FALSE=
   17674 fi
   17675 
   17676 
   17677 
   17678 
   17679 
   17680 
   17681 # Check whether --with-fop was given.
   17682 if test "${with_fop+set}" = set; then :
   17683   withval=$with_fop; use_fop=$withval
   17684 else
   17685   use_fop=auto
   17686 fi
   17687 
   17688 
   17689 
   17690 if test "x$use_fop" = x"auto"; then
   17691    # Extract the first word of "fop", so it can be a program name with args.
   17692 set dummy fop; ac_word=$2
   17693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17694 $as_echo_n "checking for $ac_word... " >&6; }
   17695 if ${ac_cv_path_FOP+:} false; then :
   17696   $as_echo_n "(cached) " >&6
   17697 else
   17698   case $FOP in
   17699   [\\/]* | ?:[\\/]*)
   17700   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17701   ;;
   17702   *)
   17703   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17704 for as_dir in $PATH
   17705 do
   17706   IFS=$as_save_IFS
   17707   test -z "$as_dir" && as_dir=.
   17708     for ac_exec_ext in '' $ac_executable_extensions; do
   17709   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17710     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17711     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17712     break 2
   17713   fi
   17714 done
   17715   done
   17716 IFS=$as_save_IFS
   17717 
   17718   ;;
   17719 esac
   17720 fi
   17721 FOP=$ac_cv_path_FOP
   17722 if test -n "$FOP"; then
   17723   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17724 $as_echo "$FOP" >&6; }
   17725 else
   17726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17727 $as_echo "no" >&6; }
   17728 fi
   17729 
   17730 
   17731    if test "x$FOP" = "x"; then
   17732         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: fop not found - documentation targets will be skipped" >&5
   17733 $as_echo "$as_me: WARNING: fop not found - documentation targets will be skipped" >&2;}
   17734 	have_fop=no
   17735    else
   17736         have_fop=yes
   17737    fi
   17738 elif test "x$use_fop" = x"yes" ; then
   17739    # Extract the first word of "fop", so it can be a program name with args.
   17740 set dummy fop; ac_word=$2
   17741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17742 $as_echo_n "checking for $ac_word... " >&6; }
   17743 if ${ac_cv_path_FOP+:} false; then :
   17744   $as_echo_n "(cached) " >&6
   17745 else
   17746   case $FOP in
   17747   [\\/]* | ?:[\\/]*)
   17748   ac_cv_path_FOP="$FOP" # Let the user override the test with a path.
   17749   ;;
   17750   *)
   17751   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17752 for as_dir in $PATH
   17753 do
   17754   IFS=$as_save_IFS
   17755   test -z "$as_dir" && as_dir=.
   17756     for ac_exec_ext in '' $ac_executable_extensions; do
   17757   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17758     ac_cv_path_FOP="$as_dir/$ac_word$ac_exec_ext"
   17759     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17760     break 2
   17761   fi
   17762 done
   17763   done
   17764 IFS=$as_save_IFS
   17765 
   17766   ;;
   17767 esac
   17768 fi
   17769 FOP=$ac_cv_path_FOP
   17770 if test -n "$FOP"; then
   17771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FOP" >&5
   17772 $as_echo "$FOP" >&6; }
   17773 else
   17774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17775 $as_echo "no" >&6; }
   17776 fi
   17777 
   17778 
   17779    if test "x$FOP" = "x"; then
   17780         as_fn_error $? "--with-fop=yes specified but fop not found in PATH" "$LINENO" 5
   17781    fi
   17782    have_fop=yes
   17783 elif test "x$use_fop" = x"no" ; then
   17784    if test "x$FOP" != "x"; then
   17785       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&5
   17786 $as_echo "$as_me: WARNING: ignoring FOP environment variable since --with-fop=no was specified" >&2;}
   17787    fi
   17788    have_fop=no
   17789 else
   17790    as_fn_error $? "--with-fop expects 'yes' or 'no'" "$LINENO" 5
   17791 fi
   17792 
   17793 # Test for a minimum version of fop, if provided.
   17794 
   17795  if test "$have_fop" = yes; then
   17796   HAVE_FOP_TRUE=
   17797   HAVE_FOP_FALSE='#'
   17798 else
   17799   HAVE_FOP_TRUE='#'
   17800   HAVE_FOP_FALSE=
   17801 fi
   17802 
   17803 
   17804 
   17805 
   17806 # Preserves the interface, should it be implemented later
   17807 
   17808 
   17809 
   17810 # Check whether --with-xsltproc was given.
   17811 if test "${with_xsltproc+set}" = set; then :
   17812   withval=$with_xsltproc; use_xsltproc=$withval
   17813 else
   17814   use_xsltproc=auto
   17815 fi
   17816 
   17817 
   17818 
   17819 if test "x$use_xsltproc" = x"auto"; then
   17820    # Extract the first word of "xsltproc", so it can be a program name with args.
   17821 set dummy xsltproc; ac_word=$2
   17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17823 $as_echo_n "checking for $ac_word... " >&6; }
   17824 if ${ac_cv_path_XSLTPROC+:} false; then :
   17825   $as_echo_n "(cached) " >&6
   17826 else
   17827   case $XSLTPROC in
   17828   [\\/]* | ?:[\\/]*)
   17829   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   17830   ;;
   17831   *)
   17832   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17833 for as_dir in $PATH
   17834 do
   17835   IFS=$as_save_IFS
   17836   test -z "$as_dir" && as_dir=.
   17837     for ac_exec_ext in '' $ac_executable_extensions; do
   17838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17839     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   17840     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17841     break 2
   17842   fi
   17843 done
   17844   done
   17845 IFS=$as_save_IFS
   17846 
   17847   ;;
   17848 esac
   17849 fi
   17850 XSLTPROC=$ac_cv_path_XSLTPROC
   17851 if test -n "$XSLTPROC"; then
   17852   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   17853 $as_echo "$XSLTPROC" >&6; }
   17854 else
   17855   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17856 $as_echo "no" >&6; }
   17857 fi
   17858 
   17859 
   17860    if test "x$XSLTPROC" = "x"; then
   17861         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: xsltproc not found - cannot transform XML documents" >&5
   17862 $as_echo "$as_me: WARNING: xsltproc not found - cannot transform XML documents" >&2;}
   17863 	have_xsltproc=no
   17864    else
   17865         have_xsltproc=yes
   17866    fi
   17867 elif test "x$use_xsltproc" = x"yes" ; then
   17868    # Extract the first word of "xsltproc", so it can be a program name with args.
   17869 set dummy xsltproc; ac_word=$2
   17870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   17871 $as_echo_n "checking for $ac_word... " >&6; }
   17872 if ${ac_cv_path_XSLTPROC+:} false; then :
   17873   $as_echo_n "(cached) " >&6
   17874 else
   17875   case $XSLTPROC in
   17876   [\\/]* | ?:[\\/]*)
   17877   ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
   17878   ;;
   17879   *)
   17880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   17881 for as_dir in $PATH
   17882 do
   17883   IFS=$as_save_IFS
   17884   test -z "$as_dir" && as_dir=.
   17885     for ac_exec_ext in '' $ac_executable_extensions; do
   17886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   17887     ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
   17888     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   17889     break 2
   17890   fi
   17891 done
   17892   done
   17893 IFS=$as_save_IFS
   17894 
   17895   ;;
   17896 esac
   17897 fi
   17898 XSLTPROC=$ac_cv_path_XSLTPROC
   17899 if test -n "$XSLTPROC"; then
   17900   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
   17901 $as_echo "$XSLTPROC" >&6; }
   17902 else
   17903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17904 $as_echo "no" >&6; }
   17905 fi
   17906 
   17907 
   17908    if test "x$XSLTPROC" = "x"; then
   17909         as_fn_error $? "--with-xsltproc=yes specified but xsltproc not found in PATH" "$LINENO" 5
   17910    fi
   17911    have_xsltproc=yes
   17912 elif test "x$use_xsltproc" = x"no" ; then
   17913    if test "x$XSLTPROC" != "x"; then
   17914       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&5
   17915 $as_echo "$as_me: WARNING: ignoring XSLTPROC environment variable since --with-xsltproc=no was specified" >&2;}
   17916    fi
   17917    have_xsltproc=no
   17918 else
   17919    as_fn_error $? "--with-xsltproc expects 'yes' or 'no'" "$LINENO" 5
   17920 fi
   17921 
   17922  if test "$have_xsltproc" = yes; then
   17923   HAVE_XSLTPROC_TRUE=
   17924   HAVE_XSLTPROC_FALSE='#'
   17925 else
   17926   HAVE_XSLTPROC_TRUE='#'
   17927   HAVE_XSLTPROC_FALSE=
   17928 fi
   17929 
   17930 
   17931 
   17932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X.Org SGML entities >= 1.8" >&5
   17933 $as_echo_n "checking for X.Org SGML entities >= 1.8... " >&6; }
   17934 XORG_SGML_PATH=
   17935 if test -n "$PKG_CONFIG" && \
   17936     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-sgml-doctools >= 1.8\""; } >&5
   17937   ($PKG_CONFIG --exists --print-errors "xorg-sgml-doctools >= 1.8") 2>&5
   17938   ac_status=$?
   17939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17940   test $ac_status = 0; }; then
   17941   XORG_SGML_PATH=`$PKG_CONFIG --variable=sgmlrootdir xorg-sgml-doctools`
   17942 else
   17943   :
   17944 
   17945 fi
   17946 
   17947 # Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
   17948 # the path and the name of the doc stylesheet
   17949 if test "x$XORG_SGML_PATH" != "x" ; then
   17950    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XORG_SGML_PATH" >&5
   17951 $as_echo "$XORG_SGML_PATH" >&6; }
   17952    STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
   17953    XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
   17954 else
   17955    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17956 $as_echo "no" >&6; }
   17957 fi
   17958 
   17959 
   17960 
   17961 
   17962  if test "x$XSL_STYLESHEET" != "x"; then
   17963   HAVE_STYLESHEETS_TRUE=
   17964   HAVE_STYLESHEETS_FALSE='#'
   17965 else
   17966   HAVE_STYLESHEETS_TRUE='#'
   17967   HAVE_STYLESHEETS_FALSE=
   17968 fi
   17969 
   17970 
   17971 
   17972 # Obtain compiler/linker options for depedencies
   17973 
   17974 pkg_failed=no
   17975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XTST" >&5
   17976 $as_echo_n "checking for XTST... " >&6; }
   17977 
   17978 if test -n "$XTST_CFLAGS"; then
   17979     pkg_cv_XTST_CFLAGS="$XTST_CFLAGS"
   17980  elif test -n "$PKG_CONFIG"; then
   17981     if test -n "$PKG_CONFIG" && \
   17982     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto\""; } >&5
   17983   ($PKG_CONFIG --exists --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto") 2>&5
   17984   ac_status=$?
   17985   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17986   test $ac_status = 0; }; then
   17987   pkg_cv_XTST_CFLAGS=`$PKG_CONFIG --cflags "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>/dev/null`
   17988 else
   17989   pkg_failed=yes
   17990 fi
   17991  else
   17992     pkg_failed=untried
   17993 fi
   17994 if test -n "$XTST_LIBS"; then
   17995     pkg_cv_XTST_LIBS="$XTST_LIBS"
   17996  elif test -n "$PKG_CONFIG"; then
   17997     if test -n "$PKG_CONFIG" && \
   17998     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto\""; } >&5
   17999   ($PKG_CONFIG --exists --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto") 2>&5
   18000   ac_status=$?
   18001   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18002   test $ac_status = 0; }; then
   18003   pkg_cv_XTST_LIBS=`$PKG_CONFIG --libs "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>/dev/null`
   18004 else
   18005   pkg_failed=yes
   18006 fi
   18007  else
   18008     pkg_failed=untried
   18009 fi
   18010 
   18011 
   18012 
   18013 if test $pkg_failed = yes; then
   18014 
   18015 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18016         _pkg_short_errors_supported=yes
   18017 else
   18018         _pkg_short_errors_supported=no
   18019 fi
   18020         if test $_pkg_short_errors_supported = yes; then
   18021 	        XTST_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>&1`
   18022         else
   18023 	        XTST_PKG_ERRORS=`$PKG_CONFIG --print-errors "x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto" 2>&1`
   18024         fi
   18025 	# Put the nasty error message in config.log where it belongs
   18026 	echo "$XTST_PKG_ERRORS" >&5
   18027 
   18028 	as_fn_error $? "Package requirements (x11 xext >= 1.0.99.4 xi recordproto >= 1.13.99.1 xextproto >= 7.0.99.3 inputproto) were not met:
   18029 
   18030 $XTST_PKG_ERRORS
   18031 
   18032 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18033 installed software in a non-standard prefix.
   18034 
   18035 Alternatively, you may set the environment variables XTST_CFLAGS
   18036 and XTST_LIBS to avoid the need to call pkg-config.
   18037 See the pkg-config man page for more details.
   18038 " "$LINENO" 5
   18039 elif test $pkg_failed = untried; then
   18040 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18042 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18043 is in your PATH or set the PKG_CONFIG environment variable to the full
   18044 path to pkg-config.
   18045 
   18046 Alternatively, you may set the environment variables XTST_CFLAGS
   18047 and XTST_LIBS to avoid the need to call pkg-config.
   18048 See the pkg-config man page for more details.
   18049 
   18050 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18051 See \`config.log' for more details" "$LINENO" 5; }
   18052 else
   18053 	XTST_CFLAGS=$pkg_cv_XTST_CFLAGS
   18054 	XTST_LIBS=$pkg_cv_XTST_LIBS
   18055         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18056 $as_echo "yes" >&6; }
   18057 	:
   18058 fi
   18059 
   18060 # Determine if the source for man pages is available
   18061 # It may already be present (tarball) or can be generated using xmlto
   18062  if test -f "$srcdir/man/XTestQueryExtension.man" || test "x$have_xmlto" = xyes; then
   18063   INSTALL_MANPAGES_TRUE=
   18064   INSTALL_MANPAGES_FALSE='#'
   18065 else
   18066   INSTALL_MANPAGES_TRUE='#'
   18067   INSTALL_MANPAGES_FALSE=
   18068 fi
   18069 
   18070 
   18071 # Allow checking code with lint, sparse, etc.
   18072 
   18073 
   18074 
   18075 
   18076 
   18077 # Check whether --with-lint was given.
   18078 if test "${with_lint+set}" = set; then :
   18079   withval=$with_lint; use_lint=$withval
   18080 else
   18081   use_lint=no
   18082 fi
   18083 
   18084 
   18085 # Obtain platform specific info like program name and options
   18086 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   18087 case $host_os in
   18088   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   18089 	lint_name=splint
   18090 	lint_options="-badflag"
   18091 	;;
   18092   *freebsd* | *netbsd*)
   18093 	lint_name=lint
   18094 	lint_options="-u -b"
   18095 	;;
   18096   *solaris*)
   18097 	lint_name=lint
   18098 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   18099 	;;
   18100 esac
   18101 
   18102 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   18103 if test "x$use_lint" = x"yes" ; then
   18104    # Extract the first word of "$lint_name", so it can be a program name with args.
   18105 set dummy $lint_name; ac_word=$2
   18106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18107 $as_echo_n "checking for $ac_word... " >&6; }
   18108 if ${ac_cv_path_LINT+:} false; then :
   18109   $as_echo_n "(cached) " >&6
   18110 else
   18111   case $LINT in
   18112   [\\/]* | ?:[\\/]*)
   18113   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   18114   ;;
   18115   *)
   18116   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18117 for as_dir in $PATH
   18118 do
   18119   IFS=$as_save_IFS
   18120   test -z "$as_dir" && as_dir=.
   18121     for ac_exec_ext in '' $ac_executable_extensions; do
   18122   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
   18123     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   18124     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18125     break 2
   18126   fi
   18127 done
   18128   done
   18129 IFS=$as_save_IFS
   18130 
   18131   ;;
   18132 esac
   18133 fi
   18134 LINT=$ac_cv_path_LINT
   18135 if test -n "$LINT"; then
   18136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   18137 $as_echo "$LINT" >&6; }
   18138 else
   18139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18140 $as_echo "no" >&6; }
   18141 fi
   18142 
   18143 
   18144    if test "x$LINT" = "x"; then
   18145         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   18146    fi
   18147 elif test "x$use_lint" = x"no" ; then
   18148    if test "x$LINT" != "x"; then
   18149       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   18150 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   18151    fi
   18152 else
   18153    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   18154 fi
   18155 
   18156 # User supplied flags override default flags
   18157 if test "x$LINT_FLAGS" != "x"; then
   18158    lint_options=$LINT_FLAGS
   18159 fi
   18160 
   18161 LINT_FLAGS=$lint_options
   18162 
   18163  if test "x$LINT" != x; then
   18164   LINT_TRUE=
   18165   LINT_FALSE='#'
   18166 else
   18167   LINT_TRUE='#'
   18168   LINT_FALSE=
   18169 fi
   18170 
   18171 
   18172 
   18173 
   18174 
   18175 # Check whether --enable-lint-library was given.
   18176 if test "${enable_lint_library+set}" = set; then :
   18177   enableval=$enable_lint_library; make_lint_lib=$enableval
   18178 else
   18179   make_lint_lib=no
   18180 fi
   18181 
   18182 
   18183 if test "x$make_lint_lib" = x"yes" ; then
   18184    LINTLIB=llib-lXtst.ln
   18185    if test "x$LINT" = "x"; then
   18186         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   18187    fi
   18188 elif test "x$make_lint_lib" != x"no" ; then
   18189    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   18190 fi
   18191 
   18192 
   18193  if test x$make_lint_lib != xno; then
   18194   MAKE_LINT_LIB_TRUE=
   18195   MAKE_LINT_LIB_FALSE='#'
   18196 else
   18197   MAKE_LINT_LIB_TRUE='#'
   18198   MAKE_LINT_LIB_FALSE=
   18199 fi
   18200 
   18201 
   18202 
   18203 LINT_FLAGS="${LINT_FLAGS} ${XTST_CFLAGS}"
   18204 
   18205 ac_config_files="$ac_config_files Makefile man/Makefile src/Makefile specs/Makefile xtst.pc"
   18206 
   18207 cat >confcache <<\_ACEOF
   18208 # This file is a shell script that caches the results of configure
   18209 # tests run on this system so they can be shared between configure
   18210 # scripts and configure runs, see configure's option --config-cache.
   18211 # It is not useful on other systems.  If it contains results you don't
   18212 # want to keep, you may remove or edit it.
   18213 #
   18214 # config.status only pays attention to the cache file if you give it
   18215 # the --recheck option to rerun configure.
   18216 #
   18217 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18218 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18219 # following values.
   18220 
   18221 _ACEOF
   18222 
   18223 # The following way of writing the cache mishandles newlines in values,
   18224 # but we know of no workaround that is simple, portable, and efficient.
   18225 # So, we kill variables containing newlines.
   18226 # Ultrix sh set writes to stderr and can't be redirected directly,
   18227 # and sets the high bit in the cache file unless we assign to the vars.
   18228 (
   18229   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18230     eval ac_val=\$$ac_var
   18231     case $ac_val in #(
   18232     *${as_nl}*)
   18233       case $ac_var in #(
   18234       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18235 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18236       esac
   18237       case $ac_var in #(
   18238       _ | IFS | as_nl) ;; #(
   18239       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18240       *) { eval $ac_var=; unset $ac_var;} ;;
   18241       esac ;;
   18242     esac
   18243   done
   18244 
   18245   (set) 2>&1 |
   18246     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18247     *${as_nl}ac_space=\ *)
   18248       # `set' does not quote correctly, so add quotes: double-quote
   18249       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18250       sed -n \
   18251 	"s/'/'\\\\''/g;
   18252 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18253       ;; #(
   18254     *)
   18255       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18256       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18257       ;;
   18258     esac |
   18259     sort
   18260 ) |
   18261   sed '
   18262      /^ac_cv_env_/b end
   18263      t clear
   18264      :clear
   18265      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18266      t end
   18267      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18268      :end' >>confcache
   18269 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18270   if test -w "$cache_file"; then
   18271     if test "x$cache_file" != "x/dev/null"; then
   18272       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18273 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18274       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18275 	cat confcache >"$cache_file"
   18276       else
   18277         case $cache_file in #(
   18278         */* | ?:*)
   18279 	  mv -f confcache "$cache_file"$$ &&
   18280 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18281         *)
   18282 	  mv -f confcache "$cache_file" ;;
   18283 	esac
   18284       fi
   18285     fi
   18286   else
   18287     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18288 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18289   fi
   18290 fi
   18291 rm -f confcache
   18292 
   18293 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18294 # Let make expand exec_prefix.
   18295 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18296 
   18297 DEFS=-DHAVE_CONFIG_H
   18298 
   18299 ac_libobjs=
   18300 ac_ltlibobjs=
   18301 U=
   18302 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18303   # 1. Remove the extension, and $U if already installed.
   18304   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18305   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18306   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18307   #    will be set to the directory where LIBOBJS objects are built.
   18308   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18309   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18310 done
   18311 LIBOBJS=$ac_libobjs
   18312 
   18313 LTLIBOBJS=$ac_ltlibobjs
   18314 
   18315 
   18316  if test -n "$EXEEXT"; then
   18317   am__EXEEXT_TRUE=
   18318   am__EXEEXT_FALSE='#'
   18319 else
   18320   am__EXEEXT_TRUE='#'
   18321   am__EXEEXT_FALSE=
   18322 fi
   18323 
   18324 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18325   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18327 fi
   18328 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18329   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18331 fi
   18332 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18333   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18335 fi
   18336 if test -z "${ENABLE_SPECS_TRUE}" && test -z "${ENABLE_SPECS_FALSE}"; then
   18337   as_fn_error $? "conditional \"ENABLE_SPECS\" was never defined.
   18338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18339 fi
   18340 if test -z "${HAVE_XMLTO_TEXT_TRUE}" && test -z "${HAVE_XMLTO_TEXT_FALSE}"; then
   18341   as_fn_error $? "conditional \"HAVE_XMLTO_TEXT\" was never defined.
   18342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18343 fi
   18344 if test -z "${HAVE_XMLTO_TRUE}" && test -z "${HAVE_XMLTO_FALSE}"; then
   18345   as_fn_error $? "conditional \"HAVE_XMLTO\" was never defined.
   18346 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18347 fi
   18348 if test -z "${HAVE_FOP_TRUE}" && test -z "${HAVE_FOP_FALSE}"; then
   18349   as_fn_error $? "conditional \"HAVE_FOP\" was never defined.
   18350 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18351 fi
   18352 if test -z "${HAVE_XSLTPROC_TRUE}" && test -z "${HAVE_XSLTPROC_FALSE}"; then
   18353   as_fn_error $? "conditional \"HAVE_XSLTPROC\" was never defined.
   18354 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18355 fi
   18356 if test -z "${HAVE_STYLESHEETS_TRUE}" && test -z "${HAVE_STYLESHEETS_FALSE}"; then
   18357   as_fn_error $? "conditional \"HAVE_STYLESHEETS\" was never defined.
   18358 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18359 fi
   18360 if test -z "${INSTALL_MANPAGES_TRUE}" && test -z "${INSTALL_MANPAGES_FALSE}"; then
   18361   as_fn_error $? "conditional \"INSTALL_MANPAGES\" was never defined.
   18362 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18363 fi
   18364 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18365   as_fn_error $? "conditional \"LINT\" was never defined.
   18366 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18367 fi
   18368 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   18369   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   18370 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18371 fi
   18372 
   18373 : "${CONFIG_STATUS=./config.status}"
   18374 ac_write_fail=0
   18375 ac_clean_files_save=$ac_clean_files
   18376 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18377 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18378 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18379 as_write_fail=0
   18380 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18381 #! $SHELL
   18382 # Generated by $as_me.
   18383 # Run this file to recreate the current configuration.
   18384 # Compiler output produced by configure, useful for debugging
   18385 # configure, is in config.log if it exists.
   18386 
   18387 debug=false
   18388 ac_cs_recheck=false
   18389 ac_cs_silent=false
   18390 
   18391 SHELL=\${CONFIG_SHELL-$SHELL}
   18392 export SHELL
   18393 _ASEOF
   18394 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18395 ## -------------------- ##
   18396 ## M4sh Initialization. ##
   18397 ## -------------------- ##
   18398 
   18399 # Be more Bourne compatible
   18400 DUALCASE=1; export DUALCASE # for MKS sh
   18401 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18402   emulate sh
   18403   NULLCMD=:
   18404   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18405   # is contrary to our usage.  Disable this feature.
   18406   alias -g '${1+"$@"}'='"$@"'
   18407   setopt NO_GLOB_SUBST
   18408 else
   18409   case `(set -o) 2>/dev/null` in #(
   18410   *posix*) :
   18411     set -o posix ;; #(
   18412   *) :
   18413      ;;
   18414 esac
   18415 fi
   18416 
   18417 
   18418 as_nl='
   18419 '
   18420 export as_nl
   18421 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18422 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18423 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18424 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18425 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18426 # but without wasting forks for bash or zsh.
   18427 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18428     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18429   as_echo='print -r --'
   18430   as_echo_n='print -rn --'
   18431 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18432   as_echo='printf %s\n'
   18433   as_echo_n='printf %s'
   18434 else
   18435   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18436     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18437     as_echo_n='/usr/ucb/echo -n'
   18438   else
   18439     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18440     as_echo_n_body='eval
   18441       arg=$1;
   18442       case $arg in #(
   18443       *"$as_nl"*)
   18444 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18445 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18446       esac;
   18447       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18448     '
   18449     export as_echo_n_body
   18450     as_echo_n='sh -c $as_echo_n_body as_echo'
   18451   fi
   18452   export as_echo_body
   18453   as_echo='sh -c $as_echo_body as_echo'
   18454 fi
   18455 
   18456 # The user is always right.
   18457 if test "${PATH_SEPARATOR+set}" != set; then
   18458   PATH_SEPARATOR=:
   18459   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18460     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18461       PATH_SEPARATOR=';'
   18462   }
   18463 fi
   18464 
   18465 
   18466 # IFS
   18467 # We need space, tab and new line, in precisely that order.  Quoting is
   18468 # there to prevent editors from complaining about space-tab.
   18469 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18470 # splitting by setting IFS to empty value.)
   18471 IFS=" ""	$as_nl"
   18472 
   18473 # Find who we are.  Look in the path if we contain no directory separator.
   18474 as_myself=
   18475 case $0 in #((
   18476   *[\\/]* ) as_myself=$0 ;;
   18477   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18478 for as_dir in $PATH
   18479 do
   18480   IFS=$as_save_IFS
   18481   test -z "$as_dir" && as_dir=.
   18482     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18483   done
   18484 IFS=$as_save_IFS
   18485 
   18486      ;;
   18487 esac
   18488 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18489 # in which case we are not to be found in the path.
   18490 if test "x$as_myself" = x; then
   18491   as_myself=$0
   18492 fi
   18493 if test ! -f "$as_myself"; then
   18494   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18495   exit 1
   18496 fi
   18497 
   18498 # Unset variables that we do not need and which cause bugs (e.g. in
   18499 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18500 # suppresses any "Segmentation fault" message there.  '((' could
   18501 # trigger a bug in pdksh 5.2.14.
   18502 for as_var in BASH_ENV ENV MAIL MAILPATH
   18503 do eval test x\${$as_var+set} = xset \
   18504   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18505 done
   18506 PS1='$ '
   18507 PS2='> '
   18508 PS4='+ '
   18509 
   18510 # NLS nuisances.
   18511 LC_ALL=C
   18512 export LC_ALL
   18513 LANGUAGE=C
   18514 export LANGUAGE
   18515 
   18516 # CDPATH.
   18517 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18518 
   18519 
   18520 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18521 # ----------------------------------------
   18522 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18523 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18524 # script with STATUS, using 1 if that was 0.
   18525 as_fn_error ()
   18526 {
   18527   as_status=$1; test $as_status -eq 0 && as_status=1
   18528   if test "$4"; then
   18529     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18530     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18531   fi
   18532   $as_echo "$as_me: error: $2" >&2
   18533   as_fn_exit $as_status
   18534 } # as_fn_error
   18535 
   18536 
   18537 # as_fn_set_status STATUS
   18538 # -----------------------
   18539 # Set $? to STATUS, without forking.
   18540 as_fn_set_status ()
   18541 {
   18542   return $1
   18543 } # as_fn_set_status
   18544 
   18545 # as_fn_exit STATUS
   18546 # -----------------
   18547 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18548 as_fn_exit ()
   18549 {
   18550   set +e
   18551   as_fn_set_status $1
   18552   exit $1
   18553 } # as_fn_exit
   18554 
   18555 # as_fn_unset VAR
   18556 # ---------------
   18557 # Portably unset VAR.
   18558 as_fn_unset ()
   18559 {
   18560   { eval $1=; unset $1;}
   18561 }
   18562 as_unset=as_fn_unset
   18563 # as_fn_append VAR VALUE
   18564 # ----------------------
   18565 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18566 # advantage of any shell optimizations that allow amortized linear growth over
   18567 # repeated appends, instead of the typical quadratic growth present in naive
   18568 # implementations.
   18569 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18570   eval 'as_fn_append ()
   18571   {
   18572     eval $1+=\$2
   18573   }'
   18574 else
   18575   as_fn_append ()
   18576   {
   18577     eval $1=\$$1\$2
   18578   }
   18579 fi # as_fn_append
   18580 
   18581 # as_fn_arith ARG...
   18582 # ------------------
   18583 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18584 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18585 # must be portable across $(()) and expr.
   18586 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18587   eval 'as_fn_arith ()
   18588   {
   18589     as_val=$(( $* ))
   18590   }'
   18591 else
   18592   as_fn_arith ()
   18593   {
   18594     as_val=`expr "$@" || test $? -eq 1`
   18595   }
   18596 fi # as_fn_arith
   18597 
   18598 
   18599 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18600    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18601   as_expr=expr
   18602 else
   18603   as_expr=false
   18604 fi
   18605 
   18606 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18607   as_basename=basename
   18608 else
   18609   as_basename=false
   18610 fi
   18611 
   18612 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18613   as_dirname=dirname
   18614 else
   18615   as_dirname=false
   18616 fi
   18617 
   18618 as_me=`$as_basename -- "$0" ||
   18619 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18620 	 X"$0" : 'X\(//\)$' \| \
   18621 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18622 $as_echo X/"$0" |
   18623     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18624 	    s//\1/
   18625 	    q
   18626 	  }
   18627 	  /^X\/\(\/\/\)$/{
   18628 	    s//\1/
   18629 	    q
   18630 	  }
   18631 	  /^X\/\(\/\).*/{
   18632 	    s//\1/
   18633 	    q
   18634 	  }
   18635 	  s/.*/./; q'`
   18636 
   18637 # Avoid depending upon Character Ranges.
   18638 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18639 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18640 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18641 as_cr_digits='0123456789'
   18642 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18643 
   18644 ECHO_C= ECHO_N= ECHO_T=
   18645 case `echo -n x` in #(((((
   18646 -n*)
   18647   case `echo 'xy\c'` in
   18648   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18649   xy)  ECHO_C='\c';;
   18650   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18651        ECHO_T='	';;
   18652   esac;;
   18653 *)
   18654   ECHO_N='-n';;
   18655 esac
   18656 
   18657 rm -f conf$$ conf$$.exe conf$$.file
   18658 if test -d conf$$.dir; then
   18659   rm -f conf$$.dir/conf$$.file
   18660 else
   18661   rm -f conf$$.dir
   18662   mkdir conf$$.dir 2>/dev/null
   18663 fi
   18664 if (echo >conf$$.file) 2>/dev/null; then
   18665   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18666     as_ln_s='ln -s'
   18667     # ... but there are two gotchas:
   18668     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18669     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18670     # In both cases, we have to default to `cp -p'.
   18671     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18672       as_ln_s='cp -p'
   18673   elif ln conf$$.file conf$$ 2>/dev/null; then
   18674     as_ln_s=ln
   18675   else
   18676     as_ln_s='cp -p'
   18677   fi
   18678 else
   18679   as_ln_s='cp -p'
   18680 fi
   18681 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18682 rmdir conf$$.dir 2>/dev/null
   18683 
   18684 
   18685 # as_fn_mkdir_p
   18686 # -------------
   18687 # Create "$as_dir" as a directory, including parents if necessary.
   18688 as_fn_mkdir_p ()
   18689 {
   18690 
   18691   case $as_dir in #(
   18692   -*) as_dir=./$as_dir;;
   18693   esac
   18694   test -d "$as_dir" || eval $as_mkdir_p || {
   18695     as_dirs=
   18696     while :; do
   18697       case $as_dir in #(
   18698       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18699       *) as_qdir=$as_dir;;
   18700       esac
   18701       as_dirs="'$as_qdir' $as_dirs"
   18702       as_dir=`$as_dirname -- "$as_dir" ||
   18703 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18704 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18705 	 X"$as_dir" : 'X\(//\)$' \| \
   18706 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18707 $as_echo X"$as_dir" |
   18708     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18709 	    s//\1/
   18710 	    q
   18711 	  }
   18712 	  /^X\(\/\/\)[^/].*/{
   18713 	    s//\1/
   18714 	    q
   18715 	  }
   18716 	  /^X\(\/\/\)$/{
   18717 	    s//\1/
   18718 	    q
   18719 	  }
   18720 	  /^X\(\/\).*/{
   18721 	    s//\1/
   18722 	    q
   18723 	  }
   18724 	  s/.*/./; q'`
   18725       test -d "$as_dir" && break
   18726     done
   18727     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18728   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18729 
   18730 
   18731 } # as_fn_mkdir_p
   18732 if mkdir -p . 2>/dev/null; then
   18733   as_mkdir_p='mkdir -p "$as_dir"'
   18734 else
   18735   test -d ./-p && rmdir ./-p
   18736   as_mkdir_p=false
   18737 fi
   18738 
   18739 if test -x / >/dev/null 2>&1; then
   18740   as_test_x='test -x'
   18741 else
   18742   if ls -dL / >/dev/null 2>&1; then
   18743     as_ls_L_option=L
   18744   else
   18745     as_ls_L_option=
   18746   fi
   18747   as_test_x='
   18748     eval sh -c '\''
   18749       if test -d "$1"; then
   18750 	test -d "$1/.";
   18751       else
   18752 	case $1 in #(
   18753 	-*)set "./$1";;
   18754 	esac;
   18755 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
   18756 	???[sx]*):;;*)false;;esac;fi
   18757     '\'' sh
   18758   '
   18759 fi
   18760 as_executable_p=$as_test_x
   18761 
   18762 # Sed expression to map a string onto a valid CPP name.
   18763 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18764 
   18765 # Sed expression to map a string onto a valid variable name.
   18766 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18767 
   18768 
   18769 exec 6>&1
   18770 ## ----------------------------------- ##
   18771 ## Main body of $CONFIG_STATUS script. ##
   18772 ## ----------------------------------- ##
   18773 _ASEOF
   18774 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18775 
   18776 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18777 # Save the log message, to keep $0 and so on meaningful, and to
   18778 # report actual input values of CONFIG_FILES etc. instead of their
   18779 # values after options handling.
   18780 ac_log="
   18781 This file was extended by libXtst $as_me 1.2.1, which was
   18782 generated by GNU Autoconf 2.68.  Invocation command line was
   18783 
   18784   CONFIG_FILES    = $CONFIG_FILES
   18785   CONFIG_HEADERS  = $CONFIG_HEADERS
   18786   CONFIG_LINKS    = $CONFIG_LINKS
   18787   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18788   $ $0 $@
   18789 
   18790 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18791 "
   18792 
   18793 _ACEOF
   18794 
   18795 case $ac_config_files in *"
   18796 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18797 esac
   18798 
   18799 case $ac_config_headers in *"
   18800 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18801 esac
   18802 
   18803 
   18804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18805 # Files that config.status was made for.
   18806 config_files="$ac_config_files"
   18807 config_headers="$ac_config_headers"
   18808 config_commands="$ac_config_commands"
   18809 
   18810 _ACEOF
   18811 
   18812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18813 ac_cs_usage="\
   18814 \`$as_me' instantiates files and other configuration actions
   18815 from templates according to the current configuration.  Unless the files
   18816 and actions are specified as TAGs, all are instantiated by default.
   18817 
   18818 Usage: $0 [OPTION]... [TAG]...
   18819 
   18820   -h, --help       print this help, then exit
   18821   -V, --version    print version number and configuration settings, then exit
   18822       --config     print configuration, then exit
   18823   -q, --quiet, --silent
   18824                    do not print progress messages
   18825   -d, --debug      don't remove temporary files
   18826       --recheck    update $as_me by reconfiguring in the same conditions
   18827       --file=FILE[:TEMPLATE]
   18828                    instantiate the configuration file FILE
   18829       --header=FILE[:TEMPLATE]
   18830                    instantiate the configuration header FILE
   18831 
   18832 Configuration files:
   18833 $config_files
   18834 
   18835 Configuration headers:
   18836 $config_headers
   18837 
   18838 Configuration commands:
   18839 $config_commands
   18840 
   18841 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18842 
   18843 _ACEOF
   18844 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18845 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18846 ac_cs_version="\\
   18847 libXtst config.status 1.2.1
   18848 configured by $0, generated by GNU Autoconf 2.68,
   18849   with options \\"\$ac_cs_config\\"
   18850 
   18851 Copyright (C) 2010 Free Software Foundation, Inc.
   18852 This config.status script is free software; the Free Software Foundation
   18853 gives unlimited permission to copy, distribute and modify it."
   18854 
   18855 ac_pwd='$ac_pwd'
   18856 srcdir='$srcdir'
   18857 INSTALL='$INSTALL'
   18858 MKDIR_P='$MKDIR_P'
   18859 AWK='$AWK'
   18860 test -n "\$AWK" || AWK=awk
   18861 _ACEOF
   18862 
   18863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18864 # The default lists apply if the user does not specify any file.
   18865 ac_need_defaults=:
   18866 while test $# != 0
   18867 do
   18868   case $1 in
   18869   --*=?*)
   18870     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18871     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18872     ac_shift=:
   18873     ;;
   18874   --*=)
   18875     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18876     ac_optarg=
   18877     ac_shift=:
   18878     ;;
   18879   *)
   18880     ac_option=$1
   18881     ac_optarg=$2
   18882     ac_shift=shift
   18883     ;;
   18884   esac
   18885 
   18886   case $ac_option in
   18887   # Handling of the options.
   18888   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18889     ac_cs_recheck=: ;;
   18890   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18891     $as_echo "$ac_cs_version"; exit ;;
   18892   --config | --confi | --conf | --con | --co | --c )
   18893     $as_echo "$ac_cs_config"; exit ;;
   18894   --debug | --debu | --deb | --de | --d | -d )
   18895     debug=: ;;
   18896   --file | --fil | --fi | --f )
   18897     $ac_shift
   18898     case $ac_optarg in
   18899     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18900     '') as_fn_error $? "missing file argument" ;;
   18901     esac
   18902     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18903     ac_need_defaults=false;;
   18904   --header | --heade | --head | --hea )
   18905     $ac_shift
   18906     case $ac_optarg in
   18907     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18908     esac
   18909     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18910     ac_need_defaults=false;;
   18911   --he | --h)
   18912     # Conflict between --help and --header
   18913     as_fn_error $? "ambiguous option: \`$1'
   18914 Try \`$0 --help' for more information.";;
   18915   --help | --hel | -h )
   18916     $as_echo "$ac_cs_usage"; exit ;;
   18917   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18918   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18919     ac_cs_silent=: ;;
   18920 
   18921   # This is an error.
   18922   -*) as_fn_error $? "unrecognized option: \`$1'
   18923 Try \`$0 --help' for more information." ;;
   18924 
   18925   *) as_fn_append ac_config_targets " $1"
   18926      ac_need_defaults=false ;;
   18927 
   18928   esac
   18929   shift
   18930 done
   18931 
   18932 ac_configure_extra_args=
   18933 
   18934 if $ac_cs_silent; then
   18935   exec 6>/dev/null
   18936   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18937 fi
   18938 
   18939 _ACEOF
   18940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18941 if \$ac_cs_recheck; then
   18942   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18943   shift
   18944   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18945   CONFIG_SHELL='$SHELL'
   18946   export CONFIG_SHELL
   18947   exec "\$@"
   18948 fi
   18949 
   18950 _ACEOF
   18951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18952 exec 5>>config.log
   18953 {
   18954   echo
   18955   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18956 ## Running $as_me. ##
   18957 _ASBOX
   18958   $as_echo "$ac_log"
   18959 } >&5
   18960 
   18961 _ACEOF
   18962 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18963 #
   18964 # INIT-COMMANDS
   18965 #
   18966 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18967 
   18968 
   18969 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18970 # if CDPATH is set.
   18971 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18972 
   18973 sed_quote_subst='$sed_quote_subst'
   18974 double_quote_subst='$double_quote_subst'
   18975 delay_variable_subst='$delay_variable_subst'
   18976 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18977 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18978 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18979 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18980 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18981 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18982 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18983 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18984 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18985 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18986 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18987 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18988 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18989 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18990 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18991 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18992 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18993 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18994 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18995 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18996 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18997 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18998 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18999 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19000 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19001 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19002 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19003 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19004 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19005 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19006 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19007 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19008 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19009 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19010 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19011 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19012 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19013 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19014 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19015 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19016 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19017 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19018 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19019 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19020 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19021 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19022 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19023 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19024 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19025 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19026 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19027 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19028 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19029 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19030 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19031 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"`'
   19032 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19033 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19034 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19035 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19036 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19037 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19038 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19039 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19040 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19041 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19042 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19043 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19044 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19045 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19046 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19047 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19048 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19049 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19050 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19051 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19052 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19053 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19054 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19055 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19056 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19057 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19058 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19059 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19060 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19061 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19062 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19063 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19064 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19065 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19066 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
   19067 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19068 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19069 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19070 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19071 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19072 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19073 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19074 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19075 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19076 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19077 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19078 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19079 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19080 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19081 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19082 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19083 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19084 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19085 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19086 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19087 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19088 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19089 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19090 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19091 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19092 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19093 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19094 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19095 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19096 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19097 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19098 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19099 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19100 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19101 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19102 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19103 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19104 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19105 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19106 
   19107 LTCC='$LTCC'
   19108 LTCFLAGS='$LTCFLAGS'
   19109 compiler='$compiler_DEFAULT'
   19110 
   19111 # A function that is used when there is no print builtin or printf.
   19112 func_fallback_echo ()
   19113 {
   19114   eval 'cat <<_LTECHO_EOF
   19115 \$1
   19116 _LTECHO_EOF'
   19117 }
   19118 
   19119 # Quote evaled strings.
   19120 for var in SHELL \
   19121 ECHO \
   19122 SED \
   19123 GREP \
   19124 EGREP \
   19125 FGREP \
   19126 LD \
   19127 NM \
   19128 LN_S \
   19129 lt_SP2NL \
   19130 lt_NL2SP \
   19131 reload_flag \
   19132 OBJDUMP \
   19133 deplibs_check_method \
   19134 file_magic_cmd \
   19135 file_magic_glob \
   19136 want_nocaseglob \
   19137 DLLTOOL \
   19138 sharedlib_from_linklib_cmd \
   19139 AR \
   19140 AR_FLAGS \
   19141 archiver_list_spec \
   19142 STRIP \
   19143 RANLIB \
   19144 CC \
   19145 CFLAGS \
   19146 compiler \
   19147 lt_cv_sys_global_symbol_pipe \
   19148 lt_cv_sys_global_symbol_to_cdecl \
   19149 lt_cv_sys_global_symbol_to_c_name_address \
   19150 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19151 nm_file_list_spec \
   19152 lt_prog_compiler_no_builtin_flag \
   19153 lt_prog_compiler_pic \
   19154 lt_prog_compiler_wl \
   19155 lt_prog_compiler_static \
   19156 lt_cv_prog_compiler_c_o \
   19157 need_locks \
   19158 MANIFEST_TOOL \
   19159 DSYMUTIL \
   19160 NMEDIT \
   19161 LIPO \
   19162 OTOOL \
   19163 OTOOL64 \
   19164 shrext_cmds \
   19165 export_dynamic_flag_spec \
   19166 whole_archive_flag_spec \
   19167 compiler_needs_object \
   19168 with_gnu_ld \
   19169 allow_undefined_flag \
   19170 no_undefined_flag \
   19171 hardcode_libdir_flag_spec \
   19172 hardcode_libdir_flag_spec_ld \
   19173 hardcode_libdir_separator \
   19174 exclude_expsyms \
   19175 include_expsyms \
   19176 file_list_spec \
   19177 variables_saved_for_relink \
   19178 libname_spec \
   19179 library_names_spec \
   19180 soname_spec \
   19181 install_override_mode \
   19182 finish_eval \
   19183 old_striplib \
   19184 striplib; do
   19185     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19186     *[\\\\\\\`\\"\\\$]*)
   19187       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19188       ;;
   19189     *)
   19190       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19191       ;;
   19192     esac
   19193 done
   19194 
   19195 # Double-quote double-evaled strings.
   19196 for var in reload_cmds \
   19197 old_postinstall_cmds \
   19198 old_postuninstall_cmds \
   19199 old_archive_cmds \
   19200 extract_expsyms_cmds \
   19201 old_archive_from_new_cmds \
   19202 old_archive_from_expsyms_cmds \
   19203 archive_cmds \
   19204 archive_expsym_cmds \
   19205 module_cmds \
   19206 module_expsym_cmds \
   19207 export_symbols_cmds \
   19208 prelink_cmds \
   19209 postlink_cmds \
   19210 postinstall_cmds \
   19211 postuninstall_cmds \
   19212 finish_cmds \
   19213 sys_lib_search_path_spec \
   19214 sys_lib_dlsearch_path_spec; do
   19215     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19216     *[\\\\\\\`\\"\\\$]*)
   19217       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19218       ;;
   19219     *)
   19220       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19221       ;;
   19222     esac
   19223 done
   19224 
   19225 ac_aux_dir='$ac_aux_dir'
   19226 xsi_shell='$xsi_shell'
   19227 lt_shell_append='$lt_shell_append'
   19228 
   19229 # See if we are running on zsh, and set the options which allow our
   19230 # commands through without removal of \ escapes INIT.
   19231 if test -n "\${ZSH_VERSION+set}" ; then
   19232    setopt NO_GLOB_SUBST
   19233 fi
   19234 
   19235 
   19236     PACKAGE='$PACKAGE'
   19237     VERSION='$VERSION'
   19238     TIMESTAMP='$TIMESTAMP'
   19239     RM='$RM'
   19240     ofile='$ofile'
   19241 
   19242 
   19243 
   19244 
   19245 _ACEOF
   19246 
   19247 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19248 
   19249 # Handling of arguments.
   19250 for ac_config_target in $ac_config_targets
   19251 do
   19252   case $ac_config_target in
   19253     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19254     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19255     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19256     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19257     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19258     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19259     "specs/Makefile") CONFIG_FILES="$CONFIG_FILES specs/Makefile" ;;
   19260     "xtst.pc") CONFIG_FILES="$CONFIG_FILES xtst.pc" ;;
   19261 
   19262   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19263   esac
   19264 done
   19265 
   19266 
   19267 # If the user did not use the arguments to specify the items to instantiate,
   19268 # then the envvar interface is used.  Set only those that are not.
   19269 # We use the long form for the default assignment because of an extremely
   19270 # bizarre bug on SunOS 4.1.3.
   19271 if $ac_need_defaults; then
   19272   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19273   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19274   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19275 fi
   19276 
   19277 # Have a temporary directory for convenience.  Make it in the build tree
   19278 # simply because there is no reason against having it here, and in addition,
   19279 # creating and moving files from /tmp can sometimes cause problems.
   19280 # Hook for its removal unless debugging.
   19281 # Note that there is a small window in which the directory will not be cleaned:
   19282 # after its creation but before its name has been assigned to `$tmp'.
   19283 $debug ||
   19284 {
   19285   tmp= ac_tmp=
   19286   trap 'exit_status=$?
   19287   : "${ac_tmp:=$tmp}"
   19288   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19289 ' 0
   19290   trap 'as_fn_exit 1' 1 2 13 15
   19291 }
   19292 # Create a (secure) tmp directory for tmp files.
   19293 
   19294 {
   19295   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19296   test -d "$tmp"
   19297 }  ||
   19298 {
   19299   tmp=./conf$$-$RANDOM
   19300   (umask 077 && mkdir "$tmp")
   19301 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19302 ac_tmp=$tmp
   19303 
   19304 # Set up the scripts for CONFIG_FILES section.
   19305 # No need to generate them if there are no CONFIG_FILES.
   19306 # This happens for instance with `./config.status config.h'.
   19307 if test -n "$CONFIG_FILES"; then
   19308 
   19309 
   19310 ac_cr=`echo X | tr X '\015'`
   19311 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19312 # But we know of no other shell where ac_cr would be empty at this
   19313 # point, so we can use a bashism as a fallback.
   19314 if test "x$ac_cr" = x; then
   19315   eval ac_cr=\$\'\\r\'
   19316 fi
   19317 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19318 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19319   ac_cs_awk_cr='\\r'
   19320 else
   19321   ac_cs_awk_cr=$ac_cr
   19322 fi
   19323 
   19324 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19325 _ACEOF
   19326 
   19327 
   19328 {
   19329   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19330   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19331   echo "_ACEOF"
   19332 } >conf$$subs.sh ||
   19333   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19334 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19335 ac_delim='%!_!# '
   19336 for ac_last_try in false false false false false :; do
   19337   . ./conf$$subs.sh ||
   19338     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19339 
   19340   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19341   if test $ac_delim_n = $ac_delim_num; then
   19342     break
   19343   elif $ac_last_try; then
   19344     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19345   else
   19346     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19347   fi
   19348 done
   19349 rm -f conf$$subs.sh
   19350 
   19351 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19352 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19353 _ACEOF
   19354 sed -n '
   19355 h
   19356 s/^/S["/; s/!.*/"]=/
   19357 p
   19358 g
   19359 s/^[^!]*!//
   19360 :repl
   19361 t repl
   19362 s/'"$ac_delim"'$//
   19363 t delim
   19364 :nl
   19365 h
   19366 s/\(.\{148\}\)..*/\1/
   19367 t more1
   19368 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19369 p
   19370 n
   19371 b repl
   19372 :more1
   19373 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19374 p
   19375 g
   19376 s/.\{148\}//
   19377 t nl
   19378 :delim
   19379 h
   19380 s/\(.\{148\}\)..*/\1/
   19381 t more2
   19382 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19383 p
   19384 b
   19385 :more2
   19386 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19387 p
   19388 g
   19389 s/.\{148\}//
   19390 t delim
   19391 ' <conf$$subs.awk | sed '
   19392 /^[^""]/{
   19393   N
   19394   s/\n//
   19395 }
   19396 ' >>$CONFIG_STATUS || ac_write_fail=1
   19397 rm -f conf$$subs.awk
   19398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19399 _ACAWK
   19400 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19401   for (key in S) S_is_set[key] = 1
   19402   FS = ""
   19403 
   19404 }
   19405 {
   19406   line = $ 0
   19407   nfields = split(line, field, "@")
   19408   substed = 0
   19409   len = length(field[1])
   19410   for (i = 2; i < nfields; i++) {
   19411     key = field[i]
   19412     keylen = length(key)
   19413     if (S_is_set[key]) {
   19414       value = S[key]
   19415       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19416       len += length(value) + length(field[++i])
   19417       substed = 1
   19418     } else
   19419       len += 1 + keylen
   19420   }
   19421 
   19422   print line
   19423 }
   19424 
   19425 _ACAWK
   19426 _ACEOF
   19427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19428 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19429   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19430 else
   19431   cat
   19432 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19433   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19434 _ACEOF
   19435 
   19436 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19437 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19438 # trailing colons and then remove the whole line if VPATH becomes empty
   19439 # (actually we leave an empty line to preserve line numbers).
   19440 if test "x$srcdir" = x.; then
   19441   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19442 h
   19443 s///
   19444 s/^/:/
   19445 s/[	 ]*$/:/
   19446 s/:\$(srcdir):/:/g
   19447 s/:\${srcdir}:/:/g
   19448 s/:@srcdir@:/:/g
   19449 s/^:*//
   19450 s/:*$//
   19451 x
   19452 s/\(=[	 ]*\).*/\1/
   19453 G
   19454 s/\n//
   19455 s/^[^=]*=[	 ]*$//
   19456 }'
   19457 fi
   19458 
   19459 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19460 fi # test -n "$CONFIG_FILES"
   19461 
   19462 # Set up the scripts for CONFIG_HEADERS section.
   19463 # No need to generate them if there are no CONFIG_HEADERS.
   19464 # This happens for instance with `./config.status Makefile'.
   19465 if test -n "$CONFIG_HEADERS"; then
   19466 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19467 BEGIN {
   19468 _ACEOF
   19469 
   19470 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19471 # here-document in config.status, that substitutes the proper values into
   19472 # config.h.in to produce config.h.
   19473 
   19474 # Create a delimiter string that does not exist in confdefs.h, to ease
   19475 # handling of long lines.
   19476 ac_delim='%!_!# '
   19477 for ac_last_try in false false :; do
   19478   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19479   if test -z "$ac_tt"; then
   19480     break
   19481   elif $ac_last_try; then
   19482     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19483   else
   19484     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19485   fi
   19486 done
   19487 
   19488 # For the awk script, D is an array of macro values keyed by name,
   19489 # likewise P contains macro parameters if any.  Preserve backslash
   19490 # newline sequences.
   19491 
   19492 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19493 sed -n '
   19494 s/.\{148\}/&'"$ac_delim"'/g
   19495 t rset
   19496 :rset
   19497 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19498 t def
   19499 d
   19500 :def
   19501 s/\\$//
   19502 t bsnl
   19503 s/["\\]/\\&/g
   19504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19505 D["\1"]=" \3"/p
   19506 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19507 d
   19508 :bsnl
   19509 s/["\\]/\\&/g
   19510 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19511 D["\1"]=" \3\\\\\\n"\\/p
   19512 t cont
   19513 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19514 t cont
   19515 d
   19516 :cont
   19517 n
   19518 s/.\{148\}/&'"$ac_delim"'/g
   19519 t clear
   19520 :clear
   19521 s/\\$//
   19522 t bsnlc
   19523 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19524 d
   19525 :bsnlc
   19526 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19527 b cont
   19528 ' <confdefs.h | sed '
   19529 s/'"$ac_delim"'/"\\\
   19530 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19531 
   19532 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19533   for (key in D) D_is_set[key] = 1
   19534   FS = ""
   19535 }
   19536 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19537   line = \$ 0
   19538   split(line, arg, " ")
   19539   if (arg[1] == "#") {
   19540     defundef = arg[2]
   19541     mac1 = arg[3]
   19542   } else {
   19543     defundef = substr(arg[1], 2)
   19544     mac1 = arg[2]
   19545   }
   19546   split(mac1, mac2, "(") #)
   19547   macro = mac2[1]
   19548   prefix = substr(line, 1, index(line, defundef) - 1)
   19549   if (D_is_set[macro]) {
   19550     # Preserve the white space surrounding the "#".
   19551     print prefix "define", macro P[macro] D[macro]
   19552     next
   19553   } else {
   19554     # Replace #undef with comments.  This is necessary, for example,
   19555     # in the case of _POSIX_SOURCE, which is predefined and required
   19556     # on some systems where configure will not decide to define it.
   19557     if (defundef == "undef") {
   19558       print "/*", prefix defundef, macro, "*/"
   19559       next
   19560     }
   19561   }
   19562 }
   19563 { print }
   19564 _ACAWK
   19565 _ACEOF
   19566 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19567   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19568 fi # test -n "$CONFIG_HEADERS"
   19569 
   19570 
   19571 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19572 shift
   19573 for ac_tag
   19574 do
   19575   case $ac_tag in
   19576   :[FHLC]) ac_mode=$ac_tag; continue;;
   19577   esac
   19578   case $ac_mode$ac_tag in
   19579   :[FHL]*:*);;
   19580   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19581   :[FH]-) ac_tag=-:-;;
   19582   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19583   esac
   19584   ac_save_IFS=$IFS
   19585   IFS=:
   19586   set x $ac_tag
   19587   IFS=$ac_save_IFS
   19588   shift
   19589   ac_file=$1
   19590   shift
   19591 
   19592   case $ac_mode in
   19593   :L) ac_source=$1;;
   19594   :[FH])
   19595     ac_file_inputs=
   19596     for ac_f
   19597     do
   19598       case $ac_f in
   19599       -) ac_f="$ac_tmp/stdin";;
   19600       *) # Look for the file first in the build tree, then in the source tree
   19601 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19602 	 # because $ac_f cannot contain `:'.
   19603 	 test -f "$ac_f" ||
   19604 	   case $ac_f in
   19605 	   [\\/$]*) false;;
   19606 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19607 	   esac ||
   19608 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19609       esac
   19610       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19611       as_fn_append ac_file_inputs " '$ac_f'"
   19612     done
   19613 
   19614     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19615     # use $as_me), people would be surprised to read:
   19616     #    /* config.h.  Generated by config.status.  */
   19617     configure_input='Generated from '`
   19618 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19619 	`' by configure.'
   19620     if test x"$ac_file" != x-; then
   19621       configure_input="$ac_file.  $configure_input"
   19622       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19623 $as_echo "$as_me: creating $ac_file" >&6;}
   19624     fi
   19625     # Neutralize special characters interpreted by sed in replacement strings.
   19626     case $configure_input in #(
   19627     *\&* | *\|* | *\\* )
   19628        ac_sed_conf_input=`$as_echo "$configure_input" |
   19629        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19630     *) ac_sed_conf_input=$configure_input;;
   19631     esac
   19632 
   19633     case $ac_tag in
   19634     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19635       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19636     esac
   19637     ;;
   19638   esac
   19639 
   19640   ac_dir=`$as_dirname -- "$ac_file" ||
   19641 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19642 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19643 	 X"$ac_file" : 'X\(//\)$' \| \
   19644 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19645 $as_echo X"$ac_file" |
   19646     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19647 	    s//\1/
   19648 	    q
   19649 	  }
   19650 	  /^X\(\/\/\)[^/].*/{
   19651 	    s//\1/
   19652 	    q
   19653 	  }
   19654 	  /^X\(\/\/\)$/{
   19655 	    s//\1/
   19656 	    q
   19657 	  }
   19658 	  /^X\(\/\).*/{
   19659 	    s//\1/
   19660 	    q
   19661 	  }
   19662 	  s/.*/./; q'`
   19663   as_dir="$ac_dir"; as_fn_mkdir_p
   19664   ac_builddir=.
   19665 
   19666 case "$ac_dir" in
   19667 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19668 *)
   19669   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19670   # A ".." for each directory in $ac_dir_suffix.
   19671   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19672   case $ac_top_builddir_sub in
   19673   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19674   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19675   esac ;;
   19676 esac
   19677 ac_abs_top_builddir=$ac_pwd
   19678 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19679 # for backward compatibility:
   19680 ac_top_builddir=$ac_top_build_prefix
   19681 
   19682 case $srcdir in
   19683   .)  # We are building in place.
   19684     ac_srcdir=.
   19685     ac_top_srcdir=$ac_top_builddir_sub
   19686     ac_abs_top_srcdir=$ac_pwd ;;
   19687   [\\/]* | ?:[\\/]* )  # Absolute name.
   19688     ac_srcdir=$srcdir$ac_dir_suffix;
   19689     ac_top_srcdir=$srcdir
   19690     ac_abs_top_srcdir=$srcdir ;;
   19691   *) # Relative name.
   19692     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19693     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19694     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19695 esac
   19696 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19697 
   19698 
   19699   case $ac_mode in
   19700   :F)
   19701   #
   19702   # CONFIG_FILE
   19703   #
   19704 
   19705   case $INSTALL in
   19706   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19707   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19708   esac
   19709   ac_MKDIR_P=$MKDIR_P
   19710   case $MKDIR_P in
   19711   [\\/$]* | ?:[\\/]* ) ;;
   19712   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19713   esac
   19714 _ACEOF
   19715 
   19716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19717 # If the template does not know about datarootdir, expand it.
   19718 # FIXME: This hack should be removed a few years after 2.60.
   19719 ac_datarootdir_hack=; ac_datarootdir_seen=
   19720 ac_sed_dataroot='
   19721 /datarootdir/ {
   19722   p
   19723   q
   19724 }
   19725 /@datadir@/p
   19726 /@docdir@/p
   19727 /@infodir@/p
   19728 /@localedir@/p
   19729 /@mandir@/p'
   19730 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19731 *datarootdir*) ac_datarootdir_seen=yes;;
   19732 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19733   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19734 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19735 _ACEOF
   19736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19737   ac_datarootdir_hack='
   19738   s&@datadir@&$datadir&g
   19739   s&@docdir@&$docdir&g
   19740   s&@infodir@&$infodir&g
   19741   s&@localedir@&$localedir&g
   19742   s&@mandir@&$mandir&g
   19743   s&\\\${datarootdir}&$datarootdir&g' ;;
   19744 esac
   19745 _ACEOF
   19746 
   19747 # Neutralize VPATH when `$srcdir' = `.'.
   19748 # Shell code in configure.ac might set extrasub.
   19749 # FIXME: do we really want to maintain this feature?
   19750 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19751 ac_sed_extra="$ac_vpsub
   19752 $extrasub
   19753 _ACEOF
   19754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19755 :t
   19756 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19757 s|@configure_input@|$ac_sed_conf_input|;t t
   19758 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19759 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19760 s&@srcdir@&$ac_srcdir&;t t
   19761 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19762 s&@top_srcdir@&$ac_top_srcdir&;t t
   19763 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19764 s&@builddir@&$ac_builddir&;t t
   19765 s&@abs_builddir@&$ac_abs_builddir&;t t
   19766 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19767 s&@INSTALL@&$ac_INSTALL&;t t
   19768 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19769 $ac_datarootdir_hack
   19770 "
   19771 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19772   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19773 
   19774 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19775   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19776   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19777       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19778   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19779 which seems to be undefined.  Please make sure it is defined" >&5
   19780 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19781 which seems to be undefined.  Please make sure it is defined" >&2;}
   19782 
   19783   rm -f "$ac_tmp/stdin"
   19784   case $ac_file in
   19785   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19786   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19787   esac \
   19788   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19789  ;;
   19790   :H)
   19791   #
   19792   # CONFIG_HEADER
   19793   #
   19794   if test x"$ac_file" != x-; then
   19795     {
   19796       $as_echo "/* $configure_input  */" \
   19797       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19798     } >"$ac_tmp/config.h" \
   19799       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19800     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19801       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19802 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19803     else
   19804       rm -f "$ac_file"
   19805       mv "$ac_tmp/config.h" "$ac_file" \
   19806 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19807     fi
   19808   else
   19809     $as_echo "/* $configure_input  */" \
   19810       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19811       || as_fn_error $? "could not create -" "$LINENO" 5
   19812   fi
   19813 # Compute "$ac_file"'s index in $config_headers.
   19814 _am_arg="$ac_file"
   19815 _am_stamp_count=1
   19816 for _am_header in $config_headers :; do
   19817   case $_am_header in
   19818     $_am_arg | $_am_arg:* )
   19819       break ;;
   19820     * )
   19821       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19822   esac
   19823 done
   19824 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19825 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19826 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19827 	 X"$_am_arg" : 'X\(//\)$' \| \
   19828 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19829 $as_echo X"$_am_arg" |
   19830     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19831 	    s//\1/
   19832 	    q
   19833 	  }
   19834 	  /^X\(\/\/\)[^/].*/{
   19835 	    s//\1/
   19836 	    q
   19837 	  }
   19838 	  /^X\(\/\/\)$/{
   19839 	    s//\1/
   19840 	    q
   19841 	  }
   19842 	  /^X\(\/\).*/{
   19843 	    s//\1/
   19844 	    q
   19845 	  }
   19846 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19847  ;;
   19848 
   19849   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19850 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19851  ;;
   19852   esac
   19853 
   19854 
   19855   case $ac_file$ac_mode in
   19856     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19857   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19858   # are listed without --file.  Let's play safe and only enable the eval
   19859   # if we detect the quoting.
   19860   case $CONFIG_FILES in
   19861   *\'*) eval set x "$CONFIG_FILES" ;;
   19862   *)   set x $CONFIG_FILES ;;
   19863   esac
   19864   shift
   19865   for mf
   19866   do
   19867     # Strip MF so we end up with the name of the file.
   19868     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19869     # Check whether this is an Automake generated Makefile or not.
   19870     # We used to match only the files named `Makefile.in', but
   19871     # some people rename them; so instead we look at the file content.
   19872     # Grep'ing the first line is not enough: some people post-process
   19873     # each Makefile.in and add a new line on top of each file to say so.
   19874     # Grep'ing the whole file is not good either: AIX grep has a line
   19875     # limit of 2048, but all sed's we know have understand at least 4000.
   19876     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19877       dirpart=`$as_dirname -- "$mf" ||
   19878 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19879 	 X"$mf" : 'X\(//\)[^/]' \| \
   19880 	 X"$mf" : 'X\(//\)$' \| \
   19881 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19882 $as_echo X"$mf" |
   19883     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19884 	    s//\1/
   19885 	    q
   19886 	  }
   19887 	  /^X\(\/\/\)[^/].*/{
   19888 	    s//\1/
   19889 	    q
   19890 	  }
   19891 	  /^X\(\/\/\)$/{
   19892 	    s//\1/
   19893 	    q
   19894 	  }
   19895 	  /^X\(\/\).*/{
   19896 	    s//\1/
   19897 	    q
   19898 	  }
   19899 	  s/.*/./; q'`
   19900     else
   19901       continue
   19902     fi
   19903     # Extract the definition of DEPDIR, am__include, and am__quote
   19904     # from the Makefile without running `make'.
   19905     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19906     test -z "$DEPDIR" && continue
   19907     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19908     test -z "am__include" && continue
   19909     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19910     # When using ansi2knr, U may be empty or an underscore; expand it
   19911     U=`sed -n 's/^U = //p' < "$mf"`
   19912     # Find all dependency output files, they are included files with
   19913     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19914     # simplest approach to changing $(DEPDIR) to its actual value in the
   19915     # expansion.
   19916     for file in `sed -n "
   19917       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19918 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   19919       # Make sure the directory exists.
   19920       test -f "$dirpart/$file" && continue
   19921       fdir=`$as_dirname -- "$file" ||
   19922 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19923 	 X"$file" : 'X\(//\)[^/]' \| \
   19924 	 X"$file" : 'X\(//\)$' \| \
   19925 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19926 $as_echo X"$file" |
   19927     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19928 	    s//\1/
   19929 	    q
   19930 	  }
   19931 	  /^X\(\/\/\)[^/].*/{
   19932 	    s//\1/
   19933 	    q
   19934 	  }
   19935 	  /^X\(\/\/\)$/{
   19936 	    s//\1/
   19937 	    q
   19938 	  }
   19939 	  /^X\(\/\).*/{
   19940 	    s//\1/
   19941 	    q
   19942 	  }
   19943 	  s/.*/./; q'`
   19944       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19945       # echo "creating $dirpart/$file"
   19946       echo '# dummy' > "$dirpart/$file"
   19947     done
   19948   done
   19949 }
   19950  ;;
   19951     "libtool":C)
   19952 
   19953     # See if we are running on zsh, and set the options which allow our
   19954     # commands through without removal of \ escapes.
   19955     if test -n "${ZSH_VERSION+set}" ; then
   19956       setopt NO_GLOB_SUBST
   19957     fi
   19958 
   19959     cfgfile="${ofile}T"
   19960     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19961     $RM "$cfgfile"
   19962 
   19963     cat <<_LT_EOF >> "$cfgfile"
   19964 #! $SHELL
   19965 
   19966 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19967 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19968 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19969 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19970 #
   19971 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19972 #                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
   19973 #                 Inc.
   19974 #   Written by Gordon Matzigkeit, 1996
   19975 #
   19976 #   This file is part of GNU Libtool.
   19977 #
   19978 # GNU Libtool is free software; you can redistribute it and/or
   19979 # modify it under the terms of the GNU General Public License as
   19980 # published by the Free Software Foundation; either version 2 of
   19981 # the License, or (at your option) any later version.
   19982 #
   19983 # As a special exception to the GNU General Public License,
   19984 # if you distribute this file as part of a program or library that
   19985 # is built using GNU Libtool, you may include this file under the
   19986 # same distribution terms that you use for the rest of that program.
   19987 #
   19988 # GNU Libtool is distributed in the hope that it will be useful,
   19989 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19990 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19991 # GNU General Public License for more details.
   19992 #
   19993 # You should have received a copy of the GNU General Public License
   19994 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19995 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19996 # obtained by writing to the Free Software Foundation, Inc.,
   19997 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19998 
   19999 
   20000 # The names of the tagged configurations supported by this script.
   20001 available_tags=""
   20002 
   20003 # ### BEGIN LIBTOOL CONFIG
   20004 
   20005 # Which release of libtool.m4 was used?
   20006 macro_version=$macro_version
   20007 macro_revision=$macro_revision
   20008 
   20009 # Whether or not to build shared libraries.
   20010 build_libtool_libs=$enable_shared
   20011 
   20012 # Whether or not to build static libraries.
   20013 build_old_libs=$enable_static
   20014 
   20015 # What type of objects to build.
   20016 pic_mode=$pic_mode
   20017 
   20018 # Whether or not to optimize for fast installation.
   20019 fast_install=$enable_fast_install
   20020 
   20021 # Shell to use when invoking shell scripts.
   20022 SHELL=$lt_SHELL
   20023 
   20024 # An echo program that protects backslashes.
   20025 ECHO=$lt_ECHO
   20026 
   20027 # The host system.
   20028 host_alias=$host_alias
   20029 host=$host
   20030 host_os=$host_os
   20031 
   20032 # The build system.
   20033 build_alias=$build_alias
   20034 build=$build
   20035 build_os=$build_os
   20036 
   20037 # A sed program that does not truncate output.
   20038 SED=$lt_SED
   20039 
   20040 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20041 Xsed="\$SED -e 1s/^X//"
   20042 
   20043 # A grep program that handles long lines.
   20044 GREP=$lt_GREP
   20045 
   20046 # An ERE matcher.
   20047 EGREP=$lt_EGREP
   20048 
   20049 # A literal string matcher.
   20050 FGREP=$lt_FGREP
   20051 
   20052 # A BSD- or MS-compatible name lister.
   20053 NM=$lt_NM
   20054 
   20055 # Whether we need soft or hard links.
   20056 LN_S=$lt_LN_S
   20057 
   20058 # What is the maximum length of a command?
   20059 max_cmd_len=$max_cmd_len
   20060 
   20061 # Object file suffix (normally "o").
   20062 objext=$ac_objext
   20063 
   20064 # Executable file suffix (normally "").
   20065 exeext=$exeext
   20066 
   20067 # whether the shell understands "unset".
   20068 lt_unset=$lt_unset
   20069 
   20070 # turn spaces into newlines.
   20071 SP2NL=$lt_lt_SP2NL
   20072 
   20073 # turn newlines into spaces.
   20074 NL2SP=$lt_lt_NL2SP
   20075 
   20076 # convert \$build file names to \$host format.
   20077 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20078 
   20079 # convert \$build files to toolchain format.
   20080 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20081 
   20082 # An object symbol dumper.
   20083 OBJDUMP=$lt_OBJDUMP
   20084 
   20085 # Method to check whether dependent libraries are shared objects.
   20086 deplibs_check_method=$lt_deplibs_check_method
   20087 
   20088 # Command to use when deplibs_check_method = "file_magic".
   20089 file_magic_cmd=$lt_file_magic_cmd
   20090 
   20091 # How to find potential files when deplibs_check_method = "file_magic".
   20092 file_magic_glob=$lt_file_magic_glob
   20093 
   20094 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20095 want_nocaseglob=$lt_want_nocaseglob
   20096 
   20097 # DLL creation program.
   20098 DLLTOOL=$lt_DLLTOOL
   20099 
   20100 # Command to associate shared and link libraries.
   20101 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20102 
   20103 # The archiver.
   20104 AR=$lt_AR
   20105 
   20106 # Flags to create an archive.
   20107 AR_FLAGS=$lt_AR_FLAGS
   20108 
   20109 # How to feed a file listing to the archiver.
   20110 archiver_list_spec=$lt_archiver_list_spec
   20111 
   20112 # A symbol stripping program.
   20113 STRIP=$lt_STRIP
   20114 
   20115 # Commands used to install an old-style archive.
   20116 RANLIB=$lt_RANLIB
   20117 old_postinstall_cmds=$lt_old_postinstall_cmds
   20118 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20119 
   20120 # Whether to use a lock for old archive extraction.
   20121 lock_old_archive_extraction=$lock_old_archive_extraction
   20122 
   20123 # A C compiler.
   20124 LTCC=$lt_CC
   20125 
   20126 # LTCC compiler flags.
   20127 LTCFLAGS=$lt_CFLAGS
   20128 
   20129 # Take the output of nm and produce a listing of raw symbols and C names.
   20130 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20131 
   20132 # Transform the output of nm in a proper C declaration.
   20133 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20134 
   20135 # Transform the output of nm in a C name address pair.
   20136 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20137 
   20138 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20139 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20140 
   20141 # Specify filename containing input files for \$NM.
   20142 nm_file_list_spec=$lt_nm_file_list_spec
   20143 
   20144 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20145 lt_sysroot=$lt_sysroot
   20146 
   20147 # The name of the directory that contains temporary libtool files.
   20148 objdir=$objdir
   20149 
   20150 # Used to examine libraries when file_magic_cmd begins with "file".
   20151 MAGIC_CMD=$MAGIC_CMD
   20152 
   20153 # Must we lock files when doing compilation?
   20154 need_locks=$lt_need_locks
   20155 
   20156 # Manifest tool.
   20157 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20158 
   20159 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20160 DSYMUTIL=$lt_DSYMUTIL
   20161 
   20162 # Tool to change global to local symbols on Mac OS X.
   20163 NMEDIT=$lt_NMEDIT
   20164 
   20165 # Tool to manipulate fat objects and archives on Mac OS X.
   20166 LIPO=$lt_LIPO
   20167 
   20168 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20169 OTOOL=$lt_OTOOL
   20170 
   20171 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20172 OTOOL64=$lt_OTOOL64
   20173 
   20174 # Old archive suffix (normally "a").
   20175 libext=$libext
   20176 
   20177 # Shared library suffix (normally ".so").
   20178 shrext_cmds=$lt_shrext_cmds
   20179 
   20180 # The commands to extract the exported symbol list from a shared archive.
   20181 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20182 
   20183 # Variables whose values should be saved in libtool wrapper scripts and
   20184 # restored at link time.
   20185 variables_saved_for_relink=$lt_variables_saved_for_relink
   20186 
   20187 # Do we need the "lib" prefix for modules?
   20188 need_lib_prefix=$need_lib_prefix
   20189 
   20190 # Do we need a version for libraries?
   20191 need_version=$need_version
   20192 
   20193 # Library versioning type.
   20194 version_type=$version_type
   20195 
   20196 # Shared library runtime path variable.
   20197 runpath_var=$runpath_var
   20198 
   20199 # Shared library path variable.
   20200 shlibpath_var=$shlibpath_var
   20201 
   20202 # Is shlibpath searched before the hard-coded library search path?
   20203 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20204 
   20205 # Format of library name prefix.
   20206 libname_spec=$lt_libname_spec
   20207 
   20208 # List of archive names.  First name is the real one, the rest are links.
   20209 # The last name is the one that the linker finds with -lNAME
   20210 library_names_spec=$lt_library_names_spec
   20211 
   20212 # The coded name of the library, if different from the real name.
   20213 soname_spec=$lt_soname_spec
   20214 
   20215 # Permission mode override for installation of shared libraries.
   20216 install_override_mode=$lt_install_override_mode
   20217 
   20218 # Command to use after installation of a shared archive.
   20219 postinstall_cmds=$lt_postinstall_cmds
   20220 
   20221 # Command to use after uninstallation of a shared archive.
   20222 postuninstall_cmds=$lt_postuninstall_cmds
   20223 
   20224 # Commands used to finish a libtool library installation in a directory.
   20225 finish_cmds=$lt_finish_cmds
   20226 
   20227 # As "finish_cmds", except a single script fragment to be evaled but
   20228 # not shown.
   20229 finish_eval=$lt_finish_eval
   20230 
   20231 # Whether we should hardcode library paths into libraries.
   20232 hardcode_into_libs=$hardcode_into_libs
   20233 
   20234 # Compile-time system search path for libraries.
   20235 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20236 
   20237 # Run-time system search path for libraries.
   20238 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20239 
   20240 # Whether dlopen is supported.
   20241 dlopen_support=$enable_dlopen
   20242 
   20243 # Whether dlopen of programs is supported.
   20244 dlopen_self=$enable_dlopen_self
   20245 
   20246 # Whether dlopen of statically linked programs is supported.
   20247 dlopen_self_static=$enable_dlopen_self_static
   20248 
   20249 # Commands to strip libraries.
   20250 old_striplib=$lt_old_striplib
   20251 striplib=$lt_striplib
   20252 
   20253 
   20254 # The linker used to build libraries.
   20255 LD=$lt_LD
   20256 
   20257 # How to create reloadable object files.
   20258 reload_flag=$lt_reload_flag
   20259 reload_cmds=$lt_reload_cmds
   20260 
   20261 # Commands used to build an old-style archive.
   20262 old_archive_cmds=$lt_old_archive_cmds
   20263 
   20264 # A language specific compiler.
   20265 CC=$lt_compiler
   20266 
   20267 # Is the compiler the GNU compiler?
   20268 with_gcc=$GCC
   20269 
   20270 # Compiler flag to turn off builtin functions.
   20271 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20272 
   20273 # Additional compiler flags for building library objects.
   20274 pic_flag=$lt_lt_prog_compiler_pic
   20275 
   20276 # How to pass a linker flag through the compiler.
   20277 wl=$lt_lt_prog_compiler_wl
   20278 
   20279 # Compiler flag to prevent dynamic linking.
   20280 link_static_flag=$lt_lt_prog_compiler_static
   20281 
   20282 # Does compiler simultaneously support -c and -o options?
   20283 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20284 
   20285 # Whether or not to add -lc for building shared libraries.
   20286 build_libtool_need_lc=$archive_cmds_need_lc
   20287 
   20288 # Whether or not to disallow shared libs when runtime libs are static.
   20289 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20290 
   20291 # Compiler flag to allow reflexive dlopens.
   20292 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20293 
   20294 # Compiler flag to generate shared objects directly from archives.
   20295 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20296 
   20297 # Whether the compiler copes with passing no objects directly.
   20298 compiler_needs_object=$lt_compiler_needs_object
   20299 
   20300 # Create an old-style archive from a shared archive.
   20301 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20302 
   20303 # Create a temporary old-style archive to link instead of a shared archive.
   20304 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20305 
   20306 # Commands used to build a shared archive.
   20307 archive_cmds=$lt_archive_cmds
   20308 archive_expsym_cmds=$lt_archive_expsym_cmds
   20309 
   20310 # Commands used to build a loadable module if different from building
   20311 # a shared archive.
   20312 module_cmds=$lt_module_cmds
   20313 module_expsym_cmds=$lt_module_expsym_cmds
   20314 
   20315 # Whether we are building with GNU ld or not.
   20316 with_gnu_ld=$lt_with_gnu_ld
   20317 
   20318 # Flag that allows shared libraries with undefined symbols to be built.
   20319 allow_undefined_flag=$lt_allow_undefined_flag
   20320 
   20321 # Flag that enforces no undefined symbols.
   20322 no_undefined_flag=$lt_no_undefined_flag
   20323 
   20324 # Flag to hardcode \$libdir into a binary during linking.
   20325 # This must work even if \$libdir does not exist
   20326 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20327 
   20328 # If ld is used when linking, flag to hardcode \$libdir into a binary
   20329 # during linking.  This must work even if \$libdir does not exist.
   20330 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   20331 
   20332 # Whether we need a single "-rpath" flag with a separated argument.
   20333 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20334 
   20335 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20336 # DIR into the resulting binary.
   20337 hardcode_direct=$hardcode_direct
   20338 
   20339 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20340 # DIR into the resulting binary and the resulting library dependency is
   20341 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20342 # library is relocated.
   20343 hardcode_direct_absolute=$hardcode_direct_absolute
   20344 
   20345 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20346 # into the resulting binary.
   20347 hardcode_minus_L=$hardcode_minus_L
   20348 
   20349 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20350 # into the resulting binary.
   20351 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20352 
   20353 # Set to "yes" if building a shared library automatically hardcodes DIR
   20354 # into the library and all subsequent libraries and executables linked
   20355 # against it.
   20356 hardcode_automatic=$hardcode_automatic
   20357 
   20358 # Set to yes if linker adds runtime paths of dependent libraries
   20359 # to runtime path list.
   20360 inherit_rpath=$inherit_rpath
   20361 
   20362 # Whether libtool must link a program against all its dependency libraries.
   20363 link_all_deplibs=$link_all_deplibs
   20364 
   20365 # Set to "yes" if exported symbols are required.
   20366 always_export_symbols=$always_export_symbols
   20367 
   20368 # The commands to list exported symbols.
   20369 export_symbols_cmds=$lt_export_symbols_cmds
   20370 
   20371 # Symbols that should not be listed in the preloaded symbols.
   20372 exclude_expsyms=$lt_exclude_expsyms
   20373 
   20374 # Symbols that must always be exported.
   20375 include_expsyms=$lt_include_expsyms
   20376 
   20377 # Commands necessary for linking programs (against libraries) with templates.
   20378 prelink_cmds=$lt_prelink_cmds
   20379 
   20380 # Commands necessary for finishing linking programs.
   20381 postlink_cmds=$lt_postlink_cmds
   20382 
   20383 # Specify filename containing input files.
   20384 file_list_spec=$lt_file_list_spec
   20385 
   20386 # How to hardcode a shared library path into an executable.
   20387 hardcode_action=$hardcode_action
   20388 
   20389 # ### END LIBTOOL CONFIG
   20390 
   20391 _LT_EOF
   20392 
   20393   case $host_os in
   20394   aix3*)
   20395     cat <<\_LT_EOF >> "$cfgfile"
   20396 # AIX sometimes has problems with the GCC collect2 program.  For some
   20397 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20398 # vanish in a puff of smoke.
   20399 if test "X${COLLECT_NAMES+set}" != Xset; then
   20400   COLLECT_NAMES=
   20401   export COLLECT_NAMES
   20402 fi
   20403 _LT_EOF
   20404     ;;
   20405   esac
   20406 
   20407 
   20408 ltmain="$ac_aux_dir/ltmain.sh"
   20409 
   20410 
   20411   # We use sed instead of cat because bash on DJGPP gets confused if
   20412   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20413   # text mode, it properly converts lines to CR/LF.  This bash problem
   20414   # is reportedly fixed, but why not run on old versions too?
   20415   sed '$q' "$ltmain" >> "$cfgfile" \
   20416      || (rm -f "$cfgfile"; exit 1)
   20417 
   20418   if test x"$xsi_shell" = xyes; then
   20419   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20420 func_dirname ()\
   20421 {\
   20422 \    case ${1} in\
   20423 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20424 \      *  ) func_dirname_result="${3}" ;;\
   20425 \    esac\
   20426 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20427   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20428     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20429 test 0 -eq $? || _lt_function_replace_fail=:
   20430 
   20431 
   20432   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20433 func_basename ()\
   20434 {\
   20435 \    func_basename_result="${1##*/}"\
   20436 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20437   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20438     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20439 test 0 -eq $? || _lt_function_replace_fail=:
   20440 
   20441 
   20442   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20443 func_dirname_and_basename ()\
   20444 {\
   20445 \    case ${1} in\
   20446 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20447 \      *  ) func_dirname_result="${3}" ;;\
   20448 \    esac\
   20449 \    func_basename_result="${1##*/}"\
   20450 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20451   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20452     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20453 test 0 -eq $? || _lt_function_replace_fail=:
   20454 
   20455 
   20456   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20457 func_stripname ()\
   20458 {\
   20459 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20460 \    # positional parameters, so assign one to ordinary parameter first.\
   20461 \    func_stripname_result=${3}\
   20462 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20463 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20464 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20465   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20466     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20467 test 0 -eq $? || _lt_function_replace_fail=:
   20468 
   20469 
   20470   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20471 func_split_long_opt ()\
   20472 {\
   20473 \    func_split_long_opt_name=${1%%=*}\
   20474 \    func_split_long_opt_arg=${1#*=}\
   20475 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20476   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20477     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20478 test 0 -eq $? || _lt_function_replace_fail=:
   20479 
   20480 
   20481   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20482 func_split_short_opt ()\
   20483 {\
   20484 \    func_split_short_opt_arg=${1#??}\
   20485 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20486 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20487   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20488     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20489 test 0 -eq $? || _lt_function_replace_fail=:
   20490 
   20491 
   20492   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20493 func_lo2o ()\
   20494 {\
   20495 \    case ${1} in\
   20496 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20497 \      *)    func_lo2o_result=${1} ;;\
   20498 \    esac\
   20499 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20500   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20501     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20502 test 0 -eq $? || _lt_function_replace_fail=:
   20503 
   20504 
   20505   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20506 func_xform ()\
   20507 {\
   20508     func_xform_result=${1%.*}.lo\
   20509 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20510   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20511     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20512 test 0 -eq $? || _lt_function_replace_fail=:
   20513 
   20514 
   20515   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20516 func_arith ()\
   20517 {\
   20518     func_arith_result=$(( $* ))\
   20519 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20520   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20521     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20522 test 0 -eq $? || _lt_function_replace_fail=:
   20523 
   20524 
   20525   sed -e '/^func_len ()$/,/^} # func_len /c\
   20526 func_len ()\
   20527 {\
   20528     func_len_result=${#1}\
   20529 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20530   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20531     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20532 test 0 -eq $? || _lt_function_replace_fail=:
   20533 
   20534 fi
   20535 
   20536 if test x"$lt_shell_append" = xyes; then
   20537   sed -e '/^func_append ()$/,/^} # func_append /c\
   20538 func_append ()\
   20539 {\
   20540     eval "${1}+=\\${2}"\
   20541 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20542   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20543     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20544 test 0 -eq $? || _lt_function_replace_fail=:
   20545 
   20546 
   20547   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20548 func_append_quoted ()\
   20549 {\
   20550 \    func_quote_for_eval "${2}"\
   20551 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20552 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20553   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20554     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20555 test 0 -eq $? || _lt_function_replace_fail=:
   20556 
   20557 
   20558   # Save a `func_append' function call where possible by direct use of '+='
   20559   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20560     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20561       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20562   test 0 -eq $? || _lt_function_replace_fail=:
   20563 else
   20564   # Save a `func_append' function call even when '+=' is not available
   20565   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20566     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20567       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20568   test 0 -eq $? || _lt_function_replace_fail=:
   20569 fi
   20570 
   20571 if test x"$_lt_function_replace_fail" = x":"; then
   20572   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20573 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20574 fi
   20575 
   20576 
   20577    mv -f "$cfgfile" "$ofile" ||
   20578     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20579   chmod +x "$ofile"
   20580 
   20581  ;;
   20582 
   20583   esac
   20584 done # for ac_tag
   20585 
   20586 
   20587 as_fn_exit 0
   20588 _ACEOF
   20589 ac_clean_files=$ac_clean_files_save
   20590 
   20591 test $ac_write_fail = 0 ||
   20592   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20593 
   20594 
   20595 # configure is writing to config.log, and then calls config.status.
   20596 # config.status does its own redirection, appending to config.log.
   20597 # Unfortunately, on DOS this fails, as config.log is still kept open
   20598 # by configure, so config.status won't be able to write to it; its
   20599 # output is simply discarded.  So we exec the FD to /dev/null,
   20600 # effectively closing config.log, so it can be properly (re)opened and
   20601 # appended to by config.status.  When coming back to configure, we
   20602 # need to make the FD available again.
   20603 if test "$no_create" != yes; then
   20604   ac_cs_success=:
   20605   ac_config_status_args=
   20606   test "$silent" = yes &&
   20607     ac_config_status_args="$ac_config_status_args --quiet"
   20608   exec 5>/dev/null
   20609   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20610   exec 5>>config.log
   20611   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20612   # would make configure fail if this is the last instruction.
   20613   $ac_cs_success || as_fn_exit 1
   20614 fi
   20615 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20616   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20617 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20618 fi
   20619 
   20620