Home | History | Annotate | Download | only in bison
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.59 for GNU Bison 2.3.
      4 #
      5 # Report bugs to <bug-bison (at] gnu.org>.
      6 #
      7 # Copyright (C) 2003 Free Software Foundation, Inc.
      8 # This configure script is free software; the Free Software Foundation
      9 # gives unlimited permission to copy, distribute and modify it.
     10 ## --------------------- ##
     11 ## M4sh Initialization.  ##
     12 ## --------------------- ##
     13 
     14 # Be Bourne compatible
     15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     16   emulate sh
     17   NULLCMD=:
     18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     19   # is contrary to our usage.  Disable this feature.
     20   alias -g '${1+"$@"}'='"$@"'
     21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     22   set -o posix
     23 fi
     24 DUALCASE=1; export DUALCASE # for MKS sh
     25 
     26 # Support unset when possible.
     27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     28   as_unset=unset
     29 else
     30   as_unset=false
     31 fi
     32 
     33 
     34 # Work around bugs in pre-3.0 UWIN ksh.
     35 $as_unset ENV MAIL MAILPATH
     36 PS1='$ '
     37 PS2='> '
     38 PS4='+ '
     39 
     40 # NLS nuisances.
     41 for as_var in \
     42   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     43   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     44   LC_TELEPHONE LC_TIME
     45 do
     46   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     47     eval $as_var=C; export $as_var
     48   else
     49     $as_unset $as_var
     50   fi
     51 done
     52 
     53 # Required to use basename.
     54 if expr a : '\(a\)' >/dev/null 2>&1; then
     55   as_expr=expr
     56 else
     57   as_expr=false
     58 fi
     59 
     60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     61   as_basename=basename
     62 else
     63   as_basename=false
     64 fi
     65 
     66 
     67 # Name of the executable.
     68 as_me=`$as_basename "$0" ||
     69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     70 	 X"$0" : 'X\(//\)$' \| \
     71 	 X"$0" : 'X\(/\)$' \| \
     72 	 .     : '\(.\)' 2>/dev/null ||
     73 echo X/"$0" |
     74     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     75   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     76   	  /^X\/\(\/\).*/{ s//\1/; q; }
     77   	  s/.*/./; q'`
     78 
     79 
     80 # PATH needs CR, and LINENO needs CR and PATH.
     81 # Avoid depending upon Character Ranges.
     82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     85 as_cr_digits='0123456789'
     86 as_cr_alnum=$as_cr_Letters$as_cr_digits
     87 
     88 # The user is always right.
     89 if test "${PATH_SEPARATOR+set}" != set; then
     90   echo "#! /bin/sh" >conf$$.sh
     91   echo  "exit 0"   >>conf$$.sh
     92   chmod +x conf$$.sh
     93   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     94     PATH_SEPARATOR=';'
     95   else
     96     PATH_SEPARATOR=:
     97   fi
     98   rm -f conf$$.sh
     99 fi
    100 
    101 
    102   as_lineno_1=$LINENO
    103   as_lineno_2=$LINENO
    104   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    105   test "x$as_lineno_1" != "x$as_lineno_2" &&
    106   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    107   # Find who we are.  Look in the path if we contain no path at all
    108   # relative or not.
    109   case $0 in
    110     *[\\/]* ) as_myself=$0 ;;
    111     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    112 for as_dir in $PATH
    113 do
    114   IFS=$as_save_IFS
    115   test -z "$as_dir" && as_dir=.
    116   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    117 done
    118 
    119        ;;
    120   esac
    121   # We did not find ourselves, most probably we were run as `sh COMMAND'
    122   # in which case we are not to be found in the path.
    123   if test "x$as_myself" = x; then
    124     as_myself=$0
    125   fi
    126   if test ! -f "$as_myself"; then
    127     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    128    { (exit 1); exit 1; }; }
    129   fi
    130   case $CONFIG_SHELL in
    131   '')
    132     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    134 do
    135   IFS=$as_save_IFS
    136   test -z "$as_dir" && as_dir=.
    137   for as_base in sh bash ksh sh5; do
    138 	 case $as_dir in
    139 	 /*)
    140 	   if ("$as_dir/$as_base" -c '
    141   as_lineno_1=$LINENO
    142   as_lineno_2=$LINENO
    143   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    144   test "x$as_lineno_1" != "x$as_lineno_2" &&
    145   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    146 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    147 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    148 	     CONFIG_SHELL=$as_dir/$as_base
    149 	     export CONFIG_SHELL
    150 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    151 	   fi;;
    152 	 esac
    153        done
    154 done
    155 ;;
    156   esac
    157 
    158   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    159   # uniformly replaced by the line number.  The first 'sed' inserts a
    160   # line-number line before each line; the second 'sed' does the real
    161   # work.  The second script uses 'N' to pair each line-number line
    162   # with the numbered line, and appends trailing '-' during
    163   # substitution so that $LINENO is not a special case at line end.
    164   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    165   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    166   sed '=' <$as_myself |
    167     sed '
    168       N
    169       s,$,-,
    170       : loop
    171       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    172       t loop
    173       s,-$,,
    174       s,^['$as_cr_digits']*\n,,
    175     ' >$as_me.lineno &&
    176   chmod +x $as_me.lineno ||
    177     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    178    { (exit 1); exit 1; }; }
    179 
    180   # Don't try to exec as it changes $[0], causing all sort of problems
    181   # (the dirname of $[0] is not the place where we might find the
    182   # original and so on.  Autoconf is especially sensible to this).
    183   . ./$as_me.lineno
    184   # Exit status is that of the last command.
    185   exit
    186 }
    187 
    188 
    189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    190   *c*,-n*) ECHO_N= ECHO_C='
    191 ' ECHO_T='	' ;;
    192   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    193   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    194 esac
    195 
    196 if expr a : '\(a\)' >/dev/null 2>&1; then
    197   as_expr=expr
    198 else
    199   as_expr=false
    200 fi
    201 
    202 rm -f conf$$ conf$$.exe conf$$.file
    203 echo >conf$$.file
    204 if ln -s conf$$.file conf$$ 2>/dev/null; then
    205   # We could just check for DJGPP; but this test a) works b) is more generic
    206   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    207   if test -f conf$$.exe; then
    208     # Don't use ln at all; we don't have any links
    209     as_ln_s='cp -p'
    210   else
    211     as_ln_s='ln -s'
    212   fi
    213 elif ln conf$$.file conf$$ 2>/dev/null; then
    214   as_ln_s=ln
    215 else
    216   as_ln_s='cp -p'
    217 fi
    218 rm -f conf$$ conf$$.exe conf$$.file
    219 
    220 if mkdir -p . 2>/dev/null; then
    221   as_mkdir_p=:
    222 else
    223   test -d ./-p && rmdir ./-p
    224   as_mkdir_p=false
    225 fi
    226 
    227 as_executable_p="test -f"
    228 
    229 # Sed expression to map a string onto a valid CPP name.
    230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    231 
    232 # Sed expression to map a string onto a valid variable name.
    233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    234 
    235 
    236 # IFS
    237 # We need space, tab and new line, in precisely that order.
    238 as_nl='
    239 '
    240 IFS=" 	$as_nl"
    241 
    242 # CDPATH.
    243 $as_unset CDPATH
    244 
    245 
    246 # Name of the host.
    247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    248 # so uname gets run too.
    249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    250 
    251 exec 6>&1
    252 
    253 #
    254 # Initializations.
    255 #
    256 ac_default_prefix=/usr/local
    257 ac_config_libobj_dir=.
    258 cross_compiling=no
    259 subdirs=
    260 MFLAGS=
    261 MAKEFLAGS=
    262 SHELL=${CONFIG_SHELL-/bin/sh}
    263 
    264 # Maximum number of lines to put in a shell here document.
    265 # This variable seems obsolete.  It should probably be removed, and
    266 # only ac_max_sed_lines should be used.
    267 : ${ac_max_here_lines=38}
    268 
    269 # Identity of this package.
    270 PACKAGE_NAME='GNU Bison'
    271 PACKAGE_TARNAME='bison'
    272 PACKAGE_VERSION='2.3'
    273 PACKAGE_STRING='GNU Bison 2.3'
    274 PACKAGE_BUGREPORT='bug-bison (at] gnu.org'
    275 
    276 # Factoring default headers for most tests.
    277 ac_includes_default="\
    278 #include <stdio.h>
    279 #if HAVE_SYS_TYPES_H
    280 # include <sys/types.h>
    281 #endif
    282 #if HAVE_SYS_STAT_H
    283 # include <sys/stat.h>
    284 #endif
    285 #if STDC_HEADERS
    286 # include <stdlib.h>
    287 # include <stddef.h>
    288 #else
    289 # if HAVE_STDLIB_H
    290 #  include <stdlib.h>
    291 # endif
    292 #endif
    293 #if HAVE_STRING_H
    294 # if !STDC_HEADERS && HAVE_MEMORY_H
    295 #  include <memory.h>
    296 # endif
    297 # include <string.h>
    298 #endif
    299 #if HAVE_STRINGS_H
    300 # include <strings.h>
    301 #endif
    302 #if HAVE_INTTYPES_H
    303 # include <inttypes.h>
    304 #else
    305 # if HAVE_STDINT_H
    306 #  include <stdint.h>
    307 # endif
    308 #endif
    309 #if HAVE_UNISTD_H
    310 # include <unistd.h>
    311 #endif"
    312 
    313 gl_header_list=
    314 gl_func_list=
    315 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP EGREP WARNING_CFLAGS WERROR_CFLAGS WARNING_CXXFLAGS YACC_SCRIPT YACC_LIBRARY LEX LEXLIB LEX_OUTPUT_ROOT YACC RANLIB ac_ct_RANLIB M4 STDBOOL_H HAVE__BOOL LIBOBJS GETOPT_H MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE build build_cpu build_vendor build_os host host_cpu host_vendor host_os INTL_MACOSX_LIBS LIBICONV LTLIBICONV INTLLIBS LIBINTL LTLIBINTL POSUB UNISTD_H BISON_LOCALEDIR aclocaldir VALGRIND CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE BISON_CXX_WORKS BISON_CXX_WORKS_TRUE BISON_CXX_WORKS_FALSE AUTOM4TE GCC O0CFLAGS O0CXXFLAGS LTLIBOBJS'
    316 ac_subst_files=''
    317 
    318 # Initialize some variables set by options.
    319 ac_init_help=
    320 ac_init_version=false
    321 # The variables have the same names as the options, with
    322 # dashes changed to underlines.
    323 cache_file=/dev/null
    324 exec_prefix=NONE
    325 no_create=
    326 no_recursion=
    327 prefix=NONE
    328 program_prefix=NONE
    329 program_suffix=NONE
    330 program_transform_name=s,x,x,
    331 silent=
    332 site=
    333 srcdir=
    334 verbose=
    335 x_includes=NONE
    336 x_libraries=NONE
    337 
    338 # Installation directory options.
    339 # These are left unexpanded so users can "make install exec_prefix=/foo"
    340 # and all the variables that are supposed to be based on exec_prefix
    341 # by default will actually change.
    342 # Use braces instead of parens because sh, perl, etc. also accept them.
    343 bindir='${exec_prefix}/bin'
    344 sbindir='${exec_prefix}/sbin'
    345 libexecdir='${exec_prefix}/libexec'
    346 datadir='${prefix}/share'
    347 sysconfdir='${prefix}/etc'
    348 sharedstatedir='${prefix}/com'
    349 localstatedir='${prefix}/var'
    350 libdir='${exec_prefix}/lib'
    351 includedir='${prefix}/include'
    352 oldincludedir='/usr/include'
    353 infodir='${prefix}/info'
    354 mandir='${prefix}/man'
    355 
    356 ac_prev=
    357 for ac_option
    358 do
    359   # If the previous option needs an argument, assign it.
    360   if test -n "$ac_prev"; then
    361     eval "$ac_prev=\$ac_option"
    362     ac_prev=
    363     continue
    364   fi
    365 
    366   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    367 
    368   # Accept the important Cygnus configure options, so we can diagnose typos.
    369 
    370   case $ac_option in
    371 
    372   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    373     ac_prev=bindir ;;
    374   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    375     bindir=$ac_optarg ;;
    376 
    377   -build | --build | --buil | --bui | --bu)
    378     ac_prev=build_alias ;;
    379   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    380     build_alias=$ac_optarg ;;
    381 
    382   -cache-file | --cache-file | --cache-fil | --cache-fi \
    383   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    384     ac_prev=cache_file ;;
    385   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    386   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    387     cache_file=$ac_optarg ;;
    388 
    389   --config-cache | -C)
    390     cache_file=config.cache ;;
    391 
    392   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    393     ac_prev=datadir ;;
    394   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    395   | --da=*)
    396     datadir=$ac_optarg ;;
    397 
    398   -disable-* | --disable-*)
    399     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    400     # Reject names that are not valid shell variable names.
    401     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    402       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    403    { (exit 1); exit 1; }; }
    404     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    405     eval "enable_$ac_feature=no" ;;
    406 
    407   -enable-* | --enable-*)
    408     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    409     # Reject names that are not valid shell variable names.
    410     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    411       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    412    { (exit 1); exit 1; }; }
    413     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    414     case $ac_option in
    415       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    416       *) ac_optarg=yes ;;
    417     esac
    418     eval "enable_$ac_feature='$ac_optarg'" ;;
    419 
    420   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    421   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    422   | --exec | --exe | --ex)
    423     ac_prev=exec_prefix ;;
    424   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    425   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    426   | --exec=* | --exe=* | --ex=*)
    427     exec_prefix=$ac_optarg ;;
    428 
    429   -gas | --gas | --ga | --g)
    430     # Obsolete; use --with-gas.
    431     with_gas=yes ;;
    432 
    433   -help | --help | --hel | --he | -h)
    434     ac_init_help=long ;;
    435   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    436     ac_init_help=recursive ;;
    437   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    438     ac_init_help=short ;;
    439 
    440   -host | --host | --hos | --ho)
    441     ac_prev=host_alias ;;
    442   -host=* | --host=* | --hos=* | --ho=*)
    443     host_alias=$ac_optarg ;;
    444 
    445   -includedir | --includedir | --includedi | --included | --include \
    446   | --includ | --inclu | --incl | --inc)
    447     ac_prev=includedir ;;
    448   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    449   | --includ=* | --inclu=* | --incl=* | --inc=*)
    450     includedir=$ac_optarg ;;
    451 
    452   -infodir | --infodir | --infodi | --infod | --info | --inf)
    453     ac_prev=infodir ;;
    454   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    455     infodir=$ac_optarg ;;
    456 
    457   -libdir | --libdir | --libdi | --libd)
    458     ac_prev=libdir ;;
    459   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    460     libdir=$ac_optarg ;;
    461 
    462   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    463   | --libexe | --libex | --libe)
    464     ac_prev=libexecdir ;;
    465   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    466   | --libexe=* | --libex=* | --libe=*)
    467     libexecdir=$ac_optarg ;;
    468 
    469   -localstatedir | --localstatedir | --localstatedi | --localstated \
    470   | --localstate | --localstat | --localsta | --localst \
    471   | --locals | --local | --loca | --loc | --lo)
    472     ac_prev=localstatedir ;;
    473   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    474   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    475   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    476     localstatedir=$ac_optarg ;;
    477 
    478   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    479     ac_prev=mandir ;;
    480   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    481     mandir=$ac_optarg ;;
    482 
    483   -nfp | --nfp | --nf)
    484     # Obsolete; use --without-fp.
    485     with_fp=no ;;
    486 
    487   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    488   | --no-cr | --no-c | -n)
    489     no_create=yes ;;
    490 
    491   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    492   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    493     no_recursion=yes ;;
    494 
    495   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    496   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    497   | --oldin | --oldi | --old | --ol | --o)
    498     ac_prev=oldincludedir ;;
    499   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    500   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    501   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    502     oldincludedir=$ac_optarg ;;
    503 
    504   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    505     ac_prev=prefix ;;
    506   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    507     prefix=$ac_optarg ;;
    508 
    509   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    510   | --program-pre | --program-pr | --program-p)
    511     ac_prev=program_prefix ;;
    512   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    513   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    514     program_prefix=$ac_optarg ;;
    515 
    516   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    517   | --program-suf | --program-su | --program-s)
    518     ac_prev=program_suffix ;;
    519   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    520   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    521     program_suffix=$ac_optarg ;;
    522 
    523   -program-transform-name | --program-transform-name \
    524   | --program-transform-nam | --program-transform-na \
    525   | --program-transform-n | --program-transform- \
    526   | --program-transform | --program-transfor \
    527   | --program-transfo | --program-transf \
    528   | --program-trans | --program-tran \
    529   | --progr-tra | --program-tr | --program-t)
    530     ac_prev=program_transform_name ;;
    531   -program-transform-name=* | --program-transform-name=* \
    532   | --program-transform-nam=* | --program-transform-na=* \
    533   | --program-transform-n=* | --program-transform-=* \
    534   | --program-transform=* | --program-transfor=* \
    535   | --program-transfo=* | --program-transf=* \
    536   | --program-trans=* | --program-tran=* \
    537   | --progr-tra=* | --program-tr=* | --program-t=*)
    538     program_transform_name=$ac_optarg ;;
    539 
    540   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    541   | -silent | --silent | --silen | --sile | --sil)
    542     silent=yes ;;
    543 
    544   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    545     ac_prev=sbindir ;;
    546   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    547   | --sbi=* | --sb=*)
    548     sbindir=$ac_optarg ;;
    549 
    550   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    551   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    552   | --sharedst | --shareds | --shared | --share | --shar \
    553   | --sha | --sh)
    554     ac_prev=sharedstatedir ;;
    555   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    556   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    557   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    558   | --sha=* | --sh=*)
    559     sharedstatedir=$ac_optarg ;;
    560 
    561   -site | --site | --sit)
    562     ac_prev=site ;;
    563   -site=* | --site=* | --sit=*)
    564     site=$ac_optarg ;;
    565 
    566   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    567     ac_prev=srcdir ;;
    568   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    569     srcdir=$ac_optarg ;;
    570 
    571   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    572   | --syscon | --sysco | --sysc | --sys | --sy)
    573     ac_prev=sysconfdir ;;
    574   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    575   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    576     sysconfdir=$ac_optarg ;;
    577 
    578   -target | --target | --targe | --targ | --tar | --ta | --t)
    579     ac_prev=target_alias ;;
    580   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    581     target_alias=$ac_optarg ;;
    582 
    583   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    584     verbose=yes ;;
    585 
    586   -version | --version | --versio | --versi | --vers | -V)
    587     ac_init_version=: ;;
    588 
    589   -with-* | --with-*)
    590     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    591     # Reject names that are not valid shell variable names.
    592     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    593       { echo "$as_me: error: invalid package name: $ac_package" >&2
    594    { (exit 1); exit 1; }; }
    595     ac_package=`echo $ac_package| sed 's/-/_/g'`
    596     case $ac_option in
    597       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    598       *) ac_optarg=yes ;;
    599     esac
    600     eval "with_$ac_package='$ac_optarg'" ;;
    601 
    602   -without-* | --without-*)
    603     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    604     # Reject names that are not valid shell variable names.
    605     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    606       { echo "$as_me: error: invalid package name: $ac_package" >&2
    607    { (exit 1); exit 1; }; }
    608     ac_package=`echo $ac_package | sed 's/-/_/g'`
    609     eval "with_$ac_package=no" ;;
    610 
    611   --x)
    612     # Obsolete; use --with-x.
    613     with_x=yes ;;
    614 
    615   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    616   | --x-incl | --x-inc | --x-in | --x-i)
    617     ac_prev=x_includes ;;
    618   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    619   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    620     x_includes=$ac_optarg ;;
    621 
    622   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    623   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    624     ac_prev=x_libraries ;;
    625   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    626   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    627     x_libraries=$ac_optarg ;;
    628 
    629   -*) { echo "$as_me: error: unrecognized option: $ac_option
    630 Try \`$0 --help' for more information." >&2
    631    { (exit 1); exit 1; }; }
    632     ;;
    633 
    634   *=*)
    635     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    636     # Reject names that are not valid shell variable names.
    637     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    638       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    639    { (exit 1); exit 1; }; }
    640     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    641     eval "$ac_envvar='$ac_optarg'"
    642     export $ac_envvar ;;
    643 
    644   *)
    645     # FIXME: should be removed in autoconf 3.0.
    646     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    647     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    648       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    649     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    650     ;;
    651 
    652   esac
    653 done
    654 
    655 if test -n "$ac_prev"; then
    656   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    657   { echo "$as_me: error: missing argument to $ac_option" >&2
    658    { (exit 1); exit 1; }; }
    659 fi
    660 
    661 # Be sure to have absolute paths.
    662 for ac_var in exec_prefix prefix
    663 do
    664   eval ac_val=$`echo $ac_var`
    665   case $ac_val in
    666     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    667     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    668    { (exit 1); exit 1; }; };;
    669   esac
    670 done
    671 
    672 # Be sure to have absolute paths.
    673 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    674 	      localstatedir libdir includedir oldincludedir infodir mandir
    675 do
    676   eval ac_val=$`echo $ac_var`
    677   case $ac_val in
    678     [\\/$]* | ?:[\\/]* ) ;;
    679     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    680    { (exit 1); exit 1; }; };;
    681   esac
    682 done
    683 
    684 # There might be people who depend on the old broken behavior: `$host'
    685 # used to hold the argument of --host etc.
    686 # FIXME: To remove some day.
    687 build=$build_alias
    688 host=$host_alias
    689 target=$target_alias
    690 
    691 # FIXME: To remove some day.
    692 if test "x$host_alias" != x; then
    693   if test "x$build_alias" = x; then
    694     cross_compiling=maybe
    695     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    696     If a cross compiler is detected then cross compile mode will be used." >&2
    697   elif test "x$build_alias" != "x$host_alias"; then
    698     cross_compiling=yes
    699   fi
    700 fi
    701 
    702 ac_tool_prefix=
    703 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    704 
    705 test "$silent" = yes && exec 6>/dev/null
    706 
    707 
    708 # Find the source files, if location was not specified.
    709 if test -z "$srcdir"; then
    710   ac_srcdir_defaulted=yes
    711   # Try the directory containing this script, then its parent.
    712   ac_confdir=`(dirname "$0") 2>/dev/null ||
    713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    714 	 X"$0" : 'X\(//\)[^/]' \| \
    715 	 X"$0" : 'X\(//\)$' \| \
    716 	 X"$0" : 'X\(/\)' \| \
    717 	 .     : '\(.\)' 2>/dev/null ||
    718 echo X"$0" |
    719     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    720   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    721   	  /^X\(\/\/\)$/{ s//\1/; q; }
    722   	  /^X\(\/\).*/{ s//\1/; q; }
    723   	  s/.*/./; q'`
    724   srcdir=$ac_confdir
    725   if test ! -r $srcdir/$ac_unique_file; then
    726     srcdir=..
    727   fi
    728 else
    729   ac_srcdir_defaulted=no
    730 fi
    731 if test ! -r $srcdir/$ac_unique_file; then
    732   if test "$ac_srcdir_defaulted" = yes; then
    733     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    734    { (exit 1); exit 1; }; }
    735   else
    736     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    737    { (exit 1); exit 1; }; }
    738   fi
    739 fi
    740 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    741   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    742    { (exit 1); exit 1; }; }
    743 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    744 ac_env_build_alias_set=${build_alias+set}
    745 ac_env_build_alias_value=$build_alias
    746 ac_cv_env_build_alias_set=${build_alias+set}
    747 ac_cv_env_build_alias_value=$build_alias
    748 ac_env_host_alias_set=${host_alias+set}
    749 ac_env_host_alias_value=$host_alias
    750 ac_cv_env_host_alias_set=${host_alias+set}
    751 ac_cv_env_host_alias_value=$host_alias
    752 ac_env_target_alias_set=${target_alias+set}
    753 ac_env_target_alias_value=$target_alias
    754 ac_cv_env_target_alias_set=${target_alias+set}
    755 ac_cv_env_target_alias_value=$target_alias
    756 ac_env_CC_set=${CC+set}
    757 ac_env_CC_value=$CC
    758 ac_cv_env_CC_set=${CC+set}
    759 ac_cv_env_CC_value=$CC
    760 ac_env_CFLAGS_set=${CFLAGS+set}
    761 ac_env_CFLAGS_value=$CFLAGS
    762 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    763 ac_cv_env_CFLAGS_value=$CFLAGS
    764 ac_env_LDFLAGS_set=${LDFLAGS+set}
    765 ac_env_LDFLAGS_value=$LDFLAGS
    766 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    767 ac_cv_env_LDFLAGS_value=$LDFLAGS
    768 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    769 ac_env_CPPFLAGS_value=$CPPFLAGS
    770 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    771 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    772 ac_env_CPP_set=${CPP+set}
    773 ac_env_CPP_value=$CPP
    774 ac_cv_env_CPP_set=${CPP+set}
    775 ac_cv_env_CPP_value=$CPP
    776 ac_env_CXX_set=${CXX+set}
    777 ac_env_CXX_value=$CXX
    778 ac_cv_env_CXX_set=${CXX+set}
    779 ac_cv_env_CXX_value=$CXX
    780 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
    781 ac_env_CXXFLAGS_value=$CXXFLAGS
    782 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
    783 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
    784 
    785 #
    786 # Report the --help message.
    787 #
    788 if test "$ac_init_help" = "long"; then
    789   # Omit some internal or obsolete options to make the list less imposing.
    790   # This message is too long to be a string in the A/UX 3.1 sh.
    791   cat <<_ACEOF
    792 \`configure' configures GNU Bison 2.3 to adapt to many kinds of systems.
    793 
    794 Usage: $0 [OPTION]... [VAR=VALUE]...
    795 
    796 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    797 VAR=VALUE.  See below for descriptions of some of the useful variables.
    798 
    799 Defaults for the options are specified in brackets.
    800 
    801 Configuration:
    802   -h, --help              display this help and exit
    803       --help=short        display options specific to this package
    804       --help=recursive    display the short help of all the included packages
    805   -V, --version           display version information and exit
    806   -q, --quiet, --silent   do not print \`checking...' messages
    807       --cache-file=FILE   cache test results in FILE [disabled]
    808   -C, --config-cache      alias for \`--cache-file=config.cache'
    809   -n, --no-create         do not create output files
    810       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    811 
    812 _ACEOF
    813 
    814   cat <<_ACEOF
    815 Installation directories:
    816   --prefix=PREFIX         install architecture-independent files in PREFIX
    817 			  [$ac_default_prefix]
    818   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    819 			  [PREFIX]
    820 
    821 By default, \`make install' will install all the files in
    822 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    823 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    824 for instance \`--prefix=\$HOME'.
    825 
    826 For better control, use the options below.
    827 
    828 Fine tuning of the installation directories:
    829   --bindir=DIR           user executables [EPREFIX/bin]
    830   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    831   --libexecdir=DIR       program executables [EPREFIX/libexec]
    832   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    833   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    834   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    835   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    836   --libdir=DIR           object code libraries [EPREFIX/lib]
    837   --includedir=DIR       C header files [PREFIX/include]
    838   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    839   --infodir=DIR          info documentation [PREFIX/info]
    840   --mandir=DIR           man documentation [PREFIX/man]
    841 _ACEOF
    842 
    843   cat <<\_ACEOF
    844 
    845 Program names:
    846   --program-prefix=PREFIX            prepend PREFIX to installed program names
    847   --program-suffix=SUFFIX            append SUFFIX to installed program names
    848   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    849 
    850 System types:
    851   --build=BUILD     configure for building on BUILD [guessed]
    852   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    853 _ACEOF
    854 fi
    855 
    856 if test -n "$ac_init_help"; then
    857   case $ac_init_help in
    858      short | recursive ) echo "Configuration of GNU Bison 2.3:";;
    859    esac
    860   cat <<\_ACEOF
    861 
    862 Optional Features:
    863   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    864   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    865   --disable-dependency-tracking  speeds up one-time build
    866   --enable-dependency-tracking   do not reject slow dependency extractors
    867   --enable-gcc-warnings   turn on lots of GCC warnings (not recommended)
    868   --disable-yacc          do not build a yacc command or an -ly library
    869   --disable-nls           do not use Native Language Support
    870   --disable-rpath         do not hardcode runtime library paths
    871 
    872 Optional Packages:
    873   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    874   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    875   --with-dmalloc          use dmalloc, as in
    876                           http://www.dmalloc.com/dmalloc.tar.gz
    877   --with-gnu-ld           assume the C compiler uses GNU ld default=no
    878   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
    879   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
    880   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
    881   --without-libintl-prefix     don't search for libintl in includedir and libdir
    882 
    883 Some influential environment variables:
    884   CC          C compiler command
    885   CFLAGS      C compiler flags
    886   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    887               nonstandard directory <lib dir>
    888   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    889               headers in a nonstandard directory <include dir>
    890   CPP         C preprocessor
    891   CXX         C++ compiler command
    892   CXXFLAGS    C++ compiler flags
    893 
    894 Use these variables to override the choices made by `configure' or to help
    895 it to find libraries and programs with nonstandard names/locations.
    896 
    897 Report bugs to <bug-bison@gnu.org>.
    898 _ACEOF
    899 fi
    900 
    901 if test "$ac_init_help" = "recursive"; then
    902   # If there are subdirs, report their specific --help.
    903   ac_popdir=`pwd`
    904   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    905     test -d $ac_dir || continue
    906     ac_builddir=.
    907 
    908 if test "$ac_dir" != .; then
    909   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    910   # A "../" for each directory in $ac_dir_suffix.
    911   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    912 else
    913   ac_dir_suffix= ac_top_builddir=
    914 fi
    915 
    916 case $srcdir in
    917   .)  # No --srcdir option.  We are building in place.
    918     ac_srcdir=.
    919     if test -z "$ac_top_builddir"; then
    920        ac_top_srcdir=.
    921     else
    922        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    923     fi ;;
    924   [\\/]* | ?:[\\/]* )  # Absolute path.
    925     ac_srcdir=$srcdir$ac_dir_suffix;
    926     ac_top_srcdir=$srcdir ;;
    927   *) # Relative path.
    928     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    929     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    930 esac
    931 
    932 # Do not use `cd foo && pwd` to compute absolute paths, because
    933 # the directories may not exist.
    934 case `pwd` in
    935 .) ac_abs_builddir="$ac_dir";;
    936 *)
    937   case "$ac_dir" in
    938   .) ac_abs_builddir=`pwd`;;
    939   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    940   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    941   esac;;
    942 esac
    943 case $ac_abs_builddir in
    944 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    945 *)
    946   case ${ac_top_builddir}. in
    947   .) ac_abs_top_builddir=$ac_abs_builddir;;
    948   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    949   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    950   esac;;
    951 esac
    952 case $ac_abs_builddir in
    953 .) ac_abs_srcdir=$ac_srcdir;;
    954 *)
    955   case $ac_srcdir in
    956   .) ac_abs_srcdir=$ac_abs_builddir;;
    957   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    958   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    959   esac;;
    960 esac
    961 case $ac_abs_builddir in
    962 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    963 *)
    964   case $ac_top_srcdir in
    965   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    966   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    967   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    968   esac;;
    969 esac
    970 
    971     cd $ac_dir
    972     # Check for guested configure; otherwise get Cygnus style configure.
    973     if test -f $ac_srcdir/configure.gnu; then
    974       echo
    975       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    976     elif test -f $ac_srcdir/configure; then
    977       echo
    978       $SHELL $ac_srcdir/configure  --help=recursive
    979     elif test -f $ac_srcdir/configure.ac ||
    980 	   test -f $ac_srcdir/configure.in; then
    981       echo
    982       $ac_configure --help
    983     else
    984       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    985     fi
    986     cd "$ac_popdir"
    987   done
    988 fi
    989 
    990 test -n "$ac_init_help" && exit 0
    991 if $ac_init_version; then
    992   cat <<\_ACEOF
    993 GNU Bison configure 2.3
    994 generated by GNU Autoconf 2.59
    995 
    996 Copyright (C) 2003 Free Software Foundation, Inc.
    997 This configure script is free software; the Free Software Foundation
    998 gives unlimited permission to copy, distribute and modify it.
    999 _ACEOF
   1000   exit 0
   1001 fi
   1002 exec 5>config.log
   1003 cat >&5 <<_ACEOF
   1004 This file contains any messages produced by compilers while
   1005 running configure, to aid debugging if configure makes a mistake.
   1006 
   1007 It was created by GNU Bison $as_me 2.3, which was
   1008 generated by GNU Autoconf 2.59.  Invocation command line was
   1009 
   1010   $ $0 $@
   1011 
   1012 _ACEOF
   1013 {
   1014 cat <<_ASUNAME
   1015 ## --------- ##
   1016 ## Platform. ##
   1017 ## --------- ##
   1018 
   1019 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1020 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1021 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1022 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1023 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1024 
   1025 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1026 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1027 
   1028 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1029 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1030 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1031 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1032 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1033 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1034 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1035 
   1036 _ASUNAME
   1037 
   1038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1039 for as_dir in $PATH
   1040 do
   1041   IFS=$as_save_IFS
   1042   test -z "$as_dir" && as_dir=.
   1043   echo "PATH: $as_dir"
   1044 done
   1045 
   1046 } >&5
   1047 
   1048 cat >&5 <<_ACEOF
   1049 
   1050 
   1051 ## ----------- ##
   1052 ## Core tests. ##
   1053 ## ----------- ##
   1054 
   1055 _ACEOF
   1056 
   1057 
   1058 # Keep a trace of the command line.
   1059 # Strip out --no-create and --no-recursion so they do not pile up.
   1060 # Strip out --silent because we don't want to record it for future runs.
   1061 # Also quote any args containing shell meta-characters.
   1062 # Make two passes to allow for proper duplicate-argument suppression.
   1063 ac_configure_args=
   1064 ac_configure_args0=
   1065 ac_configure_args1=
   1066 ac_sep=
   1067 ac_must_keep_next=false
   1068 for ac_pass in 1 2
   1069 do
   1070   for ac_arg
   1071   do
   1072     case $ac_arg in
   1073     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1074     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1075     | -silent | --silent | --silen | --sile | --sil)
   1076       continue ;;
   1077     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1078       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1079     esac
   1080     case $ac_pass in
   1081     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1082     2)
   1083       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1084       if test $ac_must_keep_next = true; then
   1085 	ac_must_keep_next=false # Got value, back to normal.
   1086       else
   1087 	case $ac_arg in
   1088 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1089 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1090 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1091 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1092 	    case "$ac_configure_args0 " in
   1093 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1094 	    esac
   1095 	    ;;
   1096 	  -* ) ac_must_keep_next=true ;;
   1097 	esac
   1098       fi
   1099       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1100       # Get rid of the leading space.
   1101       ac_sep=" "
   1102       ;;
   1103     esac
   1104   done
   1105 done
   1106 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1107 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1108 
   1109 # When interrupted or exit'd, cleanup temporary files, and complete
   1110 # config.log.  We remove comments because anyway the quotes in there
   1111 # would cause problems or look ugly.
   1112 # WARNING: Be sure not to use single quotes in there, as some shells,
   1113 # such as our DU 5.0 friend, will then `close' the trap.
   1114 trap 'exit_status=$?
   1115   # Save into config.log some information that might help in debugging.
   1116   {
   1117     echo
   1118 
   1119     cat <<\_ASBOX
   1120 ## ---------------- ##
   1121 ## Cache variables. ##
   1122 ## ---------------- ##
   1123 _ASBOX
   1124     echo
   1125     # The following way of writing the cache mishandles newlines in values,
   1126 {
   1127   (set) 2>&1 |
   1128     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1129     *ac_space=\ *)
   1130       sed -n \
   1131 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1132 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1133       ;;
   1134     *)
   1135       sed -n \
   1136 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1137       ;;
   1138     esac;
   1139 }
   1140     echo
   1141 
   1142     cat <<\_ASBOX
   1143 ## ----------------- ##
   1144 ## Output variables. ##
   1145 ## ----------------- ##
   1146 _ASBOX
   1147     echo
   1148     for ac_var in $ac_subst_vars
   1149     do
   1150       eval ac_val=$`echo $ac_var`
   1151       echo "$ac_var='"'"'$ac_val'"'"'"
   1152     done | sort
   1153     echo
   1154 
   1155     if test -n "$ac_subst_files"; then
   1156       cat <<\_ASBOX
   1157 ## ------------- ##
   1158 ## Output files. ##
   1159 ## ------------- ##
   1160 _ASBOX
   1161       echo
   1162       for ac_var in $ac_subst_files
   1163       do
   1164 	eval ac_val=$`echo $ac_var`
   1165 	echo "$ac_var='"'"'$ac_val'"'"'"
   1166       done | sort
   1167       echo
   1168     fi
   1169 
   1170     if test -s confdefs.h; then
   1171       cat <<\_ASBOX
   1172 ## ----------- ##
   1173 ## confdefs.h. ##
   1174 ## ----------- ##
   1175 _ASBOX
   1176       echo
   1177       sed "/^$/d" confdefs.h | sort
   1178       echo
   1179     fi
   1180     test "$ac_signal" != 0 &&
   1181       echo "$as_me: caught signal $ac_signal"
   1182     echo "$as_me: exit $exit_status"
   1183   } >&5
   1184   rm -f core *.core &&
   1185   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1186     exit $exit_status
   1187      ' 0
   1188 for ac_signal in 1 2 13 15; do
   1189   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1190 done
   1191 ac_signal=0
   1192 
   1193 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1194 rm -rf conftest* confdefs.h
   1195 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1196 echo >confdefs.h
   1197 
   1198 # Predefined preprocessor variables.
   1199 
   1200 cat >>confdefs.h <<_ACEOF
   1201 #define PACKAGE_NAME "$PACKAGE_NAME"
   1202 _ACEOF
   1203 
   1204 
   1205 cat >>confdefs.h <<_ACEOF
   1206 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1207 _ACEOF
   1208 
   1209 
   1210 cat >>confdefs.h <<_ACEOF
   1211 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1212 _ACEOF
   1213 
   1214 
   1215 cat >>confdefs.h <<_ACEOF
   1216 #define PACKAGE_STRING "$PACKAGE_STRING"
   1217 _ACEOF
   1218 
   1219 
   1220 cat >>confdefs.h <<_ACEOF
   1221 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1222 _ACEOF
   1223 
   1224 
   1225 # Let the site file select an alternate cache file if it wants to.
   1226 # Prefer explicitly selected file to automatically selected ones.
   1227 if test -z "$CONFIG_SITE"; then
   1228   if test "x$prefix" != xNONE; then
   1229     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1230   else
   1231     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1232   fi
   1233 fi
   1234 for ac_site_file in $CONFIG_SITE; do
   1235   if test -r "$ac_site_file"; then
   1236     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1237 echo "$as_me: loading site script $ac_site_file" >&6;}
   1238     sed 's/^/| /' "$ac_site_file" >&5
   1239     . "$ac_site_file"
   1240   fi
   1241 done
   1242 
   1243 if test -r "$cache_file"; then
   1244   # Some versions of bash will fail to source /dev/null (special
   1245   # files actually), so we avoid doing that.
   1246   if test -f "$cache_file"; then
   1247     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1248 echo "$as_me: loading cache $cache_file" >&6;}
   1249     case $cache_file in
   1250       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1251       *)                      . ./$cache_file;;
   1252     esac
   1253   fi
   1254 else
   1255   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1256 echo "$as_me: creating cache $cache_file" >&6;}
   1257   >$cache_file
   1258 fi
   1259 
   1260 # Check that the precious variables saved in the cache have kept the same
   1261 # value.
   1262 ac_cache_corrupted=false
   1263 for ac_var in `(set) 2>&1 |
   1264 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1265   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1266   eval ac_new_set=\$ac_env_${ac_var}_set
   1267   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1268   eval ac_new_val="\$ac_env_${ac_var}_value"
   1269   case $ac_old_set,$ac_new_set in
   1270     set,)
   1271       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1272 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1273       ac_cache_corrupted=: ;;
   1274     ,set)
   1275       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1276 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1277       ac_cache_corrupted=: ;;
   1278     ,);;
   1279     *)
   1280       if test "x$ac_old_val" != "x$ac_new_val"; then
   1281 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1282 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1283 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1284 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1285 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1286 echo "$as_me:   current value: $ac_new_val" >&2;}
   1287 	ac_cache_corrupted=:
   1288       fi;;
   1289   esac
   1290   # Pass precious variables to config.status.
   1291   if test "$ac_new_set" = set; then
   1292     case $ac_new_val in
   1293     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1294       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1295     *) ac_arg=$ac_var=$ac_new_val ;;
   1296     esac
   1297     case " $ac_configure_args " in
   1298       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1299       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1300     esac
   1301   fi
   1302 done
   1303 if $ac_cache_corrupted; then
   1304   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1305 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1306   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1307 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1308    { (exit 1); exit 1; }; }
   1309 fi
   1310 
   1311 ac_ext=c
   1312 ac_cpp='$CPP $CPPFLAGS'
   1313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1316 
   1317 
   1318 gl_header_list="$gl_header_list locale.h"
   1319 gl_func_list="$gl_func_list setlocale"
   1320 gl_header_list="$gl_header_list wchar.h"
   1321 gl_header_list="$gl_header_list wctype.h"
   1322 gl_func_list="$gl_func_list isascii"
   1323 gl_func_list="$gl_func_list iswprint"
   1324 gl_func_list="$gl_func_list mbsinit"
   1325 
   1326 
   1327 
   1328 
   1329 
   1330 
   1331 
   1332 
   1333 
   1334 
   1335 
   1336 
   1337 
   1338 
   1339 
   1340 
   1341 
   1342 
   1343 
   1344 
   1345 
   1346 
   1347 
   1348 
   1349 
   1350 ac_aux_dir=
   1351 for ac_dir in build-aux $srcdir/build-aux; do
   1352   if test -f $ac_dir/install-sh; then
   1353     ac_aux_dir=$ac_dir
   1354     ac_install_sh="$ac_aux_dir/install-sh -c"
   1355     break
   1356   elif test -f $ac_dir/install.sh; then
   1357     ac_aux_dir=$ac_dir
   1358     ac_install_sh="$ac_aux_dir/install.sh -c"
   1359     break
   1360   elif test -f $ac_dir/shtool; then
   1361     ac_aux_dir=$ac_dir
   1362     ac_install_sh="$ac_aux_dir/shtool install -c"
   1363     break
   1364   fi
   1365 done
   1366 if test -z "$ac_aux_dir"; then
   1367   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in build-aux $srcdir/build-aux" >&5
   1368 echo "$as_me: error: cannot find install-sh or install.sh in build-aux $srcdir/build-aux" >&2;}
   1369    { (exit 1); exit 1; }; }
   1370 fi
   1371 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   1372 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   1373 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   1374 
   1375 case m4 in
   1376   [\\/]* | ?:[\\/]* ) ac_macro_dir=m4         ;;
   1377   *)                      ac_macro_dir=$srcdir/m4 ;;
   1378 esac
   1379 if test -d "$ac_macro_dir"; then :
   1380 else
   1381   { { echo "$as_me:$LINENO: error: cannot find macro directory \`m4'" >&5
   1382 echo "$as_me: error: cannot find macro directory \`m4'" >&2;}
   1383    { (exit 1); exit 1; }; }
   1384 fi
   1385 
   1386 
   1387 # We don't have a file m4/Makefile.am, so we need Automake 1.8 or later.
   1388 am__api_version="1.9"
   1389 # Find a good install program.  We prefer a C program (faster),
   1390 # so one script is as good as another.  But avoid the broken or
   1391 # incompatible versions:
   1392 # SysV /etc/install, /usr/sbin/install
   1393 # SunOS /usr/etc/install
   1394 # IRIX /sbin/install
   1395 # AIX /bin/install
   1396 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1397 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1398 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1399 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1400 # OS/2's system install, which has a completely different semantic
   1401 # ./install, which can be erroneously created by make from ./install.sh.
   1402 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1403 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   1404 if test -z "$INSTALL"; then
   1405 if test "${ac_cv_path_install+set}" = set; then
   1406   echo $ECHO_N "(cached) $ECHO_C" >&6
   1407 else
   1408   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1409 for as_dir in $PATH
   1410 do
   1411   IFS=$as_save_IFS
   1412   test -z "$as_dir" && as_dir=.
   1413   # Account for people who put trailing slashes in PATH elements.
   1414 case $as_dir/ in
   1415   ./ | .// | /cC/* | \
   1416   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1417   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1418   /usr/ucb/* ) ;;
   1419   *)
   1420     # OSF1 and SCO ODT 3.0 have their own names for install.
   1421     # Don't use installbsd from OSF since it installs stuff as root
   1422     # by default.
   1423     for ac_prog in ginstall scoinst install; do
   1424       for ac_exec_ext in '' $ac_executable_extensions; do
   1425 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   1426 	  if test $ac_prog = install &&
   1427 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1428 	    # AIX install.  It has an incompatible calling convention.
   1429 	    :
   1430 	  elif test $ac_prog = install &&
   1431 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1432 	    # program-specific install script used by HP pwplus--don't use.
   1433 	    :
   1434 	  else
   1435 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   1436 	    break 3
   1437 	  fi
   1438 	fi
   1439       done
   1440     done
   1441     ;;
   1442 esac
   1443 done
   1444 
   1445 
   1446 fi
   1447   if test "${ac_cv_path_install+set}" = set; then
   1448     INSTALL=$ac_cv_path_install
   1449   else
   1450     # As a last resort, use the slow shell script.  We don't cache a
   1451     # path for INSTALL within a source directory, because that will
   1452     # break other packages using the cache if that directory is
   1453     # removed, or if the path is relative.
   1454     INSTALL=$ac_install_sh
   1455   fi
   1456 fi
   1457 echo "$as_me:$LINENO: result: $INSTALL" >&5
   1458 echo "${ECHO_T}$INSTALL" >&6
   1459 
   1460 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   1461 # It thinks the first close brace ends the variable substitution.
   1462 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   1463 
   1464 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   1465 
   1466 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   1467 
   1468 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   1469 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
   1470 # Just in case
   1471 sleep 1
   1472 echo timestamp > conftest.file
   1473 # Do `set' in a subshell so we don't clobber the current shell's
   1474 # arguments.  Must try -L first in case configure is actually a
   1475 # symlink; some systems play weird games with the mod time of symlinks
   1476 # (eg FreeBSD returns the mod time of the symlink's containing
   1477 # directory).
   1478 if (
   1479    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   1480    if test "$*" = "X"; then
   1481       # -L didn't work.
   1482       set X `ls -t $srcdir/configure conftest.file`
   1483    fi
   1484    rm -f conftest.file
   1485    if test "$*" != "X $srcdir/configure conftest.file" \
   1486       && test "$*" != "X conftest.file $srcdir/configure"; then
   1487 
   1488       # If neither matched, then we have a broken ls.  This can happen
   1489       # if, for instance, CONFIG_SHELL is bash and it inherits a
   1490       # broken ls alias from the environment.  This has actually
   1491       # happened.  Such a system could not be considered "sane".
   1492       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   1493 alias in your environment" >&5
   1494 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   1495 alias in your environment" >&2;}
   1496    { (exit 1); exit 1; }; }
   1497    fi
   1498 
   1499    test "$2" = conftest.file
   1500    )
   1501 then
   1502    # Ok.
   1503    :
   1504 else
   1505    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   1506 Check your system clock" >&5
   1507 echo "$as_me: error: newly created file is older than distributed files!
   1508 Check your system clock" >&2;}
   1509    { (exit 1); exit 1; }; }
   1510 fi
   1511 echo "$as_me:$LINENO: result: yes" >&5
   1512 echo "${ECHO_T}yes" >&6
   1513 test "$program_prefix" != NONE &&
   1514   program_transform_name="s,^,$program_prefix,;$program_transform_name"
   1515 # Use a double $ so make ignores it.
   1516 test "$program_suffix" != NONE &&
   1517   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   1518 # Double any \ or $.  echo might interpret backslashes.
   1519 # By default was `s,x,x', remove it if useless.
   1520 cat <<\_ACEOF >conftest.sed
   1521 s/[\\$]/&&/g;s/;s,x,x,$//
   1522 _ACEOF
   1523 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   1524 rm conftest.sed
   1525 
   1526 # expand $ac_aux_dir to an absolute path
   1527 am_aux_dir=`cd $ac_aux_dir && pwd`
   1528 
   1529 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   1530 # Use eval to expand $SHELL
   1531 if eval "$MISSING --run true"; then
   1532   am_missing_run="$MISSING --run "
   1533 else
   1534   am_missing_run=
   1535   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   1536 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   1537 fi
   1538 
   1539 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   1540   # We used to keeping the `.' as first argument, in order to
   1541   # allow $(mkdir_p) to be used without argument.  As in
   1542   #   $(mkdir_p) $(somedir)
   1543   # where $(somedir) is conditionally defined.  However this is wrong
   1544   # for two reasons:
   1545   #  1. if the package is installed by a user who cannot write `.'
   1546   #     make install will fail,
   1547   #  2. the above comment should most certainly read
   1548   #     $(mkdir_p) $(DESTDIR)$(somedir)
   1549   #     so it does not work when $(somedir) is undefined and
   1550   #     $(DESTDIR) is not.
   1551   #  To support the latter case, we have to write
   1552   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   1553   #  so the `.' trick is pointless.
   1554   mkdir_p='mkdir -p --'
   1555 else
   1556   # On NextStep and OpenStep, the `mkdir' command does not
   1557   # recognize any option.  It will interpret all options as
   1558   # directories to create, and then abort because `.' already
   1559   # exists.
   1560   for d in ./-p ./--version;
   1561   do
   1562     test -d $d && rmdir $d
   1563   done
   1564   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   1565   if test -f "$ac_aux_dir/mkinstalldirs"; then
   1566     mkdir_p='$(mkinstalldirs)'
   1567   else
   1568     mkdir_p='$(install_sh) -d'
   1569   fi
   1570 fi
   1571 
   1572 for ac_prog in gawk mawk nawk awk
   1573 do
   1574   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1575 set dummy $ac_prog; ac_word=$2
   1576 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1577 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1578 if test "${ac_cv_prog_AWK+set}" = set; then
   1579   echo $ECHO_N "(cached) $ECHO_C" >&6
   1580 else
   1581   if test -n "$AWK"; then
   1582   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   1583 else
   1584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1585 for as_dir in $PATH
   1586 do
   1587   IFS=$as_save_IFS
   1588   test -z "$as_dir" && as_dir=.
   1589   for ac_exec_ext in '' $ac_executable_extensions; do
   1590   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1591     ac_cv_prog_AWK="$ac_prog"
   1592     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1593     break 2
   1594   fi
   1595 done
   1596 done
   1597 
   1598 fi
   1599 fi
   1600 AWK=$ac_cv_prog_AWK
   1601 if test -n "$AWK"; then
   1602   echo "$as_me:$LINENO: result: $AWK" >&5
   1603 echo "${ECHO_T}$AWK" >&6
   1604 else
   1605   echo "$as_me:$LINENO: result: no" >&5
   1606 echo "${ECHO_T}no" >&6
   1607 fi
   1608 
   1609   test -n "$AWK" && break
   1610 done
   1611 
   1612 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   1613 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   1614 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   1615 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   1616   echo $ECHO_N "(cached) $ECHO_C" >&6
   1617 else
   1618   cat >conftest.make <<\_ACEOF
   1619 all:
   1620 	@echo 'ac_maketemp="$(MAKE)"'
   1621 _ACEOF
   1622 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   1623 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   1624 if test -n "$ac_maketemp"; then
   1625   eval ac_cv_prog_make_${ac_make}_set=yes
   1626 else
   1627   eval ac_cv_prog_make_${ac_make}_set=no
   1628 fi
   1629 rm -f conftest.make
   1630 fi
   1631 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   1632   echo "$as_me:$LINENO: result: yes" >&5
   1633 echo "${ECHO_T}yes" >&6
   1634   SET_MAKE=
   1635 else
   1636   echo "$as_me:$LINENO: result: no" >&5
   1637 echo "${ECHO_T}no" >&6
   1638   SET_MAKE="MAKE=${MAKE-make}"
   1639 fi
   1640 
   1641 rm -rf .tst 2>/dev/null
   1642 mkdir .tst 2>/dev/null
   1643 if test -d .tst; then
   1644   am__leading_dot=.
   1645 else
   1646   am__leading_dot=_
   1647 fi
   1648 rmdir .tst 2>/dev/null
   1649 
   1650 # test to see if srcdir already configured
   1651 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   1652    test -f $srcdir/config.status; then
   1653   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   1654 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   1655    { (exit 1); exit 1; }; }
   1656 fi
   1657 
   1658 # test whether we have cygpath
   1659 if test -z "$CYGPATH_W"; then
   1660   if (cygpath --version) >/dev/null 2>/dev/null; then
   1661     CYGPATH_W='cygpath -w'
   1662   else
   1663     CYGPATH_W=echo
   1664   fi
   1665 fi
   1666 
   1667 
   1668 # Define the identity of the package.
   1669  PACKAGE='bison'
   1670  VERSION='2.3'
   1671 
   1672 
   1673 cat >>confdefs.h <<_ACEOF
   1674 #define PACKAGE "$PACKAGE"
   1675 _ACEOF
   1676 
   1677 
   1678 cat >>confdefs.h <<_ACEOF
   1679 #define VERSION "$VERSION"
   1680 _ACEOF
   1681 
   1682 # Some tools Automake needs.
   1683 
   1684 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   1685 
   1686 
   1687 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   1688 
   1689 
   1690 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   1691 
   1692 
   1693 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   1694 
   1695 
   1696 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   1697 
   1698 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   1699 
   1700 # Installed binaries are usually stripped using `strip' when the user
   1701 # run `make install-strip'.  However `strip' might not be the right
   1702 # tool to use in cross-compilation environments, therefore Automake
   1703 # will honor the `STRIP' environment variable to overrule this program.
   1704 if test "$cross_compiling" != no; then
   1705   if test -n "$ac_tool_prefix"; then
   1706   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   1707 set dummy ${ac_tool_prefix}strip; ac_word=$2
   1708 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1710 if test "${ac_cv_prog_STRIP+set}" = set; then
   1711   echo $ECHO_N "(cached) $ECHO_C" >&6
   1712 else
   1713   if test -n "$STRIP"; then
   1714   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   1715 else
   1716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1717 for as_dir in $PATH
   1718 do
   1719   IFS=$as_save_IFS
   1720   test -z "$as_dir" && as_dir=.
   1721   for ac_exec_ext in '' $ac_executable_extensions; do
   1722   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1723     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   1724     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1725     break 2
   1726   fi
   1727 done
   1728 done
   1729 
   1730 fi
   1731 fi
   1732 STRIP=$ac_cv_prog_STRIP
   1733 if test -n "$STRIP"; then
   1734   echo "$as_me:$LINENO: result: $STRIP" >&5
   1735 echo "${ECHO_T}$STRIP" >&6
   1736 else
   1737   echo "$as_me:$LINENO: result: no" >&5
   1738 echo "${ECHO_T}no" >&6
   1739 fi
   1740 
   1741 fi
   1742 if test -z "$ac_cv_prog_STRIP"; then
   1743   ac_ct_STRIP=$STRIP
   1744   # Extract the first word of "strip", so it can be a program name with args.
   1745 set dummy strip; ac_word=$2
   1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1748 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   1749   echo $ECHO_N "(cached) $ECHO_C" >&6
   1750 else
   1751   if test -n "$ac_ct_STRIP"; then
   1752   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   1753 else
   1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1755 for as_dir in $PATH
   1756 do
   1757   IFS=$as_save_IFS
   1758   test -z "$as_dir" && as_dir=.
   1759   for ac_exec_ext in '' $ac_executable_extensions; do
   1760   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1761     ac_cv_prog_ac_ct_STRIP="strip"
   1762     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1763     break 2
   1764   fi
   1765 done
   1766 done
   1767 
   1768   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   1769 fi
   1770 fi
   1771 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   1772 if test -n "$ac_ct_STRIP"; then
   1773   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   1774 echo "${ECHO_T}$ac_ct_STRIP" >&6
   1775 else
   1776   echo "$as_me:$LINENO: result: no" >&5
   1777 echo "${ECHO_T}no" >&6
   1778 fi
   1779 
   1780   STRIP=$ac_ct_STRIP
   1781 else
   1782   STRIP="$ac_cv_prog_STRIP"
   1783 fi
   1784 
   1785 fi
   1786 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   1787 
   1788 # We need awk for the "check" target.  The system "awk" is bad on
   1789 # some platforms.
   1790 # Always define AMTAR for backward compatibility.
   1791 
   1792 AMTAR=${AMTAR-"${am_missing_run}tar"}
   1793 
   1794 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   1795 
   1796 
   1797 
   1798 
   1799 
   1800           ac_config_headers="$ac_config_headers config.h:config.hin"
   1801 
   1802 
   1803 
   1804 cat >>confdefs.h <<\_ACEOF
   1805 #define _GNU_SOURCE 1
   1806 _ACEOF
   1807 
   1808 
   1809 DEPDIR="${am__leading_dot}deps"
   1810 
   1811           ac_config_commands="$ac_config_commands depfiles"
   1812 
   1813 
   1814 am_make=${MAKE-make}
   1815 cat > confinc << 'END'
   1816 am__doit:
   1817 	@echo done
   1818 .PHONY: am__doit
   1819 END
   1820 # If we don't find an include directive, just comment out the code.
   1821 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   1822 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   1823 am__include="#"
   1824 am__quote=
   1825 _am_result=none
   1826 # First try GNU make style include.
   1827 echo "include confinc" > confmf
   1828 # We grep out `Entering directory' and `Leaving directory'
   1829 # messages which can occur if `w' ends up in MAKEFLAGS.
   1830 # In particular we don't look at `^make:' because GNU make might
   1831 # be invoked under some other name (usually "gmake"), in which
   1832 # case it prints its new name instead of `make'.
   1833 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   1834    am__include=include
   1835    am__quote=
   1836    _am_result=GNU
   1837 fi
   1838 # Now try BSD make style include.
   1839 if test "$am__include" = "#"; then
   1840    echo '.include "confinc"' > confmf
   1841    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   1842       am__include=.include
   1843       am__quote="\""
   1844       _am_result=BSD
   1845    fi
   1846 fi
   1847 
   1848 
   1849 echo "$as_me:$LINENO: result: $_am_result" >&5
   1850 echo "${ECHO_T}$_am_result" >&6
   1851 rm -f confinc confmf
   1852 
   1853 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
   1854 if test "${enable_dependency_tracking+set}" = set; then
   1855   enableval="$enable_dependency_tracking"
   1856 
   1857 fi;
   1858 if test "x$enable_dependency_tracking" != xno; then
   1859   am_depcomp="$ac_aux_dir/depcomp"
   1860   AMDEPBACKSLASH='\'
   1861 fi
   1862 
   1863 
   1864 if test "x$enable_dependency_tracking" != xno; then
   1865   AMDEP_TRUE=
   1866   AMDEP_FALSE='#'
   1867 else
   1868   AMDEP_TRUE='#'
   1869   AMDEP_FALSE=
   1870 fi
   1871 
   1872 
   1873 
   1874 ac_ext=c
   1875 ac_cpp='$CPP $CPPFLAGS'
   1876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1879 if test -n "$ac_tool_prefix"; then
   1880   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   1881 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   1882 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1884 if test "${ac_cv_prog_CC+set}" = set; then
   1885   echo $ECHO_N "(cached) $ECHO_C" >&6
   1886 else
   1887   if test -n "$CC"; then
   1888   ac_cv_prog_CC="$CC" # Let the user override the test.
   1889 else
   1890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1891 for as_dir in $PATH
   1892 do
   1893   IFS=$as_save_IFS
   1894   test -z "$as_dir" && as_dir=.
   1895   for ac_exec_ext in '' $ac_executable_extensions; do
   1896   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1897     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1898     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1899     break 2
   1900   fi
   1901 done
   1902 done
   1903 
   1904 fi
   1905 fi
   1906 CC=$ac_cv_prog_CC
   1907 if test -n "$CC"; then
   1908   echo "$as_me:$LINENO: result: $CC" >&5
   1909 echo "${ECHO_T}$CC" >&6
   1910 else
   1911   echo "$as_me:$LINENO: result: no" >&5
   1912 echo "${ECHO_T}no" >&6
   1913 fi
   1914 
   1915 fi
   1916 if test -z "$ac_cv_prog_CC"; then
   1917   ac_ct_CC=$CC
   1918   # Extract the first word of "gcc", so it can be a program name with args.
   1919 set dummy gcc; ac_word=$2
   1920 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1922 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1923   echo $ECHO_N "(cached) $ECHO_C" >&6
   1924 else
   1925   if test -n "$ac_ct_CC"; then
   1926   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1927 else
   1928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1929 for as_dir in $PATH
   1930 do
   1931   IFS=$as_save_IFS
   1932   test -z "$as_dir" && as_dir=.
   1933   for ac_exec_ext in '' $ac_executable_extensions; do
   1934   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1935     ac_cv_prog_ac_ct_CC="gcc"
   1936     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1937     break 2
   1938   fi
   1939 done
   1940 done
   1941 
   1942 fi
   1943 fi
   1944 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1945 if test -n "$ac_ct_CC"; then
   1946   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1947 echo "${ECHO_T}$ac_ct_CC" >&6
   1948 else
   1949   echo "$as_me:$LINENO: result: no" >&5
   1950 echo "${ECHO_T}no" >&6
   1951 fi
   1952 
   1953   CC=$ac_ct_CC
   1954 else
   1955   CC="$ac_cv_prog_CC"
   1956 fi
   1957 
   1958 if test -z "$CC"; then
   1959   if test -n "$ac_tool_prefix"; then
   1960   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1961 set dummy ${ac_tool_prefix}cc; ac_word=$2
   1962 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1963 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1964 if test "${ac_cv_prog_CC+set}" = set; then
   1965   echo $ECHO_N "(cached) $ECHO_C" >&6
   1966 else
   1967   if test -n "$CC"; then
   1968   ac_cv_prog_CC="$CC" # Let the user override the test.
   1969 else
   1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1971 for as_dir in $PATH
   1972 do
   1973   IFS=$as_save_IFS
   1974   test -z "$as_dir" && as_dir=.
   1975   for ac_exec_ext in '' $ac_executable_extensions; do
   1976   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1977     ac_cv_prog_CC="${ac_tool_prefix}cc"
   1978     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1979     break 2
   1980   fi
   1981 done
   1982 done
   1983 
   1984 fi
   1985 fi
   1986 CC=$ac_cv_prog_CC
   1987 if test -n "$CC"; then
   1988   echo "$as_me:$LINENO: result: $CC" >&5
   1989 echo "${ECHO_T}$CC" >&6
   1990 else
   1991   echo "$as_me:$LINENO: result: no" >&5
   1992 echo "${ECHO_T}no" >&6
   1993 fi
   1994 
   1995 fi
   1996 if test -z "$ac_cv_prog_CC"; then
   1997   ac_ct_CC=$CC
   1998   # Extract the first word of "cc", so it can be a program name with args.
   1999 set dummy cc; ac_word=$2
   2000 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2003   echo $ECHO_N "(cached) $ECHO_C" >&6
   2004 else
   2005   if test -n "$ac_ct_CC"; then
   2006   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2007 else
   2008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2009 for as_dir in $PATH
   2010 do
   2011   IFS=$as_save_IFS
   2012   test -z "$as_dir" && as_dir=.
   2013   for ac_exec_ext in '' $ac_executable_extensions; do
   2014   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2015     ac_cv_prog_ac_ct_CC="cc"
   2016     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2017     break 2
   2018   fi
   2019 done
   2020 done
   2021 
   2022 fi
   2023 fi
   2024 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2025 if test -n "$ac_ct_CC"; then
   2026   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2027 echo "${ECHO_T}$ac_ct_CC" >&6
   2028 else
   2029   echo "$as_me:$LINENO: result: no" >&5
   2030 echo "${ECHO_T}no" >&6
   2031 fi
   2032 
   2033   CC=$ac_ct_CC
   2034 else
   2035   CC="$ac_cv_prog_CC"
   2036 fi
   2037 
   2038 fi
   2039 if test -z "$CC"; then
   2040   # Extract the first word of "cc", so it can be a program name with args.
   2041 set dummy cc; ac_word=$2
   2042 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2043 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2044 if test "${ac_cv_prog_CC+set}" = set; then
   2045   echo $ECHO_N "(cached) $ECHO_C" >&6
   2046 else
   2047   if test -n "$CC"; then
   2048   ac_cv_prog_CC="$CC" # Let the user override the test.
   2049 else
   2050   ac_prog_rejected=no
   2051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2052 for as_dir in $PATH
   2053 do
   2054   IFS=$as_save_IFS
   2055   test -z "$as_dir" && as_dir=.
   2056   for ac_exec_ext in '' $ac_executable_extensions; do
   2057   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2058     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2059        ac_prog_rejected=yes
   2060        continue
   2061      fi
   2062     ac_cv_prog_CC="cc"
   2063     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2064     break 2
   2065   fi
   2066 done
   2067 done
   2068 
   2069 if test $ac_prog_rejected = yes; then
   2070   # We found a bogon in the path, so make sure we never use it.
   2071   set dummy $ac_cv_prog_CC
   2072   shift
   2073   if test $# != 0; then
   2074     # We chose a different compiler from the bogus one.
   2075     # However, it has the same basename, so the bogon will be chosen
   2076     # first if we set CC to just the basename; use the full file name.
   2077     shift
   2078     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2079   fi
   2080 fi
   2081 fi
   2082 fi
   2083 CC=$ac_cv_prog_CC
   2084 if test -n "$CC"; then
   2085   echo "$as_me:$LINENO: result: $CC" >&5
   2086 echo "${ECHO_T}$CC" >&6
   2087 else
   2088   echo "$as_me:$LINENO: result: no" >&5
   2089 echo "${ECHO_T}no" >&6
   2090 fi
   2091 
   2092 fi
   2093 if test -z "$CC"; then
   2094   if test -n "$ac_tool_prefix"; then
   2095   for ac_prog in cl
   2096   do
   2097     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2098 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2101 if test "${ac_cv_prog_CC+set}" = set; then
   2102   echo $ECHO_N "(cached) $ECHO_C" >&6
   2103 else
   2104   if test -n "$CC"; then
   2105   ac_cv_prog_CC="$CC" # Let the user override the test.
   2106 else
   2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2108 for as_dir in $PATH
   2109 do
   2110   IFS=$as_save_IFS
   2111   test -z "$as_dir" && as_dir=.
   2112   for ac_exec_ext in '' $ac_executable_extensions; do
   2113   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2114     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2115     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2116     break 2
   2117   fi
   2118 done
   2119 done
   2120 
   2121 fi
   2122 fi
   2123 CC=$ac_cv_prog_CC
   2124 if test -n "$CC"; then
   2125   echo "$as_me:$LINENO: result: $CC" >&5
   2126 echo "${ECHO_T}$CC" >&6
   2127 else
   2128   echo "$as_me:$LINENO: result: no" >&5
   2129 echo "${ECHO_T}no" >&6
   2130 fi
   2131 
   2132     test -n "$CC" && break
   2133   done
   2134 fi
   2135 if test -z "$CC"; then
   2136   ac_ct_CC=$CC
   2137   for ac_prog in cl
   2138 do
   2139   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2140 set dummy $ac_prog; ac_word=$2
   2141 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2143 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2144   echo $ECHO_N "(cached) $ECHO_C" >&6
   2145 else
   2146   if test -n "$ac_ct_CC"; then
   2147   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2148 else
   2149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2150 for as_dir in $PATH
   2151 do
   2152   IFS=$as_save_IFS
   2153   test -z "$as_dir" && as_dir=.
   2154   for ac_exec_ext in '' $ac_executable_extensions; do
   2155   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2156     ac_cv_prog_ac_ct_CC="$ac_prog"
   2157     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2158     break 2
   2159   fi
   2160 done
   2161 done
   2162 
   2163 fi
   2164 fi
   2165 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2166 if test -n "$ac_ct_CC"; then
   2167   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2168 echo "${ECHO_T}$ac_ct_CC" >&6
   2169 else
   2170   echo "$as_me:$LINENO: result: no" >&5
   2171 echo "${ECHO_T}no" >&6
   2172 fi
   2173 
   2174   test -n "$ac_ct_CC" && break
   2175 done
   2176 
   2177   CC=$ac_ct_CC
   2178 fi
   2179 
   2180 fi
   2181 
   2182 
   2183 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2184 See \`config.log' for more details." >&5
   2185 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2186 See \`config.log' for more details." >&2;}
   2187    { (exit 1); exit 1; }; }
   2188 
   2189 # Provide some information about the compiler.
   2190 echo "$as_me:$LINENO:" \
   2191      "checking for C compiler version" >&5
   2192 ac_compiler=`set X $ac_compile; echo $2`
   2193 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   2194   (eval $ac_compiler --version </dev/null >&5) 2>&5
   2195   ac_status=$?
   2196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2197   (exit $ac_status); }
   2198 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   2199   (eval $ac_compiler -v </dev/null >&5) 2>&5
   2200   ac_status=$?
   2201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2202   (exit $ac_status); }
   2203 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   2204   (eval $ac_compiler -V </dev/null >&5) 2>&5
   2205   ac_status=$?
   2206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2207   (exit $ac_status); }
   2208 
   2209 cat >conftest.$ac_ext <<_ACEOF
   2210 /* confdefs.h.  */
   2211 _ACEOF
   2212 cat confdefs.h >>conftest.$ac_ext
   2213 cat >>conftest.$ac_ext <<_ACEOF
   2214 /* end confdefs.h.  */
   2215 
   2216 int
   2217 main ()
   2218 {
   2219 
   2220   ;
   2221   return 0;
   2222 }
   2223 _ACEOF
   2224 ac_clean_files_save=$ac_clean_files
   2225 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2226 # Try to create an executable without -o first, disregard a.out.
   2227 # It will help us diagnose broken compilers, and finding out an intuition
   2228 # of exeext.
   2229 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2230 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   2231 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2232 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   2233   (eval $ac_link_default) 2>&5
   2234   ac_status=$?
   2235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2236   (exit $ac_status); }; then
   2237   # Find the output, starting from the most likely.  This scheme is
   2238 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   2239 # resort.
   2240 
   2241 # Be careful to initialize this variable, since it used to be cached.
   2242 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   2243 ac_cv_exeext=
   2244 # b.out is created by i960 compilers.
   2245 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   2246 do
   2247   test -f "$ac_file" || continue
   2248   case $ac_file in
   2249     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   2250 	;;
   2251     conftest.$ac_ext )
   2252 	# This is the source file.
   2253 	;;
   2254     [ab].out )
   2255 	# We found the default executable, but exeext='' is most
   2256 	# certainly right.
   2257 	break;;
   2258     *.* )
   2259 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2260 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   2261 	# but it would be cool to find out if it's true.  Does anybody
   2262 	# maintain Libtool? --akim.
   2263 	export ac_cv_exeext
   2264 	break;;
   2265     * )
   2266 	break;;
   2267   esac
   2268 done
   2269 else
   2270   echo "$as_me: failed program was:" >&5
   2271 sed 's/^/| /' conftest.$ac_ext >&5
   2272 
   2273 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2274 See \`config.log' for more details." >&5
   2275 echo "$as_me: error: C compiler cannot create executables
   2276 See \`config.log' for more details." >&2;}
   2277    { (exit 77); exit 77; }; }
   2278 fi
   2279 
   2280 ac_exeext=$ac_cv_exeext
   2281 echo "$as_me:$LINENO: result: $ac_file" >&5
   2282 echo "${ECHO_T}$ac_file" >&6
   2283 
   2284 # Check the compiler produces executables we can run.  If not, either
   2285 # the compiler is broken, or we cross compile.
   2286 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2287 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   2288 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2289 # If not cross compiling, check that we can run a simple program.
   2290 if test "$cross_compiling" != yes; then
   2291   if { ac_try='./$ac_file'
   2292   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2293   (eval $ac_try) 2>&5
   2294   ac_status=$?
   2295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2296   (exit $ac_status); }; }; then
   2297     cross_compiling=no
   2298   else
   2299     if test "$cross_compiling" = maybe; then
   2300 	cross_compiling=yes
   2301     else
   2302 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2303 If you meant to cross compile, use \`--host'.
   2304 See \`config.log' for more details." >&5
   2305 echo "$as_me: error: cannot run C compiled programs.
   2306 If you meant to cross compile, use \`--host'.
   2307 See \`config.log' for more details." >&2;}
   2308    { (exit 1); exit 1; }; }
   2309     fi
   2310   fi
   2311 fi
   2312 echo "$as_me:$LINENO: result: yes" >&5
   2313 echo "${ECHO_T}yes" >&6
   2314 
   2315 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2316 ac_clean_files=$ac_clean_files_save
   2317 # Check the compiler produces executables we can run.  If not, either
   2318 # the compiler is broken, or we cross compile.
   2319 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2320 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   2321 echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2322 echo "${ECHO_T}$cross_compiling" >&6
   2323 
   2324 echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2325 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   2326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2327   (eval $ac_link) 2>&5
   2328   ac_status=$?
   2329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2330   (exit $ac_status); }; then
   2331   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2332 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2333 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2334 # `rm'.
   2335 for ac_file in conftest.exe conftest conftest.*; do
   2336   test -f "$ac_file" || continue
   2337   case $ac_file in
   2338     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   2339     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2340 	  export ac_cv_exeext
   2341 	  break;;
   2342     * ) break;;
   2343   esac
   2344 done
   2345 else
   2346   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2347 See \`config.log' for more details." >&5
   2348 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2349 See \`config.log' for more details." >&2;}
   2350    { (exit 1); exit 1; }; }
   2351 fi
   2352 
   2353 rm -f conftest$ac_cv_exeext
   2354 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2355 echo "${ECHO_T}$ac_cv_exeext" >&6
   2356 
   2357 rm -f conftest.$ac_ext
   2358 EXEEXT=$ac_cv_exeext
   2359 ac_exeext=$EXEEXT
   2360 echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2361 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   2362 if test "${ac_cv_objext+set}" = set; then
   2363   echo $ECHO_N "(cached) $ECHO_C" >&6
   2364 else
   2365   cat >conftest.$ac_ext <<_ACEOF
   2366 /* confdefs.h.  */
   2367 _ACEOF
   2368 cat confdefs.h >>conftest.$ac_ext
   2369 cat >>conftest.$ac_ext <<_ACEOF
   2370 /* end confdefs.h.  */
   2371 
   2372 int
   2373 main ()
   2374 {
   2375 
   2376   ;
   2377   return 0;
   2378 }
   2379 _ACEOF
   2380 rm -f conftest.o conftest.obj
   2381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2382   (eval $ac_compile) 2>&5
   2383   ac_status=$?
   2384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2385   (exit $ac_status); }; then
   2386   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   2387   case $ac_file in
   2388     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   2389     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2390        break;;
   2391   esac
   2392 done
   2393 else
   2394   echo "$as_me: failed program was:" >&5
   2395 sed 's/^/| /' conftest.$ac_ext >&5
   2396 
   2397 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2398 See \`config.log' for more details." >&5
   2399 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2400 See \`config.log' for more details." >&2;}
   2401    { (exit 1); exit 1; }; }
   2402 fi
   2403 
   2404 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2405 fi
   2406 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2407 echo "${ECHO_T}$ac_cv_objext" >&6
   2408 OBJEXT=$ac_cv_objext
   2409 ac_objext=$OBJEXT
   2410 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2411 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   2412 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2413   echo $ECHO_N "(cached) $ECHO_C" >&6
   2414 else
   2415   cat >conftest.$ac_ext <<_ACEOF
   2416 /* confdefs.h.  */
   2417 _ACEOF
   2418 cat confdefs.h >>conftest.$ac_ext
   2419 cat >>conftest.$ac_ext <<_ACEOF
   2420 /* end confdefs.h.  */
   2421 
   2422 int
   2423 main ()
   2424 {
   2425 #ifndef __GNUC__
   2426        choke me
   2427 #endif
   2428 
   2429   ;
   2430   return 0;
   2431 }
   2432 _ACEOF
   2433 rm -f conftest.$ac_objext
   2434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2435   (eval $ac_compile) 2>conftest.er1
   2436   ac_status=$?
   2437   grep -v '^ *+' conftest.er1 >conftest.err
   2438   rm -f conftest.er1
   2439   cat conftest.err >&5
   2440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2441   (exit $ac_status); } &&
   2442 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2444   (eval $ac_try) 2>&5
   2445   ac_status=$?
   2446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2447   (exit $ac_status); }; } &&
   2448 	 { ac_try='test -s conftest.$ac_objext'
   2449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2450   (eval $ac_try) 2>&5
   2451   ac_status=$?
   2452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2453   (exit $ac_status); }; }; then
   2454   ac_compiler_gnu=yes
   2455 else
   2456   echo "$as_me: failed program was:" >&5
   2457 sed 's/^/| /' conftest.$ac_ext >&5
   2458 
   2459 ac_compiler_gnu=no
   2460 fi
   2461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2462 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2463 
   2464 fi
   2465 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2466 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   2467 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2468 ac_test_CFLAGS=${CFLAGS+set}
   2469 ac_save_CFLAGS=$CFLAGS
   2470 CFLAGS="-g"
   2471 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2472 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   2473 if test "${ac_cv_prog_cc_g+set}" = set; then
   2474   echo $ECHO_N "(cached) $ECHO_C" >&6
   2475 else
   2476   cat >conftest.$ac_ext <<_ACEOF
   2477 /* confdefs.h.  */
   2478 _ACEOF
   2479 cat confdefs.h >>conftest.$ac_ext
   2480 cat >>conftest.$ac_ext <<_ACEOF
   2481 /* end confdefs.h.  */
   2482 
   2483 int
   2484 main ()
   2485 {
   2486 
   2487   ;
   2488   return 0;
   2489 }
   2490 _ACEOF
   2491 rm -f conftest.$ac_objext
   2492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2493   (eval $ac_compile) 2>conftest.er1
   2494   ac_status=$?
   2495   grep -v '^ *+' conftest.er1 >conftest.err
   2496   rm -f conftest.er1
   2497   cat conftest.err >&5
   2498   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2499   (exit $ac_status); } &&
   2500 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2501   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2502   (eval $ac_try) 2>&5
   2503   ac_status=$?
   2504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2505   (exit $ac_status); }; } &&
   2506 	 { ac_try='test -s conftest.$ac_objext'
   2507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2508   (eval $ac_try) 2>&5
   2509   ac_status=$?
   2510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2511   (exit $ac_status); }; }; then
   2512   ac_cv_prog_cc_g=yes
   2513 else
   2514   echo "$as_me: failed program was:" >&5
   2515 sed 's/^/| /' conftest.$ac_ext >&5
   2516 
   2517 ac_cv_prog_cc_g=no
   2518 fi
   2519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2520 fi
   2521 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2522 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   2523 if test "$ac_test_CFLAGS" = set; then
   2524   CFLAGS=$ac_save_CFLAGS
   2525 elif test $ac_cv_prog_cc_g = yes; then
   2526   if test "$GCC" = yes; then
   2527     CFLAGS="-g -O2"
   2528   else
   2529     CFLAGS="-g"
   2530   fi
   2531 else
   2532   if test "$GCC" = yes; then
   2533     CFLAGS="-O2"
   2534   else
   2535     CFLAGS=
   2536   fi
   2537 fi
   2538 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   2539 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   2540 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   2541   echo $ECHO_N "(cached) $ECHO_C" >&6
   2542 else
   2543   ac_cv_prog_cc_stdc=no
   2544 ac_save_CC=$CC
   2545 cat >conftest.$ac_ext <<_ACEOF
   2546 /* confdefs.h.  */
   2547 _ACEOF
   2548 cat confdefs.h >>conftest.$ac_ext
   2549 cat >>conftest.$ac_ext <<_ACEOF
   2550 /* end confdefs.h.  */
   2551 #include <stdarg.h>
   2552 #include <stdio.h>
   2553 #include <sys/types.h>
   2554 #include <sys/stat.h>
   2555 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2556 struct buf { int x; };
   2557 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2558 static char *e (p, i)
   2559      char **p;
   2560      int i;
   2561 {
   2562   return p[i];
   2563 }
   2564 static char *f (char * (*g) (char **, int), char **p, ...)
   2565 {
   2566   char *s;
   2567   va_list v;
   2568   va_start (v,p);
   2569   s = g (p, va_arg (v,int));
   2570   va_end (v);
   2571   return s;
   2572 }
   2573 
   2574 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2575    function prototypes and stuff, but not '\xHH' hex character constants.
   2576    These don't provoke an error unfortunately, instead are silently treated
   2577    as 'x'.  The following induces an error, until -std1 is added to get
   2578    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2579    array size at least.  It's necessary to write '\x00'==0 to get something
   2580    that's true only with -std1.  */
   2581 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2582 
   2583 int test (int i, double x);
   2584 struct s1 {int (*f) (int a);};
   2585 struct s2 {int (*f) (double a);};
   2586 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2587 int argc;
   2588 char **argv;
   2589 int
   2590 main ()
   2591 {
   2592 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2593   ;
   2594   return 0;
   2595 }
   2596 _ACEOF
   2597 # Don't try gcc -ansi; that turns off useful extensions and
   2598 # breaks some systems' header files.
   2599 # AIX			-qlanglvl=ansi
   2600 # Ultrix and OSF/1	-std1
   2601 # HP-UX 10.20 and later	-Ae
   2602 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2603 # SVR4			-Xc -D__EXTENSIONS__
   2604 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2605 do
   2606   CC="$ac_save_CC $ac_arg"
   2607   rm -f conftest.$ac_objext
   2608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2609   (eval $ac_compile) 2>conftest.er1
   2610   ac_status=$?
   2611   grep -v '^ *+' conftest.er1 >conftest.err
   2612   rm -f conftest.er1
   2613   cat conftest.err >&5
   2614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2615   (exit $ac_status); } &&
   2616 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2617   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2618   (eval $ac_try) 2>&5
   2619   ac_status=$?
   2620   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2621   (exit $ac_status); }; } &&
   2622 	 { ac_try='test -s conftest.$ac_objext'
   2623   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2624   (eval $ac_try) 2>&5
   2625   ac_status=$?
   2626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2627   (exit $ac_status); }; }; then
   2628   ac_cv_prog_cc_stdc=$ac_arg
   2629 break
   2630 else
   2631   echo "$as_me: failed program was:" >&5
   2632 sed 's/^/| /' conftest.$ac_ext >&5
   2633 
   2634 fi
   2635 rm -f conftest.err conftest.$ac_objext
   2636 done
   2637 rm -f conftest.$ac_ext conftest.$ac_objext
   2638 CC=$ac_save_CC
   2639 
   2640 fi
   2641 
   2642 case "x$ac_cv_prog_cc_stdc" in
   2643   x|xno)
   2644     echo "$as_me:$LINENO: result: none needed" >&5
   2645 echo "${ECHO_T}none needed" >&6 ;;
   2646   *)
   2647     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2648 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2649     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2650 esac
   2651 
   2652 # Some people use a C++ compiler to compile C.  Since we use `exit',
   2653 # in C++ we need to declare it.  In case someone uses the same compiler
   2654 # for both compiling C and C++ we need to have the C++ compiler decide
   2655 # the declaration of exit, since it's the most demanding environment.
   2656 cat >conftest.$ac_ext <<_ACEOF
   2657 #ifndef __cplusplus
   2658   choke me
   2659 #endif
   2660 _ACEOF
   2661 rm -f conftest.$ac_objext
   2662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2663   (eval $ac_compile) 2>conftest.er1
   2664   ac_status=$?
   2665   grep -v '^ *+' conftest.er1 >conftest.err
   2666   rm -f conftest.er1
   2667   cat conftest.err >&5
   2668   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2669   (exit $ac_status); } &&
   2670 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2671   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2672   (eval $ac_try) 2>&5
   2673   ac_status=$?
   2674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2675   (exit $ac_status); }; } &&
   2676 	 { ac_try='test -s conftest.$ac_objext'
   2677   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2678   (eval $ac_try) 2>&5
   2679   ac_status=$?
   2680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2681   (exit $ac_status); }; }; then
   2682   for ac_declaration in \
   2683    '' \
   2684    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2685    'extern "C" void std::exit (int); using std::exit;' \
   2686    'extern "C" void exit (int) throw ();' \
   2687    'extern "C" void exit (int);' \
   2688    'void exit (int);'
   2689 do
   2690   cat >conftest.$ac_ext <<_ACEOF
   2691 /* confdefs.h.  */
   2692 _ACEOF
   2693 cat confdefs.h >>conftest.$ac_ext
   2694 cat >>conftest.$ac_ext <<_ACEOF
   2695 /* end confdefs.h.  */
   2696 $ac_declaration
   2697 #include <stdlib.h>
   2698 int
   2699 main ()
   2700 {
   2701 exit (42);
   2702   ;
   2703   return 0;
   2704 }
   2705 _ACEOF
   2706 rm -f conftest.$ac_objext
   2707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2708   (eval $ac_compile) 2>conftest.er1
   2709   ac_status=$?
   2710   grep -v '^ *+' conftest.er1 >conftest.err
   2711   rm -f conftest.er1
   2712   cat conftest.err >&5
   2713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2714   (exit $ac_status); } &&
   2715 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2717   (eval $ac_try) 2>&5
   2718   ac_status=$?
   2719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2720   (exit $ac_status); }; } &&
   2721 	 { ac_try='test -s conftest.$ac_objext'
   2722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2723   (eval $ac_try) 2>&5
   2724   ac_status=$?
   2725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2726   (exit $ac_status); }; }; then
   2727   :
   2728 else
   2729   echo "$as_me: failed program was:" >&5
   2730 sed 's/^/| /' conftest.$ac_ext >&5
   2731 
   2732 continue
   2733 fi
   2734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2735   cat >conftest.$ac_ext <<_ACEOF
   2736 /* confdefs.h.  */
   2737 _ACEOF
   2738 cat confdefs.h >>conftest.$ac_ext
   2739 cat >>conftest.$ac_ext <<_ACEOF
   2740 /* end confdefs.h.  */
   2741 $ac_declaration
   2742 int
   2743 main ()
   2744 {
   2745 exit (42);
   2746   ;
   2747   return 0;
   2748 }
   2749 _ACEOF
   2750 rm -f conftest.$ac_objext
   2751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2752   (eval $ac_compile) 2>conftest.er1
   2753   ac_status=$?
   2754   grep -v '^ *+' conftest.er1 >conftest.err
   2755   rm -f conftest.er1
   2756   cat conftest.err >&5
   2757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2758   (exit $ac_status); } &&
   2759 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   2760   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2761   (eval $ac_try) 2>&5
   2762   ac_status=$?
   2763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2764   (exit $ac_status); }; } &&
   2765 	 { ac_try='test -s conftest.$ac_objext'
   2766   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2767   (eval $ac_try) 2>&5
   2768   ac_status=$?
   2769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2770   (exit $ac_status); }; }; then
   2771   break
   2772 else
   2773   echo "$as_me: failed program was:" >&5
   2774 sed 's/^/| /' conftest.$ac_ext >&5
   2775 
   2776 fi
   2777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2778 done
   2779 rm -f conftest*
   2780 if test -n "$ac_declaration"; then
   2781   echo '#ifdef __cplusplus' >>confdefs.h
   2782   echo $ac_declaration      >>confdefs.h
   2783   echo '#endif'             >>confdefs.h
   2784 fi
   2785 
   2786 else
   2787   echo "$as_me: failed program was:" >&5
   2788 sed 's/^/| /' conftest.$ac_ext >&5
   2789 
   2790 fi
   2791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2792 ac_ext=c
   2793 ac_cpp='$CPP $CPPFLAGS'
   2794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2797 
   2798 depcc="$CC"   am_compiler_list=
   2799 
   2800 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   2801 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   2802 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   2803   echo $ECHO_N "(cached) $ECHO_C" >&6
   2804 else
   2805   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   2806   # We make a subdir and do the tests there.  Otherwise we can end up
   2807   # making bogus files that we don't know about and never remove.  For
   2808   # instance it was reported that on HP-UX the gcc test will end up
   2809   # making a dummy file named `D' -- because `-MD' means `put the output
   2810   # in D'.
   2811   mkdir conftest.dir
   2812   # Copy depcomp to subdir because otherwise we won't find it if we're
   2813   # using a relative directory.
   2814   cp "$am_depcomp" conftest.dir
   2815   cd conftest.dir
   2816   # We will build objects and dependencies in a subdirectory because
   2817   # it helps to detect inapplicable dependency modes.  For instance
   2818   # both Tru64's cc and ICC support -MD to output dependencies as a
   2819   # side effect of compilation, but ICC will put the dependencies in
   2820   # the current directory while Tru64 will put them in the object
   2821   # directory.
   2822   mkdir sub
   2823 
   2824   am_cv_CC_dependencies_compiler_type=none
   2825   if test "$am_compiler_list" = ""; then
   2826      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   2827   fi
   2828   for depmode in $am_compiler_list; do
   2829     # Setup a source with many dependencies, because some compilers
   2830     # like to wrap large dependency lists on column 80 (with \), and
   2831     # we should not choose a depcomp mode which is confused by this.
   2832     #
   2833     # We need to recreate these files for each test, as the compiler may
   2834     # overwrite some of them when testing with obscure command lines.
   2835     # This happens at least with the AIX C compiler.
   2836     : > sub/conftest.c
   2837     for i in 1 2 3 4 5 6; do
   2838       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   2839       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   2840       # Solaris 8's {/usr,}/bin/sh.
   2841       touch sub/conftst$i.h
   2842     done
   2843     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   2844 
   2845     case $depmode in
   2846     nosideeffect)
   2847       # after this tag, mechanisms are not by side-effect, so they'll
   2848       # only be used when explicitly requested
   2849       if test "x$enable_dependency_tracking" = xyes; then
   2850 	continue
   2851       else
   2852 	break
   2853       fi
   2854       ;;
   2855     none) break ;;
   2856     esac
   2857     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   2858     # mode.  It turns out that the SunPro C++ compiler does not properly
   2859     # handle `-M -o', and we need to detect this.
   2860     if depmode=$depmode \
   2861        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   2862        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   2863        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   2864          >/dev/null 2>conftest.err &&
   2865        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   2866        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   2867        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   2868       # icc doesn't choke on unknown options, it will just issue warnings
   2869       # or remarks (even with -Werror).  So we grep stderr for any message
   2870       # that says an option was ignored or not supported.
   2871       # When given -MP, icc 7.0 and 7.1 complain thusly:
   2872       #   icc: Command line warning: ignoring option '-M'; no argument required
   2873       # The diagnosis changed in icc 8.0:
   2874       #   icc: Command line remark: option '-MP' not supported
   2875       if (grep 'ignoring option' conftest.err ||
   2876           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   2877         am_cv_CC_dependencies_compiler_type=$depmode
   2878         break
   2879       fi
   2880     fi
   2881   done
   2882 
   2883   cd ..
   2884   rm -rf conftest.dir
   2885 else
   2886   am_cv_CC_dependencies_compiler_type=none
   2887 fi
   2888 
   2889 fi
   2890 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   2891 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   2892 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   2893 
   2894 
   2895 
   2896 if
   2897   test "x$enable_dependency_tracking" != xno \
   2898   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   2899   am__fastdepCC_TRUE=
   2900   am__fastdepCC_FALSE='#'
   2901 else
   2902   am__fastdepCC_TRUE='#'
   2903   am__fastdepCC_FALSE=
   2904 fi
   2905 
   2906 
   2907 
   2908 ac_ext=c
   2909 ac_cpp='$CPP $CPPFLAGS'
   2910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2913 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   2914 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   2915 # On Suns, sometimes $CPP names a directory.
   2916 if test -n "$CPP" && test -d "$CPP"; then
   2917   CPP=
   2918 fi
   2919 if test -z "$CPP"; then
   2920   if test "${ac_cv_prog_CPP+set}" = set; then
   2921   echo $ECHO_N "(cached) $ECHO_C" >&6
   2922 else
   2923       # Double quotes because CPP needs to be expanded
   2924     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   2925     do
   2926       ac_preproc_ok=false
   2927 for ac_c_preproc_warn_flag in '' yes
   2928 do
   2929   # Use a header file that comes with gcc, so configuring glibc
   2930   # with a fresh cross-compiler works.
   2931   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2932   # <limits.h> exists even on freestanding compilers.
   2933   # On the NeXT, cc -E runs the code through the compiler's parser,
   2934   # not just through cpp. "Syntax error" is here to catch this case.
   2935   cat >conftest.$ac_ext <<_ACEOF
   2936 /* confdefs.h.  */
   2937 _ACEOF
   2938 cat confdefs.h >>conftest.$ac_ext
   2939 cat >>conftest.$ac_ext <<_ACEOF
   2940 /* end confdefs.h.  */
   2941 #ifdef __STDC__
   2942 # include <limits.h>
   2943 #else
   2944 # include <assert.h>
   2945 #endif
   2946 		     Syntax error
   2947 _ACEOF
   2948 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2949   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2950   ac_status=$?
   2951   grep -v '^ *+' conftest.er1 >conftest.err
   2952   rm -f conftest.er1
   2953   cat conftest.err >&5
   2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2955   (exit $ac_status); } >/dev/null; then
   2956   if test -s conftest.err; then
   2957     ac_cpp_err=$ac_c_preproc_warn_flag
   2958     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   2959   else
   2960     ac_cpp_err=
   2961   fi
   2962 else
   2963   ac_cpp_err=yes
   2964 fi
   2965 if test -z "$ac_cpp_err"; then
   2966   :
   2967 else
   2968   echo "$as_me: failed program was:" >&5
   2969 sed 's/^/| /' conftest.$ac_ext >&5
   2970 
   2971   # Broken: fails on valid input.
   2972 continue
   2973 fi
   2974 rm -f conftest.err conftest.$ac_ext
   2975 
   2976   # OK, works on sane cases.  Now check whether non-existent headers
   2977   # can be detected and how.
   2978   cat >conftest.$ac_ext <<_ACEOF
   2979 /* confdefs.h.  */
   2980 _ACEOF
   2981 cat confdefs.h >>conftest.$ac_ext
   2982 cat >>conftest.$ac_ext <<_ACEOF
   2983 /* end confdefs.h.  */
   2984 #include <ac_nonexistent.h>
   2985 _ACEOF
   2986 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2987   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2988   ac_status=$?
   2989   grep -v '^ *+' conftest.er1 >conftest.err
   2990   rm -f conftest.er1
   2991   cat conftest.err >&5
   2992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2993   (exit $ac_status); } >/dev/null; then
   2994   if test -s conftest.err; then
   2995     ac_cpp_err=$ac_c_preproc_warn_flag
   2996     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   2997   else
   2998     ac_cpp_err=
   2999   fi
   3000 else
   3001   ac_cpp_err=yes
   3002 fi
   3003 if test -z "$ac_cpp_err"; then
   3004   # Broken: success on invalid input.
   3005 continue
   3006 else
   3007   echo "$as_me: failed program was:" >&5
   3008 sed 's/^/| /' conftest.$ac_ext >&5
   3009 
   3010   # Passes both tests.
   3011 ac_preproc_ok=:
   3012 break
   3013 fi
   3014 rm -f conftest.err conftest.$ac_ext
   3015 
   3016 done
   3017 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3018 rm -f conftest.err conftest.$ac_ext
   3019 if $ac_preproc_ok; then
   3020   break
   3021 fi
   3022 
   3023     done
   3024     ac_cv_prog_CPP=$CPP
   3025 
   3026 fi
   3027   CPP=$ac_cv_prog_CPP
   3028 else
   3029   ac_cv_prog_CPP=$CPP
   3030 fi
   3031 echo "$as_me:$LINENO: result: $CPP" >&5
   3032 echo "${ECHO_T}$CPP" >&6
   3033 ac_preproc_ok=false
   3034 for ac_c_preproc_warn_flag in '' yes
   3035 do
   3036   # Use a header file that comes with gcc, so configuring glibc
   3037   # with a fresh cross-compiler works.
   3038   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3039   # <limits.h> exists even on freestanding compilers.
   3040   # On the NeXT, cc -E runs the code through the compiler's parser,
   3041   # not just through cpp. "Syntax error" is here to catch this case.
   3042   cat >conftest.$ac_ext <<_ACEOF
   3043 /* confdefs.h.  */
   3044 _ACEOF
   3045 cat confdefs.h >>conftest.$ac_ext
   3046 cat >>conftest.$ac_ext <<_ACEOF
   3047 /* end confdefs.h.  */
   3048 #ifdef __STDC__
   3049 # include <limits.h>
   3050 #else
   3051 # include <assert.h>
   3052 #endif
   3053 		     Syntax error
   3054 _ACEOF
   3055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3056   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3057   ac_status=$?
   3058   grep -v '^ *+' conftest.er1 >conftest.err
   3059   rm -f conftest.er1
   3060   cat conftest.err >&5
   3061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3062   (exit $ac_status); } >/dev/null; then
   3063   if test -s conftest.err; then
   3064     ac_cpp_err=$ac_c_preproc_warn_flag
   3065     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3066   else
   3067     ac_cpp_err=
   3068   fi
   3069 else
   3070   ac_cpp_err=yes
   3071 fi
   3072 if test -z "$ac_cpp_err"; then
   3073   :
   3074 else
   3075   echo "$as_me: failed program was:" >&5
   3076 sed 's/^/| /' conftest.$ac_ext >&5
   3077 
   3078   # Broken: fails on valid input.
   3079 continue
   3080 fi
   3081 rm -f conftest.err conftest.$ac_ext
   3082 
   3083   # OK, works on sane cases.  Now check whether non-existent headers
   3084   # can be detected and how.
   3085   cat >conftest.$ac_ext <<_ACEOF
   3086 /* confdefs.h.  */
   3087 _ACEOF
   3088 cat confdefs.h >>conftest.$ac_ext
   3089 cat >>conftest.$ac_ext <<_ACEOF
   3090 /* end confdefs.h.  */
   3091 #include <ac_nonexistent.h>
   3092 _ACEOF
   3093 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3094   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3095   ac_status=$?
   3096   grep -v '^ *+' conftest.er1 >conftest.err
   3097   rm -f conftest.er1
   3098   cat conftest.err >&5
   3099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3100   (exit $ac_status); } >/dev/null; then
   3101   if test -s conftest.err; then
   3102     ac_cpp_err=$ac_c_preproc_warn_flag
   3103     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3104   else
   3105     ac_cpp_err=
   3106   fi
   3107 else
   3108   ac_cpp_err=yes
   3109 fi
   3110 if test -z "$ac_cpp_err"; then
   3111   # Broken: success on invalid input.
   3112 continue
   3113 else
   3114   echo "$as_me: failed program was:" >&5
   3115 sed 's/^/| /' conftest.$ac_ext >&5
   3116 
   3117   # Passes both tests.
   3118 ac_preproc_ok=:
   3119 break
   3120 fi
   3121 rm -f conftest.err conftest.$ac_ext
   3122 
   3123 done
   3124 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3125 rm -f conftest.err conftest.$ac_ext
   3126 if $ac_preproc_ok; then
   3127   :
   3128 else
   3129   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3130 See \`config.log' for more details." >&5
   3131 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3132 See \`config.log' for more details." >&2;}
   3133    { (exit 1); exit 1; }; }
   3134 fi
   3135 
   3136 ac_ext=c
   3137 ac_cpp='$CPP $CPPFLAGS'
   3138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3141 
   3142 
   3143 echo "$as_me:$LINENO: checking for egrep" >&5
   3144 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   3145 if test "${ac_cv_prog_egrep+set}" = set; then
   3146   echo $ECHO_N "(cached) $ECHO_C" >&6
   3147 else
   3148   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   3149     then ac_cv_prog_egrep='grep -E'
   3150     else ac_cv_prog_egrep='egrep'
   3151     fi
   3152 fi
   3153 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   3154 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   3155  EGREP=$ac_cv_prog_egrep
   3156 
   3157 
   3158 
   3159 echo "$as_me:$LINENO: checking for AIX" >&5
   3160 echo $ECHO_N "checking for AIX... $ECHO_C" >&6
   3161 cat >conftest.$ac_ext <<_ACEOF
   3162 /* confdefs.h.  */
   3163 _ACEOF
   3164 cat confdefs.h >>conftest.$ac_ext
   3165 cat >>conftest.$ac_ext <<_ACEOF
   3166 /* end confdefs.h.  */
   3167 #ifdef _AIX
   3168   yes
   3169 #endif
   3170 
   3171 _ACEOF
   3172 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3173   $EGREP "yes" >/dev/null 2>&1; then
   3174   echo "$as_me:$LINENO: result: yes" >&5
   3175 echo "${ECHO_T}yes" >&6
   3176 cat >>confdefs.h <<\_ACEOF
   3177 #define _ALL_SOURCE 1
   3178 _ACEOF
   3179 
   3180 else
   3181   echo "$as_me:$LINENO: result: no" >&5
   3182 echo "${ECHO_T}no" >&6
   3183 fi
   3184 rm -f conftest*
   3185 
   3186 
   3187 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   3188 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   3189 if test "${ac_cv_header_stdc+set}" = set; then
   3190   echo $ECHO_N "(cached) $ECHO_C" >&6
   3191 else
   3192   cat >conftest.$ac_ext <<_ACEOF
   3193 /* confdefs.h.  */
   3194 _ACEOF
   3195 cat confdefs.h >>conftest.$ac_ext
   3196 cat >>conftest.$ac_ext <<_ACEOF
   3197 /* end confdefs.h.  */
   3198 #include <stdlib.h>
   3199 #include <stdarg.h>
   3200 #include <string.h>
   3201 #include <float.h>
   3202 
   3203 int
   3204 main ()
   3205 {
   3206 
   3207   ;
   3208   return 0;
   3209 }
   3210 _ACEOF
   3211 rm -f conftest.$ac_objext
   3212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3213   (eval $ac_compile) 2>conftest.er1
   3214   ac_status=$?
   3215   grep -v '^ *+' conftest.er1 >conftest.err
   3216   rm -f conftest.er1
   3217   cat conftest.err >&5
   3218   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3219   (exit $ac_status); } &&
   3220 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3221   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3222   (eval $ac_try) 2>&5
   3223   ac_status=$?
   3224   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3225   (exit $ac_status); }; } &&
   3226 	 { ac_try='test -s conftest.$ac_objext'
   3227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3228   (eval $ac_try) 2>&5
   3229   ac_status=$?
   3230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3231   (exit $ac_status); }; }; then
   3232   ac_cv_header_stdc=yes
   3233 else
   3234   echo "$as_me: failed program was:" >&5
   3235 sed 's/^/| /' conftest.$ac_ext >&5
   3236 
   3237 ac_cv_header_stdc=no
   3238 fi
   3239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3240 
   3241 if test $ac_cv_header_stdc = yes; then
   3242   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3243   cat >conftest.$ac_ext <<_ACEOF
   3244 /* confdefs.h.  */
   3245 _ACEOF
   3246 cat confdefs.h >>conftest.$ac_ext
   3247 cat >>conftest.$ac_ext <<_ACEOF
   3248 /* end confdefs.h.  */
   3249 #include <string.h>
   3250 
   3251 _ACEOF
   3252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3253   $EGREP "memchr" >/dev/null 2>&1; then
   3254   :
   3255 else
   3256   ac_cv_header_stdc=no
   3257 fi
   3258 rm -f conftest*
   3259 
   3260 fi
   3261 
   3262 if test $ac_cv_header_stdc = yes; then
   3263   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3264   cat >conftest.$ac_ext <<_ACEOF
   3265 /* confdefs.h.  */
   3266 _ACEOF
   3267 cat confdefs.h >>conftest.$ac_ext
   3268 cat >>conftest.$ac_ext <<_ACEOF
   3269 /* end confdefs.h.  */
   3270 #include <stdlib.h>
   3271 
   3272 _ACEOF
   3273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3274   $EGREP "free" >/dev/null 2>&1; then
   3275   :
   3276 else
   3277   ac_cv_header_stdc=no
   3278 fi
   3279 rm -f conftest*
   3280 
   3281 fi
   3282 
   3283 if test $ac_cv_header_stdc = yes; then
   3284   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3285   if test "$cross_compiling" = yes; then
   3286   :
   3287 else
   3288   cat >conftest.$ac_ext <<_ACEOF
   3289 /* confdefs.h.  */
   3290 _ACEOF
   3291 cat confdefs.h >>conftest.$ac_ext
   3292 cat >>conftest.$ac_ext <<_ACEOF
   3293 /* end confdefs.h.  */
   3294 #include <ctype.h>
   3295 #if ((' ' & 0x0FF) == 0x020)
   3296 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3297 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3298 #else
   3299 # define ISLOWER(c) \
   3300 		   (('a' <= (c) && (c) <= 'i') \
   3301 		     || ('j' <= (c) && (c) <= 'r') \
   3302 		     || ('s' <= (c) && (c) <= 'z'))
   3303 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3304 #endif
   3305 
   3306 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3307 int
   3308 main ()
   3309 {
   3310   int i;
   3311   for (i = 0; i < 256; i++)
   3312     if (XOR (islower (i), ISLOWER (i))
   3313 	|| toupper (i) != TOUPPER (i))
   3314       exit(2);
   3315   exit (0);
   3316 }
   3317 _ACEOF
   3318 rm -f conftest$ac_exeext
   3319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3320   (eval $ac_link) 2>&5
   3321   ac_status=$?
   3322   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3323   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   3324   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3325   (eval $ac_try) 2>&5
   3326   ac_status=$?
   3327   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3328   (exit $ac_status); }; }; then
   3329   :
   3330 else
   3331   echo "$as_me: program exited with status $ac_status" >&5
   3332 echo "$as_me: failed program was:" >&5
   3333 sed 's/^/| /' conftest.$ac_ext >&5
   3334 
   3335 ( exit $ac_status )
   3336 ac_cv_header_stdc=no
   3337 fi
   3338 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   3339 fi
   3340 fi
   3341 fi
   3342 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   3343 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   3344 if test $ac_cv_header_stdc = yes; then
   3345 
   3346 cat >>confdefs.h <<\_ACEOF
   3347 #define STDC_HEADERS 1
   3348 _ACEOF
   3349 
   3350 fi
   3351 
   3352 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3353 
   3354 
   3355 
   3356 
   3357 
   3358 
   3359 
   3360 
   3361 
   3362 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3363 		  inttypes.h stdint.h unistd.h
   3364 do
   3365 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3366 echo "$as_me:$LINENO: checking for $ac_header" >&5
   3367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3369   echo $ECHO_N "(cached) $ECHO_C" >&6
   3370 else
   3371   cat >conftest.$ac_ext <<_ACEOF
   3372 /* confdefs.h.  */
   3373 _ACEOF
   3374 cat confdefs.h >>conftest.$ac_ext
   3375 cat >>conftest.$ac_ext <<_ACEOF
   3376 /* end confdefs.h.  */
   3377 $ac_includes_default
   3378 
   3379 #include <$ac_header>
   3380 _ACEOF
   3381 rm -f conftest.$ac_objext
   3382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3383   (eval $ac_compile) 2>conftest.er1
   3384   ac_status=$?
   3385   grep -v '^ *+' conftest.er1 >conftest.err
   3386   rm -f conftest.er1
   3387   cat conftest.err >&5
   3388   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3389   (exit $ac_status); } &&
   3390 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3391   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3392   (eval $ac_try) 2>&5
   3393   ac_status=$?
   3394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3395   (exit $ac_status); }; } &&
   3396 	 { ac_try='test -s conftest.$ac_objext'
   3397   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3398   (eval $ac_try) 2>&5
   3399   ac_status=$?
   3400   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3401   (exit $ac_status); }; }; then
   3402   eval "$as_ac_Header=yes"
   3403 else
   3404   echo "$as_me: failed program was:" >&5
   3405 sed 's/^/| /' conftest.$ac_ext >&5
   3406 
   3407 eval "$as_ac_Header=no"
   3408 fi
   3409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3410 fi
   3411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3413 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3414   cat >>confdefs.h <<_ACEOF
   3415 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3416 _ACEOF
   3417 
   3418 fi
   3419 
   3420 done
   3421 
   3422 
   3423 if test "${ac_cv_header_minix_config_h+set}" = set; then
   3424   echo "$as_me:$LINENO: checking for minix/config.h" >&5
   3425 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
   3426 if test "${ac_cv_header_minix_config_h+set}" = set; then
   3427   echo $ECHO_N "(cached) $ECHO_C" >&6
   3428 fi
   3429 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
   3430 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
   3431 else
   3432   # Is the header compilable?
   3433 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
   3434 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
   3435 cat >conftest.$ac_ext <<_ACEOF
   3436 /* confdefs.h.  */
   3437 _ACEOF
   3438 cat confdefs.h >>conftest.$ac_ext
   3439 cat >>conftest.$ac_ext <<_ACEOF
   3440 /* end confdefs.h.  */
   3441 $ac_includes_default
   3442 #include <minix/config.h>
   3443 _ACEOF
   3444 rm -f conftest.$ac_objext
   3445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3446   (eval $ac_compile) 2>conftest.er1
   3447   ac_status=$?
   3448   grep -v '^ *+' conftest.er1 >conftest.err
   3449   rm -f conftest.er1
   3450   cat conftest.err >&5
   3451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3452   (exit $ac_status); } &&
   3453 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3454   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3455   (eval $ac_try) 2>&5
   3456   ac_status=$?
   3457   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3458   (exit $ac_status); }; } &&
   3459 	 { ac_try='test -s conftest.$ac_objext'
   3460   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3461   (eval $ac_try) 2>&5
   3462   ac_status=$?
   3463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3464   (exit $ac_status); }; }; then
   3465   ac_header_compiler=yes
   3466 else
   3467   echo "$as_me: failed program was:" >&5
   3468 sed 's/^/| /' conftest.$ac_ext >&5
   3469 
   3470 ac_header_compiler=no
   3471 fi
   3472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3473 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3474 echo "${ECHO_T}$ac_header_compiler" >&6
   3475 
   3476 # Is the header present?
   3477 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
   3478 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
   3479 cat >conftest.$ac_ext <<_ACEOF
   3480 /* confdefs.h.  */
   3481 _ACEOF
   3482 cat confdefs.h >>conftest.$ac_ext
   3483 cat >>conftest.$ac_ext <<_ACEOF
   3484 /* end confdefs.h.  */
   3485 #include <minix/config.h>
   3486 _ACEOF
   3487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3488   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3489   ac_status=$?
   3490   grep -v '^ *+' conftest.er1 >conftest.err
   3491   rm -f conftest.er1
   3492   cat conftest.err >&5
   3493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3494   (exit $ac_status); } >/dev/null; then
   3495   if test -s conftest.err; then
   3496     ac_cpp_err=$ac_c_preproc_warn_flag
   3497     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3498   else
   3499     ac_cpp_err=
   3500   fi
   3501 else
   3502   ac_cpp_err=yes
   3503 fi
   3504 if test -z "$ac_cpp_err"; then
   3505   ac_header_preproc=yes
   3506 else
   3507   echo "$as_me: failed program was:" >&5
   3508 sed 's/^/| /' conftest.$ac_ext >&5
   3509 
   3510   ac_header_preproc=no
   3511 fi
   3512 rm -f conftest.err conftest.$ac_ext
   3513 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3514 echo "${ECHO_T}$ac_header_preproc" >&6
   3515 
   3516 # So?  What about this header?
   3517 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   3518   yes:no: )
   3519     { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
   3520 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3521     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
   3522 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
   3523     ac_header_preproc=yes
   3524     ;;
   3525   no:yes:* )
   3526     { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
   3527 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
   3528     { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
   3529 echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
   3530     { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
   3531 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
   3532     { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
   3533 echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   3534     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
   3535 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
   3536     { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
   3537 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
   3538     (
   3539       cat <<\_ASBOX
   3540 ## -------------------------------- ##
   3541 ## Report this to bug-bison (at] gnu.org ##
   3542 ## -------------------------------- ##
   3543 _ASBOX
   3544     ) |
   3545       sed "s/^/$as_me: WARNING:     /" >&2
   3546     ;;
   3547 esac
   3548 echo "$as_me:$LINENO: checking for minix/config.h" >&5
   3549 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
   3550 if test "${ac_cv_header_minix_config_h+set}" = set; then
   3551   echo $ECHO_N "(cached) $ECHO_C" >&6
   3552 else
   3553   ac_cv_header_minix_config_h=$ac_header_preproc
   3554 fi
   3555 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
   3556 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
   3557 
   3558 fi
   3559 if test $ac_cv_header_minix_config_h = yes; then
   3560   MINIX=yes
   3561 else
   3562   MINIX=
   3563 fi
   3564 
   3565 
   3566 if test "$MINIX" = yes; then
   3567 
   3568 cat >>confdefs.h <<\_ACEOF
   3569 #define _POSIX_SOURCE 1
   3570 _ACEOF
   3571 
   3572 
   3573 cat >>confdefs.h <<\_ACEOF
   3574 #define _POSIX_1_SOURCE 2
   3575 _ACEOF
   3576 
   3577 
   3578 cat >>confdefs.h <<\_ACEOF
   3579 #define _MINIX 1
   3580 _ACEOF
   3581 
   3582 fi
   3583 
   3584 
   3585 
   3586 
   3587 
   3588 
   3589 
   3590 
   3591 
   3592 
   3593 
   3594   echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
   3595 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
   3596 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
   3597   echo $ECHO_N "(cached) $ECHO_C" >&6
   3598 else
   3599   cat >conftest.$ac_ext <<_ACEOF
   3600 /* confdefs.h.  */
   3601 _ACEOF
   3602 cat confdefs.h >>conftest.$ac_ext
   3603 cat >>conftest.$ac_ext <<_ACEOF
   3604 /* end confdefs.h.  */
   3605 
   3606 	  #define __EXTENSIONS__ 1
   3607 	  $ac_includes_default
   3608 int
   3609 main ()
   3610 {
   3611 
   3612   ;
   3613   return 0;
   3614 }
   3615 _ACEOF
   3616 rm -f conftest.$ac_objext
   3617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3618   (eval $ac_compile) 2>conftest.er1
   3619   ac_status=$?
   3620   grep -v '^ *+' conftest.er1 >conftest.err
   3621   rm -f conftest.er1
   3622   cat conftest.err >&5
   3623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3624   (exit $ac_status); } &&
   3625 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   3626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3627   (eval $ac_try) 2>&5
   3628   ac_status=$?
   3629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3630   (exit $ac_status); }; } &&
   3631 	 { ac_try='test -s conftest.$ac_objext'
   3632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3633   (eval $ac_try) 2>&5
   3634   ac_status=$?
   3635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3636   (exit $ac_status); }; }; then
   3637   ac_cv_safe_to_define___extensions__=yes
   3638 else
   3639   echo "$as_me: failed program was:" >&5
   3640 sed 's/^/| /' conftest.$ac_ext >&5
   3641 
   3642 ac_cv_safe_to_define___extensions__=no
   3643 fi
   3644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3645 fi
   3646 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
   3647 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
   3648   test $ac_cv_safe_to_define___extensions__ = yes &&
   3649     cat >>confdefs.h <<\_ACEOF
   3650 #define __EXTENSIONS__ 1
   3651 _ACEOF
   3652 
   3653   cat >>confdefs.h <<\_ACEOF
   3654 #define _POSIX_PTHREAD_SEMANTICS 1
   3655 _ACEOF
   3656 
   3657 
   3658 
   3659 # Checks for the compiler.
   3660 ac_ext=c
   3661 ac_cpp='$CPP $CPPFLAGS'
   3662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3665 if test -n "$ac_tool_prefix"; then
   3666   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3667 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3668 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3670 if test "${ac_cv_prog_CC+set}" = set; then
   3671   echo $ECHO_N "(cached) $ECHO_C" >&6
   3672 else
   3673   if test -n "$CC"; then
   3674   ac_cv_prog_CC="$CC" # Let the user override the test.
   3675 else
   3676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3677 for as_dir in $PATH
   3678 do
   3679   IFS=$as_save_IFS
   3680   test -z "$as_dir" && as_dir=.
   3681   for ac_exec_ext in '' $ac_executable_extensions; do
   3682   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3683     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3684     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3685     break 2
   3686   fi
   3687 done
   3688 done
   3689 
   3690 fi
   3691 fi
   3692 CC=$ac_cv_prog_CC
   3693 if test -n "$CC"; then
   3694   echo "$as_me:$LINENO: result: $CC" >&5
   3695 echo "${ECHO_T}$CC" >&6
   3696 else
   3697   echo "$as_me:$LINENO: result: no" >&5
   3698 echo "${ECHO_T}no" >&6
   3699 fi
   3700 
   3701 fi
   3702 if test -z "$ac_cv_prog_CC"; then
   3703   ac_ct_CC=$CC
   3704   # Extract the first word of "gcc", so it can be a program name with args.
   3705 set dummy gcc; ac_word=$2
   3706 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3708 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3709   echo $ECHO_N "(cached) $ECHO_C" >&6
   3710 else
   3711   if test -n "$ac_ct_CC"; then
   3712   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3713 else
   3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3715 for as_dir in $PATH
   3716 do
   3717   IFS=$as_save_IFS
   3718   test -z "$as_dir" && as_dir=.
   3719   for ac_exec_ext in '' $ac_executable_extensions; do
   3720   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3721     ac_cv_prog_ac_ct_CC="gcc"
   3722     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3723     break 2
   3724   fi
   3725 done
   3726 done
   3727 
   3728 fi
   3729 fi
   3730 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3731 if test -n "$ac_ct_CC"; then
   3732   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3733 echo "${ECHO_T}$ac_ct_CC" >&6
   3734 else
   3735   echo "$as_me:$LINENO: result: no" >&5
   3736 echo "${ECHO_T}no" >&6
   3737 fi
   3738 
   3739   CC=$ac_ct_CC
   3740 else
   3741   CC="$ac_cv_prog_CC"
   3742 fi
   3743 
   3744 if test -z "$CC"; then
   3745   if test -n "$ac_tool_prefix"; then
   3746   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3747 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3748 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3750 if test "${ac_cv_prog_CC+set}" = set; then
   3751   echo $ECHO_N "(cached) $ECHO_C" >&6
   3752 else
   3753   if test -n "$CC"; then
   3754   ac_cv_prog_CC="$CC" # Let the user override the test.
   3755 else
   3756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3757 for as_dir in $PATH
   3758 do
   3759   IFS=$as_save_IFS
   3760   test -z "$as_dir" && as_dir=.
   3761   for ac_exec_ext in '' $ac_executable_extensions; do
   3762   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3763     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3764     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3765     break 2
   3766   fi
   3767 done
   3768 done
   3769 
   3770 fi
   3771 fi
   3772 CC=$ac_cv_prog_CC
   3773 if test -n "$CC"; then
   3774   echo "$as_me:$LINENO: result: $CC" >&5
   3775 echo "${ECHO_T}$CC" >&6
   3776 else
   3777   echo "$as_me:$LINENO: result: no" >&5
   3778 echo "${ECHO_T}no" >&6
   3779 fi
   3780 
   3781 fi
   3782 if test -z "$ac_cv_prog_CC"; then
   3783   ac_ct_CC=$CC
   3784   # Extract the first word of "cc", so it can be a program name with args.
   3785 set dummy cc; ac_word=$2
   3786 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3789   echo $ECHO_N "(cached) $ECHO_C" >&6
   3790 else
   3791   if test -n "$ac_ct_CC"; then
   3792   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3793 else
   3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3795 for as_dir in $PATH
   3796 do
   3797   IFS=$as_save_IFS
   3798   test -z "$as_dir" && as_dir=.
   3799   for ac_exec_ext in '' $ac_executable_extensions; do
   3800   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3801     ac_cv_prog_ac_ct_CC="cc"
   3802     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3803     break 2
   3804   fi
   3805 done
   3806 done
   3807 
   3808 fi
   3809 fi
   3810 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3811 if test -n "$ac_ct_CC"; then
   3812   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3813 echo "${ECHO_T}$ac_ct_CC" >&6
   3814 else
   3815   echo "$as_me:$LINENO: result: no" >&5
   3816 echo "${ECHO_T}no" >&6
   3817 fi
   3818 
   3819   CC=$ac_ct_CC
   3820 else
   3821   CC="$ac_cv_prog_CC"
   3822 fi
   3823 
   3824 fi
   3825 if test -z "$CC"; then
   3826   # Extract the first word of "cc", so it can be a program name with args.
   3827 set dummy cc; ac_word=$2
   3828 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3830 if test "${ac_cv_prog_CC+set}" = set; then
   3831   echo $ECHO_N "(cached) $ECHO_C" >&6
   3832 else
   3833   if test -n "$CC"; then
   3834   ac_cv_prog_CC="$CC" # Let the user override the test.
   3835 else
   3836   ac_prog_rejected=no
   3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3838 for as_dir in $PATH
   3839 do
   3840   IFS=$as_save_IFS
   3841   test -z "$as_dir" && as_dir=.
   3842   for ac_exec_ext in '' $ac_executable_extensions; do
   3843   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3844     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3845        ac_prog_rejected=yes
   3846        continue
   3847      fi
   3848     ac_cv_prog_CC="cc"
   3849     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3850     break 2
   3851   fi
   3852 done
   3853 done
   3854 
   3855 if test $ac_prog_rejected = yes; then
   3856   # We found a bogon in the path, so make sure we never use it.
   3857   set dummy $ac_cv_prog_CC
   3858   shift
   3859   if test $# != 0; then
   3860     # We chose a different compiler from the bogus one.
   3861     # However, it has the same basename, so the bogon will be chosen
   3862     # first if we set CC to just the basename; use the full file name.
   3863     shift
   3864     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3865   fi
   3866 fi
   3867 fi
   3868 fi
   3869 CC=$ac_cv_prog_CC
   3870 if test -n "$CC"; then
   3871   echo "$as_me:$LINENO: result: $CC" >&5
   3872 echo "${ECHO_T}$CC" >&6
   3873 else
   3874   echo "$as_me:$LINENO: result: no" >&5
   3875 echo "${ECHO_T}no" >&6
   3876 fi
   3877 
   3878 fi
   3879 if test -z "$CC"; then
   3880   if test -n "$ac_tool_prefix"; then
   3881   for ac_prog in cl
   3882   do
   3883     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3884 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3885 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3886 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3887 if test "${ac_cv_prog_CC+set}" = set; then
   3888   echo $ECHO_N "(cached) $ECHO_C" >&6
   3889 else
   3890   if test -n "$CC"; then
   3891   ac_cv_prog_CC="$CC" # Let the user override the test.
   3892 else
   3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3894 for as_dir in $PATH
   3895 do
   3896   IFS=$as_save_IFS
   3897   test -z "$as_dir" && as_dir=.
   3898   for ac_exec_ext in '' $ac_executable_extensions; do
   3899   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3900     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3901     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3902     break 2
   3903   fi
   3904 done
   3905 done
   3906 
   3907 fi
   3908 fi
   3909 CC=$ac_cv_prog_CC
   3910 if test -n "$CC"; then
   3911   echo "$as_me:$LINENO: result: $CC" >&5
   3912 echo "${ECHO_T}$CC" >&6
   3913 else
   3914   echo "$as_me:$LINENO: result: no" >&5
   3915 echo "${ECHO_T}no" >&6
   3916 fi
   3917 
   3918     test -n "$CC" && break
   3919   done
   3920 fi
   3921 if test -z "$CC"; then
   3922   ac_ct_CC=$CC
   3923   for ac_prog in cl
   3924 do
   3925   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3926 set dummy $ac_prog; ac_word=$2
   3927 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3928 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3929 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3930   echo $ECHO_N "(cached) $ECHO_C" >&6
   3931 else
   3932   if test -n "$ac_ct_CC"; then
   3933   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3934 else
   3935 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3936 for as_dir in $PATH
   3937 do
   3938   IFS=$as_save_IFS
   3939   test -z "$as_dir" && as_dir=.
   3940   for ac_exec_ext in '' $ac_executable_extensions; do
   3941   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3942     ac_cv_prog_ac_ct_CC="$ac_prog"
   3943     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3944     break 2
   3945   fi
   3946 done
   3947 done
   3948 
   3949 fi
   3950 fi
   3951 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3952 if test -n "$ac_ct_CC"; then
   3953   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3954 echo "${ECHO_T}$ac_ct_CC" >&6
   3955 else
   3956   echo "$as_me:$LINENO: result: no" >&5
   3957 echo "${ECHO_T}no" >&6
   3958 fi
   3959 
   3960   test -n "$ac_ct_CC" && break
   3961 done
   3962 
   3963   CC=$ac_ct_CC
   3964 fi
   3965 
   3966 fi
   3967 
   3968 
   3969 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3970 See \`config.log' for more details." >&5
   3971 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3972 See \`config.log' for more details." >&2;}
   3973    { (exit 1); exit 1; }; }
   3974 
   3975 # Provide some information about the compiler.
   3976 echo "$as_me:$LINENO:" \
   3977      "checking for C compiler version" >&5
   3978 ac_compiler=`set X $ac_compile; echo $2`
   3979 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   3980   (eval $ac_compiler --version </dev/null >&5) 2>&5
   3981   ac_status=$?
   3982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3983   (exit $ac_status); }
   3984 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   3985   (eval $ac_compiler -v </dev/null >&5) 2>&5
   3986   ac_status=$?
   3987   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3988   (exit $ac_status); }
   3989 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   3990   (eval $ac_compiler -V </dev/null >&5) 2>&5
   3991   ac_status=$?
   3992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3993   (exit $ac_status); }
   3994 
   3995 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3996 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   3997 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3998   echo $ECHO_N "(cached) $ECHO_C" >&6
   3999 else
   4000   cat >conftest.$ac_ext <<_ACEOF
   4001 /* confdefs.h.  */
   4002 _ACEOF
   4003 cat confdefs.h >>conftest.$ac_ext
   4004 cat >>conftest.$ac_ext <<_ACEOF
   4005 /* end confdefs.h.  */
   4006 
   4007 int
   4008 main ()
   4009 {
   4010 #ifndef __GNUC__
   4011        choke me
   4012 #endif
   4013 
   4014   ;
   4015   return 0;
   4016 }
   4017 _ACEOF
   4018 rm -f conftest.$ac_objext
   4019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4020   (eval $ac_compile) 2>conftest.er1
   4021   ac_status=$?
   4022   grep -v '^ *+' conftest.er1 >conftest.err
   4023   rm -f conftest.er1
   4024   cat conftest.err >&5
   4025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4026   (exit $ac_status); } &&
   4027 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4028   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4029   (eval $ac_try) 2>&5
   4030   ac_status=$?
   4031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4032   (exit $ac_status); }; } &&
   4033 	 { ac_try='test -s conftest.$ac_objext'
   4034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4035   (eval $ac_try) 2>&5
   4036   ac_status=$?
   4037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4038   (exit $ac_status); }; }; then
   4039   ac_compiler_gnu=yes
   4040 else
   4041   echo "$as_me: failed program was:" >&5
   4042 sed 's/^/| /' conftest.$ac_ext >&5
   4043 
   4044 ac_compiler_gnu=no
   4045 fi
   4046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4047 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4048 
   4049 fi
   4050 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   4051 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   4052 GCC=`test $ac_compiler_gnu = yes && echo yes`
   4053 ac_test_CFLAGS=${CFLAGS+set}
   4054 ac_save_CFLAGS=$CFLAGS
   4055 CFLAGS="-g"
   4056 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   4057 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   4058 if test "${ac_cv_prog_cc_g+set}" = set; then
   4059   echo $ECHO_N "(cached) $ECHO_C" >&6
   4060 else
   4061   cat >conftest.$ac_ext <<_ACEOF
   4062 /* confdefs.h.  */
   4063 _ACEOF
   4064 cat confdefs.h >>conftest.$ac_ext
   4065 cat >>conftest.$ac_ext <<_ACEOF
   4066 /* end confdefs.h.  */
   4067 
   4068 int
   4069 main ()
   4070 {
   4071 
   4072   ;
   4073   return 0;
   4074 }
   4075 _ACEOF
   4076 rm -f conftest.$ac_objext
   4077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4078   (eval $ac_compile) 2>conftest.er1
   4079   ac_status=$?
   4080   grep -v '^ *+' conftest.er1 >conftest.err
   4081   rm -f conftest.er1
   4082   cat conftest.err >&5
   4083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4084   (exit $ac_status); } &&
   4085 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4087   (eval $ac_try) 2>&5
   4088   ac_status=$?
   4089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4090   (exit $ac_status); }; } &&
   4091 	 { ac_try='test -s conftest.$ac_objext'
   4092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4093   (eval $ac_try) 2>&5
   4094   ac_status=$?
   4095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4096   (exit $ac_status); }; }; then
   4097   ac_cv_prog_cc_g=yes
   4098 else
   4099   echo "$as_me: failed program was:" >&5
   4100 sed 's/^/| /' conftest.$ac_ext >&5
   4101 
   4102 ac_cv_prog_cc_g=no
   4103 fi
   4104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4105 fi
   4106 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   4107 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   4108 if test "$ac_test_CFLAGS" = set; then
   4109   CFLAGS=$ac_save_CFLAGS
   4110 elif test $ac_cv_prog_cc_g = yes; then
   4111   if test "$GCC" = yes; then
   4112     CFLAGS="-g -O2"
   4113   else
   4114     CFLAGS="-g"
   4115   fi
   4116 else
   4117   if test "$GCC" = yes; then
   4118     CFLAGS="-O2"
   4119   else
   4120     CFLAGS=
   4121   fi
   4122 fi
   4123 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   4124 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   4125 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   4126   echo $ECHO_N "(cached) $ECHO_C" >&6
   4127 else
   4128   ac_cv_prog_cc_stdc=no
   4129 ac_save_CC=$CC
   4130 cat >conftest.$ac_ext <<_ACEOF
   4131 /* confdefs.h.  */
   4132 _ACEOF
   4133 cat confdefs.h >>conftest.$ac_ext
   4134 cat >>conftest.$ac_ext <<_ACEOF
   4135 /* end confdefs.h.  */
   4136 #include <stdarg.h>
   4137 #include <stdio.h>
   4138 #include <sys/types.h>
   4139 #include <sys/stat.h>
   4140 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4141 struct buf { int x; };
   4142 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4143 static char *e (p, i)
   4144      char **p;
   4145      int i;
   4146 {
   4147   return p[i];
   4148 }
   4149 static char *f (char * (*g) (char **, int), char **p, ...)
   4150 {
   4151   char *s;
   4152   va_list v;
   4153   va_start (v,p);
   4154   s = g (p, va_arg (v,int));
   4155   va_end (v);
   4156   return s;
   4157 }
   4158 
   4159 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4160    function prototypes and stuff, but not '\xHH' hex character constants.
   4161    These don't provoke an error unfortunately, instead are silently treated
   4162    as 'x'.  The following induces an error, until -std1 is added to get
   4163    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4164    array size at least.  It's necessary to write '\x00'==0 to get something
   4165    that's true only with -std1.  */
   4166 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4167 
   4168 int test (int i, double x);
   4169 struct s1 {int (*f) (int a);};
   4170 struct s2 {int (*f) (double a);};
   4171 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   4172 int argc;
   4173 char **argv;
   4174 int
   4175 main ()
   4176 {
   4177 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   4178   ;
   4179   return 0;
   4180 }
   4181 _ACEOF
   4182 # Don't try gcc -ansi; that turns off useful extensions and
   4183 # breaks some systems' header files.
   4184 # AIX			-qlanglvl=ansi
   4185 # Ultrix and OSF/1	-std1
   4186 # HP-UX 10.20 and later	-Ae
   4187 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   4188 # SVR4			-Xc -D__EXTENSIONS__
   4189 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4190 do
   4191   CC="$ac_save_CC $ac_arg"
   4192   rm -f conftest.$ac_objext
   4193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4194   (eval $ac_compile) 2>conftest.er1
   4195   ac_status=$?
   4196   grep -v '^ *+' conftest.er1 >conftest.err
   4197   rm -f conftest.er1
   4198   cat conftest.err >&5
   4199   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4200   (exit $ac_status); } &&
   4201 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4202   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4203   (eval $ac_try) 2>&5
   4204   ac_status=$?
   4205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4206   (exit $ac_status); }; } &&
   4207 	 { ac_try='test -s conftest.$ac_objext'
   4208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4209   (eval $ac_try) 2>&5
   4210   ac_status=$?
   4211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4212   (exit $ac_status); }; }; then
   4213   ac_cv_prog_cc_stdc=$ac_arg
   4214 break
   4215 else
   4216   echo "$as_me: failed program was:" >&5
   4217 sed 's/^/| /' conftest.$ac_ext >&5
   4218 
   4219 fi
   4220 rm -f conftest.err conftest.$ac_objext
   4221 done
   4222 rm -f conftest.$ac_ext conftest.$ac_objext
   4223 CC=$ac_save_CC
   4224 
   4225 fi
   4226 
   4227 case "x$ac_cv_prog_cc_stdc" in
   4228   x|xno)
   4229     echo "$as_me:$LINENO: result: none needed" >&5
   4230 echo "${ECHO_T}none needed" >&6 ;;
   4231   *)
   4232     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   4233 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   4234     CC="$CC $ac_cv_prog_cc_stdc" ;;
   4235 esac
   4236 
   4237 # Some people use a C++ compiler to compile C.  Since we use `exit',
   4238 # in C++ we need to declare it.  In case someone uses the same compiler
   4239 # for both compiling C and C++ we need to have the C++ compiler decide
   4240 # the declaration of exit, since it's the most demanding environment.
   4241 cat >conftest.$ac_ext <<_ACEOF
   4242 #ifndef __cplusplus
   4243   choke me
   4244 #endif
   4245 _ACEOF
   4246 rm -f conftest.$ac_objext
   4247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4248   (eval $ac_compile) 2>conftest.er1
   4249   ac_status=$?
   4250   grep -v '^ *+' conftest.er1 >conftest.err
   4251   rm -f conftest.er1
   4252   cat conftest.err >&5
   4253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4254   (exit $ac_status); } &&
   4255 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4256   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4257   (eval $ac_try) 2>&5
   4258   ac_status=$?
   4259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4260   (exit $ac_status); }; } &&
   4261 	 { ac_try='test -s conftest.$ac_objext'
   4262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4263   (eval $ac_try) 2>&5
   4264   ac_status=$?
   4265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4266   (exit $ac_status); }; }; then
   4267   for ac_declaration in \
   4268    '' \
   4269    'extern "C" void std::exit (int) throw (); using std::exit;' \
   4270    'extern "C" void std::exit (int); using std::exit;' \
   4271    'extern "C" void exit (int) throw ();' \
   4272    'extern "C" void exit (int);' \
   4273    'void exit (int);'
   4274 do
   4275   cat >conftest.$ac_ext <<_ACEOF
   4276 /* confdefs.h.  */
   4277 _ACEOF
   4278 cat confdefs.h >>conftest.$ac_ext
   4279 cat >>conftest.$ac_ext <<_ACEOF
   4280 /* end confdefs.h.  */
   4281 $ac_declaration
   4282 #include <stdlib.h>
   4283 int
   4284 main ()
   4285 {
   4286 exit (42);
   4287   ;
   4288   return 0;
   4289 }
   4290 _ACEOF
   4291 rm -f conftest.$ac_objext
   4292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4293   (eval $ac_compile) 2>conftest.er1
   4294   ac_status=$?
   4295   grep -v '^ *+' conftest.er1 >conftest.err
   4296   rm -f conftest.er1
   4297   cat conftest.err >&5
   4298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4299   (exit $ac_status); } &&
   4300 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4301   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4302   (eval $ac_try) 2>&5
   4303   ac_status=$?
   4304   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4305   (exit $ac_status); }; } &&
   4306 	 { ac_try='test -s conftest.$ac_objext'
   4307   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4308   (eval $ac_try) 2>&5
   4309   ac_status=$?
   4310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4311   (exit $ac_status); }; }; then
   4312   :
   4313 else
   4314   echo "$as_me: failed program was:" >&5
   4315 sed 's/^/| /' conftest.$ac_ext >&5
   4316 
   4317 continue
   4318 fi
   4319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4320   cat >conftest.$ac_ext <<_ACEOF
   4321 /* confdefs.h.  */
   4322 _ACEOF
   4323 cat confdefs.h >>conftest.$ac_ext
   4324 cat >>conftest.$ac_ext <<_ACEOF
   4325 /* end confdefs.h.  */
   4326 $ac_declaration
   4327 int
   4328 main ()
   4329 {
   4330 exit (42);
   4331   ;
   4332   return 0;
   4333 }
   4334 _ACEOF
   4335 rm -f conftest.$ac_objext
   4336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4337   (eval $ac_compile) 2>conftest.er1
   4338   ac_status=$?
   4339   grep -v '^ *+' conftest.er1 >conftest.err
   4340   rm -f conftest.er1
   4341   cat conftest.err >&5
   4342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4343   (exit $ac_status); } &&
   4344 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4345   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4346   (eval $ac_try) 2>&5
   4347   ac_status=$?
   4348   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4349   (exit $ac_status); }; } &&
   4350 	 { ac_try='test -s conftest.$ac_objext'
   4351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4352   (eval $ac_try) 2>&5
   4353   ac_status=$?
   4354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4355   (exit $ac_status); }; }; then
   4356   break
   4357 else
   4358   echo "$as_me: failed program was:" >&5
   4359 sed 's/^/| /' conftest.$ac_ext >&5
   4360 
   4361 fi
   4362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4363 done
   4364 rm -f conftest*
   4365 if test -n "$ac_declaration"; then
   4366   echo '#ifdef __cplusplus' >>confdefs.h
   4367   echo $ac_declaration      >>confdefs.h
   4368   echo '#endif'             >>confdefs.h
   4369 fi
   4370 
   4371 else
   4372   echo "$as_me: failed program was:" >&5
   4373 sed 's/^/| /' conftest.$ac_ext >&5
   4374 
   4375 fi
   4376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4377 ac_ext=c
   4378 ac_cpp='$CPP $CPPFLAGS'
   4379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4382 
   4383 depcc="$CC"   am_compiler_list=
   4384 
   4385 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   4386 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   4387 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   4388   echo $ECHO_N "(cached) $ECHO_C" >&6
   4389 else
   4390   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4391   # We make a subdir and do the tests there.  Otherwise we can end up
   4392   # making bogus files that we don't know about and never remove.  For
   4393   # instance it was reported that on HP-UX the gcc test will end up
   4394   # making a dummy file named `D' -- because `-MD' means `put the output
   4395   # in D'.
   4396   mkdir conftest.dir
   4397   # Copy depcomp to subdir because otherwise we won't find it if we're
   4398   # using a relative directory.
   4399   cp "$am_depcomp" conftest.dir
   4400   cd conftest.dir
   4401   # We will build objects and dependencies in a subdirectory because
   4402   # it helps to detect inapplicable dependency modes.  For instance
   4403   # both Tru64's cc and ICC support -MD to output dependencies as a
   4404   # side effect of compilation, but ICC will put the dependencies in
   4405   # the current directory while Tru64 will put them in the object
   4406   # directory.
   4407   mkdir sub
   4408 
   4409   am_cv_CC_dependencies_compiler_type=none
   4410   if test "$am_compiler_list" = ""; then
   4411      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4412   fi
   4413   for depmode in $am_compiler_list; do
   4414     # Setup a source with many dependencies, because some compilers
   4415     # like to wrap large dependency lists on column 80 (with \), and
   4416     # we should not choose a depcomp mode which is confused by this.
   4417     #
   4418     # We need to recreate these files for each test, as the compiler may
   4419     # overwrite some of them when testing with obscure command lines.
   4420     # This happens at least with the AIX C compiler.
   4421     : > sub/conftest.c
   4422     for i in 1 2 3 4 5 6; do
   4423       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4424       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   4425       # Solaris 8's {/usr,}/bin/sh.
   4426       touch sub/conftst$i.h
   4427     done
   4428     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4429 
   4430     case $depmode in
   4431     nosideeffect)
   4432       # after this tag, mechanisms are not by side-effect, so they'll
   4433       # only be used when explicitly requested
   4434       if test "x$enable_dependency_tracking" = xyes; then
   4435 	continue
   4436       else
   4437 	break
   4438       fi
   4439       ;;
   4440     none) break ;;
   4441     esac
   4442     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   4443     # mode.  It turns out that the SunPro C++ compiler does not properly
   4444     # handle `-M -o', and we need to detect this.
   4445     if depmode=$depmode \
   4446        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   4447        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4448        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   4449          >/dev/null 2>conftest.err &&
   4450        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4451        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   4452        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4453       # icc doesn't choke on unknown options, it will just issue warnings
   4454       # or remarks (even with -Werror).  So we grep stderr for any message
   4455       # that says an option was ignored or not supported.
   4456       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4457       #   icc: Command line warning: ignoring option '-M'; no argument required
   4458       # The diagnosis changed in icc 8.0:
   4459       #   icc: Command line remark: option '-MP' not supported
   4460       if (grep 'ignoring option' conftest.err ||
   4461           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4462         am_cv_CC_dependencies_compiler_type=$depmode
   4463         break
   4464       fi
   4465     fi
   4466   done
   4467 
   4468   cd ..
   4469   rm -rf conftest.dir
   4470 else
   4471   am_cv_CC_dependencies_compiler_type=none
   4472 fi
   4473 
   4474 fi
   4475 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   4476 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   4477 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4478 
   4479 
   4480 
   4481 if
   4482   test "x$enable_dependency_tracking" != xno \
   4483   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4484   am__fastdepCC_TRUE=
   4485   am__fastdepCC_FALSE='#'
   4486 else
   4487   am__fastdepCC_TRUE='#'
   4488   am__fastdepCC_FALSE=
   4489 fi
   4490 
   4491 
   4492 ac_ext=c
   4493 ac_cpp='$CPP $CPPFLAGS'
   4494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4497 if test -n "$ac_tool_prefix"; then
   4498   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   4499 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   4500 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4502 if test "${ac_cv_prog_CC+set}" = set; then
   4503   echo $ECHO_N "(cached) $ECHO_C" >&6
   4504 else
   4505   if test -n "$CC"; then
   4506   ac_cv_prog_CC="$CC" # Let the user override the test.
   4507 else
   4508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4509 for as_dir in $PATH
   4510 do
   4511   IFS=$as_save_IFS
   4512   test -z "$as_dir" && as_dir=.
   4513   for ac_exec_ext in '' $ac_executable_extensions; do
   4514   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4515     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   4516     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4517     break 2
   4518   fi
   4519 done
   4520 done
   4521 
   4522 fi
   4523 fi
   4524 CC=$ac_cv_prog_CC
   4525 if test -n "$CC"; then
   4526   echo "$as_me:$LINENO: result: $CC" >&5
   4527 echo "${ECHO_T}$CC" >&6
   4528 else
   4529   echo "$as_me:$LINENO: result: no" >&5
   4530 echo "${ECHO_T}no" >&6
   4531 fi
   4532 
   4533 fi
   4534 if test -z "$ac_cv_prog_CC"; then
   4535   ac_ct_CC=$CC
   4536   # Extract the first word of "gcc", so it can be a program name with args.
   4537 set dummy gcc; ac_word=$2
   4538 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4540 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   4541   echo $ECHO_N "(cached) $ECHO_C" >&6
   4542 else
   4543   if test -n "$ac_ct_CC"; then
   4544   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4545 else
   4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4547 for as_dir in $PATH
   4548 do
   4549   IFS=$as_save_IFS
   4550   test -z "$as_dir" && as_dir=.
   4551   for ac_exec_ext in '' $ac_executable_extensions; do
   4552   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4553     ac_cv_prog_ac_ct_CC="gcc"
   4554     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4555     break 2
   4556   fi
   4557 done
   4558 done
   4559 
   4560 fi
   4561 fi
   4562 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4563 if test -n "$ac_ct_CC"; then
   4564   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   4565 echo "${ECHO_T}$ac_ct_CC" >&6
   4566 else
   4567   echo "$as_me:$LINENO: result: no" >&5
   4568 echo "${ECHO_T}no" >&6
   4569 fi
   4570 
   4571   CC=$ac_ct_CC
   4572 else
   4573   CC="$ac_cv_prog_CC"
   4574 fi
   4575 
   4576 if test -z "$CC"; then
   4577   if test -n "$ac_tool_prefix"; then
   4578   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   4579 set dummy ${ac_tool_prefix}cc; ac_word=$2
   4580 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4582 if test "${ac_cv_prog_CC+set}" = set; then
   4583   echo $ECHO_N "(cached) $ECHO_C" >&6
   4584 else
   4585   if test -n "$CC"; then
   4586   ac_cv_prog_CC="$CC" # Let the user override the test.
   4587 else
   4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4589 for as_dir in $PATH
   4590 do
   4591   IFS=$as_save_IFS
   4592   test -z "$as_dir" && as_dir=.
   4593   for ac_exec_ext in '' $ac_executable_extensions; do
   4594   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4595     ac_cv_prog_CC="${ac_tool_prefix}cc"
   4596     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4597     break 2
   4598   fi
   4599 done
   4600 done
   4601 
   4602 fi
   4603 fi
   4604 CC=$ac_cv_prog_CC
   4605 if test -n "$CC"; then
   4606   echo "$as_me:$LINENO: result: $CC" >&5
   4607 echo "${ECHO_T}$CC" >&6
   4608 else
   4609   echo "$as_me:$LINENO: result: no" >&5
   4610 echo "${ECHO_T}no" >&6
   4611 fi
   4612 
   4613 fi
   4614 if test -z "$ac_cv_prog_CC"; then
   4615   ac_ct_CC=$CC
   4616   # Extract the first word of "cc", so it can be a program name with args.
   4617 set dummy cc; ac_word=$2
   4618 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4620 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   4621   echo $ECHO_N "(cached) $ECHO_C" >&6
   4622 else
   4623   if test -n "$ac_ct_CC"; then
   4624   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4625 else
   4626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4627 for as_dir in $PATH
   4628 do
   4629   IFS=$as_save_IFS
   4630   test -z "$as_dir" && as_dir=.
   4631   for ac_exec_ext in '' $ac_executable_extensions; do
   4632   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4633     ac_cv_prog_ac_ct_CC="cc"
   4634     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4635     break 2
   4636   fi
   4637 done
   4638 done
   4639 
   4640 fi
   4641 fi
   4642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4643 if test -n "$ac_ct_CC"; then
   4644   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   4645 echo "${ECHO_T}$ac_ct_CC" >&6
   4646 else
   4647   echo "$as_me:$LINENO: result: no" >&5
   4648 echo "${ECHO_T}no" >&6
   4649 fi
   4650 
   4651   CC=$ac_ct_CC
   4652 else
   4653   CC="$ac_cv_prog_CC"
   4654 fi
   4655 
   4656 fi
   4657 if test -z "$CC"; then
   4658   # Extract the first word of "cc", so it can be a program name with args.
   4659 set dummy cc; ac_word=$2
   4660 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4662 if test "${ac_cv_prog_CC+set}" = set; then
   4663   echo $ECHO_N "(cached) $ECHO_C" >&6
   4664 else
   4665   if test -n "$CC"; then
   4666   ac_cv_prog_CC="$CC" # Let the user override the test.
   4667 else
   4668   ac_prog_rejected=no
   4669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4670 for as_dir in $PATH
   4671 do
   4672   IFS=$as_save_IFS
   4673   test -z "$as_dir" && as_dir=.
   4674   for ac_exec_ext in '' $ac_executable_extensions; do
   4675   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4676     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   4677        ac_prog_rejected=yes
   4678        continue
   4679      fi
   4680     ac_cv_prog_CC="cc"
   4681     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4682     break 2
   4683   fi
   4684 done
   4685 done
   4686 
   4687 if test $ac_prog_rejected = yes; then
   4688   # We found a bogon in the path, so make sure we never use it.
   4689   set dummy $ac_cv_prog_CC
   4690   shift
   4691   if test $# != 0; then
   4692     # We chose a different compiler from the bogus one.
   4693     # However, it has the same basename, so the bogon will be chosen
   4694     # first if we set CC to just the basename; use the full file name.
   4695     shift
   4696     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   4697   fi
   4698 fi
   4699 fi
   4700 fi
   4701 CC=$ac_cv_prog_CC
   4702 if test -n "$CC"; then
   4703   echo "$as_me:$LINENO: result: $CC" >&5
   4704 echo "${ECHO_T}$CC" >&6
   4705 else
   4706   echo "$as_me:$LINENO: result: no" >&5
   4707 echo "${ECHO_T}no" >&6
   4708 fi
   4709 
   4710 fi
   4711 if test -z "$CC"; then
   4712   if test -n "$ac_tool_prefix"; then
   4713   for ac_prog in cl
   4714   do
   4715     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4717 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4718 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4719 if test "${ac_cv_prog_CC+set}" = set; then
   4720   echo $ECHO_N "(cached) $ECHO_C" >&6
   4721 else
   4722   if test -n "$CC"; then
   4723   ac_cv_prog_CC="$CC" # Let the user override the test.
   4724 else
   4725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4726 for as_dir in $PATH
   4727 do
   4728   IFS=$as_save_IFS
   4729   test -z "$as_dir" && as_dir=.
   4730   for ac_exec_ext in '' $ac_executable_extensions; do
   4731   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4732     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   4733     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4734     break 2
   4735   fi
   4736 done
   4737 done
   4738 
   4739 fi
   4740 fi
   4741 CC=$ac_cv_prog_CC
   4742 if test -n "$CC"; then
   4743   echo "$as_me:$LINENO: result: $CC" >&5
   4744 echo "${ECHO_T}$CC" >&6
   4745 else
   4746   echo "$as_me:$LINENO: result: no" >&5
   4747 echo "${ECHO_T}no" >&6
   4748 fi
   4749 
   4750     test -n "$CC" && break
   4751   done
   4752 fi
   4753 if test -z "$CC"; then
   4754   ac_ct_CC=$CC
   4755   for ac_prog in cl
   4756 do
   4757   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4758 set dummy $ac_prog; ac_word=$2
   4759 echo "$as_me:$LINENO: checking for $ac_word" >&5
   4760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   4761 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   4762   echo $ECHO_N "(cached) $ECHO_C" >&6
   4763 else
   4764   if test -n "$ac_ct_CC"; then
   4765   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   4766 else
   4767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4768 for as_dir in $PATH
   4769 do
   4770   IFS=$as_save_IFS
   4771   test -z "$as_dir" && as_dir=.
   4772   for ac_exec_ext in '' $ac_executable_extensions; do
   4773   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4774     ac_cv_prog_ac_ct_CC="$ac_prog"
   4775     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   4776     break 2
   4777   fi
   4778 done
   4779 done
   4780 
   4781 fi
   4782 fi
   4783 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   4784 if test -n "$ac_ct_CC"; then
   4785   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   4786 echo "${ECHO_T}$ac_ct_CC" >&6
   4787 else
   4788   echo "$as_me:$LINENO: result: no" >&5
   4789 echo "${ECHO_T}no" >&6
   4790 fi
   4791 
   4792   test -n "$ac_ct_CC" && break
   4793 done
   4794 
   4795   CC=$ac_ct_CC
   4796 fi
   4797 
   4798 fi
   4799 
   4800 
   4801 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   4802 See \`config.log' for more details." >&5
   4803 echo "$as_me: error: no acceptable C compiler found in \$PATH
   4804 See \`config.log' for more details." >&2;}
   4805    { (exit 1); exit 1; }; }
   4806 
   4807 # Provide some information about the compiler.
   4808 echo "$as_me:$LINENO:" \
   4809      "checking for C compiler version" >&5
   4810 ac_compiler=`set X $ac_compile; echo $2`
   4811 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   4812   (eval $ac_compiler --version </dev/null >&5) 2>&5
   4813   ac_status=$?
   4814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4815   (exit $ac_status); }
   4816 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   4817   (eval $ac_compiler -v </dev/null >&5) 2>&5
   4818   ac_status=$?
   4819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4820   (exit $ac_status); }
   4821 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   4822   (eval $ac_compiler -V </dev/null >&5) 2>&5
   4823   ac_status=$?
   4824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4825   (exit $ac_status); }
   4826 
   4827 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   4828 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   4829 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   4830   echo $ECHO_N "(cached) $ECHO_C" >&6
   4831 else
   4832   cat >conftest.$ac_ext <<_ACEOF
   4833 /* confdefs.h.  */
   4834 _ACEOF
   4835 cat confdefs.h >>conftest.$ac_ext
   4836 cat >>conftest.$ac_ext <<_ACEOF
   4837 /* end confdefs.h.  */
   4838 
   4839 int
   4840 main ()
   4841 {
   4842 #ifndef __GNUC__
   4843        choke me
   4844 #endif
   4845 
   4846   ;
   4847   return 0;
   4848 }
   4849 _ACEOF
   4850 rm -f conftest.$ac_objext
   4851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4852   (eval $ac_compile) 2>conftest.er1
   4853   ac_status=$?
   4854   grep -v '^ *+' conftest.er1 >conftest.err
   4855   rm -f conftest.er1
   4856   cat conftest.err >&5
   4857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4858   (exit $ac_status); } &&
   4859 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4860   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4861   (eval $ac_try) 2>&5
   4862   ac_status=$?
   4863   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4864   (exit $ac_status); }; } &&
   4865 	 { ac_try='test -s conftest.$ac_objext'
   4866   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4867   (eval $ac_try) 2>&5
   4868   ac_status=$?
   4869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4870   (exit $ac_status); }; }; then
   4871   ac_compiler_gnu=yes
   4872 else
   4873   echo "$as_me: failed program was:" >&5
   4874 sed 's/^/| /' conftest.$ac_ext >&5
   4875 
   4876 ac_compiler_gnu=no
   4877 fi
   4878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4879 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   4880 
   4881 fi
   4882 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   4883 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   4884 GCC=`test $ac_compiler_gnu = yes && echo yes`
   4885 ac_test_CFLAGS=${CFLAGS+set}
   4886 ac_save_CFLAGS=$CFLAGS
   4887 CFLAGS="-g"
   4888 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   4889 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   4890 if test "${ac_cv_prog_cc_g+set}" = set; then
   4891   echo $ECHO_N "(cached) $ECHO_C" >&6
   4892 else
   4893   cat >conftest.$ac_ext <<_ACEOF
   4894 /* confdefs.h.  */
   4895 _ACEOF
   4896 cat confdefs.h >>conftest.$ac_ext
   4897 cat >>conftest.$ac_ext <<_ACEOF
   4898 /* end confdefs.h.  */
   4899 
   4900 int
   4901 main ()
   4902 {
   4903 
   4904   ;
   4905   return 0;
   4906 }
   4907 _ACEOF
   4908 rm -f conftest.$ac_objext
   4909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4910   (eval $ac_compile) 2>conftest.er1
   4911   ac_status=$?
   4912   grep -v '^ *+' conftest.er1 >conftest.err
   4913   rm -f conftest.er1
   4914   cat conftest.err >&5
   4915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4916   (exit $ac_status); } &&
   4917 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   4918   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4919   (eval $ac_try) 2>&5
   4920   ac_status=$?
   4921   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4922   (exit $ac_status); }; } &&
   4923 	 { ac_try='test -s conftest.$ac_objext'
   4924   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4925   (eval $ac_try) 2>&5
   4926   ac_status=$?
   4927   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4928   (exit $ac_status); }; }; then
   4929   ac_cv_prog_cc_g=yes
   4930 else
   4931   echo "$as_me: failed program was:" >&5
   4932 sed 's/^/| /' conftest.$ac_ext >&5
   4933 
   4934 ac_cv_prog_cc_g=no
   4935 fi
   4936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4937 fi
   4938 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   4939 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   4940 if test "$ac_test_CFLAGS" = set; then
   4941   CFLAGS=$ac_save_CFLAGS
   4942 elif test $ac_cv_prog_cc_g = yes; then
   4943   if test "$GCC" = yes; then
   4944     CFLAGS="-g -O2"
   4945   else
   4946     CFLAGS="-g"
   4947   fi
   4948 else
   4949   if test "$GCC" = yes; then
   4950     CFLAGS="-O2"
   4951   else
   4952     CFLAGS=
   4953   fi
   4954 fi
   4955 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   4956 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   4957 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   4958   echo $ECHO_N "(cached) $ECHO_C" >&6
   4959 else
   4960   ac_cv_prog_cc_stdc=no
   4961 ac_save_CC=$CC
   4962 cat >conftest.$ac_ext <<_ACEOF
   4963 /* confdefs.h.  */
   4964 _ACEOF
   4965 cat confdefs.h >>conftest.$ac_ext
   4966 cat >>conftest.$ac_ext <<_ACEOF
   4967 /* end confdefs.h.  */
   4968 #include <stdarg.h>
   4969 #include <stdio.h>
   4970 #include <sys/types.h>
   4971 #include <sys/stat.h>
   4972 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   4973 struct buf { int x; };
   4974 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   4975 static char *e (p, i)
   4976      char **p;
   4977      int i;
   4978 {
   4979   return p[i];
   4980 }
   4981 static char *f (char * (*g) (char **, int), char **p, ...)
   4982 {
   4983   char *s;
   4984   va_list v;
   4985   va_start (v,p);
   4986   s = g (p, va_arg (v,int));
   4987   va_end (v);
   4988   return s;
   4989 }
   4990 
   4991 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   4992    function prototypes and stuff, but not '\xHH' hex character constants.
   4993    These don't provoke an error unfortunately, instead are silently treated
   4994    as 'x'.  The following induces an error, until -std1 is added to get
   4995    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   4996    array size at least.  It's necessary to write '\x00'==0 to get something
   4997    that's true only with -std1.  */
   4998 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   4999 
   5000 int test (int i, double x);
   5001 struct s1 {int (*f) (int a);};
   5002 struct s2 {int (*f) (double a);};
   5003 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   5004 int argc;
   5005 char **argv;
   5006 int
   5007 main ()
   5008 {
   5009 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   5010   ;
   5011   return 0;
   5012 }
   5013 _ACEOF
   5014 # Don't try gcc -ansi; that turns off useful extensions and
   5015 # breaks some systems' header files.
   5016 # AIX			-qlanglvl=ansi
   5017 # Ultrix and OSF/1	-std1
   5018 # HP-UX 10.20 and later	-Ae
   5019 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   5020 # SVR4			-Xc -D__EXTENSIONS__
   5021 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   5022 do
   5023   CC="$ac_save_CC $ac_arg"
   5024   rm -f conftest.$ac_objext
   5025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5026   (eval $ac_compile) 2>conftest.er1
   5027   ac_status=$?
   5028   grep -v '^ *+' conftest.er1 >conftest.err
   5029   rm -f conftest.er1
   5030   cat conftest.err >&5
   5031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5032   (exit $ac_status); } &&
   5033 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5035   (eval $ac_try) 2>&5
   5036   ac_status=$?
   5037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5038   (exit $ac_status); }; } &&
   5039 	 { ac_try='test -s conftest.$ac_objext'
   5040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5041   (eval $ac_try) 2>&5
   5042   ac_status=$?
   5043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5044   (exit $ac_status); }; }; then
   5045   ac_cv_prog_cc_stdc=$ac_arg
   5046 break
   5047 else
   5048   echo "$as_me: failed program was:" >&5
   5049 sed 's/^/| /' conftest.$ac_ext >&5
   5050 
   5051 fi
   5052 rm -f conftest.err conftest.$ac_objext
   5053 done
   5054 rm -f conftest.$ac_ext conftest.$ac_objext
   5055 CC=$ac_save_CC
   5056 
   5057 fi
   5058 
   5059 case "x$ac_cv_prog_cc_stdc" in
   5060   x|xno)
   5061     echo "$as_me:$LINENO: result: none needed" >&5
   5062 echo "${ECHO_T}none needed" >&6 ;;
   5063   *)
   5064     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   5065 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   5066     CC="$CC $ac_cv_prog_cc_stdc" ;;
   5067 esac
   5068 
   5069 # Some people use a C++ compiler to compile C.  Since we use `exit',
   5070 # in C++ we need to declare it.  In case someone uses the same compiler
   5071 # for both compiling C and C++ we need to have the C++ compiler decide
   5072 # the declaration of exit, since it's the most demanding environment.
   5073 cat >conftest.$ac_ext <<_ACEOF
   5074 #ifndef __cplusplus
   5075   choke me
   5076 #endif
   5077 _ACEOF
   5078 rm -f conftest.$ac_objext
   5079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5080   (eval $ac_compile) 2>conftest.er1
   5081   ac_status=$?
   5082   grep -v '^ *+' conftest.er1 >conftest.err
   5083   rm -f conftest.er1
   5084   cat conftest.err >&5
   5085   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5086   (exit $ac_status); } &&
   5087 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5089   (eval $ac_try) 2>&5
   5090   ac_status=$?
   5091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5092   (exit $ac_status); }; } &&
   5093 	 { ac_try='test -s conftest.$ac_objext'
   5094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5095   (eval $ac_try) 2>&5
   5096   ac_status=$?
   5097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5098   (exit $ac_status); }; }; then
   5099   for ac_declaration in \
   5100    '' \
   5101    'extern "C" void std::exit (int) throw (); using std::exit;' \
   5102    'extern "C" void std::exit (int); using std::exit;' \
   5103    'extern "C" void exit (int) throw ();' \
   5104    'extern "C" void exit (int);' \
   5105    'void exit (int);'
   5106 do
   5107   cat >conftest.$ac_ext <<_ACEOF
   5108 /* confdefs.h.  */
   5109 _ACEOF
   5110 cat confdefs.h >>conftest.$ac_ext
   5111 cat >>conftest.$ac_ext <<_ACEOF
   5112 /* end confdefs.h.  */
   5113 $ac_declaration
   5114 #include <stdlib.h>
   5115 int
   5116 main ()
   5117 {
   5118 exit (42);
   5119   ;
   5120   return 0;
   5121 }
   5122 _ACEOF
   5123 rm -f conftest.$ac_objext
   5124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5125   (eval $ac_compile) 2>conftest.er1
   5126   ac_status=$?
   5127   grep -v '^ *+' conftest.er1 >conftest.err
   5128   rm -f conftest.er1
   5129   cat conftest.err >&5
   5130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5131   (exit $ac_status); } &&
   5132 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5133   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5134   (eval $ac_try) 2>&5
   5135   ac_status=$?
   5136   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5137   (exit $ac_status); }; } &&
   5138 	 { ac_try='test -s conftest.$ac_objext'
   5139   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5140   (eval $ac_try) 2>&5
   5141   ac_status=$?
   5142   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5143   (exit $ac_status); }; }; then
   5144   :
   5145 else
   5146   echo "$as_me: failed program was:" >&5
   5147 sed 's/^/| /' conftest.$ac_ext >&5
   5148 
   5149 continue
   5150 fi
   5151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5152   cat >conftest.$ac_ext <<_ACEOF
   5153 /* confdefs.h.  */
   5154 _ACEOF
   5155 cat confdefs.h >>conftest.$ac_ext
   5156 cat >>conftest.$ac_ext <<_ACEOF
   5157 /* end confdefs.h.  */
   5158 $ac_declaration
   5159 int
   5160 main ()
   5161 {
   5162 exit (42);
   5163   ;
   5164   return 0;
   5165 }
   5166 _ACEOF
   5167 rm -f conftest.$ac_objext
   5168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5169   (eval $ac_compile) 2>conftest.er1
   5170   ac_status=$?
   5171   grep -v '^ *+' conftest.er1 >conftest.err
   5172   rm -f conftest.er1
   5173   cat conftest.err >&5
   5174   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5175   (exit $ac_status); } &&
   5176 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5177   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5178   (eval $ac_try) 2>&5
   5179   ac_status=$?
   5180   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5181   (exit $ac_status); }; } &&
   5182 	 { ac_try='test -s conftest.$ac_objext'
   5183   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5184   (eval $ac_try) 2>&5
   5185   ac_status=$?
   5186   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5187   (exit $ac_status); }; }; then
   5188   break
   5189 else
   5190   echo "$as_me: failed program was:" >&5
   5191 sed 's/^/| /' conftest.$ac_ext >&5
   5192 
   5193 fi
   5194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5195 done
   5196 rm -f conftest*
   5197 if test -n "$ac_declaration"; then
   5198   echo '#ifdef __cplusplus' >>confdefs.h
   5199   echo $ac_declaration      >>confdefs.h
   5200   echo '#endif'             >>confdefs.h
   5201 fi
   5202 
   5203 else
   5204   echo "$as_me: failed program was:" >&5
   5205 sed 's/^/| /' conftest.$ac_ext >&5
   5206 
   5207 fi
   5208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5209 ac_ext=c
   5210 ac_cpp='$CPP $CPPFLAGS'
   5211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   5212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   5213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   5214 
   5215 depcc="$CC"   am_compiler_list=
   5216 
   5217 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   5218 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   5219 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   5220   echo $ECHO_N "(cached) $ECHO_C" >&6
   5221 else
   5222   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   5223   # We make a subdir and do the tests there.  Otherwise we can end up
   5224   # making bogus files that we don't know about and never remove.  For
   5225   # instance it was reported that on HP-UX the gcc test will end up
   5226   # making a dummy file named `D' -- because `-MD' means `put the output
   5227   # in D'.
   5228   mkdir conftest.dir
   5229   # Copy depcomp to subdir because otherwise we won't find it if we're
   5230   # using a relative directory.
   5231   cp "$am_depcomp" conftest.dir
   5232   cd conftest.dir
   5233   # We will build objects and dependencies in a subdirectory because
   5234   # it helps to detect inapplicable dependency modes.  For instance
   5235   # both Tru64's cc and ICC support -MD to output dependencies as a
   5236   # side effect of compilation, but ICC will put the dependencies in
   5237   # the current directory while Tru64 will put them in the object
   5238   # directory.
   5239   mkdir sub
   5240 
   5241   am_cv_CC_dependencies_compiler_type=none
   5242   if test "$am_compiler_list" = ""; then
   5243      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   5244   fi
   5245   for depmode in $am_compiler_list; do
   5246     # Setup a source with many dependencies, because some compilers
   5247     # like to wrap large dependency lists on column 80 (with \), and
   5248     # we should not choose a depcomp mode which is confused by this.
   5249     #
   5250     # We need to recreate these files for each test, as the compiler may
   5251     # overwrite some of them when testing with obscure command lines.
   5252     # This happens at least with the AIX C compiler.
   5253     : > sub/conftest.c
   5254     for i in 1 2 3 4 5 6; do
   5255       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   5256       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   5257       # Solaris 8's {/usr,}/bin/sh.
   5258       touch sub/conftst$i.h
   5259     done
   5260     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   5261 
   5262     case $depmode in
   5263     nosideeffect)
   5264       # after this tag, mechanisms are not by side-effect, so they'll
   5265       # only be used when explicitly requested
   5266       if test "x$enable_dependency_tracking" = xyes; then
   5267 	continue
   5268       else
   5269 	break
   5270       fi
   5271       ;;
   5272     none) break ;;
   5273     esac
   5274     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   5275     # mode.  It turns out that the SunPro C++ compiler does not properly
   5276     # handle `-M -o', and we need to detect this.
   5277     if depmode=$depmode \
   5278        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   5279        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   5280        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   5281          >/dev/null 2>conftest.err &&
   5282        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   5283        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   5284        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   5285       # icc doesn't choke on unknown options, it will just issue warnings
   5286       # or remarks (even with -Werror).  So we grep stderr for any message
   5287       # that says an option was ignored or not supported.
   5288       # When given -MP, icc 7.0 and 7.1 complain thusly:
   5289       #   icc: Command line warning: ignoring option '-M'; no argument required
   5290       # The diagnosis changed in icc 8.0:
   5291       #   icc: Command line remark: option '-MP' not supported
   5292       if (grep 'ignoring option' conftest.err ||
   5293           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   5294         am_cv_CC_dependencies_compiler_type=$depmode
   5295         break
   5296       fi
   5297     fi
   5298   done
   5299 
   5300   cd ..
   5301   rm -rf conftest.dir
   5302 else
   5303   am_cv_CC_dependencies_compiler_type=none
   5304 fi
   5305 
   5306 fi
   5307 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   5308 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   5309 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   5310 
   5311 
   5312 
   5313 if
   5314   test "x$enable_dependency_tracking" != xno \
   5315   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   5316   am__fastdepCC_TRUE=
   5317   am__fastdepCC_FALSE='#'
   5318 else
   5319   am__fastdepCC_TRUE='#'
   5320   am__fastdepCC_FALSE=
   5321 fi
   5322 
   5323 
   5324 
   5325 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
   5326 
   5327 # Check whether --enable-gcc-warnings or --disable-gcc-warnings was given.
   5328 if test "${enable_gcc_warnings+set}" = set; then
   5329   enableval="$enable_gcc_warnings"
   5330   case "${enableval}" in
   5331    yes|no) ;;
   5332    *)      { { echo "$as_me:$LINENO: error: bad value ${enableval} for gcc-warnings option" >&5
   5333 echo "$as_me: error: bad value ${enableval} for gcc-warnings option" >&2;}
   5334    { (exit 1); exit 1; }; } ;;
   5335  esac
   5336 else
   5337   enableval=no
   5338 fi;
   5339 if test "${enableval}" = yes; then
   5340   echo "$as_me:$LINENO: checking whether compiler accepts -Werror" >&5
   5341 echo $ECHO_N "checking whether compiler accepts -Werror... $ECHO_C" >&6
   5342 
   5343 ac_save_CFLAGS="$CFLAGS"
   5344 CFLAGS="$CFLAGS -Werror"
   5345 cat >conftest.$ac_ext <<_ACEOF
   5346 /* confdefs.h.  */
   5347 _ACEOF
   5348 cat confdefs.h >>conftest.$ac_ext
   5349 cat >>conftest.$ac_ext <<_ACEOF
   5350 /* end confdefs.h.  */
   5351 
   5352 int
   5353 main ()
   5354 {
   5355 int x;
   5356   ;
   5357   return 0;
   5358 }
   5359 _ACEOF
   5360 rm -f conftest.$ac_objext
   5361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5362   (eval $ac_compile) 2>conftest.er1
   5363   ac_status=$?
   5364   grep -v '^ *+' conftest.er1 >conftest.err
   5365   rm -f conftest.er1
   5366   cat conftest.err >&5
   5367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5368   (exit $ac_status); } &&
   5369 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5371   (eval $ac_try) 2>&5
   5372   ac_status=$?
   5373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5374   (exit $ac_status); }; } &&
   5375 	 { ac_try='test -s conftest.$ac_objext'
   5376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5377   (eval $ac_try) 2>&5
   5378   ac_status=$?
   5379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5380   (exit $ac_status); }; }; then
   5381   WARNING_CFLAGS="$WARNING_CFLAGS -Werror"
   5382 echo "$as_me:$LINENO: result: yes" >&5
   5383 echo "${ECHO_T}yes" >&6
   5384 else
   5385   echo "$as_me: failed program was:" >&5
   5386 sed 's/^/| /' conftest.$ac_ext >&5
   5387 
   5388 echo "$as_me:$LINENO: result: no" >&5
   5389 echo "${ECHO_T}no" >&6
   5390 fi
   5391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5392 CFLAGS="$ac_save_CFLAGS"
   5393   WERROR_CFLAGS=$WARNING_CFLAGS
   5394 
   5395   WARNING_CFLAGS=
   5396   echo "$as_me:$LINENO: checking whether compiler accepts -W" >&5
   5397 echo $ECHO_N "checking whether compiler accepts -W... $ECHO_C" >&6
   5398 
   5399 ac_save_CFLAGS="$CFLAGS"
   5400 CFLAGS="$CFLAGS -W"
   5401 cat >conftest.$ac_ext <<_ACEOF
   5402 /* confdefs.h.  */
   5403 _ACEOF
   5404 cat confdefs.h >>conftest.$ac_ext
   5405 cat >>conftest.$ac_ext <<_ACEOF
   5406 /* end confdefs.h.  */
   5407 
   5408 int
   5409 main ()
   5410 {
   5411 int x;
   5412   ;
   5413   return 0;
   5414 }
   5415 _ACEOF
   5416 rm -f conftest.$ac_objext
   5417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5418   (eval $ac_compile) 2>conftest.er1
   5419   ac_status=$?
   5420   grep -v '^ *+' conftest.er1 >conftest.err
   5421   rm -f conftest.er1
   5422   cat conftest.err >&5
   5423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5424   (exit $ac_status); } &&
   5425 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5427   (eval $ac_try) 2>&5
   5428   ac_status=$?
   5429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5430   (exit $ac_status); }; } &&
   5431 	 { ac_try='test -s conftest.$ac_objext'
   5432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5433   (eval $ac_try) 2>&5
   5434   ac_status=$?
   5435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5436   (exit $ac_status); }; }; then
   5437   WARNING_CFLAGS="$WARNING_CFLAGS -W"
   5438 echo "$as_me:$LINENO: result: yes" >&5
   5439 echo "${ECHO_T}yes" >&6
   5440 else
   5441   echo "$as_me: failed program was:" >&5
   5442 sed 's/^/| /' conftest.$ac_ext >&5
   5443 
   5444 echo "$as_me:$LINENO: result: no" >&5
   5445 echo "${ECHO_T}no" >&6
   5446 fi
   5447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5448 CFLAGS="$ac_save_CFLAGS"
   5449   echo "$as_me:$LINENO: checking whether compiler accepts -Wall" >&5
   5450 echo $ECHO_N "checking whether compiler accepts -Wall... $ECHO_C" >&6
   5451 
   5452 ac_save_CFLAGS="$CFLAGS"
   5453 CFLAGS="$CFLAGS -Wall"
   5454 cat >conftest.$ac_ext <<_ACEOF
   5455 /* confdefs.h.  */
   5456 _ACEOF
   5457 cat confdefs.h >>conftest.$ac_ext
   5458 cat >>conftest.$ac_ext <<_ACEOF
   5459 /* end confdefs.h.  */
   5460 
   5461 int
   5462 main ()
   5463 {
   5464 int x;
   5465   ;
   5466   return 0;
   5467 }
   5468 _ACEOF
   5469 rm -f conftest.$ac_objext
   5470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5471   (eval $ac_compile) 2>conftest.er1
   5472   ac_status=$?
   5473   grep -v '^ *+' conftest.er1 >conftest.err
   5474   rm -f conftest.er1
   5475   cat conftest.err >&5
   5476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5477   (exit $ac_status); } &&
   5478 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5480   (eval $ac_try) 2>&5
   5481   ac_status=$?
   5482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5483   (exit $ac_status); }; } &&
   5484 	 { ac_try='test -s conftest.$ac_objext'
   5485   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5486   (eval $ac_try) 2>&5
   5487   ac_status=$?
   5488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5489   (exit $ac_status); }; }; then
   5490   WARNING_CFLAGS="$WARNING_CFLAGS -Wall"
   5491 echo "$as_me:$LINENO: result: yes" >&5
   5492 echo "${ECHO_T}yes" >&6
   5493 else
   5494   echo "$as_me: failed program was:" >&5
   5495 sed 's/^/| /' conftest.$ac_ext >&5
   5496 
   5497 echo "$as_me:$LINENO: result: no" >&5
   5498 echo "${ECHO_T}no" >&6
   5499 fi
   5500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5501 CFLAGS="$ac_save_CFLAGS"
   5502   echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-align" >&5
   5503 echo $ECHO_N "checking whether compiler accepts -Wcast-align... $ECHO_C" >&6
   5504 
   5505 ac_save_CFLAGS="$CFLAGS"
   5506 CFLAGS="$CFLAGS -Wcast-align"
   5507 cat >conftest.$ac_ext <<_ACEOF
   5508 /* confdefs.h.  */
   5509 _ACEOF
   5510 cat confdefs.h >>conftest.$ac_ext
   5511 cat >>conftest.$ac_ext <<_ACEOF
   5512 /* end confdefs.h.  */
   5513 
   5514 int
   5515 main ()
   5516 {
   5517 int x;
   5518   ;
   5519   return 0;
   5520 }
   5521 _ACEOF
   5522 rm -f conftest.$ac_objext
   5523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5524   (eval $ac_compile) 2>conftest.er1
   5525   ac_status=$?
   5526   grep -v '^ *+' conftest.er1 >conftest.err
   5527   rm -f conftest.er1
   5528   cat conftest.err >&5
   5529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5530   (exit $ac_status); } &&
   5531 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5532   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5533   (eval $ac_try) 2>&5
   5534   ac_status=$?
   5535   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5536   (exit $ac_status); }; } &&
   5537 	 { ac_try='test -s conftest.$ac_objext'
   5538   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5539   (eval $ac_try) 2>&5
   5540   ac_status=$?
   5541   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5542   (exit $ac_status); }; }; then
   5543   WARNING_CFLAGS="$WARNING_CFLAGS -Wcast-align"
   5544 echo "$as_me:$LINENO: result: yes" >&5
   5545 echo "${ECHO_T}yes" >&6
   5546 else
   5547   echo "$as_me: failed program was:" >&5
   5548 sed 's/^/| /' conftest.$ac_ext >&5
   5549 
   5550 echo "$as_me:$LINENO: result: no" >&5
   5551 echo "${ECHO_T}no" >&6
   5552 fi
   5553 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5554 CFLAGS="$ac_save_CFLAGS"
   5555   echo "$as_me:$LINENO: checking whether compiler accepts -Wcast-qual" >&5
   5556 echo $ECHO_N "checking whether compiler accepts -Wcast-qual... $ECHO_C" >&6
   5557 
   5558 ac_save_CFLAGS="$CFLAGS"
   5559 CFLAGS="$CFLAGS -Wcast-qual"
   5560 cat >conftest.$ac_ext <<_ACEOF
   5561 /* confdefs.h.  */
   5562 _ACEOF
   5563 cat confdefs.h >>conftest.$ac_ext
   5564 cat >>conftest.$ac_ext <<_ACEOF
   5565 /* end confdefs.h.  */
   5566 
   5567 int
   5568 main ()
   5569 {
   5570 int x;
   5571   ;
   5572   return 0;
   5573 }
   5574 _ACEOF
   5575 rm -f conftest.$ac_objext
   5576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5577   (eval $ac_compile) 2>conftest.er1
   5578   ac_status=$?
   5579   grep -v '^ *+' conftest.er1 >conftest.err
   5580   rm -f conftest.er1
   5581   cat conftest.err >&5
   5582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5583   (exit $ac_status); } &&
   5584 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5585   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5586   (eval $ac_try) 2>&5
   5587   ac_status=$?
   5588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5589   (exit $ac_status); }; } &&
   5590 	 { ac_try='test -s conftest.$ac_objext'
   5591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5592   (eval $ac_try) 2>&5
   5593   ac_status=$?
   5594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5595   (exit $ac_status); }; }; then
   5596   WARNING_CFLAGS="$WARNING_CFLAGS -Wcast-qual"
   5597 echo "$as_me:$LINENO: result: yes" >&5
   5598 echo "${ECHO_T}yes" >&6
   5599 else
   5600   echo "$as_me: failed program was:" >&5
   5601 sed 's/^/| /' conftest.$ac_ext >&5
   5602 
   5603 echo "$as_me:$LINENO: result: no" >&5
   5604 echo "${ECHO_T}no" >&6
   5605 fi
   5606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5607 CFLAGS="$ac_save_CFLAGS"
   5608   echo "$as_me:$LINENO: checking whether compiler accepts -Wformat" >&5
   5609 echo $ECHO_N "checking whether compiler accepts -Wformat... $ECHO_C" >&6
   5610 
   5611 ac_save_CFLAGS="$CFLAGS"
   5612 CFLAGS="$CFLAGS -Wformat"
   5613 cat >conftest.$ac_ext <<_ACEOF
   5614 /* confdefs.h.  */
   5615 _ACEOF
   5616 cat confdefs.h >>conftest.$ac_ext
   5617 cat >>conftest.$ac_ext <<_ACEOF
   5618 /* end confdefs.h.  */
   5619 
   5620 int
   5621 main ()
   5622 {
   5623 int x;
   5624   ;
   5625   return 0;
   5626 }
   5627 _ACEOF
   5628 rm -f conftest.$ac_objext
   5629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5630   (eval $ac_compile) 2>conftest.er1
   5631   ac_status=$?
   5632   grep -v '^ *+' conftest.er1 >conftest.err
   5633   rm -f conftest.er1
   5634   cat conftest.err >&5
   5635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5636   (exit $ac_status); } &&
   5637 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5639   (eval $ac_try) 2>&5
   5640   ac_status=$?
   5641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5642   (exit $ac_status); }; } &&
   5643 	 { ac_try='test -s conftest.$ac_objext'
   5644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5645   (eval $ac_try) 2>&5
   5646   ac_status=$?
   5647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5648   (exit $ac_status); }; }; then
   5649   WARNING_CFLAGS="$WARNING_CFLAGS -Wformat"
   5650 echo "$as_me:$LINENO: result: yes" >&5
   5651 echo "${ECHO_T}yes" >&6
   5652 else
   5653   echo "$as_me: failed program was:" >&5
   5654 sed 's/^/| /' conftest.$ac_ext >&5
   5655 
   5656 echo "$as_me:$LINENO: result: no" >&5
   5657 echo "${ECHO_T}no" >&6
   5658 fi
   5659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5660 CFLAGS="$ac_save_CFLAGS"
   5661   echo "$as_me:$LINENO: checking whether compiler accepts -Wwrite-strings" >&5
   5662 echo $ECHO_N "checking whether compiler accepts -Wwrite-strings... $ECHO_C" >&6
   5663 
   5664 ac_save_CFLAGS="$CFLAGS"
   5665 CFLAGS="$CFLAGS -Wwrite-strings"
   5666 cat >conftest.$ac_ext <<_ACEOF
   5667 /* confdefs.h.  */
   5668 _ACEOF
   5669 cat confdefs.h >>conftest.$ac_ext
   5670 cat >>conftest.$ac_ext <<_ACEOF
   5671 /* end confdefs.h.  */
   5672 
   5673 int
   5674 main ()
   5675 {
   5676 int x;
   5677   ;
   5678   return 0;
   5679 }
   5680 _ACEOF
   5681 rm -f conftest.$ac_objext
   5682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5683   (eval $ac_compile) 2>conftest.er1
   5684   ac_status=$?
   5685   grep -v '^ *+' conftest.er1 >conftest.err
   5686   rm -f conftest.er1
   5687   cat conftest.err >&5
   5688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5689   (exit $ac_status); } &&
   5690 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5691   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5692   (eval $ac_try) 2>&5
   5693   ac_status=$?
   5694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5695   (exit $ac_status); }; } &&
   5696 	 { ac_try='test -s conftest.$ac_objext'
   5697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5698   (eval $ac_try) 2>&5
   5699   ac_status=$?
   5700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5701   (exit $ac_status); }; }; then
   5702   WARNING_CFLAGS="$WARNING_CFLAGS -Wwrite-strings"
   5703 echo "$as_me:$LINENO: result: yes" >&5
   5704 echo "${ECHO_T}yes" >&6
   5705 else
   5706   echo "$as_me: failed program was:" >&5
   5707 sed 's/^/| /' conftest.$ac_ext >&5
   5708 
   5709 echo "$as_me:$LINENO: result: no" >&5
   5710 echo "${ECHO_T}no" >&6
   5711 fi
   5712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5713 CFLAGS="$ac_save_CFLAGS"
   5714   WARNING_CXXFLAGS=$WARNING_CFLAGS
   5715 
   5716   # The following warnings are not suitable for C++.
   5717   echo "$as_me:$LINENO: checking whether compiler accepts -Wbad-function-cast" >&5
   5718 echo $ECHO_N "checking whether compiler accepts -Wbad-function-cast... $ECHO_C" >&6
   5719 
   5720 ac_save_CFLAGS="$CFLAGS"
   5721 CFLAGS="$CFLAGS -Wbad-function-cast"
   5722 cat >conftest.$ac_ext <<_ACEOF
   5723 /* confdefs.h.  */
   5724 _ACEOF
   5725 cat confdefs.h >>conftest.$ac_ext
   5726 cat >>conftest.$ac_ext <<_ACEOF
   5727 /* end confdefs.h.  */
   5728 
   5729 int
   5730 main ()
   5731 {
   5732 int x;
   5733   ;
   5734   return 0;
   5735 }
   5736 _ACEOF
   5737 rm -f conftest.$ac_objext
   5738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5739   (eval $ac_compile) 2>conftest.er1
   5740   ac_status=$?
   5741   grep -v '^ *+' conftest.er1 >conftest.err
   5742   rm -f conftest.er1
   5743   cat conftest.err >&5
   5744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5745   (exit $ac_status); } &&
   5746 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5748   (eval $ac_try) 2>&5
   5749   ac_status=$?
   5750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5751   (exit $ac_status); }; } &&
   5752 	 { ac_try='test -s conftest.$ac_objext'
   5753   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5754   (eval $ac_try) 2>&5
   5755   ac_status=$?
   5756   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5757   (exit $ac_status); }; }; then
   5758   WARNING_CFLAGS="$WARNING_CFLAGS -Wbad-function-cast"
   5759 echo "$as_me:$LINENO: result: yes" >&5
   5760 echo "${ECHO_T}yes" >&6
   5761 else
   5762   echo "$as_me: failed program was:" >&5
   5763 sed 's/^/| /' conftest.$ac_ext >&5
   5764 
   5765 echo "$as_me:$LINENO: result: no" >&5
   5766 echo "${ECHO_T}no" >&6
   5767 fi
   5768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5769 CFLAGS="$ac_save_CFLAGS"
   5770   echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-declarations" >&5
   5771 echo $ECHO_N "checking whether compiler accepts -Wmissing-declarations... $ECHO_C" >&6
   5772 
   5773 ac_save_CFLAGS="$CFLAGS"
   5774 CFLAGS="$CFLAGS -Wmissing-declarations"
   5775 cat >conftest.$ac_ext <<_ACEOF
   5776 /* confdefs.h.  */
   5777 _ACEOF
   5778 cat confdefs.h >>conftest.$ac_ext
   5779 cat >>conftest.$ac_ext <<_ACEOF
   5780 /* end confdefs.h.  */
   5781 
   5782 int
   5783 main ()
   5784 {
   5785 int x;
   5786   ;
   5787   return 0;
   5788 }
   5789 _ACEOF
   5790 rm -f conftest.$ac_objext
   5791 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5792   (eval $ac_compile) 2>conftest.er1
   5793   ac_status=$?
   5794   grep -v '^ *+' conftest.er1 >conftest.err
   5795   rm -f conftest.er1
   5796   cat conftest.err >&5
   5797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5798   (exit $ac_status); } &&
   5799 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5800   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5801   (eval $ac_try) 2>&5
   5802   ac_status=$?
   5803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5804   (exit $ac_status); }; } &&
   5805 	 { ac_try='test -s conftest.$ac_objext'
   5806   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5807   (eval $ac_try) 2>&5
   5808   ac_status=$?
   5809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5810   (exit $ac_status); }; }; then
   5811   WARNING_CFLAGS="$WARNING_CFLAGS -Wmissing-declarations"
   5812 echo "$as_me:$LINENO: result: yes" >&5
   5813 echo "${ECHO_T}yes" >&6
   5814 else
   5815   echo "$as_me: failed program was:" >&5
   5816 sed 's/^/| /' conftest.$ac_ext >&5
   5817 
   5818 echo "$as_me:$LINENO: result: no" >&5
   5819 echo "${ECHO_T}no" >&6
   5820 fi
   5821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5822 CFLAGS="$ac_save_CFLAGS"
   5823   echo "$as_me:$LINENO: checking whether compiler accepts -Wmissing-prototypes" >&5
   5824 echo $ECHO_N "checking whether compiler accepts -Wmissing-prototypes... $ECHO_C" >&6
   5825 
   5826 ac_save_CFLAGS="$CFLAGS"
   5827 CFLAGS="$CFLAGS -Wmissing-prototypes"
   5828 cat >conftest.$ac_ext <<_ACEOF
   5829 /* confdefs.h.  */
   5830 _ACEOF
   5831 cat confdefs.h >>conftest.$ac_ext
   5832 cat >>conftest.$ac_ext <<_ACEOF
   5833 /* end confdefs.h.  */
   5834 
   5835 int
   5836 main ()
   5837 {
   5838 int x;
   5839   ;
   5840   return 0;
   5841 }
   5842 _ACEOF
   5843 rm -f conftest.$ac_objext
   5844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5845   (eval $ac_compile) 2>conftest.er1
   5846   ac_status=$?
   5847   grep -v '^ *+' conftest.er1 >conftest.err
   5848   rm -f conftest.er1
   5849   cat conftest.err >&5
   5850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5851   (exit $ac_status); } &&
   5852 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5853   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5854   (eval $ac_try) 2>&5
   5855   ac_status=$?
   5856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5857   (exit $ac_status); }; } &&
   5858 	 { ac_try='test -s conftest.$ac_objext'
   5859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5860   (eval $ac_try) 2>&5
   5861   ac_status=$?
   5862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5863   (exit $ac_status); }; }; then
   5864   WARNING_CFLAGS="$WARNING_CFLAGS -Wmissing-prototypes"
   5865 echo "$as_me:$LINENO: result: yes" >&5
   5866 echo "${ECHO_T}yes" >&6
   5867 else
   5868   echo "$as_me: failed program was:" >&5
   5869 sed 's/^/| /' conftest.$ac_ext >&5
   5870 
   5871 echo "$as_me:$LINENO: result: no" >&5
   5872 echo "${ECHO_T}no" >&6
   5873 fi
   5874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5875 CFLAGS="$ac_save_CFLAGS"
   5876   echo "$as_me:$LINENO: checking whether compiler accepts -Wshadow" >&5
   5877 echo $ECHO_N "checking whether compiler accepts -Wshadow... $ECHO_C" >&6
   5878 
   5879 ac_save_CFLAGS="$CFLAGS"
   5880 CFLAGS="$CFLAGS -Wshadow"
   5881 cat >conftest.$ac_ext <<_ACEOF
   5882 /* confdefs.h.  */
   5883 _ACEOF
   5884 cat confdefs.h >>conftest.$ac_ext
   5885 cat >>conftest.$ac_ext <<_ACEOF
   5886 /* end confdefs.h.  */
   5887 
   5888 int
   5889 main ()
   5890 {
   5891 int x;
   5892   ;
   5893   return 0;
   5894 }
   5895 _ACEOF
   5896 rm -f conftest.$ac_objext
   5897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5898   (eval $ac_compile) 2>conftest.er1
   5899   ac_status=$?
   5900   grep -v '^ *+' conftest.er1 >conftest.err
   5901   rm -f conftest.er1
   5902   cat conftest.err >&5
   5903   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5904   (exit $ac_status); } &&
   5905 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5906   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5907   (eval $ac_try) 2>&5
   5908   ac_status=$?
   5909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5910   (exit $ac_status); }; } &&
   5911 	 { ac_try='test -s conftest.$ac_objext'
   5912   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5913   (eval $ac_try) 2>&5
   5914   ac_status=$?
   5915   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5916   (exit $ac_status); }; }; then
   5917   WARNING_CFLAGS="$WARNING_CFLAGS -Wshadow"
   5918 echo "$as_me:$LINENO: result: yes" >&5
   5919 echo "${ECHO_T}yes" >&6
   5920 else
   5921   echo "$as_me: failed program was:" >&5
   5922 sed 's/^/| /' conftest.$ac_ext >&5
   5923 
   5924 echo "$as_me:$LINENO: result: no" >&5
   5925 echo "${ECHO_T}no" >&6
   5926 fi
   5927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5928 CFLAGS="$ac_save_CFLAGS"
   5929   echo "$as_me:$LINENO: checking whether compiler accepts -Wstrict-prototypes" >&5
   5930 echo $ECHO_N "checking whether compiler accepts -Wstrict-prototypes... $ECHO_C" >&6
   5931 
   5932 ac_save_CFLAGS="$CFLAGS"
   5933 CFLAGS="$CFLAGS -Wstrict-prototypes"
   5934 cat >conftest.$ac_ext <<_ACEOF
   5935 /* confdefs.h.  */
   5936 _ACEOF
   5937 cat confdefs.h >>conftest.$ac_ext
   5938 cat >>conftest.$ac_ext <<_ACEOF
   5939 /* end confdefs.h.  */
   5940 
   5941 int
   5942 main ()
   5943 {
   5944 int x;
   5945   ;
   5946   return 0;
   5947 }
   5948 _ACEOF
   5949 rm -f conftest.$ac_objext
   5950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5951   (eval $ac_compile) 2>conftest.er1
   5952   ac_status=$?
   5953   grep -v '^ *+' conftest.er1 >conftest.err
   5954   rm -f conftest.er1
   5955   cat conftest.err >&5
   5956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5957   (exit $ac_status); } &&
   5958 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   5959   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5960   (eval $ac_try) 2>&5
   5961   ac_status=$?
   5962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5963   (exit $ac_status); }; } &&
   5964 	 { ac_try='test -s conftest.$ac_objext'
   5965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5966   (eval $ac_try) 2>&5
   5967   ac_status=$?
   5968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5969   (exit $ac_status); }; }; then
   5970   WARNING_CFLAGS="$WARNING_CFLAGS -Wstrict-prototypes"
   5971 echo "$as_me:$LINENO: result: yes" >&5
   5972 echo "${ECHO_T}yes" >&6
   5973 else
   5974   echo "$as_me: failed program was:" >&5
   5975 sed 's/^/| /' conftest.$ac_ext >&5
   5976 
   5977 echo "$as_me:$LINENO: result: no" >&5
   5978 echo "${ECHO_T}no" >&6
   5979 fi
   5980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5981 CFLAGS="$ac_save_CFLAGS"
   5982 
   5983 cat >>confdefs.h <<\_ACEOF
   5984 #define lint 1
   5985 _ACEOF
   5986 
   5987 fi
   5988 
   5989 
   5990   cat >conftest.$ac_ext <<_ACEOF
   5991 /* confdefs.h.  */
   5992 _ACEOF
   5993 cat confdefs.h >>conftest.$ac_ext
   5994 cat >>conftest.$ac_ext <<_ACEOF
   5995 /* end confdefs.h.  */
   5996 #include <limits.h>
   5997 	 int test_array[CHAR_BIT];
   5998 int
   5999 main ()
   6000 {
   6001 
   6002   ;
   6003   return 0;
   6004 }
   6005 _ACEOF
   6006 rm -f conftest.$ac_objext
   6007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6008   (eval $ac_compile) 2>conftest.er1
   6009   ac_status=$?
   6010   grep -v '^ *+' conftest.er1 >conftest.err
   6011   rm -f conftest.er1
   6012   cat conftest.err >&5
   6013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6014   (exit $ac_status); } &&
   6015 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6016   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6017   (eval $ac_try) 2>&5
   6018   ac_status=$?
   6019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6020   (exit $ac_status); }; } &&
   6021 	 { ac_try='test -s conftest.$ac_objext'
   6022   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6023   (eval $ac_try) 2>&5
   6024   ac_status=$?
   6025   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6026   (exit $ac_status); }; }; then
   6027   :
   6028 else
   6029   echo "$as_me: failed program was:" >&5
   6030 sed 's/^/| /' conftest.$ac_ext >&5
   6031 
   6032 { { echo "$as_me:$LINENO: error: cannot compile a simple C program
   6033 See \`config.log' for more details." >&5
   6034 echo "$as_me: error: cannot compile a simple C program
   6035 See \`config.log' for more details." >&2;}
   6036    { (exit 1); exit 1; }; }
   6037 fi
   6038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6039 
   6040 
   6041 # Check whether --enable-yacc or --disable-yacc was given.
   6042 if test "${enable_yacc+set}" = set; then
   6043   enableval="$enable_yacc"
   6044 
   6045 else
   6046   enable_yacc=yes
   6047 fi;
   6048 case $enable_yacc in
   6049 yes)
   6050   YACC_SCRIPT=yacc
   6051   YACC_LIBRARY=liby.a;;
   6052 *)
   6053   YACC_SCRIPT=
   6054   YACC_LIBRARY=;;
   6055 esac
   6056 
   6057 
   6058 
   6059 # Checks for programs.
   6060 for ac_prog in flex lex
   6061 do
   6062   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6063 set dummy $ac_prog; ac_word=$2
   6064 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6066 if test "${ac_cv_prog_LEX+set}" = set; then
   6067   echo $ECHO_N "(cached) $ECHO_C" >&6
   6068 else
   6069   if test -n "$LEX"; then
   6070   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   6071 else
   6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6073 for as_dir in $PATH
   6074 do
   6075   IFS=$as_save_IFS
   6076   test -z "$as_dir" && as_dir=.
   6077   for ac_exec_ext in '' $ac_executable_extensions; do
   6078   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6079     ac_cv_prog_LEX="$ac_prog"
   6080     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6081     break 2
   6082   fi
   6083 done
   6084 done
   6085 
   6086 fi
   6087 fi
   6088 LEX=$ac_cv_prog_LEX
   6089 if test -n "$LEX"; then
   6090   echo "$as_me:$LINENO: result: $LEX" >&5
   6091 echo "${ECHO_T}$LEX" >&6
   6092 else
   6093   echo "$as_me:$LINENO: result: no" >&5
   6094 echo "${ECHO_T}no" >&6
   6095 fi
   6096 
   6097   test -n "$LEX" && break
   6098 done
   6099 test -n "$LEX" || LEX=":"
   6100 
   6101 if test -z "$LEXLIB"
   6102 then
   6103   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
   6104 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
   6105 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
   6106   echo $ECHO_N "(cached) $ECHO_C" >&6
   6107 else
   6108   ac_check_lib_save_LIBS=$LIBS
   6109 LIBS="-lfl  $LIBS"
   6110 cat >conftest.$ac_ext <<_ACEOF
   6111 /* confdefs.h.  */
   6112 _ACEOF
   6113 cat confdefs.h >>conftest.$ac_ext
   6114 cat >>conftest.$ac_ext <<_ACEOF
   6115 /* end confdefs.h.  */
   6116 
   6117 /* Override any gcc2 internal prototype to avoid an error.  */
   6118 #ifdef __cplusplus
   6119 extern "C"
   6120 #endif
   6121 /* We use char because int might match the return type of a gcc2
   6122    builtin and then its argument prototype would still apply.  */
   6123 char yywrap ();
   6124 int
   6125 main ()
   6126 {
   6127 yywrap ();
   6128   ;
   6129   return 0;
   6130 }
   6131 _ACEOF
   6132 rm -f conftest.$ac_objext conftest$ac_exeext
   6133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6134   (eval $ac_link) 2>conftest.er1
   6135   ac_status=$?
   6136   grep -v '^ *+' conftest.er1 >conftest.err
   6137   rm -f conftest.er1
   6138   cat conftest.err >&5
   6139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6140   (exit $ac_status); } &&
   6141 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6143   (eval $ac_try) 2>&5
   6144   ac_status=$?
   6145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6146   (exit $ac_status); }; } &&
   6147 	 { ac_try='test -s conftest$ac_exeext'
   6148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6149   (eval $ac_try) 2>&5
   6150   ac_status=$?
   6151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6152   (exit $ac_status); }; }; then
   6153   ac_cv_lib_fl_yywrap=yes
   6154 else
   6155   echo "$as_me: failed program was:" >&5
   6156 sed 's/^/| /' conftest.$ac_ext >&5
   6157 
   6158 ac_cv_lib_fl_yywrap=no
   6159 fi
   6160 rm -f conftest.err conftest.$ac_objext \
   6161       conftest$ac_exeext conftest.$ac_ext
   6162 LIBS=$ac_check_lib_save_LIBS
   6163 fi
   6164 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
   6165 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
   6166 if test $ac_cv_lib_fl_yywrap = yes; then
   6167   LEXLIB="-lfl"
   6168 else
   6169   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
   6170 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
   6171 if test "${ac_cv_lib_l_yywrap+set}" = set; then
   6172   echo $ECHO_N "(cached) $ECHO_C" >&6
   6173 else
   6174   ac_check_lib_save_LIBS=$LIBS
   6175 LIBS="-ll  $LIBS"
   6176 cat >conftest.$ac_ext <<_ACEOF
   6177 /* confdefs.h.  */
   6178 _ACEOF
   6179 cat confdefs.h >>conftest.$ac_ext
   6180 cat >>conftest.$ac_ext <<_ACEOF
   6181 /* end confdefs.h.  */
   6182 
   6183 /* Override any gcc2 internal prototype to avoid an error.  */
   6184 #ifdef __cplusplus
   6185 extern "C"
   6186 #endif
   6187 /* We use char because int might match the return type of a gcc2
   6188    builtin and then its argument prototype would still apply.  */
   6189 char yywrap ();
   6190 int
   6191 main ()
   6192 {
   6193 yywrap ();
   6194   ;
   6195   return 0;
   6196 }
   6197 _ACEOF
   6198 rm -f conftest.$ac_objext conftest$ac_exeext
   6199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6200   (eval $ac_link) 2>conftest.er1
   6201   ac_status=$?
   6202   grep -v '^ *+' conftest.er1 >conftest.err
   6203   rm -f conftest.er1
   6204   cat conftest.err >&5
   6205   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6206   (exit $ac_status); } &&
   6207 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6208   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6209   (eval $ac_try) 2>&5
   6210   ac_status=$?
   6211   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6212   (exit $ac_status); }; } &&
   6213 	 { ac_try='test -s conftest$ac_exeext'
   6214   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6215   (eval $ac_try) 2>&5
   6216   ac_status=$?
   6217   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6218   (exit $ac_status); }; }; then
   6219   ac_cv_lib_l_yywrap=yes
   6220 else
   6221   echo "$as_me: failed program was:" >&5
   6222 sed 's/^/| /' conftest.$ac_ext >&5
   6223 
   6224 ac_cv_lib_l_yywrap=no
   6225 fi
   6226 rm -f conftest.err conftest.$ac_objext \
   6227       conftest$ac_exeext conftest.$ac_ext
   6228 LIBS=$ac_check_lib_save_LIBS
   6229 fi
   6230 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
   6231 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
   6232 if test $ac_cv_lib_l_yywrap = yes; then
   6233   LEXLIB="-ll"
   6234 fi
   6235 
   6236 fi
   6237 
   6238 fi
   6239 
   6240 if test "x$LEX" != "x:"; then
   6241   echo "$as_me:$LINENO: checking lex output file root" >&5
   6242 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
   6243 if test "${ac_cv_prog_lex_root+set}" = set; then
   6244   echo $ECHO_N "(cached) $ECHO_C" >&6
   6245 else
   6246   # The minimal lex program is just a single line: %%.  But some broken lexes
   6247 # (Solaris, I think it was) want two %% lines, so accommodate them.
   6248 cat >conftest.l <<_ACEOF
   6249 %%
   6250 %%
   6251 _ACEOF
   6252 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
   6253   (eval $LEX conftest.l) 2>&5
   6254   ac_status=$?
   6255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6256   (exit $ac_status); }
   6257 if test -f lex.yy.c; then
   6258   ac_cv_prog_lex_root=lex.yy
   6259 elif test -f lexyy.c; then
   6260   ac_cv_prog_lex_root=lexyy
   6261 else
   6262   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
   6263 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
   6264    { (exit 1); exit 1; }; }
   6265 fi
   6266 fi
   6267 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
   6268 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
   6269 rm -f conftest.l
   6270 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   6271 
   6272 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
   6273 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
   6274 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
   6275   echo $ECHO_N "(cached) $ECHO_C" >&6
   6276 else
   6277   # POSIX says lex can declare yytext either as a pointer or an array; the
   6278 # default is implementation-dependent. Figure out which it is, since
   6279 # not all implementations provide the %pointer and %array declarations.
   6280 ac_cv_prog_lex_yytext_pointer=no
   6281 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
   6282 ac_save_LIBS=$LIBS
   6283 LIBS="$LIBS $LEXLIB"
   6284 cat >conftest.$ac_ext <<_ACEOF
   6285 `cat $LEX_OUTPUT_ROOT.c`
   6286 _ACEOF
   6287 rm -f conftest.$ac_objext conftest$ac_exeext
   6288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6289   (eval $ac_link) 2>conftest.er1
   6290   ac_status=$?
   6291   grep -v '^ *+' conftest.er1 >conftest.err
   6292   rm -f conftest.er1
   6293   cat conftest.err >&5
   6294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6295   (exit $ac_status); } &&
   6296 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6297   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6298   (eval $ac_try) 2>&5
   6299   ac_status=$?
   6300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6301   (exit $ac_status); }; } &&
   6302 	 { ac_try='test -s conftest$ac_exeext'
   6303   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6304   (eval $ac_try) 2>&5
   6305   ac_status=$?
   6306   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6307   (exit $ac_status); }; }; then
   6308   ac_cv_prog_lex_yytext_pointer=yes
   6309 else
   6310   echo "$as_me: failed program was:" >&5
   6311 sed 's/^/| /' conftest.$ac_ext >&5
   6312 
   6313 fi
   6314 rm -f conftest.err conftest.$ac_objext \
   6315       conftest$ac_exeext conftest.$ac_ext
   6316 LIBS=$ac_save_LIBS
   6317 rm -f "${LEX_OUTPUT_ROOT}.c"
   6318 
   6319 fi
   6320 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
   6321 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
   6322 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   6323 
   6324 cat >>confdefs.h <<\_ACEOF
   6325 #define YYTEXT_POINTER 1
   6326 _ACEOF
   6327 
   6328 fi
   6329 
   6330 fi
   6331 for ac_prog in 'bison -y' byacc
   6332 do
   6333   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6334 set dummy $ac_prog; ac_word=$2
   6335 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6337 if test "${ac_cv_prog_YACC+set}" = set; then
   6338   echo $ECHO_N "(cached) $ECHO_C" >&6
   6339 else
   6340   if test -n "$YACC"; then
   6341   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   6342 else
   6343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6344 for as_dir in $PATH
   6345 do
   6346   IFS=$as_save_IFS
   6347   test -z "$as_dir" && as_dir=.
   6348   for ac_exec_ext in '' $ac_executable_extensions; do
   6349   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6350     ac_cv_prog_YACC="$ac_prog"
   6351     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6352     break 2
   6353   fi
   6354 done
   6355 done
   6356 
   6357 fi
   6358 fi
   6359 YACC=$ac_cv_prog_YACC
   6360 if test -n "$YACC"; then
   6361   echo "$as_me:$LINENO: result: $YACC" >&5
   6362 echo "${ECHO_T}$YACC" >&6
   6363 else
   6364   echo "$as_me:$LINENO: result: no" >&5
   6365 echo "${ECHO_T}no" >&6
   6366 fi
   6367 
   6368   test -n "$YACC" && break
   6369 done
   6370 test -n "$YACC" || YACC="yacc"
   6371 
   6372 if test -n "$ac_tool_prefix"; then
   6373   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6374 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6375 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6377 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6378   echo $ECHO_N "(cached) $ECHO_C" >&6
   6379 else
   6380   if test -n "$RANLIB"; then
   6381   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6382 else
   6383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6384 for as_dir in $PATH
   6385 do
   6386   IFS=$as_save_IFS
   6387   test -z "$as_dir" && as_dir=.
   6388   for ac_exec_ext in '' $ac_executable_extensions; do
   6389   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6390     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6391     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6392     break 2
   6393   fi
   6394 done
   6395 done
   6396 
   6397 fi
   6398 fi
   6399 RANLIB=$ac_cv_prog_RANLIB
   6400 if test -n "$RANLIB"; then
   6401   echo "$as_me:$LINENO: result: $RANLIB" >&5
   6402 echo "${ECHO_T}$RANLIB" >&6
   6403 else
   6404   echo "$as_me:$LINENO: result: no" >&5
   6405 echo "${ECHO_T}no" >&6
   6406 fi
   6407 
   6408 fi
   6409 if test -z "$ac_cv_prog_RANLIB"; then
   6410   ac_ct_RANLIB=$RANLIB
   6411   # Extract the first word of "ranlib", so it can be a program name with args.
   6412 set dummy ranlib; ac_word=$2
   6413 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6414 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6415 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6416   echo $ECHO_N "(cached) $ECHO_C" >&6
   6417 else
   6418   if test -n "$ac_ct_RANLIB"; then
   6419   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6420 else
   6421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6422 for as_dir in $PATH
   6423 do
   6424   IFS=$as_save_IFS
   6425   test -z "$as_dir" && as_dir=.
   6426   for ac_exec_ext in '' $ac_executable_extensions; do
   6427   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6428     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6429     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6430     break 2
   6431   fi
   6432 done
   6433 done
   6434 
   6435   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   6436 fi
   6437 fi
   6438 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6439 if test -n "$ac_ct_RANLIB"; then
   6440   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6441 echo "${ECHO_T}$ac_ct_RANLIB" >&6
   6442 else
   6443   echo "$as_me:$LINENO: result: no" >&5
   6444 echo "${ECHO_T}no" >&6
   6445 fi
   6446 
   6447   RANLIB=$ac_ct_RANLIB
   6448 else
   6449   RANLIB="$ac_cv_prog_RANLIB"
   6450 fi
   6451 
   6452 for ac_prog in gm4 gnum4 m4
   6453 do
   6454   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6455 set dummy $ac_prog; ac_word=$2
   6456 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6458 if test "${ac_cv_path_M4+set}" = set; then
   6459   echo $ECHO_N "(cached) $ECHO_C" >&6
   6460 else
   6461   case $M4 in
   6462   [\\/]* | ?:[\\/]*)
   6463   ac_cv_path_M4="$M4" # Let the user override the test with a path.
   6464   ;;
   6465   *)
   6466   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6467 for as_dir in $PATH
   6468 do
   6469   IFS=$as_save_IFS
   6470   test -z "$as_dir" && as_dir=.
   6471   for ac_exec_ext in '' $ac_executable_extensions; do
   6472   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6473     ac_cv_path_M4="$as_dir/$ac_word$ac_exec_ext"
   6474     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6475     break 2
   6476   fi
   6477 done
   6478 done
   6479 
   6480   ;;
   6481 esac
   6482 fi
   6483 M4=$ac_cv_path_M4
   6484 
   6485 if test -n "$M4"; then
   6486   echo "$as_me:$LINENO: result: $M4" >&5
   6487 echo "${ECHO_T}$M4" >&6
   6488 else
   6489   echo "$as_me:$LINENO: result: no" >&5
   6490 echo "${ECHO_T}no" >&6
   6491 fi
   6492 
   6493   test -n "$M4" && break
   6494 done
   6495 test -n "$M4" || M4="m4"
   6496 
   6497 echo "$as_me:$LINENO: checking whether m4 supports frozen files" >&5
   6498 echo $ECHO_N "checking whether m4 supports frozen files... $ECHO_C" >&6
   6499 if test "${ac_cv_prog_gnu_m4+set}" = set; then
   6500   echo $ECHO_N "(cached) $ECHO_C" >&6
   6501 else
   6502   ac_cv_prog_gnu_m4=no
   6503 if test x"$M4" != x; then
   6504   case `$M4 --help < /dev/null 2>&1` in
   6505     *reload-state*) ac_cv_prog_gnu_m4=yes ;;
   6506   esac
   6507 fi
   6508 fi
   6509 echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_m4" >&5
   6510 echo "${ECHO_T}$ac_cv_prog_gnu_m4" >&6
   6511 if test x"$ac_cv_prog_gnu_m4" != xyes; then
   6512   { { echo "$as_me:$LINENO: error: GNU M4 1.4 is required" >&5
   6513 echo "$as_me: error: GNU M4 1.4 is required" >&2;}
   6514    { (exit 1); exit 1; }; }
   6515 fi
   6516 
   6517 cat >>confdefs.h <<_ACEOF
   6518 #define M4 "$M4"
   6519 _ACEOF
   6520 
   6521 
   6522 # Checks for header files.
   6523 
   6524 
   6525 
   6526 
   6527 
   6528 for ac_header in $gl_header_list
   6529 do
   6530 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6532   echo "$as_me:$LINENO: checking for $ac_header" >&5
   6533 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   6534 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6535   echo $ECHO_N "(cached) $ECHO_C" >&6
   6536 fi
   6537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   6538 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   6539 else
   6540   # Is the header compilable?
   6541 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   6542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   6543 cat >conftest.$ac_ext <<_ACEOF
   6544 /* confdefs.h.  */
   6545 _ACEOF
   6546 cat confdefs.h >>conftest.$ac_ext
   6547 cat >>conftest.$ac_ext <<_ACEOF
   6548 /* end confdefs.h.  */
   6549 $ac_includes_default
   6550 #include <$ac_header>
   6551 _ACEOF
   6552 rm -f conftest.$ac_objext
   6553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6554   (eval $ac_compile) 2>conftest.er1
   6555   ac_status=$?
   6556   grep -v '^ *+' conftest.er1 >conftest.err
   6557   rm -f conftest.er1
   6558   cat conftest.err >&5
   6559   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6560   (exit $ac_status); } &&
   6561 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6562   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6563   (eval $ac_try) 2>&5
   6564   ac_status=$?
   6565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6566   (exit $ac_status); }; } &&
   6567 	 { ac_try='test -s conftest.$ac_objext'
   6568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6569   (eval $ac_try) 2>&5
   6570   ac_status=$?
   6571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6572   (exit $ac_status); }; }; then
   6573   ac_header_compiler=yes
   6574 else
   6575   echo "$as_me: failed program was:" >&5
   6576 sed 's/^/| /' conftest.$ac_ext >&5
   6577 
   6578 ac_header_compiler=no
   6579 fi
   6580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   6582 echo "${ECHO_T}$ac_header_compiler" >&6
   6583 
   6584 # Is the header present?
   6585 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   6586 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   6587 cat >conftest.$ac_ext <<_ACEOF
   6588 /* confdefs.h.  */
   6589 _ACEOF
   6590 cat confdefs.h >>conftest.$ac_ext
   6591 cat >>conftest.$ac_ext <<_ACEOF
   6592 /* end confdefs.h.  */
   6593 #include <$ac_header>
   6594 _ACEOF
   6595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   6596   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   6597   ac_status=$?
   6598   grep -v '^ *+' conftest.er1 >conftest.err
   6599   rm -f conftest.er1
   6600   cat conftest.err >&5
   6601   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6602   (exit $ac_status); } >/dev/null; then
   6603   if test -s conftest.err; then
   6604     ac_cpp_err=$ac_c_preproc_warn_flag
   6605     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   6606   else
   6607     ac_cpp_err=
   6608   fi
   6609 else
   6610   ac_cpp_err=yes
   6611 fi
   6612 if test -z "$ac_cpp_err"; then
   6613   ac_header_preproc=yes
   6614 else
   6615   echo "$as_me: failed program was:" >&5
   6616 sed 's/^/| /' conftest.$ac_ext >&5
   6617 
   6618   ac_header_preproc=no
   6619 fi
   6620 rm -f conftest.err conftest.$ac_ext
   6621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   6622 echo "${ECHO_T}$ac_header_preproc" >&6
   6623 
   6624 # So?  What about this header?
   6625 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   6626   yes:no: )
   6627     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   6628 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   6629     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   6630 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   6631     ac_header_preproc=yes
   6632     ;;
   6633   no:yes:* )
   6634     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   6635 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   6636     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   6637 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   6638     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   6639 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   6640     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   6641 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   6642     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   6643 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   6644     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   6645 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   6646     (
   6647       cat <<\_ASBOX
   6648 ## -------------------------------- ##
   6649 ## Report this to bug-bison (at] gnu.org ##
   6650 ## -------------------------------- ##
   6651 _ASBOX
   6652     ) |
   6653       sed "s/^/$as_me: WARNING:     /" >&2
   6654     ;;
   6655 esac
   6656 echo "$as_me:$LINENO: checking for $ac_header" >&5
   6657 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   6658 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6659   echo $ECHO_N "(cached) $ECHO_C" >&6
   6660 else
   6661   eval "$as_ac_Header=\$ac_header_preproc"
   6662 fi
   6663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   6664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   6665 
   6666 fi
   6667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   6668   cat >>confdefs.h <<_ACEOF
   6669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6670 _ACEOF
   6671 
   6672 fi
   6673 
   6674 done
   6675 
   6676 
   6677 
   6678 
   6679 
   6680 
   6681 
   6682   :
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 echo "$as_me:$LINENO: checking for stdbool.h that conforms to C99" >&5
   6689 echo $ECHO_N "checking for stdbool.h that conforms to C99... $ECHO_C" >&6
   6690 if test "${ac_cv_header_stdbool_h+set}" = set; then
   6691   echo $ECHO_N "(cached) $ECHO_C" >&6
   6692 else
   6693   cat >conftest.$ac_ext <<_ACEOF
   6694 /* confdefs.h.  */
   6695 _ACEOF
   6696 cat confdefs.h >>conftest.$ac_ext
   6697 cat >>conftest.$ac_ext <<_ACEOF
   6698 /* end confdefs.h.  */
   6699 
   6700 	  #include <stdbool.h>
   6701 	  #ifndef bool
   6702 	   "error: bool is not defined"
   6703 	  #endif
   6704 	  #ifndef false
   6705 	   "error: false is not defined"
   6706 	  #endif
   6707 	  #if false
   6708 	   "error: false is not 0"
   6709 	  #endif
   6710 	  #ifndef true
   6711 	   "error: true is not defined"
   6712 	  #endif
   6713 	  #if true != 1
   6714 	   "error: true is not 1"
   6715 	  #endif
   6716 	  #ifndef __bool_true_false_are_defined
   6717 	   "error: __bool_true_false_are_defined is not defined"
   6718 	  #endif
   6719 
   6720 	  struct s { _Bool s: 1; _Bool t; } s;
   6721 
   6722 	  char a[true == 1 ? 1 : -1];
   6723 	  char b[false == 0 ? 1 : -1];
   6724 	  char c[__bool_true_false_are_defined == 1 ? 1 : -1];
   6725 	  char d[(bool) 0.5 == true ? 1 : -1];
   6726 	  bool e = &s;
   6727 	  char f[(_Bool) 0.0 == false ? 1 : -1];
   6728 	  char g[true];
   6729 	  char h[sizeof (_Bool)];
   6730 	  char i[sizeof s.t];
   6731 	  enum { j = false, k = true, l = false * true, m = true * 256 };
   6732 	  _Bool n[m];
   6733 	  char o[sizeof n == m * sizeof n[0] ? 1 : -1];
   6734 	  char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
   6735 	  #if defined __xlc__ || defined __GNUC__
   6736 	   /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
   6737 	      reported by James Lemley on 2005-10-05; see
   6738 	      http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
   6739 	      This test is not quite right, since xlc is allowed to
   6740 	      reject this program, as the initializer for xlcbug is
   6741 	      not one of the forms that C requires support for.
   6742 	      However, doing the test right would require a run-time
   6743 	      test, and that would make cross-compilation harder.
   6744 	      Let us hope that IBM fixes the xlc bug, and also adds
   6745 	      support for this kind of constant expression.  In the
   6746 	      meantime, this test will reject xlc, which is OK, since
   6747 	      our stdbool.h substitute should suffice.  We also test
   6748 	      this with GCC, where it should work, to detect more
   6749 	      quickly whether someone messes up the test in the
   6750 	      future.  */
   6751 	   char digs[] = "0123456789";
   6752 	   int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
   6753 	  #endif
   6754 	  /* Catch a bug in an HP-UX C compiler.  See
   6755 	     http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
   6756 	     http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
   6757 	   */
   6758 	  _Bool q = true;
   6759 	  _Bool *pq = &q;
   6760 
   6761 int
   6762 main ()
   6763 {
   6764 
   6765 	  *pq |= q;
   6766 	  *pq |= ! q;
   6767 	  /* Refer to every declared value, to avoid compiler optimizations.  */
   6768 	  return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
   6769 		  + !m + !n + !o + !p + !q + !pq);
   6770 
   6771   ;
   6772   return 0;
   6773 }
   6774 _ACEOF
   6775 rm -f conftest.$ac_objext
   6776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6777   (eval $ac_compile) 2>conftest.er1
   6778   ac_status=$?
   6779   grep -v '^ *+' conftest.er1 >conftest.err
   6780   rm -f conftest.er1
   6781   cat conftest.err >&5
   6782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6783   (exit $ac_status); } &&
   6784 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6785   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6786   (eval $ac_try) 2>&5
   6787   ac_status=$?
   6788   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6789   (exit $ac_status); }; } &&
   6790 	 { ac_try='test -s conftest.$ac_objext'
   6791   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6792   (eval $ac_try) 2>&5
   6793   ac_status=$?
   6794   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6795   (exit $ac_status); }; }; then
   6796   ac_cv_header_stdbool_h=yes
   6797 else
   6798   echo "$as_me: failed program was:" >&5
   6799 sed 's/^/| /' conftest.$ac_ext >&5
   6800 
   6801 ac_cv_header_stdbool_h=no
   6802 fi
   6803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6804 fi
   6805 echo "$as_me:$LINENO: result: $ac_cv_header_stdbool_h" >&5
   6806 echo "${ECHO_T}$ac_cv_header_stdbool_h" >&6
   6807    echo "$as_me:$LINENO: checking for _Bool" >&5
   6808 echo $ECHO_N "checking for _Bool... $ECHO_C" >&6
   6809 if test "${ac_cv_type__Bool+set}" = set; then
   6810   echo $ECHO_N "(cached) $ECHO_C" >&6
   6811 else
   6812   cat >conftest.$ac_ext <<_ACEOF
   6813 /* confdefs.h.  */
   6814 _ACEOF
   6815 cat confdefs.h >>conftest.$ac_ext
   6816 cat >>conftest.$ac_ext <<_ACEOF
   6817 /* end confdefs.h.  */
   6818 $ac_includes_default
   6819 int
   6820 main ()
   6821 {
   6822 if ((_Bool *) 0)
   6823   return 0;
   6824 if (sizeof (_Bool))
   6825   return 0;
   6826   ;
   6827   return 0;
   6828 }
   6829 _ACEOF
   6830 rm -f conftest.$ac_objext
   6831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6832   (eval $ac_compile) 2>conftest.er1
   6833   ac_status=$?
   6834   grep -v '^ *+' conftest.er1 >conftest.err
   6835   rm -f conftest.er1
   6836   cat conftest.err >&5
   6837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6838   (exit $ac_status); } &&
   6839 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6840   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6841   (eval $ac_try) 2>&5
   6842   ac_status=$?
   6843   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6844   (exit $ac_status); }; } &&
   6845 	 { ac_try='test -s conftest.$ac_objext'
   6846   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6847   (eval $ac_try) 2>&5
   6848   ac_status=$?
   6849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6850   (exit $ac_status); }; }; then
   6851   ac_cv_type__Bool=yes
   6852 else
   6853   echo "$as_me: failed program was:" >&5
   6854 sed 's/^/| /' conftest.$ac_ext >&5
   6855 
   6856 ac_cv_type__Bool=no
   6857 fi
   6858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6859 fi
   6860 echo "$as_me:$LINENO: result: $ac_cv_type__Bool" >&5
   6861 echo "${ECHO_T}$ac_cv_type__Bool" >&6
   6862 if test $ac_cv_type__Bool = yes; then
   6863 
   6864 cat >>confdefs.h <<_ACEOF
   6865 #define HAVE__BOOL 1
   6866 _ACEOF
   6867 
   6868 
   6869 fi
   6870 
   6871    if test $ac_cv_header_stdbool_h = yes; then
   6872 
   6873 cat >>confdefs.h <<\_ACEOF
   6874 #define HAVE_STDBOOL_H 1
   6875 _ACEOF
   6876 
   6877    fi
   6878 
   6879 
   6880 
   6881   # Define two additional variables used in the Makefile substitution.
   6882 
   6883   if test "$ac_cv_header_stdbool_h" = yes; then
   6884     STDBOOL_H=''
   6885   else
   6886     STDBOOL_H='stdbool.h'
   6887   fi
   6888 
   6889 
   6890   if test "$ac_cv_type__Bool" = yes; then
   6891     HAVE__BOOL=1
   6892   else
   6893     HAVE__BOOL=0
   6894   fi
   6895 
   6896 
   6897 
   6898 # Checks for compiler characteristics.
   6899 echo "$as_me:$LINENO: checking for inline" >&5
   6900 echo $ECHO_N "checking for inline... $ECHO_C" >&6
   6901 if test "${ac_cv_c_inline+set}" = set; then
   6902   echo $ECHO_N "(cached) $ECHO_C" >&6
   6903 else
   6904   ac_cv_c_inline=no
   6905 for ac_kw in inline __inline__ __inline; do
   6906   cat >conftest.$ac_ext <<_ACEOF
   6907 /* confdefs.h.  */
   6908 _ACEOF
   6909 cat confdefs.h >>conftest.$ac_ext
   6910 cat >>conftest.$ac_ext <<_ACEOF
   6911 /* end confdefs.h.  */
   6912 #ifndef __cplusplus
   6913 typedef int foo_t;
   6914 static $ac_kw foo_t static_foo () {return 0; }
   6915 $ac_kw foo_t foo () {return 0; }
   6916 #endif
   6917 
   6918 _ACEOF
   6919 rm -f conftest.$ac_objext
   6920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6921   (eval $ac_compile) 2>conftest.er1
   6922   ac_status=$?
   6923   grep -v '^ *+' conftest.er1 >conftest.err
   6924   rm -f conftest.er1
   6925   cat conftest.err >&5
   6926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6927   (exit $ac_status); } &&
   6928 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   6929   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6930   (eval $ac_try) 2>&5
   6931   ac_status=$?
   6932   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6933   (exit $ac_status); }; } &&
   6934 	 { ac_try='test -s conftest.$ac_objext'
   6935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6936   (eval $ac_try) 2>&5
   6937   ac_status=$?
   6938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6939   (exit $ac_status); }; }; then
   6940   ac_cv_c_inline=$ac_kw; break
   6941 else
   6942   echo "$as_me: failed program was:" >&5
   6943 sed 's/^/| /' conftest.$ac_ext >&5
   6944 
   6945 fi
   6946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6947 done
   6948 
   6949 fi
   6950 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
   6951 echo "${ECHO_T}$ac_cv_c_inline" >&6
   6952 
   6953 
   6954 case $ac_cv_c_inline in
   6955   inline | yes) ;;
   6956   *)
   6957     case $ac_cv_c_inline in
   6958       no) ac_val=;;
   6959       *) ac_val=$ac_cv_c_inline;;
   6960     esac
   6961     cat >>confdefs.h <<_ACEOF
   6962 #ifndef __cplusplus
   6963 #define inline $ac_val
   6964 #endif
   6965 _ACEOF
   6966     ;;
   6967 esac
   6968 
   6969 
   6970 # Checks for types.
   6971 echo "$as_me:$LINENO: checking for uintptr_t" >&5
   6972 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
   6973 if test "${ac_cv_type_uintptr_t+set}" = set; then
   6974   echo $ECHO_N "(cached) $ECHO_C" >&6
   6975 else
   6976   cat >conftest.$ac_ext <<_ACEOF
   6977 /* confdefs.h.  */
   6978 _ACEOF
   6979 cat confdefs.h >>conftest.$ac_ext
   6980 cat >>conftest.$ac_ext <<_ACEOF
   6981 /* end confdefs.h.  */
   6982 $ac_includes_default
   6983 int
   6984 main ()
   6985 {
   6986 if ((uintptr_t *) 0)
   6987   return 0;
   6988 if (sizeof (uintptr_t))
   6989   return 0;
   6990   ;
   6991   return 0;
   6992 }
   6993 _ACEOF
   6994 rm -f conftest.$ac_objext
   6995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6996   (eval $ac_compile) 2>conftest.er1
   6997   ac_status=$?
   6998   grep -v '^ *+' conftest.er1 >conftest.err
   6999   rm -f conftest.er1
   7000   cat conftest.err >&5
   7001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7002   (exit $ac_status); } &&
   7003 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7004   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7005   (eval $ac_try) 2>&5
   7006   ac_status=$?
   7007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7008   (exit $ac_status); }; } &&
   7009 	 { ac_try='test -s conftest.$ac_objext'
   7010   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7011   (eval $ac_try) 2>&5
   7012   ac_status=$?
   7013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7014   (exit $ac_status); }; }; then
   7015   ac_cv_type_uintptr_t=yes
   7016 else
   7017   echo "$as_me: failed program was:" >&5
   7018 sed 's/^/| /' conftest.$ac_ext >&5
   7019 
   7020 ac_cv_type_uintptr_t=no
   7021 fi
   7022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7023 fi
   7024 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
   7025 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
   7026 if test $ac_cv_type_uintptr_t = yes; then
   7027 
   7028 cat >>confdefs.h <<_ACEOF
   7029 #define HAVE_UINTPTR_T 1
   7030 _ACEOF
   7031 
   7032 
   7033 fi
   7034 
   7035 
   7036 # Checks for library functions.
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 for ac_func in $gl_func_list
   7043 do
   7044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7045 echo "$as_me:$LINENO: checking for $ac_func" >&5
   7046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   7047 if eval "test \"\${$as_ac_var+set}\" = set"; then
   7048   echo $ECHO_N "(cached) $ECHO_C" >&6
   7049 else
   7050   cat >conftest.$ac_ext <<_ACEOF
   7051 /* confdefs.h.  */
   7052 _ACEOF
   7053 cat confdefs.h >>conftest.$ac_ext
   7054 cat >>conftest.$ac_ext <<_ACEOF
   7055 /* end confdefs.h.  */
   7056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   7057    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7058 #define $ac_func innocuous_$ac_func
   7059 
   7060 /* System header to define __stub macros and hopefully few prototypes,
   7061     which can conflict with char $ac_func (); below.
   7062     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7063     <limits.h> exists even on freestanding compilers.  */
   7064 
   7065 #ifdef __STDC__
   7066 # include <limits.h>
   7067 #else
   7068 # include <assert.h>
   7069 #endif
   7070 
   7071 #undef $ac_func
   7072 
   7073 /* Override any gcc2 internal prototype to avoid an error.  */
   7074 #ifdef __cplusplus
   7075 extern "C"
   7076 {
   7077 #endif
   7078 /* We use char because int might match the return type of a gcc2
   7079    builtin and then its argument prototype would still apply.  */
   7080 char $ac_func ();
   7081 /* The GNU C library defines this for functions which it implements
   7082     to always fail with ENOSYS.  Some functions are actually named
   7083     something starting with __ and the normal name is an alias.  */
   7084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   7085 choke me
   7086 #else
   7087 char (*f) () = $ac_func;
   7088 #endif
   7089 #ifdef __cplusplus
   7090 }
   7091 #endif
   7092 
   7093 int
   7094 main ()
   7095 {
   7096 return f != $ac_func;
   7097   ;
   7098   return 0;
   7099 }
   7100 _ACEOF
   7101 rm -f conftest.$ac_objext conftest$ac_exeext
   7102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7103   (eval $ac_link) 2>conftest.er1
   7104   ac_status=$?
   7105   grep -v '^ *+' conftest.er1 >conftest.err
   7106   rm -f conftest.er1
   7107   cat conftest.err >&5
   7108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7109   (exit $ac_status); } &&
   7110 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7111   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7112   (eval $ac_try) 2>&5
   7113   ac_status=$?
   7114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7115   (exit $ac_status); }; } &&
   7116 	 { ac_try='test -s conftest$ac_exeext'
   7117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7118   (eval $ac_try) 2>&5
   7119   ac_status=$?
   7120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7121   (exit $ac_status); }; }; then
   7122   eval "$as_ac_var=yes"
   7123 else
   7124   echo "$as_me: failed program was:" >&5
   7125 sed 's/^/| /' conftest.$ac_ext >&5
   7126 
   7127 eval "$as_ac_var=no"
   7128 fi
   7129 rm -f conftest.err conftest.$ac_objext \
   7130       conftest$ac_exeext conftest.$ac_ext
   7131 fi
   7132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   7133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   7134 if test `eval echo '${'$as_ac_var'}'` = yes; then
   7135   cat >>confdefs.h <<_ACEOF
   7136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7137 _ACEOF
   7138 
   7139 fi
   7140 done
   7141 
   7142 
   7143 
   7144 
   7145 
   7146 
   7147 
   7148   :
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 echo "$as_me:$LINENO: checking if malloc debugging is wanted" >&5
   7155 echo $ECHO_N "checking if malloc debugging is wanted... $ECHO_C" >&6
   7156 
   7157 # Check whether --with-dmalloc or --without-dmalloc was given.
   7158 if test "${with_dmalloc+set}" = set; then
   7159   withval="$with_dmalloc"
   7160   if test "$withval" = yes; then
   7161   echo "$as_me:$LINENO: result: yes" >&5
   7162 echo "${ECHO_T}yes" >&6
   7163 
   7164 cat >>confdefs.h <<\_ACEOF
   7165 #define WITH_DMALLOC 1
   7166 _ACEOF
   7167 
   7168   LIBS="$LIBS -ldmalloc"
   7169   LDFLAGS="$LDFLAGS -g"
   7170 else
   7171   echo "$as_me:$LINENO: result: no" >&5
   7172 echo "${ECHO_T}no" >&6
   7173 fi
   7174 else
   7175   echo "$as_me:$LINENO: result: no" >&5
   7176 echo "${ECHO_T}no" >&6
   7177 fi;
   7178 
   7179 
   7180  echo "$as_me:$LINENO: checking for pid_t" >&5
   7181 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
   7182 if test "${ac_cv_type_pid_t+set}" = set; then
   7183   echo $ECHO_N "(cached) $ECHO_C" >&6
   7184 else
   7185   cat >conftest.$ac_ext <<_ACEOF
   7186 /* confdefs.h.  */
   7187 _ACEOF
   7188 cat confdefs.h >>conftest.$ac_ext
   7189 cat >>conftest.$ac_ext <<_ACEOF
   7190 /* end confdefs.h.  */
   7191 $ac_includes_default
   7192 int
   7193 main ()
   7194 {
   7195 if ((pid_t *) 0)
   7196   return 0;
   7197 if (sizeof (pid_t))
   7198   return 0;
   7199   ;
   7200   return 0;
   7201 }
   7202 _ACEOF
   7203 rm -f conftest.$ac_objext
   7204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7205   (eval $ac_compile) 2>conftest.er1
   7206   ac_status=$?
   7207   grep -v '^ *+' conftest.er1 >conftest.err
   7208   rm -f conftest.er1
   7209   cat conftest.err >&5
   7210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7211   (exit $ac_status); } &&
   7212 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7213   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7214   (eval $ac_try) 2>&5
   7215   ac_status=$?
   7216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7217   (exit $ac_status); }; } &&
   7218 	 { ac_try='test -s conftest.$ac_objext'
   7219   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7220   (eval $ac_try) 2>&5
   7221   ac_status=$?
   7222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7223   (exit $ac_status); }; }; then
   7224   ac_cv_type_pid_t=yes
   7225 else
   7226   echo "$as_me: failed program was:" >&5
   7227 sed 's/^/| /' conftest.$ac_ext >&5
   7228 
   7229 ac_cv_type_pid_t=no
   7230 fi
   7231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7232 fi
   7233 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
   7234 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
   7235 if test $ac_cv_type_pid_t = yes; then
   7236   :
   7237 else
   7238 
   7239 cat >>confdefs.h <<_ACEOF
   7240 #define pid_t int
   7241 _ACEOF
   7242 
   7243 fi
   7244 
   7245  echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
   7246 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
   7247 if test "${ac_cv_header_sys_wait_h+set}" = set; then
   7248   echo $ECHO_N "(cached) $ECHO_C" >&6
   7249 else
   7250   cat >conftest.$ac_ext <<_ACEOF
   7251 /* confdefs.h.  */
   7252 _ACEOF
   7253 cat confdefs.h >>conftest.$ac_ext
   7254 cat >>conftest.$ac_ext <<_ACEOF
   7255 /* end confdefs.h.  */
   7256 #include <sys/types.h>
   7257 #include <sys/wait.h>
   7258 #ifndef WEXITSTATUS
   7259 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
   7260 #endif
   7261 #ifndef WIFEXITED
   7262 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
   7263 #endif
   7264 
   7265 int
   7266 main ()
   7267 {
   7268   int s;
   7269   wait (&s);
   7270   s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
   7271   ;
   7272   return 0;
   7273 }
   7274 _ACEOF
   7275 rm -f conftest.$ac_objext
   7276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7277   (eval $ac_compile) 2>conftest.er1
   7278   ac_status=$?
   7279   grep -v '^ *+' conftest.er1 >conftest.err
   7280   rm -f conftest.er1
   7281   cat conftest.err >&5
   7282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7283   (exit $ac_status); } &&
   7284 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7286   (eval $ac_try) 2>&5
   7287   ac_status=$?
   7288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7289   (exit $ac_status); }; } &&
   7290 	 { ac_try='test -s conftest.$ac_objext'
   7291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7292   (eval $ac_try) 2>&5
   7293   ac_status=$?
   7294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7295   (exit $ac_status); }; }; then
   7296   ac_cv_header_sys_wait_h=yes
   7297 else
   7298   echo "$as_me: failed program was:" >&5
   7299 sed 's/^/| /' conftest.$ac_ext >&5
   7300 
   7301 ac_cv_header_sys_wait_h=no
   7302 fi
   7303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7304 fi
   7305 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
   7306 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
   7307 if test $ac_cv_header_sys_wait_h = yes; then
   7308 
   7309 cat >>confdefs.h <<\_ACEOF
   7310 #define HAVE_SYS_WAIT_H 1
   7311 _ACEOF
   7312 
   7313 fi
   7314 
   7315 
   7316 
   7317 for ac_func in dup2 waitpid
   7318 do
   7319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7320 echo "$as_me:$LINENO: checking for $ac_func" >&5
   7321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   7322 if eval "test \"\${$as_ac_var+set}\" = set"; then
   7323   echo $ECHO_N "(cached) $ECHO_C" >&6
   7324 else
   7325   cat >conftest.$ac_ext <<_ACEOF
   7326 /* confdefs.h.  */
   7327 _ACEOF
   7328 cat confdefs.h >>conftest.$ac_ext
   7329 cat >>conftest.$ac_ext <<_ACEOF
   7330 /* end confdefs.h.  */
   7331 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   7332    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7333 #define $ac_func innocuous_$ac_func
   7334 
   7335 /* System header to define __stub macros and hopefully few prototypes,
   7336     which can conflict with char $ac_func (); below.
   7337     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7338     <limits.h> exists even on freestanding compilers.  */
   7339 
   7340 #ifdef __STDC__
   7341 # include <limits.h>
   7342 #else
   7343 # include <assert.h>
   7344 #endif
   7345 
   7346 #undef $ac_func
   7347 
   7348 /* Override any gcc2 internal prototype to avoid an error.  */
   7349 #ifdef __cplusplus
   7350 extern "C"
   7351 {
   7352 #endif
   7353 /* We use char because int might match the return type of a gcc2
   7354    builtin and then its argument prototype would still apply.  */
   7355 char $ac_func ();
   7356 /* The GNU C library defines this for functions which it implements
   7357     to always fail with ENOSYS.  Some functions are actually named
   7358     something starting with __ and the normal name is an alias.  */
   7359 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   7360 choke me
   7361 #else
   7362 char (*f) () = $ac_func;
   7363 #endif
   7364 #ifdef __cplusplus
   7365 }
   7366 #endif
   7367 
   7368 int
   7369 main ()
   7370 {
   7371 return f != $ac_func;
   7372   ;
   7373   return 0;
   7374 }
   7375 _ACEOF
   7376 rm -f conftest.$ac_objext conftest$ac_exeext
   7377 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7378   (eval $ac_link) 2>conftest.er1
   7379   ac_status=$?
   7380   grep -v '^ *+' conftest.er1 >conftest.err
   7381   rm -f conftest.er1
   7382   cat conftest.err >&5
   7383   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7384   (exit $ac_status); } &&
   7385 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7386   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7387   (eval $ac_try) 2>&5
   7388   ac_status=$?
   7389   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7390   (exit $ac_status); }; } &&
   7391 	 { ac_try='test -s conftest$ac_exeext'
   7392   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7393   (eval $ac_try) 2>&5
   7394   ac_status=$?
   7395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7396   (exit $ac_status); }; }; then
   7397   eval "$as_ac_var=yes"
   7398 else
   7399   echo "$as_me: failed program was:" >&5
   7400 sed 's/^/| /' conftest.$ac_ext >&5
   7401 
   7402 eval "$as_ac_var=no"
   7403 fi
   7404 rm -f conftest.err conftest.$ac_objext \
   7405       conftest$ac_exeext conftest.$ac_ext
   7406 fi
   7407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   7408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   7409 if test `eval echo '${'$as_ac_var'}'` = yes; then
   7410   cat >>confdefs.h <<_ACEOF
   7411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7412 _ACEOF
   7413 
   7414 fi
   7415 done
   7416 
   7417 
   7418 
   7419 for ac_header in unistd.h vfork.h
   7420 do
   7421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7423   echo "$as_me:$LINENO: checking for $ac_header" >&5
   7424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   7425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7426   echo $ECHO_N "(cached) $ECHO_C" >&6
   7427 fi
   7428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   7429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   7430 else
   7431   # Is the header compilable?
   7432 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   7433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   7434 cat >conftest.$ac_ext <<_ACEOF
   7435 /* confdefs.h.  */
   7436 _ACEOF
   7437 cat confdefs.h >>conftest.$ac_ext
   7438 cat >>conftest.$ac_ext <<_ACEOF
   7439 /* end confdefs.h.  */
   7440 $ac_includes_default
   7441 #include <$ac_header>
   7442 _ACEOF
   7443 rm -f conftest.$ac_objext
   7444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7445   (eval $ac_compile) 2>conftest.er1
   7446   ac_status=$?
   7447   grep -v '^ *+' conftest.er1 >conftest.err
   7448   rm -f conftest.er1
   7449   cat conftest.err >&5
   7450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7451   (exit $ac_status); } &&
   7452 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7454   (eval $ac_try) 2>&5
   7455   ac_status=$?
   7456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7457   (exit $ac_status); }; } &&
   7458 	 { ac_try='test -s conftest.$ac_objext'
   7459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7460   (eval $ac_try) 2>&5
   7461   ac_status=$?
   7462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7463   (exit $ac_status); }; }; then
   7464   ac_header_compiler=yes
   7465 else
   7466   echo "$as_me: failed program was:" >&5
   7467 sed 's/^/| /' conftest.$ac_ext >&5
   7468 
   7469 ac_header_compiler=no
   7470 fi
   7471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7472 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   7473 echo "${ECHO_T}$ac_header_compiler" >&6
   7474 
   7475 # Is the header present?
   7476 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   7477 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   7478 cat >conftest.$ac_ext <<_ACEOF
   7479 /* confdefs.h.  */
   7480 _ACEOF
   7481 cat confdefs.h >>conftest.$ac_ext
   7482 cat >>conftest.$ac_ext <<_ACEOF
   7483 /* end confdefs.h.  */
   7484 #include <$ac_header>
   7485 _ACEOF
   7486 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   7487   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   7488   ac_status=$?
   7489   grep -v '^ *+' conftest.er1 >conftest.err
   7490   rm -f conftest.er1
   7491   cat conftest.err >&5
   7492   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7493   (exit $ac_status); } >/dev/null; then
   7494   if test -s conftest.err; then
   7495     ac_cpp_err=$ac_c_preproc_warn_flag
   7496     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   7497   else
   7498     ac_cpp_err=
   7499   fi
   7500 else
   7501   ac_cpp_err=yes
   7502 fi
   7503 if test -z "$ac_cpp_err"; then
   7504   ac_header_preproc=yes
   7505 else
   7506   echo "$as_me: failed program was:" >&5
   7507 sed 's/^/| /' conftest.$ac_ext >&5
   7508 
   7509   ac_header_preproc=no
   7510 fi
   7511 rm -f conftest.err conftest.$ac_ext
   7512 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   7513 echo "${ECHO_T}$ac_header_preproc" >&6
   7514 
   7515 # So?  What about this header?
   7516 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   7517   yes:no: )
   7518     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   7519 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   7520     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   7521 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   7522     ac_header_preproc=yes
   7523     ;;
   7524   no:yes:* )
   7525     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   7526 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   7527     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   7528 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   7529     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   7530 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   7531     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   7532 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   7533     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   7534 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   7535     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   7536 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   7537     (
   7538       cat <<\_ASBOX
   7539 ## -------------------------------- ##
   7540 ## Report this to bug-bison (at] gnu.org ##
   7541 ## -------------------------------- ##
   7542 _ASBOX
   7543     ) |
   7544       sed "s/^/$as_me: WARNING:     /" >&2
   7545     ;;
   7546 esac
   7547 echo "$as_me:$LINENO: checking for $ac_header" >&5
   7548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   7549 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7550   echo $ECHO_N "(cached) $ECHO_C" >&6
   7551 else
   7552   eval "$as_ac_Header=\$ac_header_preproc"
   7553 fi
   7554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   7555 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   7556 
   7557 fi
   7558 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   7559   cat >>confdefs.h <<_ACEOF
   7560 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7561 _ACEOF
   7562 
   7563 fi
   7564 
   7565 done
   7566 
   7567 
   7568 
   7569 for ac_func in fork vfork
   7570 do
   7571 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7572 echo "$as_me:$LINENO: checking for $ac_func" >&5
   7573 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   7574 if eval "test \"\${$as_ac_var+set}\" = set"; then
   7575   echo $ECHO_N "(cached) $ECHO_C" >&6
   7576 else
   7577   cat >conftest.$ac_ext <<_ACEOF
   7578 /* confdefs.h.  */
   7579 _ACEOF
   7580 cat confdefs.h >>conftest.$ac_ext
   7581 cat >>conftest.$ac_ext <<_ACEOF
   7582 /* end confdefs.h.  */
   7583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   7584    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7585 #define $ac_func innocuous_$ac_func
   7586 
   7587 /* System header to define __stub macros and hopefully few prototypes,
   7588     which can conflict with char $ac_func (); below.
   7589     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7590     <limits.h> exists even on freestanding compilers.  */
   7591 
   7592 #ifdef __STDC__
   7593 # include <limits.h>
   7594 #else
   7595 # include <assert.h>
   7596 #endif
   7597 
   7598 #undef $ac_func
   7599 
   7600 /* Override any gcc2 internal prototype to avoid an error.  */
   7601 #ifdef __cplusplus
   7602 extern "C"
   7603 {
   7604 #endif
   7605 /* We use char because int might match the return type of a gcc2
   7606    builtin and then its argument prototype would still apply.  */
   7607 char $ac_func ();
   7608 /* The GNU C library defines this for functions which it implements
   7609     to always fail with ENOSYS.  Some functions are actually named
   7610     something starting with __ and the normal name is an alias.  */
   7611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   7612 choke me
   7613 #else
   7614 char (*f) () = $ac_func;
   7615 #endif
   7616 #ifdef __cplusplus
   7617 }
   7618 #endif
   7619 
   7620 int
   7621 main ()
   7622 {
   7623 return f != $ac_func;
   7624   ;
   7625   return 0;
   7626 }
   7627 _ACEOF
   7628 rm -f conftest.$ac_objext conftest$ac_exeext
   7629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7630   (eval $ac_link) 2>conftest.er1
   7631   ac_status=$?
   7632   grep -v '^ *+' conftest.er1 >conftest.err
   7633   rm -f conftest.er1
   7634   cat conftest.err >&5
   7635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7636   (exit $ac_status); } &&
   7637 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7639   (eval $ac_try) 2>&5
   7640   ac_status=$?
   7641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7642   (exit $ac_status); }; } &&
   7643 	 { ac_try='test -s conftest$ac_exeext'
   7644   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7645   (eval $ac_try) 2>&5
   7646   ac_status=$?
   7647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7648   (exit $ac_status); }; }; then
   7649   eval "$as_ac_var=yes"
   7650 else
   7651   echo "$as_me: failed program was:" >&5
   7652 sed 's/^/| /' conftest.$ac_ext >&5
   7653 
   7654 eval "$as_ac_var=no"
   7655 fi
   7656 rm -f conftest.err conftest.$ac_objext \
   7657       conftest$ac_exeext conftest.$ac_ext
   7658 fi
   7659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   7660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   7661 if test `eval echo '${'$as_ac_var'}'` = yes; then
   7662   cat >>confdefs.h <<_ACEOF
   7663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7664 _ACEOF
   7665 
   7666 fi
   7667 done
   7668 
   7669 if test "x$ac_cv_func_fork" = xyes; then
   7670   echo "$as_me:$LINENO: checking for working fork" >&5
   7671 echo $ECHO_N "checking for working fork... $ECHO_C" >&6
   7672 if test "${ac_cv_func_fork_works+set}" = set; then
   7673   echo $ECHO_N "(cached) $ECHO_C" >&6
   7674 else
   7675   if test "$cross_compiling" = yes; then
   7676   ac_cv_func_fork_works=cross
   7677 else
   7678   cat >conftest.$ac_ext <<_ACEOF
   7679 /* By Ruediger Kuhlmann. */
   7680       #include <sys/types.h>
   7681       #if HAVE_UNISTD_H
   7682       # include <unistd.h>
   7683       #endif
   7684       /* Some systems only have a dummy stub for fork() */
   7685       int main ()
   7686       {
   7687 	if (fork() < 0)
   7688 	  exit (1);
   7689 	exit (0);
   7690       }
   7691 _ACEOF
   7692 rm -f conftest$ac_exeext
   7693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7694   (eval $ac_link) 2>&5
   7695   ac_status=$?
   7696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7697   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   7698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7699   (eval $ac_try) 2>&5
   7700   ac_status=$?
   7701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7702   (exit $ac_status); }; }; then
   7703   ac_cv_func_fork_works=yes
   7704 else
   7705   echo "$as_me: program exited with status $ac_status" >&5
   7706 echo "$as_me: failed program was:" >&5
   7707 sed 's/^/| /' conftest.$ac_ext >&5
   7708 
   7709 ( exit $ac_status )
   7710 ac_cv_func_fork_works=no
   7711 fi
   7712 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   7713 fi
   7714 fi
   7715 echo "$as_me:$LINENO: result: $ac_cv_func_fork_works" >&5
   7716 echo "${ECHO_T}$ac_cv_func_fork_works" >&6
   7717 
   7718 else
   7719   ac_cv_func_fork_works=$ac_cv_func_fork
   7720 fi
   7721 if test "x$ac_cv_func_fork_works" = xcross; then
   7722   case $host in
   7723     *-*-amigaos* | *-*-msdosdjgpp*)
   7724       # Override, as these systems have only a dummy fork() stub
   7725       ac_cv_func_fork_works=no
   7726       ;;
   7727     *)
   7728       ac_cv_func_fork_works=yes
   7729       ;;
   7730   esac
   7731   { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
   7732 echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
   7733 fi
   7734 ac_cv_func_vfork_works=$ac_cv_func_vfork
   7735 if test "x$ac_cv_func_vfork" = xyes; then
   7736   echo "$as_me:$LINENO: checking for working vfork" >&5
   7737 echo $ECHO_N "checking for working vfork... $ECHO_C" >&6
   7738 if test "${ac_cv_func_vfork_works+set}" = set; then
   7739   echo $ECHO_N "(cached) $ECHO_C" >&6
   7740 else
   7741   if test "$cross_compiling" = yes; then
   7742   ac_cv_func_vfork_works=cross
   7743 else
   7744   cat >conftest.$ac_ext <<_ACEOF
   7745 /* confdefs.h.  */
   7746 _ACEOF
   7747 cat confdefs.h >>conftest.$ac_ext
   7748 cat >>conftest.$ac_ext <<_ACEOF
   7749 /* end confdefs.h.  */
   7750 /* Thanks to Paul Eggert for this test.  */
   7751 #include <stdio.h>
   7752 #include <stdlib.h>
   7753 #include <sys/types.h>
   7754 #include <sys/stat.h>
   7755 #include <sys/wait.h>
   7756 #if HAVE_UNISTD_H
   7757 # include <unistd.h>
   7758 #endif
   7759 #if HAVE_VFORK_H
   7760 # include <vfork.h>
   7761 #endif
   7762 /* On some sparc systems, changes by the child to local and incoming
   7763    argument registers are propagated back to the parent.  The compiler
   7764    is told about this with #include <vfork.h>, but some compilers
   7765    (e.g. gcc -O) don't grok <vfork.h>.  Test for this by using a
   7766    static variable whose address is put into a register that is
   7767    clobbered by the vfork.  */
   7768 static void
   7769 #ifdef __cplusplus
   7770 sparc_address_test (int arg)
   7771 # else
   7772 sparc_address_test (arg) int arg;
   7773 #endif
   7774 {
   7775   static pid_t child;
   7776   if (!child) {
   7777     child = vfork ();
   7778     if (child < 0) {
   7779       perror ("vfork");
   7780       _exit(2);
   7781     }
   7782     if (!child) {
   7783       arg = getpid();
   7784       write(-1, "", 0);
   7785       _exit (arg);
   7786     }
   7787   }
   7788 }
   7789 
   7790 int
   7791 main ()
   7792 {
   7793   pid_t parent = getpid ();
   7794   pid_t child;
   7795 
   7796   sparc_address_test (0);
   7797 
   7798   child = vfork ();
   7799 
   7800   if (child == 0) {
   7801     /* Here is another test for sparc vfork register problems.  This
   7802        test uses lots of local variables, at least as many local
   7803        variables as main has allocated so far including compiler
   7804        temporaries.  4 locals are enough for gcc 1.40.3 on a Solaris
   7805        4.1.3 sparc, but we use 8 to be safe.  A buggy compiler should
   7806        reuse the register of parent for one of the local variables,
   7807        since it will think that parent can't possibly be used any more
   7808        in this routine.  Assigning to the local variable will thus
   7809        munge parent in the parent process.  */
   7810     pid_t
   7811       p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
   7812       p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
   7813     /* Convince the compiler that p..p7 are live; otherwise, it might
   7814        use the same hardware register for all 8 local variables.  */
   7815     if (p != p1 || p != p2 || p != p3 || p != p4
   7816 	|| p != p5 || p != p6 || p != p7)
   7817       _exit(1);
   7818 
   7819     /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
   7820        from child file descriptors.  If the child closes a descriptor
   7821        before it execs or exits, this munges the parent's descriptor
   7822        as well.  Test for this by closing stdout in the child.  */
   7823     _exit(close(fileno(stdout)) != 0);
   7824   } else {
   7825     int status;
   7826     struct stat st;
   7827 
   7828     while (wait(&status) != child)
   7829       ;
   7830     exit(
   7831 	 /* Was there some problem with vforking?  */
   7832 	 child < 0
   7833 
   7834 	 /* Did the child fail?  (This shouldn't happen.)  */
   7835 	 || status
   7836 
   7837 	 /* Did the vfork/compiler bug occur?  */
   7838 	 || parent != getpid()
   7839 
   7840 	 /* Did the file descriptor bug occur?  */
   7841 	 || fstat(fileno(stdout), &st) != 0
   7842 	 );
   7843   }
   7844 }
   7845 _ACEOF
   7846 rm -f conftest$ac_exeext
   7847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7848   (eval $ac_link) 2>&5
   7849   ac_status=$?
   7850   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7851   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   7852   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7853   (eval $ac_try) 2>&5
   7854   ac_status=$?
   7855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7856   (exit $ac_status); }; }; then
   7857   ac_cv_func_vfork_works=yes
   7858 else
   7859   echo "$as_me: program exited with status $ac_status" >&5
   7860 echo "$as_me: failed program was:" >&5
   7861 sed 's/^/| /' conftest.$ac_ext >&5
   7862 
   7863 ( exit $ac_status )
   7864 ac_cv_func_vfork_works=no
   7865 fi
   7866 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   7867 fi
   7868 fi
   7869 echo "$as_me:$LINENO: result: $ac_cv_func_vfork_works" >&5
   7870 echo "${ECHO_T}$ac_cv_func_vfork_works" >&6
   7871 
   7872 fi;
   7873 if test "x$ac_cv_func_fork_works" = xcross; then
   7874   ac_cv_func_vfork_works=$ac_cv_func_vfork
   7875   { echo "$as_me:$LINENO: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
   7876 echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
   7877 fi
   7878 
   7879 if test "x$ac_cv_func_vfork_works" = xyes; then
   7880 
   7881 cat >>confdefs.h <<\_ACEOF
   7882 #define HAVE_WORKING_VFORK 1
   7883 _ACEOF
   7884 
   7885 else
   7886 
   7887 cat >>confdefs.h <<\_ACEOF
   7888 #define vfork fork
   7889 _ACEOF
   7890 
   7891 fi
   7892 if test "x$ac_cv_func_fork_works" = xyes; then
   7893 
   7894 cat >>confdefs.h <<\_ACEOF
   7895 #define HAVE_WORKING_FORK 1
   7896 _ACEOF
   7897 
   7898 fi
   7899 
   7900 
   7901 
   7902 
   7903 for ac_header in sys/time.h sys/times.h
   7904 do
   7905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7906 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7907   echo "$as_me:$LINENO: checking for $ac_header" >&5
   7908 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   7909 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7910   echo $ECHO_N "(cached) $ECHO_C" >&6
   7911 fi
   7912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   7913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   7914 else
   7915   # Is the header compilable?
   7916 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   7917 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   7918 cat >conftest.$ac_ext <<_ACEOF
   7919 /* confdefs.h.  */
   7920 _ACEOF
   7921 cat confdefs.h >>conftest.$ac_ext
   7922 cat >>conftest.$ac_ext <<_ACEOF
   7923 /* end confdefs.h.  */
   7924 $ac_includes_default
   7925 #include <$ac_header>
   7926 _ACEOF
   7927 rm -f conftest.$ac_objext
   7928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7929   (eval $ac_compile) 2>conftest.er1
   7930   ac_status=$?
   7931   grep -v '^ *+' conftest.er1 >conftest.err
   7932   rm -f conftest.er1
   7933   cat conftest.err >&5
   7934   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7935   (exit $ac_status); } &&
   7936 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   7937   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7938   (eval $ac_try) 2>&5
   7939   ac_status=$?
   7940   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7941   (exit $ac_status); }; } &&
   7942 	 { ac_try='test -s conftest.$ac_objext'
   7943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7944   (eval $ac_try) 2>&5
   7945   ac_status=$?
   7946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7947   (exit $ac_status); }; }; then
   7948   ac_header_compiler=yes
   7949 else
   7950   echo "$as_me: failed program was:" >&5
   7951 sed 's/^/| /' conftest.$ac_ext >&5
   7952 
   7953 ac_header_compiler=no
   7954 fi
   7955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   7957 echo "${ECHO_T}$ac_header_compiler" >&6
   7958 
   7959 # Is the header present?
   7960 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   7961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   7962 cat >conftest.$ac_ext <<_ACEOF
   7963 /* confdefs.h.  */
   7964 _ACEOF
   7965 cat confdefs.h >>conftest.$ac_ext
   7966 cat >>conftest.$ac_ext <<_ACEOF
   7967 /* end confdefs.h.  */
   7968 #include <$ac_header>
   7969 _ACEOF
   7970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   7971   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   7972   ac_status=$?
   7973   grep -v '^ *+' conftest.er1 >conftest.err
   7974   rm -f conftest.er1
   7975   cat conftest.err >&5
   7976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7977   (exit $ac_status); } >/dev/null; then
   7978   if test -s conftest.err; then
   7979     ac_cpp_err=$ac_c_preproc_warn_flag
   7980     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   7981   else
   7982     ac_cpp_err=
   7983   fi
   7984 else
   7985   ac_cpp_err=yes
   7986 fi
   7987 if test -z "$ac_cpp_err"; then
   7988   ac_header_preproc=yes
   7989 else
   7990   echo "$as_me: failed program was:" >&5
   7991 sed 's/^/| /' conftest.$ac_ext >&5
   7992 
   7993   ac_header_preproc=no
   7994 fi
   7995 rm -f conftest.err conftest.$ac_ext
   7996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   7997 echo "${ECHO_T}$ac_header_preproc" >&6
   7998 
   7999 # So?  What about this header?
   8000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   8001   yes:no: )
   8002     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   8003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   8004     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   8005 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   8006     ac_header_preproc=yes
   8007     ;;
   8008   no:yes:* )
   8009     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   8010 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   8011     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   8012 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   8013     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   8014 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   8015     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   8016 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   8017     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   8018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   8019     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   8020 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   8021     (
   8022       cat <<\_ASBOX
   8023 ## -------------------------------- ##
   8024 ## Report this to bug-bison (at] gnu.org ##
   8025 ## -------------------------------- ##
   8026 _ASBOX
   8027     ) |
   8028       sed "s/^/$as_me: WARNING:     /" >&2
   8029     ;;
   8030 esac
   8031 echo "$as_me:$LINENO: checking for $ac_header" >&5
   8032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   8033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8034   echo $ECHO_N "(cached) $ECHO_C" >&6
   8035 else
   8036   eval "$as_ac_Header=\$ac_header_preproc"
   8037 fi
   8038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   8039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   8040 
   8041 fi
   8042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   8043   cat >>confdefs.h <<_ACEOF
   8044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8045 _ACEOF
   8046 
   8047 fi
   8048 
   8049 done
   8050 
   8051 
   8052 for ac_header in sys/resource.h
   8053 do
   8054 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8055 echo "$as_me:$LINENO: checking for $ac_header" >&5
   8056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   8057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8058   echo $ECHO_N "(cached) $ECHO_C" >&6
   8059 else
   8060   cat >conftest.$ac_ext <<_ACEOF
   8061 /* confdefs.h.  */
   8062 _ACEOF
   8063 cat confdefs.h >>conftest.$ac_ext
   8064 cat >>conftest.$ac_ext <<_ACEOF
   8065 /* end confdefs.h.  */
   8066 $ac_includes_default
   8067 #if HAVE_SYS_TIME_H
   8068 # include <sys/time.h>
   8069 #endif
   8070 #ifdef HAVE_SYS_TIMES_H
   8071 # include <sys/times.h>
   8072 #endif
   8073 
   8074 
   8075 #include <$ac_header>
   8076 _ACEOF
   8077 rm -f conftest.$ac_objext
   8078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8079   (eval $ac_compile) 2>conftest.er1
   8080   ac_status=$?
   8081   grep -v '^ *+' conftest.er1 >conftest.err
   8082   rm -f conftest.er1
   8083   cat conftest.err >&5
   8084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8085   (exit $ac_status); } &&
   8086 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8087   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8088   (eval $ac_try) 2>&5
   8089   ac_status=$?
   8090   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8091   (exit $ac_status); }; } &&
   8092 	 { ac_try='test -s conftest.$ac_objext'
   8093   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8094   (eval $ac_try) 2>&5
   8095   ac_status=$?
   8096   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8097   (exit $ac_status); }; }; then
   8098   eval "$as_ac_Header=yes"
   8099 else
   8100   echo "$as_me: failed program was:" >&5
   8101 sed 's/^/| /' conftest.$ac_ext >&5
   8102 
   8103 eval "$as_ac_Header=no"
   8104 fi
   8105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8106 fi
   8107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   8108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   8109 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   8110   cat >>confdefs.h <<_ACEOF
   8111 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8112 _ACEOF
   8113 
   8114 fi
   8115 
   8116 done
   8117 
   8118 
   8119 for ac_func in times
   8120 do
   8121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   8122 echo "$as_me:$LINENO: checking for $ac_func" >&5
   8123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   8124 if eval "test \"\${$as_ac_var+set}\" = set"; then
   8125   echo $ECHO_N "(cached) $ECHO_C" >&6
   8126 else
   8127   cat >conftest.$ac_ext <<_ACEOF
   8128 /* confdefs.h.  */
   8129 _ACEOF
   8130 cat confdefs.h >>conftest.$ac_ext
   8131 cat >>conftest.$ac_ext <<_ACEOF
   8132 /* end confdefs.h.  */
   8133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   8134    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8135 #define $ac_func innocuous_$ac_func
   8136 
   8137 /* System header to define __stub macros and hopefully few prototypes,
   8138     which can conflict with char $ac_func (); below.
   8139     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8140     <limits.h> exists even on freestanding compilers.  */
   8141 
   8142 #ifdef __STDC__
   8143 # include <limits.h>
   8144 #else
   8145 # include <assert.h>
   8146 #endif
   8147 
   8148 #undef $ac_func
   8149 
   8150 /* Override any gcc2 internal prototype to avoid an error.  */
   8151 #ifdef __cplusplus
   8152 extern "C"
   8153 {
   8154 #endif
   8155 /* We use char because int might match the return type of a gcc2
   8156    builtin and then its argument prototype would still apply.  */
   8157 char $ac_func ();
   8158 /* The GNU C library defines this for functions which it implements
   8159     to always fail with ENOSYS.  Some functions are actually named
   8160     something starting with __ and the normal name is an alias.  */
   8161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   8162 choke me
   8163 #else
   8164 char (*f) () = $ac_func;
   8165 #endif
   8166 #ifdef __cplusplus
   8167 }
   8168 #endif
   8169 
   8170 int
   8171 main ()
   8172 {
   8173 return f != $ac_func;
   8174   ;
   8175   return 0;
   8176 }
   8177 _ACEOF
   8178 rm -f conftest.$ac_objext conftest$ac_exeext
   8179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8180   (eval $ac_link) 2>conftest.er1
   8181   ac_status=$?
   8182   grep -v '^ *+' conftest.er1 >conftest.err
   8183   rm -f conftest.er1
   8184   cat conftest.err >&5
   8185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8186   (exit $ac_status); } &&
   8187 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8188   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8189   (eval $ac_try) 2>&5
   8190   ac_status=$?
   8191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8192   (exit $ac_status); }; } &&
   8193 	 { ac_try='test -s conftest$ac_exeext'
   8194   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8195   (eval $ac_try) 2>&5
   8196   ac_status=$?
   8197   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8198   (exit $ac_status); }; }; then
   8199   eval "$as_ac_var=yes"
   8200 else
   8201   echo "$as_me: failed program was:" >&5
   8202 sed 's/^/| /' conftest.$ac_ext >&5
   8203 
   8204 eval "$as_ac_var=no"
   8205 fi
   8206 rm -f conftest.err conftest.$ac_objext \
   8207       conftest$ac_exeext conftest.$ac_ext
   8208 fi
   8209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   8210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   8211 if test `eval echo '${'$as_ac_var'}'` = yes; then
   8212   cat >>confdefs.h <<_ACEOF
   8213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   8214 _ACEOF
   8215 
   8216 fi
   8217 done
   8218 
   8219 
   8220 echo "$as_me:$LINENO: checking whether getrusage is declared" >&5
   8221 echo $ECHO_N "checking whether getrusage is declared... $ECHO_C" >&6
   8222 if test "${ac_cv_have_decl_getrusage+set}" = set; then
   8223   echo $ECHO_N "(cached) $ECHO_C" >&6
   8224 else
   8225   cat >conftest.$ac_ext <<_ACEOF
   8226 /* confdefs.h.  */
   8227 _ACEOF
   8228 cat confdefs.h >>conftest.$ac_ext
   8229 cat >>conftest.$ac_ext <<_ACEOF
   8230 /* end confdefs.h.  */
   8231 $ac_includes_default
   8232 #if HAVE_SYS_TIME_H
   8233 # include <sys/time.h>
   8234 #endif
   8235 #if HAVE_SYS_TIMES_H
   8236 # include <sys/times.h>
   8237 #endif
   8238 #if HAVE_SYS_RESOURCE_H
   8239 # include <sys/resource.h>
   8240 #endif
   8241 
   8242 
   8243 int
   8244 main ()
   8245 {
   8246 #ifndef getrusage
   8247   char *p = (char *) getrusage;
   8248 #endif
   8249 
   8250   ;
   8251   return 0;
   8252 }
   8253 _ACEOF
   8254 rm -f conftest.$ac_objext
   8255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8256   (eval $ac_compile) 2>conftest.er1
   8257   ac_status=$?
   8258   grep -v '^ *+' conftest.er1 >conftest.err
   8259   rm -f conftest.er1
   8260   cat conftest.err >&5
   8261   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8262   (exit $ac_status); } &&
   8263 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8265   (eval $ac_try) 2>&5
   8266   ac_status=$?
   8267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8268   (exit $ac_status); }; } &&
   8269 	 { ac_try='test -s conftest.$ac_objext'
   8270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8271   (eval $ac_try) 2>&5
   8272   ac_status=$?
   8273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8274   (exit $ac_status); }; }; then
   8275   ac_cv_have_decl_getrusage=yes
   8276 else
   8277   echo "$as_me: failed program was:" >&5
   8278 sed 's/^/| /' conftest.$ac_ext >&5
   8279 
   8280 ac_cv_have_decl_getrusage=no
   8281 fi
   8282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8283 fi
   8284 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getrusage" >&5
   8285 echo "${ECHO_T}$ac_cv_have_decl_getrusage" >&6
   8286 if test $ac_cv_have_decl_getrusage = yes; then
   8287 
   8288 cat >>confdefs.h <<_ACEOF
   8289 #define HAVE_DECL_GETRUSAGE 1
   8290 _ACEOF
   8291 
   8292 
   8293 else
   8294   cat >>confdefs.h <<_ACEOF
   8295 #define HAVE_DECL_GETRUSAGE 0
   8296 _ACEOF
   8297 
   8298 
   8299 fi
   8300 echo "$as_me:$LINENO: checking whether times is declared" >&5
   8301 echo $ECHO_N "checking whether times is declared... $ECHO_C" >&6
   8302 if test "${ac_cv_have_decl_times+set}" = set; then
   8303   echo $ECHO_N "(cached) $ECHO_C" >&6
   8304 else
   8305   cat >conftest.$ac_ext <<_ACEOF
   8306 /* confdefs.h.  */
   8307 _ACEOF
   8308 cat confdefs.h >>conftest.$ac_ext
   8309 cat >>conftest.$ac_ext <<_ACEOF
   8310 /* end confdefs.h.  */
   8311 $ac_includes_default
   8312 #if HAVE_SYS_TIME_H
   8313 # include <sys/time.h>
   8314 #endif
   8315 #if HAVE_SYS_TIMES_H
   8316 # include <sys/times.h>
   8317 #endif
   8318 #if HAVE_SYS_RESOURCE_H
   8319 # include <sys/resource.h>
   8320 #endif
   8321 
   8322 
   8323 int
   8324 main ()
   8325 {
   8326 #ifndef times
   8327   char *p = (char *) times;
   8328 #endif
   8329 
   8330   ;
   8331   return 0;
   8332 }
   8333 _ACEOF
   8334 rm -f conftest.$ac_objext
   8335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8336   (eval $ac_compile) 2>conftest.er1
   8337   ac_status=$?
   8338   grep -v '^ *+' conftest.er1 >conftest.err
   8339   rm -f conftest.er1
   8340   cat conftest.err >&5
   8341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8342   (exit $ac_status); } &&
   8343 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8344   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8345   (eval $ac_try) 2>&5
   8346   ac_status=$?
   8347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8348   (exit $ac_status); }; } &&
   8349 	 { ac_try='test -s conftest.$ac_objext'
   8350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8351   (eval $ac_try) 2>&5
   8352   ac_status=$?
   8353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8354   (exit $ac_status); }; }; then
   8355   ac_cv_have_decl_times=yes
   8356 else
   8357   echo "$as_me: failed program was:" >&5
   8358 sed 's/^/| /' conftest.$ac_ext >&5
   8359 
   8360 ac_cv_have_decl_times=no
   8361 fi
   8362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8363 fi
   8364 echo "$as_me:$LINENO: result: $ac_cv_have_decl_times" >&5
   8365 echo "${ECHO_T}$ac_cv_have_decl_times" >&6
   8366 if test $ac_cv_have_decl_times = yes; then
   8367 
   8368 cat >>confdefs.h <<_ACEOF
   8369 #define HAVE_DECL_TIMES 1
   8370 _ACEOF
   8371 
   8372 
   8373 else
   8374   cat >>confdefs.h <<_ACEOF
   8375 #define HAVE_DECL_TIMES 0
   8376 _ACEOF
   8377 
   8378 
   8379 fi
   8380 echo "$as_me:$LINENO: checking whether clock is declared" >&5
   8381 echo $ECHO_N "checking whether clock is declared... $ECHO_C" >&6
   8382 if test "${ac_cv_have_decl_clock+set}" = set; then
   8383   echo $ECHO_N "(cached) $ECHO_C" >&6
   8384 else
   8385   cat >conftest.$ac_ext <<_ACEOF
   8386 /* confdefs.h.  */
   8387 _ACEOF
   8388 cat confdefs.h >>conftest.$ac_ext
   8389 cat >>conftest.$ac_ext <<_ACEOF
   8390 /* end confdefs.h.  */
   8391 $ac_includes_default
   8392 #if HAVE_SYS_TIME_H
   8393 # include <sys/time.h>
   8394 #endif
   8395 #if HAVE_SYS_TIMES_H
   8396 # include <sys/times.h>
   8397 #endif
   8398 #if HAVE_SYS_RESOURCE_H
   8399 # include <sys/resource.h>
   8400 #endif
   8401 
   8402 
   8403 int
   8404 main ()
   8405 {
   8406 #ifndef clock
   8407   char *p = (char *) clock;
   8408 #endif
   8409 
   8410   ;
   8411   return 0;
   8412 }
   8413 _ACEOF
   8414 rm -f conftest.$ac_objext
   8415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8416   (eval $ac_compile) 2>conftest.er1
   8417   ac_status=$?
   8418   grep -v '^ *+' conftest.er1 >conftest.err
   8419   rm -f conftest.er1
   8420   cat conftest.err >&5
   8421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8422   (exit $ac_status); } &&
   8423 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8425   (eval $ac_try) 2>&5
   8426   ac_status=$?
   8427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8428   (exit $ac_status); }; } &&
   8429 	 { ac_try='test -s conftest.$ac_objext'
   8430   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8431   (eval $ac_try) 2>&5
   8432   ac_status=$?
   8433   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8434   (exit $ac_status); }; }; then
   8435   ac_cv_have_decl_clock=yes
   8436 else
   8437   echo "$as_me: failed program was:" >&5
   8438 sed 's/^/| /' conftest.$ac_ext >&5
   8439 
   8440 ac_cv_have_decl_clock=no
   8441 fi
   8442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8443 fi
   8444 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clock" >&5
   8445 echo "${ECHO_T}$ac_cv_have_decl_clock" >&6
   8446 if test $ac_cv_have_decl_clock = yes; then
   8447 
   8448 cat >>confdefs.h <<_ACEOF
   8449 #define HAVE_DECL_CLOCK 1
   8450 _ACEOF
   8451 
   8452 
   8453 else
   8454   cat >>confdefs.h <<_ACEOF
   8455 #define HAVE_DECL_CLOCK 0
   8456 _ACEOF
   8457 
   8458 
   8459 fi
   8460 echo "$as_me:$LINENO: checking whether sysconf is declared" >&5
   8461 echo $ECHO_N "checking whether sysconf is declared... $ECHO_C" >&6
   8462 if test "${ac_cv_have_decl_sysconf+set}" = set; then
   8463   echo $ECHO_N "(cached) $ECHO_C" >&6
   8464 else
   8465   cat >conftest.$ac_ext <<_ACEOF
   8466 /* confdefs.h.  */
   8467 _ACEOF
   8468 cat confdefs.h >>conftest.$ac_ext
   8469 cat >>conftest.$ac_ext <<_ACEOF
   8470 /* end confdefs.h.  */
   8471 $ac_includes_default
   8472 #if HAVE_SYS_TIME_H
   8473 # include <sys/time.h>
   8474 #endif
   8475 #if HAVE_SYS_TIMES_H
   8476 # include <sys/times.h>
   8477 #endif
   8478 #if HAVE_SYS_RESOURCE_H
   8479 # include <sys/resource.h>
   8480 #endif
   8481 
   8482 
   8483 int
   8484 main ()
   8485 {
   8486 #ifndef sysconf
   8487   char *p = (char *) sysconf;
   8488 #endif
   8489 
   8490   ;
   8491   return 0;
   8492 }
   8493 _ACEOF
   8494 rm -f conftest.$ac_objext
   8495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8496   (eval $ac_compile) 2>conftest.er1
   8497   ac_status=$?
   8498   grep -v '^ *+' conftest.er1 >conftest.err
   8499   rm -f conftest.er1
   8500   cat conftest.err >&5
   8501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8502   (exit $ac_status); } &&
   8503 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8504   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8505   (eval $ac_try) 2>&5
   8506   ac_status=$?
   8507   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8508   (exit $ac_status); }; } &&
   8509 	 { ac_try='test -s conftest.$ac_objext'
   8510   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8511   (eval $ac_try) 2>&5
   8512   ac_status=$?
   8513   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8514   (exit $ac_status); }; }; then
   8515   ac_cv_have_decl_sysconf=yes
   8516 else
   8517   echo "$as_me: failed program was:" >&5
   8518 sed 's/^/| /' conftest.$ac_ext >&5
   8519 
   8520 ac_cv_have_decl_sysconf=no
   8521 fi
   8522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8523 fi
   8524 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sysconf" >&5
   8525 echo "${ECHO_T}$ac_cv_have_decl_sysconf" >&6
   8526 if test $ac_cv_have_decl_sysconf = yes; then
   8527 
   8528 cat >>confdefs.h <<_ACEOF
   8529 #define HAVE_DECL_SYSCONF 1
   8530 _ACEOF
   8531 
   8532 
   8533 else
   8534   cat >>confdefs.h <<_ACEOF
   8535 #define HAVE_DECL_SYSCONF 0
   8536 _ACEOF
   8537 
   8538 
   8539 fi
   8540 
   8541 
   8542 
   8543 echo "$as_me:$LINENO: checking for clock_t" >&5
   8544 echo $ECHO_N "checking for clock_t... $ECHO_C" >&6
   8545 if test "${ac_cv_type_clock_t+set}" = set; then
   8546   echo $ECHO_N "(cached) $ECHO_C" >&6
   8547 else
   8548   cat >conftest.$ac_ext <<_ACEOF
   8549 /* confdefs.h.  */
   8550 _ACEOF
   8551 cat confdefs.h >>conftest.$ac_ext
   8552 cat >>conftest.$ac_ext <<_ACEOF
   8553 /* end confdefs.h.  */
   8554 $ac_includes_default
   8555 #if HAVE_SYS_TIME_H
   8556 # include <sys/time.h>
   8557 #endif
   8558 #if HAVE_SYS_TIMES_H
   8559 # include <sys/times.h>
   8560 #endif
   8561 #if HAVE_SYS_RESOURCE_H
   8562 # include <sys/resource.h>
   8563 #endif
   8564 
   8565 
   8566 int
   8567 main ()
   8568 {
   8569 if ((clock_t *) 0)
   8570   return 0;
   8571 if (sizeof (clock_t))
   8572   return 0;
   8573   ;
   8574   return 0;
   8575 }
   8576 _ACEOF
   8577 rm -f conftest.$ac_objext
   8578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8579   (eval $ac_compile) 2>conftest.er1
   8580   ac_status=$?
   8581   grep -v '^ *+' conftest.er1 >conftest.err
   8582   rm -f conftest.er1
   8583   cat conftest.err >&5
   8584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8585   (exit $ac_status); } &&
   8586 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8587   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8588   (eval $ac_try) 2>&5
   8589   ac_status=$?
   8590   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8591   (exit $ac_status); }; } &&
   8592 	 { ac_try='test -s conftest.$ac_objext'
   8593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8594   (eval $ac_try) 2>&5
   8595   ac_status=$?
   8596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8597   (exit $ac_status); }; }; then
   8598   ac_cv_type_clock_t=yes
   8599 else
   8600   echo "$as_me: failed program was:" >&5
   8601 sed 's/^/| /' conftest.$ac_ext >&5
   8602 
   8603 ac_cv_type_clock_t=no
   8604 fi
   8605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8606 fi
   8607 echo "$as_me:$LINENO: result: $ac_cv_type_clock_t" >&5
   8608 echo "${ECHO_T}$ac_cv_type_clock_t" >&6
   8609 if test $ac_cv_type_clock_t = yes; then
   8610 
   8611 cat >>confdefs.h <<_ACEOF
   8612 #define HAVE_CLOCK_T 1
   8613 _ACEOF
   8614 
   8615 
   8616 fi
   8617 echo "$as_me:$LINENO: checking for struct tms" >&5
   8618 echo $ECHO_N "checking for struct tms... $ECHO_C" >&6
   8619 if test "${ac_cv_type_struct_tms+set}" = set; then
   8620   echo $ECHO_N "(cached) $ECHO_C" >&6
   8621 else
   8622   cat >conftest.$ac_ext <<_ACEOF
   8623 /* confdefs.h.  */
   8624 _ACEOF
   8625 cat confdefs.h >>conftest.$ac_ext
   8626 cat >>conftest.$ac_ext <<_ACEOF
   8627 /* end confdefs.h.  */
   8628 $ac_includes_default
   8629 #if HAVE_SYS_TIME_H
   8630 # include <sys/time.h>
   8631 #endif
   8632 #if HAVE_SYS_TIMES_H
   8633 # include <sys/times.h>
   8634 #endif
   8635 #if HAVE_SYS_RESOURCE_H
   8636 # include <sys/resource.h>
   8637 #endif
   8638 
   8639 
   8640 int
   8641 main ()
   8642 {
   8643 if ((struct tms *) 0)
   8644   return 0;
   8645 if (sizeof (struct tms))
   8646   return 0;
   8647   ;
   8648   return 0;
   8649 }
   8650 _ACEOF
   8651 rm -f conftest.$ac_objext
   8652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8653   (eval $ac_compile) 2>conftest.er1
   8654   ac_status=$?
   8655   grep -v '^ *+' conftest.er1 >conftest.err
   8656   rm -f conftest.er1
   8657   cat conftest.err >&5
   8658   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8659   (exit $ac_status); } &&
   8660 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8662   (eval $ac_try) 2>&5
   8663   ac_status=$?
   8664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8665   (exit $ac_status); }; } &&
   8666 	 { ac_try='test -s conftest.$ac_objext'
   8667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8668   (eval $ac_try) 2>&5
   8669   ac_status=$?
   8670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8671   (exit $ac_status); }; }; then
   8672   ac_cv_type_struct_tms=yes
   8673 else
   8674   echo "$as_me: failed program was:" >&5
   8675 sed 's/^/| /' conftest.$ac_ext >&5
   8676 
   8677 ac_cv_type_struct_tms=no
   8678 fi
   8679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8680 fi
   8681 echo "$as_me:$LINENO: result: $ac_cv_type_struct_tms" >&5
   8682 echo "${ECHO_T}$ac_cv_type_struct_tms" >&6
   8683 if test $ac_cv_type_struct_tms = yes; then
   8684 
   8685 cat >>confdefs.h <<_ACEOF
   8686 #define HAVE_STRUCT_TMS 1
   8687 _ACEOF
   8688 
   8689 
   8690 fi
   8691 
   8692 
   8693 
   8694 # gnulib and gettext.
   8695 
   8696     echo "$as_me:$LINENO: checking whether system is Windows or MSDOS" >&5
   8697 echo $ECHO_N "checking whether system is Windows or MSDOS... $ECHO_C" >&6
   8698 if test "${ac_cv_win_or_dos+set}" = set; then
   8699   echo $ECHO_N "(cached) $ECHO_C" >&6
   8700 else
   8701 
   8702         cat >conftest.$ac_ext <<_ACEOF
   8703 /* confdefs.h.  */
   8704 _ACEOF
   8705 cat confdefs.h >>conftest.$ac_ext
   8706 cat >>conftest.$ac_ext <<_ACEOF
   8707 /* end confdefs.h.  */
   8708 
   8709 int
   8710 main ()
   8711 {
   8712 #if !defined _WIN32 && !defined __WIN32__ && !defined __MSDOS__ && !defined __CYGWIN__
   8713 neither MSDOS nor Windows
   8714 #endif
   8715   ;
   8716   return 0;
   8717 }
   8718 _ACEOF
   8719 rm -f conftest.$ac_objext
   8720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8721   (eval $ac_compile) 2>conftest.er1
   8722   ac_status=$?
   8723   grep -v '^ *+' conftest.er1 >conftest.err
   8724   rm -f conftest.er1
   8725   cat conftest.err >&5
   8726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8727   (exit $ac_status); } &&
   8728 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8730   (eval $ac_try) 2>&5
   8731   ac_status=$?
   8732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8733   (exit $ac_status); }; } &&
   8734 	 { ac_try='test -s conftest.$ac_objext'
   8735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8736   (eval $ac_try) 2>&5
   8737   ac_status=$?
   8738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8739   (exit $ac_status); }; }; then
   8740   ac_cv_win_or_dos=yes
   8741 else
   8742   echo "$as_me: failed program was:" >&5
   8743 sed 's/^/| /' conftest.$ac_ext >&5
   8744 
   8745 ac_cv_win_or_dos=no
   8746 fi
   8747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8748 
   8749 fi
   8750 echo "$as_me:$LINENO: result: $ac_cv_win_or_dos" >&5
   8751 echo "${ECHO_T}$ac_cv_win_or_dos" >&6
   8752 
   8753     if test x"$ac_cv_win_or_dos" = xyes; then
   8754       ac_fs_accepts_drive_letter_prefix=1
   8755       ac_fs_backslash_is_file_name_separator=1
   8756     else
   8757       ac_fs_accepts_drive_letter_prefix=0
   8758       ac_fs_backslash_is_file_name_separator=0
   8759     fi
   8760 
   8761 
   8762 
   8763 
   8764 
   8765 cat >>confdefs.h <<_ACEOF
   8766 #define FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX $ac_fs_accepts_drive_letter_prefix
   8767 _ACEOF
   8768 
   8769 
   8770 
   8771 
   8772 
   8773 
   8774 cat >>confdefs.h <<_ACEOF
   8775 #define FILE_SYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR $ac_fs_backslash_is_file_name_separator
   8776 _ACEOF
   8777 
   8778 
   8779 echo "$as_me:$LINENO: checking whether strerror_r is declared" >&5
   8780 echo $ECHO_N "checking whether strerror_r is declared... $ECHO_C" >&6
   8781 if test "${ac_cv_have_decl_strerror_r+set}" = set; then
   8782   echo $ECHO_N "(cached) $ECHO_C" >&6
   8783 else
   8784   cat >conftest.$ac_ext <<_ACEOF
   8785 /* confdefs.h.  */
   8786 _ACEOF
   8787 cat confdefs.h >>conftest.$ac_ext
   8788 cat >>conftest.$ac_ext <<_ACEOF
   8789 /* end confdefs.h.  */
   8790 $ac_includes_default
   8791 int
   8792 main ()
   8793 {
   8794 #ifndef strerror_r
   8795   char *p = (char *) strerror_r;
   8796 #endif
   8797 
   8798   ;
   8799   return 0;
   8800 }
   8801 _ACEOF
   8802 rm -f conftest.$ac_objext
   8803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8804   (eval $ac_compile) 2>conftest.er1
   8805   ac_status=$?
   8806   grep -v '^ *+' conftest.er1 >conftest.err
   8807   rm -f conftest.er1
   8808   cat conftest.err >&5
   8809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8810   (exit $ac_status); } &&
   8811 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8812   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8813   (eval $ac_try) 2>&5
   8814   ac_status=$?
   8815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8816   (exit $ac_status); }; } &&
   8817 	 { ac_try='test -s conftest.$ac_objext'
   8818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8819   (eval $ac_try) 2>&5
   8820   ac_status=$?
   8821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8822   (exit $ac_status); }; }; then
   8823   ac_cv_have_decl_strerror_r=yes
   8824 else
   8825   echo "$as_me: failed program was:" >&5
   8826 sed 's/^/| /' conftest.$ac_ext >&5
   8827 
   8828 ac_cv_have_decl_strerror_r=no
   8829 fi
   8830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8831 fi
   8832 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror_r" >&5
   8833 echo "${ECHO_T}$ac_cv_have_decl_strerror_r" >&6
   8834 if test $ac_cv_have_decl_strerror_r = yes; then
   8835 
   8836 cat >>confdefs.h <<_ACEOF
   8837 #define HAVE_DECL_STRERROR_R 1
   8838 _ACEOF
   8839 
   8840 
   8841 else
   8842   cat >>confdefs.h <<_ACEOF
   8843 #define HAVE_DECL_STRERROR_R 0
   8844 _ACEOF
   8845 
   8846 
   8847 fi
   8848 
   8849 
   8850 
   8851 for ac_func in strerror_r
   8852 do
   8853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   8854 echo "$as_me:$LINENO: checking for $ac_func" >&5
   8855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   8856 if eval "test \"\${$as_ac_var+set}\" = set"; then
   8857   echo $ECHO_N "(cached) $ECHO_C" >&6
   8858 else
   8859   cat >conftest.$ac_ext <<_ACEOF
   8860 /* confdefs.h.  */
   8861 _ACEOF
   8862 cat confdefs.h >>conftest.$ac_ext
   8863 cat >>conftest.$ac_ext <<_ACEOF
   8864 /* end confdefs.h.  */
   8865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   8866    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8867 #define $ac_func innocuous_$ac_func
   8868 
   8869 /* System header to define __stub macros and hopefully few prototypes,
   8870     which can conflict with char $ac_func (); below.
   8871     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8872     <limits.h> exists even on freestanding compilers.  */
   8873 
   8874 #ifdef __STDC__
   8875 # include <limits.h>
   8876 #else
   8877 # include <assert.h>
   8878 #endif
   8879 
   8880 #undef $ac_func
   8881 
   8882 /* Override any gcc2 internal prototype to avoid an error.  */
   8883 #ifdef __cplusplus
   8884 extern "C"
   8885 {
   8886 #endif
   8887 /* We use char because int might match the return type of a gcc2
   8888    builtin and then its argument prototype would still apply.  */
   8889 char $ac_func ();
   8890 /* The GNU C library defines this for functions which it implements
   8891     to always fail with ENOSYS.  Some functions are actually named
   8892     something starting with __ and the normal name is an alias.  */
   8893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   8894 choke me
   8895 #else
   8896 char (*f) () = $ac_func;
   8897 #endif
   8898 #ifdef __cplusplus
   8899 }
   8900 #endif
   8901 
   8902 int
   8903 main ()
   8904 {
   8905 return f != $ac_func;
   8906   ;
   8907   return 0;
   8908 }
   8909 _ACEOF
   8910 rm -f conftest.$ac_objext conftest$ac_exeext
   8911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8912   (eval $ac_link) 2>conftest.er1
   8913   ac_status=$?
   8914   grep -v '^ *+' conftest.er1 >conftest.err
   8915   rm -f conftest.er1
   8916   cat conftest.err >&5
   8917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8918   (exit $ac_status); } &&
   8919 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8920   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8921   (eval $ac_try) 2>&5
   8922   ac_status=$?
   8923   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8924   (exit $ac_status); }; } &&
   8925 	 { ac_try='test -s conftest$ac_exeext'
   8926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8927   (eval $ac_try) 2>&5
   8928   ac_status=$?
   8929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8930   (exit $ac_status); }; }; then
   8931   eval "$as_ac_var=yes"
   8932 else
   8933   echo "$as_me: failed program was:" >&5
   8934 sed 's/^/| /' conftest.$ac_ext >&5
   8935 
   8936 eval "$as_ac_var=no"
   8937 fi
   8938 rm -f conftest.err conftest.$ac_objext \
   8939       conftest$ac_exeext conftest.$ac_ext
   8940 fi
   8941 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   8942 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   8943 if test `eval echo '${'$as_ac_var'}'` = yes; then
   8944   cat >>confdefs.h <<_ACEOF
   8945 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   8946 _ACEOF
   8947 
   8948 fi
   8949 done
   8950 
   8951 echo "$as_me:$LINENO: checking whether strerror_r returns char *" >&5
   8952 echo $ECHO_N "checking whether strerror_r returns char *... $ECHO_C" >&6
   8953 if test "${ac_cv_func_strerror_r_char_p+set}" = set; then
   8954   echo $ECHO_N "(cached) $ECHO_C" >&6
   8955 else
   8956 
   8957     ac_cv_func_strerror_r_char_p=no
   8958     if test $ac_cv_have_decl_strerror_r = yes; then
   8959       cat >conftest.$ac_ext <<_ACEOF
   8960 /* confdefs.h.  */
   8961 _ACEOF
   8962 cat confdefs.h >>conftest.$ac_ext
   8963 cat >>conftest.$ac_ext <<_ACEOF
   8964 /* end confdefs.h.  */
   8965 $ac_includes_default
   8966 int
   8967 main ()
   8968 {
   8969 
   8970 	  char buf[100];
   8971 	  char x = *strerror_r (0, buf, sizeof buf);
   8972 	  char *p = strerror_r (0, buf, sizeof buf);
   8973 
   8974   ;
   8975   return 0;
   8976 }
   8977 _ACEOF
   8978 rm -f conftest.$ac_objext
   8979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8980   (eval $ac_compile) 2>conftest.er1
   8981   ac_status=$?
   8982   grep -v '^ *+' conftest.er1 >conftest.err
   8983   rm -f conftest.er1
   8984   cat conftest.err >&5
   8985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8986   (exit $ac_status); } &&
   8987 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   8988   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8989   (eval $ac_try) 2>&5
   8990   ac_status=$?
   8991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8992   (exit $ac_status); }; } &&
   8993 	 { ac_try='test -s conftest.$ac_objext'
   8994   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8995   (eval $ac_try) 2>&5
   8996   ac_status=$?
   8997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8998   (exit $ac_status); }; }; then
   8999   ac_cv_func_strerror_r_char_p=yes
   9000 else
   9001   echo "$as_me: failed program was:" >&5
   9002 sed 's/^/| /' conftest.$ac_ext >&5
   9003 
   9004 fi
   9005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9006     else
   9007       # strerror_r is not declared.  Choose between
   9008       # systems that have relatively inaccessible declarations for the
   9009       # function.  BeOS and DEC UNIX 4.0 fall in this category, but the
   9010       # former has a strerror_r that returns char*, while the latter
   9011       # has a strerror_r that returns `int'.
   9012       # This test should segfault on the DEC system.
   9013       if test "$cross_compiling" = yes; then
   9014   :
   9015 else
   9016   cat >conftest.$ac_ext <<_ACEOF
   9017 /* confdefs.h.  */
   9018 _ACEOF
   9019 cat confdefs.h >>conftest.$ac_ext
   9020 cat >>conftest.$ac_ext <<_ACEOF
   9021 /* end confdefs.h.  */
   9022 $ac_includes_default
   9023 	extern char *strerror_r ();
   9024 int
   9025 main ()
   9026 {
   9027 char buf[100];
   9028 	  char x = *strerror_r (0, buf, sizeof buf);
   9029 	  exit (!isalpha (x));
   9030   ;
   9031   return 0;
   9032 }
   9033 _ACEOF
   9034 rm -f conftest$ac_exeext
   9035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9036   (eval $ac_link) 2>&5
   9037   ac_status=$?
   9038   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9039   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   9040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9041   (eval $ac_try) 2>&5
   9042   ac_status=$?
   9043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9044   (exit $ac_status); }; }; then
   9045   ac_cv_func_strerror_r_char_p=yes
   9046 else
   9047   echo "$as_me: program exited with status $ac_status" >&5
   9048 echo "$as_me: failed program was:" >&5
   9049 sed 's/^/| /' conftest.$ac_ext >&5
   9050 
   9051 fi
   9052 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   9053 fi
   9054     fi
   9055 
   9056 fi
   9057 echo "$as_me:$LINENO: result: $ac_cv_func_strerror_r_char_p" >&5
   9058 echo "${ECHO_T}$ac_cv_func_strerror_r_char_p" >&6
   9059 if test $ac_cv_func_strerror_r_char_p = yes; then
   9060 
   9061 cat >>confdefs.h <<\_ACEOF
   9062 #define STRERROR_R_CHAR_P 1
   9063 _ACEOF
   9064 
   9065 fi
   9066 
   9067 
   9068   if test -z "$GETOPT_H"; then
   9069 
   9070 for ac_header in getopt.h
   9071 do
   9072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   9073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9074   echo "$as_me:$LINENO: checking for $ac_header" >&5
   9075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   9076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9077   echo $ECHO_N "(cached) $ECHO_C" >&6
   9078 fi
   9079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   9080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   9081 else
   9082   # Is the header compilable?
   9083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   9084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   9085 cat >conftest.$ac_ext <<_ACEOF
   9086 /* confdefs.h.  */
   9087 _ACEOF
   9088 cat confdefs.h >>conftest.$ac_ext
   9089 cat >>conftest.$ac_ext <<_ACEOF
   9090 /* end confdefs.h.  */
   9091 $ac_includes_default
   9092 #include <$ac_header>
   9093 _ACEOF
   9094 rm -f conftest.$ac_objext
   9095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9096   (eval $ac_compile) 2>conftest.er1
   9097   ac_status=$?
   9098   grep -v '^ *+' conftest.er1 >conftest.err
   9099   rm -f conftest.er1
   9100   cat conftest.err >&5
   9101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9102   (exit $ac_status); } &&
   9103 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   9104   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9105   (eval $ac_try) 2>&5
   9106   ac_status=$?
   9107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9108   (exit $ac_status); }; } &&
   9109 	 { ac_try='test -s conftest.$ac_objext'
   9110   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9111   (eval $ac_try) 2>&5
   9112   ac_status=$?
   9113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9114   (exit $ac_status); }; }; then
   9115   ac_header_compiler=yes
   9116 else
   9117   echo "$as_me: failed program was:" >&5
   9118 sed 's/^/| /' conftest.$ac_ext >&5
   9119 
   9120 ac_header_compiler=no
   9121 fi
   9122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   9124 echo "${ECHO_T}$ac_header_compiler" >&6
   9125 
   9126 # Is the header present?
   9127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   9128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   9129 cat >conftest.$ac_ext <<_ACEOF
   9130 /* confdefs.h.  */
   9131 _ACEOF
   9132 cat confdefs.h >>conftest.$ac_ext
   9133 cat >>conftest.$ac_ext <<_ACEOF
   9134 /* end confdefs.h.  */
   9135 #include <$ac_header>
   9136 _ACEOF
   9137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   9138   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   9139   ac_status=$?
   9140   grep -v '^ *+' conftest.er1 >conftest.err
   9141   rm -f conftest.er1
   9142   cat conftest.err >&5
   9143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9144   (exit $ac_status); } >/dev/null; then
   9145   if test -s conftest.err; then
   9146     ac_cpp_err=$ac_c_preproc_warn_flag
   9147     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   9148   else
   9149     ac_cpp_err=
   9150   fi
   9151 else
   9152   ac_cpp_err=yes
   9153 fi
   9154 if test -z "$ac_cpp_err"; then
   9155   ac_header_preproc=yes
   9156 else
   9157   echo "$as_me: failed program was:" >&5
   9158 sed 's/^/| /' conftest.$ac_ext >&5
   9159 
   9160   ac_header_preproc=no
   9161 fi
   9162 rm -f conftest.err conftest.$ac_ext
   9163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   9164 echo "${ECHO_T}$ac_header_preproc" >&6
   9165 
   9166 # So?  What about this header?
   9167 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   9168   yes:no: )
   9169     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   9170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   9171     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   9172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   9173     ac_header_preproc=yes
   9174     ;;
   9175   no:yes:* )
   9176     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   9177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   9178     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   9179 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   9180     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   9181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   9182     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   9183 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   9184     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   9185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   9186     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   9187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   9188     (
   9189       cat <<\_ASBOX
   9190 ## -------------------------------- ##
   9191 ## Report this to bug-bison (at] gnu.org ##
   9192 ## -------------------------------- ##
   9193 _ASBOX
   9194     ) |
   9195       sed "s/^/$as_me: WARNING:     /" >&2
   9196     ;;
   9197 esac
   9198 echo "$as_me:$LINENO: checking for $ac_header" >&5
   9199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   9200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9201   echo $ECHO_N "(cached) $ECHO_C" >&6
   9202 else
   9203   eval "$as_ac_Header=\$ac_header_preproc"
   9204 fi
   9205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   9206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   9207 
   9208 fi
   9209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   9210   cat >>confdefs.h <<_ACEOF
   9211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   9212 _ACEOF
   9213 
   9214 else
   9215   GETOPT_H=getopt.h
   9216 fi
   9217 
   9218 done
   9219 
   9220   fi
   9221 
   9222   if test -z "$GETOPT_H"; then
   9223 
   9224 for ac_func in getopt_long_only
   9225 do
   9226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   9227 echo "$as_me:$LINENO: checking for $ac_func" >&5
   9228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   9229 if eval "test \"\${$as_ac_var+set}\" = set"; then
   9230   echo $ECHO_N "(cached) $ECHO_C" >&6
   9231 else
   9232   cat >conftest.$ac_ext <<_ACEOF
   9233 /* confdefs.h.  */
   9234 _ACEOF
   9235 cat confdefs.h >>conftest.$ac_ext
   9236 cat >>conftest.$ac_ext <<_ACEOF
   9237 /* end confdefs.h.  */
   9238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   9239    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   9240 #define $ac_func innocuous_$ac_func
   9241 
   9242 /* System header to define __stub macros and hopefully few prototypes,
   9243     which can conflict with char $ac_func (); below.
   9244     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   9245     <limits.h> exists even on freestanding compilers.  */
   9246 
   9247 #ifdef __STDC__
   9248 # include <limits.h>
   9249 #else
   9250 # include <assert.h>
   9251 #endif
   9252 
   9253 #undef $ac_func
   9254 
   9255 /* Override any gcc2 internal prototype to avoid an error.  */
   9256 #ifdef __cplusplus
   9257 extern "C"
   9258 {
   9259 #endif
   9260 /* We use char because int might match the return type of a gcc2
   9261    builtin and then its argument prototype would still apply.  */
   9262 char $ac_func ();
   9263 /* The GNU C library defines this for functions which it implements
   9264     to always fail with ENOSYS.  Some functions are actually named
   9265     something starting with __ and the normal name is an alias.  */
   9266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   9267 choke me
   9268 #else
   9269 char (*f) () = $ac_func;
   9270 #endif
   9271 #ifdef __cplusplus
   9272 }
   9273 #endif
   9274 
   9275 int
   9276 main ()
   9277 {
   9278 return f != $ac_func;
   9279   ;
   9280   return 0;
   9281 }
   9282 _ACEOF
   9283 rm -f conftest.$ac_objext conftest$ac_exeext
   9284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9285   (eval $ac_link) 2>conftest.er1
   9286   ac_status=$?
   9287   grep -v '^ *+' conftest.er1 >conftest.err
   9288   rm -f conftest.er1
   9289   cat conftest.err >&5
   9290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9291   (exit $ac_status); } &&
   9292 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   9293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9294   (eval $ac_try) 2>&5
   9295   ac_status=$?
   9296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9297   (exit $ac_status); }; } &&
   9298 	 { ac_try='test -s conftest$ac_exeext'
   9299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9300   (eval $ac_try) 2>&5
   9301   ac_status=$?
   9302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9303   (exit $ac_status); }; }; then
   9304   eval "$as_ac_var=yes"
   9305 else
   9306   echo "$as_me: failed program was:" >&5
   9307 sed 's/^/| /' conftest.$ac_ext >&5
   9308 
   9309 eval "$as_ac_var=no"
   9310 fi
   9311 rm -f conftest.err conftest.$ac_objext \
   9312       conftest$ac_exeext conftest.$ac_ext
   9313 fi
   9314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   9315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   9316 if test `eval echo '${'$as_ac_var'}'` = yes; then
   9317   cat >>confdefs.h <<_ACEOF
   9318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   9319 _ACEOF
   9320 
   9321 else
   9322   GETOPT_H=getopt.h
   9323 fi
   9324 done
   9325 
   9326   fi
   9327 
   9328       if test -z "$GETOPT_H"; then
   9329     echo "$as_me:$LINENO: checking whether optreset is declared" >&5
   9330 echo $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
   9331 if test "${ac_cv_have_decl_optreset+set}" = set; then
   9332   echo $ECHO_N "(cached) $ECHO_C" >&6
   9333 else
   9334   cat >conftest.$ac_ext <<_ACEOF
   9335 /* confdefs.h.  */
   9336 _ACEOF
   9337 cat confdefs.h >>conftest.$ac_ext
   9338 cat >>conftest.$ac_ext <<_ACEOF
   9339 /* end confdefs.h.  */
   9340 #include <getopt.h>
   9341 
   9342 int
   9343 main ()
   9344 {
   9345 #ifndef optreset
   9346   char *p = (char *) optreset;
   9347 #endif
   9348 
   9349   ;
   9350   return 0;
   9351 }
   9352 _ACEOF
   9353 rm -f conftest.$ac_objext
   9354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9355   (eval $ac_compile) 2>conftest.er1
   9356   ac_status=$?
   9357   grep -v '^ *+' conftest.er1 >conftest.err
   9358   rm -f conftest.er1
   9359   cat conftest.err >&5
   9360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9361   (exit $ac_status); } &&
   9362 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   9363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9364   (eval $ac_try) 2>&5
   9365   ac_status=$?
   9366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9367   (exit $ac_status); }; } &&
   9368 	 { ac_try='test -s conftest.$ac_objext'
   9369   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9370   (eval $ac_try) 2>&5
   9371   ac_status=$?
   9372   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9373   (exit $ac_status); }; }; then
   9374   ac_cv_have_decl_optreset=yes
   9375 else
   9376   echo "$as_me: failed program was:" >&5
   9377 sed 's/^/| /' conftest.$ac_ext >&5
   9378 
   9379 ac_cv_have_decl_optreset=no
   9380 fi
   9381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9382 fi
   9383 echo "$as_me:$LINENO: result: $ac_cv_have_decl_optreset" >&5
   9384 echo "${ECHO_T}$ac_cv_have_decl_optreset" >&6
   9385 if test $ac_cv_have_decl_optreset = yes; then
   9386   GETOPT_H=getopt.h
   9387 fi
   9388 
   9389   fi
   9390 
   9391       if test -z "$GETOPT_H"; then
   9392     echo "$as_me:$LINENO: checking for working GNU getopt function" >&5
   9393 echo $ECHO_N "checking for working GNU getopt function... $ECHO_C" >&6
   9394 if test "${gl_cv_func_gnu_getopt+set}" = set; then
   9395   echo $ECHO_N "(cached) $ECHO_C" >&6
   9396 else
   9397   if test "$cross_compiling" = yes; then
   9398   	 	 	 echo "$as_me:$LINENO: checking whether getopt_clip is declared" >&5
   9399 echo $ECHO_N "checking whether getopt_clip is declared... $ECHO_C" >&6
   9400 if test "${ac_cv_have_decl_getopt_clip+set}" = set; then
   9401   echo $ECHO_N "(cached) $ECHO_C" >&6
   9402 else
   9403   cat >conftest.$ac_ext <<_ACEOF
   9404 /* confdefs.h.  */
   9405 _ACEOF
   9406 cat confdefs.h >>conftest.$ac_ext
   9407 cat >>conftest.$ac_ext <<_ACEOF
   9408 /* end confdefs.h.  */
   9409 #include <getopt.h>
   9410 
   9411 int
   9412 main ()
   9413 {
   9414 #ifndef getopt_clip
   9415   char *p = (char *) getopt_clip;
   9416 #endif
   9417 
   9418   ;
   9419   return 0;
   9420 }
   9421 _ACEOF
   9422 rm -f conftest.$ac_objext
   9423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9424   (eval $ac_compile) 2>conftest.er1
   9425   ac_status=$?
   9426   grep -v '^ *+' conftest.er1 >conftest.err
   9427   rm -f conftest.er1
   9428   cat conftest.err >&5
   9429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9430   (exit $ac_status); } &&
   9431 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   9432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9433   (eval $ac_try) 2>&5
   9434   ac_status=$?
   9435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9436   (exit $ac_status); }; } &&
   9437 	 { ac_try='test -s conftest.$ac_objext'
   9438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9439   (eval $ac_try) 2>&5
   9440   ac_status=$?
   9441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9442   (exit $ac_status); }; }; then
   9443   ac_cv_have_decl_getopt_clip=yes
   9444 else
   9445   echo "$as_me: failed program was:" >&5
   9446 sed 's/^/| /' conftest.$ac_ext >&5
   9447 
   9448 ac_cv_have_decl_getopt_clip=no
   9449 fi
   9450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9451 fi
   9452 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getopt_clip" >&5
   9453 echo "${ECHO_T}$ac_cv_have_decl_getopt_clip" >&6
   9454 if test $ac_cv_have_decl_getopt_clip = yes; then
   9455   gl_cv_func_gnu_getopt=no
   9456 else
   9457   gl_cv_func_gnu_getopt=yes
   9458 fi
   9459 
   9460 else
   9461   cat >conftest.$ac_ext <<_ACEOF
   9462 /* confdefs.h.  */
   9463 _ACEOF
   9464 cat confdefs.h >>conftest.$ac_ext
   9465 cat >>conftest.$ac_ext <<_ACEOF
   9466 /* end confdefs.h.  */
   9467 #include <getopt.h>
   9468 int
   9469 main ()
   9470 {
   9471 
   9472 	     char *myargv[3];
   9473 	     myargv[0] = "conftest";
   9474 	     myargv[1] = "-+";
   9475 	     myargv[2] = 0;
   9476 	     return getopt (2, myargv, "+a") != '?';
   9477 
   9478   ;
   9479   return 0;
   9480 }
   9481 _ACEOF
   9482 rm -f conftest$ac_exeext
   9483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9484   (eval $ac_link) 2>&5
   9485   ac_status=$?
   9486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9487   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   9488   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9489   (eval $ac_try) 2>&5
   9490   ac_status=$?
   9491   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9492   (exit $ac_status); }; }; then
   9493   gl_cv_func_gnu_getopt=yes
   9494 else
   9495   echo "$as_me: program exited with status $ac_status" >&5
   9496 echo "$as_me: failed program was:" >&5
   9497 sed 's/^/| /' conftest.$ac_ext >&5
   9498 
   9499 ( exit $ac_status )
   9500 gl_cv_func_gnu_getopt=no
   9501 fi
   9502 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   9503 fi
   9504 fi
   9505 echo "$as_me:$LINENO: result: $gl_cv_func_gnu_getopt" >&5
   9506 echo "${ECHO_T}$gl_cv_func_gnu_getopt" >&6
   9507     if test "$gl_cv_func_gnu_getopt" = "no"; then
   9508       GETOPT_H=getopt.h
   9509     fi
   9510   fi
   9511 
   9512 
   9513       echo "$as_me:$LINENO: checking whether getenv is declared" >&5
   9514 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
   9515 if test "${ac_cv_have_decl_getenv+set}" = set; then
   9516   echo $ECHO_N "(cached) $ECHO_C" >&6
   9517 else
   9518   cat >conftest.$ac_ext <<_ACEOF
   9519 /* confdefs.h.  */
   9520 _ACEOF
   9521 cat confdefs.h >>conftest.$ac_ext
   9522 cat >>conftest.$ac_ext <<_ACEOF
   9523 /* end confdefs.h.  */
   9524 $ac_includes_default
   9525 int
   9526 main ()
   9527 {
   9528 #ifndef getenv
   9529   char *p = (char *) getenv;
   9530 #endif
   9531 
   9532   ;
   9533   return 0;
   9534 }
   9535 _ACEOF
   9536 rm -f conftest.$ac_objext
   9537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9538   (eval $ac_compile) 2>conftest.er1
   9539   ac_status=$?
   9540   grep -v '^ *+' conftest.er1 >conftest.err
   9541   rm -f conftest.er1
   9542   cat conftest.err >&5
   9543   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9544   (exit $ac_status); } &&
   9545 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   9546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9547   (eval $ac_try) 2>&5
   9548   ac_status=$?
   9549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9550   (exit $ac_status); }; } &&
   9551 	 { ac_try='test -s conftest.$ac_objext'
   9552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9553   (eval $ac_try) 2>&5
   9554   ac_status=$?
   9555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9556   (exit $ac_status); }; }; then
   9557   ac_cv_have_decl_getenv=yes
   9558 else
   9559   echo "$as_me: failed program was:" >&5
   9560 sed 's/^/| /' conftest.$ac_ext >&5
   9561 
   9562 ac_cv_have_decl_getenv=no
   9563 fi
   9564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9565 fi
   9566 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
   9567 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
   9568 if test $ac_cv_have_decl_getenv = yes; then
   9569 
   9570 cat >>confdefs.h <<_ACEOF
   9571 #define HAVE_DECL_GETENV 1
   9572 _ACEOF
   9573 
   9574 
   9575 else
   9576   cat >>confdefs.h <<_ACEOF
   9577 #define HAVE_DECL_GETENV 0
   9578 _ACEOF
   9579 
   9580 
   9581 fi
   9582 
   9583 
   9584 
   9585 
   9586 
   9587         MKINSTALLDIRS=
   9588   if test -n "$ac_aux_dir"; then
   9589     case "$ac_aux_dir" in
   9590       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   9591       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   9592     esac
   9593   fi
   9594   if test -z "$MKINSTALLDIRS"; then
   9595     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   9596   fi
   9597 
   9598 
   9599 
   9600   echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   9601 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   9602     # Check whether --enable-nls or --disable-nls was given.
   9603 if test "${enable_nls+set}" = set; then
   9604   enableval="$enable_nls"
   9605   USE_NLS=$enableval
   9606 else
   9607   USE_NLS=yes
   9608 fi;
   9609   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   9610 echo "${ECHO_T}$USE_NLS" >&6
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 # Prepare PATH_SEPARATOR.
   9618 # The user is always right.
   9619 if test "${PATH_SEPARATOR+set}" != set; then
   9620   echo "#! /bin/sh" >conf$$.sh
   9621   echo  "exit 0"   >>conf$$.sh
   9622   chmod +x conf$$.sh
   9623   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   9624     PATH_SEPARATOR=';'
   9625   else
   9626     PATH_SEPARATOR=:
   9627   fi
   9628   rm -f conf$$.sh
   9629 fi
   9630 
   9631 # Find out how to test for executable files. Don't use a zero-byte file,
   9632 # as systems may use methods other than mode bits to determine executability.
   9633 cat >conf$$.file <<_ASEOF
   9634 #! /bin/sh
   9635 exit 0
   9636 _ASEOF
   9637 chmod +x conf$$.file
   9638 if test -x conf$$.file >/dev/null 2>&1; then
   9639   ac_executable_p="test -x"
   9640 else
   9641   ac_executable_p="test -f"
   9642 fi
   9643 rm -f conf$$.file
   9644 
   9645 # Extract the first word of "msgfmt", so it can be a program name with args.
   9646 set dummy msgfmt; ac_word=$2
   9647 echo "$as_me:$LINENO: checking for $ac_word" >&5
   9648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   9649 if test "${ac_cv_path_MSGFMT+set}" = set; then
   9650   echo $ECHO_N "(cached) $ECHO_C" >&6
   9651 else
   9652   case "$MSGFMT" in
   9653   [\\/]* | ?:[\\/]*)
   9654     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   9655     ;;
   9656   *)
   9657     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   9658     for ac_dir in $PATH; do
   9659       IFS="$ac_save_IFS"
   9660       test -z "$ac_dir" && ac_dir=.
   9661       for ac_exec_ext in '' $ac_executable_extensions; do
   9662         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   9663           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   9664           if $ac_dir/$ac_word --statistics /dev/null >&5 2>&1 &&
   9665      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   9666             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   9667             break 2
   9668           fi
   9669         fi
   9670       done
   9671     done
   9672     IFS="$ac_save_IFS"
   9673   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   9674     ;;
   9675 esac
   9676 fi
   9677 MSGFMT="$ac_cv_path_MSGFMT"
   9678 if test "$MSGFMT" != ":"; then
   9679   echo "$as_me:$LINENO: result: $MSGFMT" >&5
   9680 echo "${ECHO_T}$MSGFMT" >&6
   9681 else
   9682   echo "$as_me:$LINENO: result: no" >&5
   9683 echo "${ECHO_T}no" >&6
   9684 fi
   9685 
   9686   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   9687 set dummy gmsgfmt; ac_word=$2
   9688 echo "$as_me:$LINENO: checking for $ac_word" >&5
   9689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   9690 if test "${ac_cv_path_GMSGFMT+set}" = set; then
   9691   echo $ECHO_N "(cached) $ECHO_C" >&6
   9692 else
   9693   case $GMSGFMT in
   9694   [\\/]* | ?:[\\/]*)
   9695   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   9696   ;;
   9697   *)
   9698   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   9699 for as_dir in $PATH
   9700 do
   9701   IFS=$as_save_IFS
   9702   test -z "$as_dir" && as_dir=.
   9703   for ac_exec_ext in '' $ac_executable_extensions; do
   9704   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   9705     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   9706     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   9707     break 2
   9708   fi
   9709 done
   9710 done
   9711 
   9712   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   9713   ;;
   9714 esac
   9715 fi
   9716 GMSGFMT=$ac_cv_path_GMSGFMT
   9717 
   9718 if test -n "$GMSGFMT"; then
   9719   echo "$as_me:$LINENO: result: $GMSGFMT" >&5
   9720 echo "${ECHO_T}$GMSGFMT" >&6
   9721 else
   9722   echo "$as_me:$LINENO: result: no" >&5
   9723 echo "${ECHO_T}no" >&6
   9724 fi
   9725 
   9726 
   9727 
   9728 # Prepare PATH_SEPARATOR.
   9729 # The user is always right.
   9730 if test "${PATH_SEPARATOR+set}" != set; then
   9731   echo "#! /bin/sh" >conf$$.sh
   9732   echo  "exit 0"   >>conf$$.sh
   9733   chmod +x conf$$.sh
   9734   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   9735     PATH_SEPARATOR=';'
   9736   else
   9737     PATH_SEPARATOR=:
   9738   fi
   9739   rm -f conf$$.sh
   9740 fi
   9741 
   9742 # Find out how to test for executable files. Don't use a zero-byte file,
   9743 # as systems may use methods other than mode bits to determine executability.
   9744 cat >conf$$.file <<_ASEOF
   9745 #! /bin/sh
   9746 exit 0
   9747 _ASEOF
   9748 chmod +x conf$$.file
   9749 if test -x conf$$.file >/dev/null 2>&1; then
   9750   ac_executable_p="test -x"
   9751 else
   9752   ac_executable_p="test -f"
   9753 fi
   9754 rm -f conf$$.file
   9755 
   9756 # Extract the first word of "xgettext", so it can be a program name with args.
   9757 set dummy xgettext; ac_word=$2
   9758 echo "$as_me:$LINENO: checking for $ac_word" >&5
   9759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   9760 if test "${ac_cv_path_XGETTEXT+set}" = set; then
   9761   echo $ECHO_N "(cached) $ECHO_C" >&6
   9762 else
   9763   case "$XGETTEXT" in
   9764   [\\/]* | ?:[\\/]*)
   9765     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   9766     ;;
   9767   *)
   9768     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   9769     for ac_dir in $PATH; do
   9770       IFS="$ac_save_IFS"
   9771       test -z "$ac_dir" && ac_dir=.
   9772       for ac_exec_ext in '' $ac_executable_extensions; do
   9773         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   9774           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   9775           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >&5 2>&1 &&
   9776      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   9777             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   9778             break 2
   9779           fi
   9780         fi
   9781       done
   9782     done
   9783     IFS="$ac_save_IFS"
   9784   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   9785     ;;
   9786 esac
   9787 fi
   9788 XGETTEXT="$ac_cv_path_XGETTEXT"
   9789 if test "$XGETTEXT" != ":"; then
   9790   echo "$as_me:$LINENO: result: $XGETTEXT" >&5
   9791 echo "${ECHO_T}$XGETTEXT" >&6
   9792 else
   9793   echo "$as_me:$LINENO: result: no" >&5
   9794 echo "${ECHO_T}no" >&6
   9795 fi
   9796 
   9797     rm -f messages.po
   9798 
   9799 
   9800 # Prepare PATH_SEPARATOR.
   9801 # The user is always right.
   9802 if test "${PATH_SEPARATOR+set}" != set; then
   9803   echo "#! /bin/sh" >conf$$.sh
   9804   echo  "exit 0"   >>conf$$.sh
   9805   chmod +x conf$$.sh
   9806   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   9807     PATH_SEPARATOR=';'
   9808   else
   9809     PATH_SEPARATOR=:
   9810   fi
   9811   rm -f conf$$.sh
   9812 fi
   9813 
   9814 # Find out how to test for executable files. Don't use a zero-byte file,
   9815 # as systems may use methods other than mode bits to determine executability.
   9816 cat >conf$$.file <<_ASEOF
   9817 #! /bin/sh
   9818 exit 0
   9819 _ASEOF
   9820 chmod +x conf$$.file
   9821 if test -x conf$$.file >/dev/null 2>&1; then
   9822   ac_executable_p="test -x"
   9823 else
   9824   ac_executable_p="test -f"
   9825 fi
   9826 rm -f conf$$.file
   9827 
   9828 # Extract the first word of "msgmerge", so it can be a program name with args.
   9829 set dummy msgmerge; ac_word=$2
   9830 echo "$as_me:$LINENO: checking for $ac_word" >&5
   9831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   9832 if test "${ac_cv_path_MSGMERGE+set}" = set; then
   9833   echo $ECHO_N "(cached) $ECHO_C" >&6
   9834 else
   9835   case "$MSGMERGE" in
   9836   [\\/]* | ?:[\\/]*)
   9837     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   9838     ;;
   9839   *)
   9840     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   9841     for ac_dir in $PATH; do
   9842       IFS="$ac_save_IFS"
   9843       test -z "$ac_dir" && ac_dir=.
   9844       for ac_exec_ext in '' $ac_executable_extensions; do
   9845         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   9846           echo "$as_me: trying $ac_dir/$ac_word..." >&5
   9847           if $ac_dir/$ac_word --update -q /dev/null /dev/null >&5 2>&1; then
   9848             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   9849             break 2
   9850           fi
   9851         fi
   9852       done
   9853     done
   9854     IFS="$ac_save_IFS"
   9855   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   9856     ;;
   9857 esac
   9858 fi
   9859 MSGMERGE="$ac_cv_path_MSGMERGE"
   9860 if test "$MSGMERGE" != ":"; then
   9861   echo "$as_me:$LINENO: result: $MSGMERGE" >&5
   9862 echo "${ECHO_T}$MSGMERGE" >&6
   9863 else
   9864   echo "$as_me:$LINENO: result: no" >&5
   9865 echo "${ECHO_T}no" >&6
   9866 fi
   9867 
   9868 
   9869       if test "$GMSGFMT" != ":"; then
   9870             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   9871        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   9872       : ;
   9873     else
   9874       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   9875       echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   9876 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
   9877       GMSGFMT=":"
   9878     fi
   9879   fi
   9880 
   9881       if test "$XGETTEXT" != ":"; then
   9882             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   9883        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   9884       : ;
   9885     else
   9886       echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
   9887 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
   9888       XGETTEXT=":"
   9889     fi
   9890         rm -f messages.po
   9891   fi
   9892 
   9893             ac_config_commands="$ac_config_commands default-1"
   9894 
   9895 
   9896 
   9897       if test "X$prefix" = "XNONE"; then
   9898     acl_final_prefix="$ac_default_prefix"
   9899   else
   9900     acl_final_prefix="$prefix"
   9901   fi
   9902   if test "X$exec_prefix" = "XNONE"; then
   9903     acl_final_exec_prefix='${prefix}'
   9904   else
   9905     acl_final_exec_prefix="$exec_prefix"
   9906   fi
   9907   acl_save_prefix="$prefix"
   9908   prefix="$acl_final_prefix"
   9909   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   9910   prefix="$acl_save_prefix"
   9911 
   9912 # Make sure we can run config.sub.
   9913 $ac_config_sub sun4 >/dev/null 2>&1 ||
   9914   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   9915 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   9916    { (exit 1); exit 1; }; }
   9917 
   9918 echo "$as_me:$LINENO: checking build system type" >&5
   9919 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   9920 if test "${ac_cv_build+set}" = set; then
   9921   echo $ECHO_N "(cached) $ECHO_C" >&6
   9922 else
   9923   ac_cv_build_alias=$build_alias
   9924 test -z "$ac_cv_build_alias" &&
   9925   ac_cv_build_alias=`$ac_config_guess`
   9926 test -z "$ac_cv_build_alias" &&
   9927   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   9928 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   9929    { (exit 1); exit 1; }; }
   9930 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   9931   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   9932 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   9933    { (exit 1); exit 1; }; }
   9934 
   9935 fi
   9936 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   9937 echo "${ECHO_T}$ac_cv_build" >&6
   9938 build=$ac_cv_build
   9939 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   9940 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   9941 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   9942 
   9943 
   9944 echo "$as_me:$LINENO: checking host system type" >&5
   9945 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   9946 if test "${ac_cv_host+set}" = set; then
   9947   echo $ECHO_N "(cached) $ECHO_C" >&6
   9948 else
   9949   ac_cv_host_alias=$host_alias
   9950 test -z "$ac_cv_host_alias" &&
   9951   ac_cv_host_alias=$ac_cv_build_alias
   9952 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   9953   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   9954 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   9955    { (exit 1); exit 1; }; }
   9956 
   9957 fi
   9958 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   9959 echo "${ECHO_T}$ac_cv_host" >&6
   9960 host=$ac_cv_host
   9961 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   9962 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   9963 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   9964 
   9965 
   9966 
   9967 # Check whether --with-gnu-ld or --without-gnu-ld was given.
   9968 if test "${with_gnu_ld+set}" = set; then
   9969   withval="$with_gnu_ld"
   9970   test "$withval" = no || with_gnu_ld=yes
   9971 else
   9972   with_gnu_ld=no
   9973 fi;
   9974 # Prepare PATH_SEPARATOR.
   9975 # The user is always right.
   9976 if test "${PATH_SEPARATOR+set}" != set; then
   9977   echo "#! /bin/sh" >conf$$.sh
   9978   echo  "exit 0"   >>conf$$.sh
   9979   chmod +x conf$$.sh
   9980   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   9981     PATH_SEPARATOR=';'
   9982   else
   9983     PATH_SEPARATOR=:
   9984   fi
   9985   rm -f conf$$.sh
   9986 fi
   9987 ac_prog=ld
   9988 if test "$GCC" = yes; then
   9989   # Check if gcc -print-prog-name=ld gives a path.
   9990   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
   9991 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
   9992   case $host in
   9993   *-*-mingw*)
   9994     # gcc leaves a trailing carriage return which upsets mingw
   9995     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   9996   *)
   9997     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   9998   esac
   9999   case $ac_prog in
   10000     # Accept absolute paths.
   10001     [\\/]* | [A-Za-z]:[\\/]*)
   10002       re_direlt='/[^/][^/]*/\.\./'
   10003       # Canonicalize the path of ld
   10004       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   10005       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10006 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   10007       done
   10008       test -z "$LD" && LD="$ac_prog"
   10009       ;;
   10010   "")
   10011     # If it fails, then pretend we aren't using GCC.
   10012     ac_prog=ld
   10013     ;;
   10014   *)
   10015     # If it is relative, then search for the first ld in PATH.
   10016     with_gnu_ld=unknown
   10017     ;;
   10018   esac
   10019 elif test "$with_gnu_ld" = yes; then
   10020   echo "$as_me:$LINENO: checking for GNU ld" >&5
   10021 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   10022 else
   10023   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10024 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   10025 fi
   10026 if test "${acl_cv_path_LD+set}" = set; then
   10027   echo $ECHO_N "(cached) $ECHO_C" >&6
   10028 else
   10029   if test -z "$LD"; then
   10030   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   10031   for ac_dir in $PATH; do
   10032     test -z "$ac_dir" && ac_dir=.
   10033     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10034       acl_cv_path_LD="$ac_dir/$ac_prog"
   10035       # Check to see if the program is GNU ld.  I'd rather use --version,
   10036       # but apparently some GNU ld's only accept -v.
   10037       # Break only if it was the GNU/non-GNU ld that we prefer.
   10038       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
   10039       *GNU* | *'with BFD'*)
   10040 	test "$with_gnu_ld" != no && break ;;
   10041       *)
   10042 	test "$with_gnu_ld" != yes && break ;;
   10043       esac
   10044     fi
   10045   done
   10046   IFS="$ac_save_ifs"
   10047 else
   10048   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   10049 fi
   10050 fi
   10051 
   10052 LD="$acl_cv_path_LD"
   10053 if test -n "$LD"; then
   10054   echo "$as_me:$LINENO: result: $LD" >&5
   10055 echo "${ECHO_T}$LD" >&6
   10056 else
   10057   echo "$as_me:$LINENO: result: no" >&5
   10058 echo "${ECHO_T}no" >&6
   10059 fi
   10060 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10061 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10062    { (exit 1); exit 1; }; }
   10063 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10064 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   10065 if test "${acl_cv_prog_gnu_ld+set}" = set; then
   10066   echo $ECHO_N "(cached) $ECHO_C" >&6
   10067 else
   10068   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   10069 case `$LD -v 2>&1 </dev/null` in
   10070 *GNU* | *'with BFD'*)
   10071   acl_cv_prog_gnu_ld=yes ;;
   10072 *)
   10073   acl_cv_prog_gnu_ld=no ;;
   10074 esac
   10075 fi
   10076 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
   10077 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
   10078 with_gnu_ld=$acl_cv_prog_gnu_ld
   10079 
   10080 
   10081 
   10082 
   10083                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
   10084 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
   10085 if test "${acl_cv_rpath+set}" = set; then
   10086   echo $ECHO_N "(cached) $ECHO_C" >&6
   10087 else
   10088 
   10089     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   10090     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   10091     . ./conftest.sh
   10092     rm -f ./conftest.sh
   10093     acl_cv_rpath=done
   10094 
   10095 fi
   10096 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
   10097 echo "${ECHO_T}$acl_cv_rpath" >&6
   10098   wl="$acl_cv_wl"
   10099   libext="$acl_cv_libext"
   10100   shlibext="$acl_cv_shlibext"
   10101   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   10102   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   10103   hardcode_direct="$acl_cv_hardcode_direct"
   10104   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   10105     # Check whether --enable-rpath or --disable-rpath was given.
   10106 if test "${enable_rpath+set}" = set; then
   10107   enableval="$enable_rpath"
   10108   :
   10109 else
   10110   enable_rpath=yes
   10111 fi;
   10112 
   10113 
   10114                   acl_libdirstem=lib
   10115   searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
   10116   if test -n "$searchpath"; then
   10117     acl_save_IFS="${IFS= 	}"; IFS=":"
   10118     for searchdir in $searchpath; do
   10119       if test -d "$searchdir"; then
   10120         case "$searchdir" in
   10121           */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
   10122           *) searchdir=`cd "$searchdir" && pwd`
   10123              case "$searchdir" in
   10124                */lib64 ) acl_libdirstem=lib64 ;;
   10125              esac ;;
   10126         esac
   10127       fi
   10128     done
   10129     IFS="$acl_save_IFS"
   10130   fi
   10131 
   10132 
   10133 
   10134 
   10135 
   10136 
   10137 
   10138 
   10139     use_additional=yes
   10140 
   10141   acl_save_prefix="$prefix"
   10142   prefix="$acl_final_prefix"
   10143   acl_save_exec_prefix="$exec_prefix"
   10144   exec_prefix="$acl_final_exec_prefix"
   10145 
   10146     eval additional_includedir=\"$includedir\"
   10147     eval additional_libdir=\"$libdir\"
   10148 
   10149   exec_prefix="$acl_save_exec_prefix"
   10150   prefix="$acl_save_prefix"
   10151 
   10152 
   10153 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
   10154 if test "${with_libiconv_prefix+set}" = set; then
   10155   withval="$with_libiconv_prefix"
   10156 
   10157     if test "X$withval" = "Xno"; then
   10158       use_additional=no
   10159     else
   10160       if test "X$withval" = "X"; then
   10161 
   10162   acl_save_prefix="$prefix"
   10163   prefix="$acl_final_prefix"
   10164   acl_save_exec_prefix="$exec_prefix"
   10165   exec_prefix="$acl_final_exec_prefix"
   10166 
   10167           eval additional_includedir=\"$includedir\"
   10168           eval additional_libdir=\"$libdir\"
   10169 
   10170   exec_prefix="$acl_save_exec_prefix"
   10171   prefix="$acl_save_prefix"
   10172 
   10173       else
   10174         additional_includedir="$withval/include"
   10175         additional_libdir="$withval/$acl_libdirstem"
   10176       fi
   10177     fi
   10178 
   10179 fi;
   10180       LIBICONV=
   10181   LTLIBICONV=
   10182   INCICONV=
   10183   rpathdirs=
   10184   ltrpathdirs=
   10185   names_already_handled=
   10186   names_next_round='iconv '
   10187   while test -n "$names_next_round"; do
   10188     names_this_round="$names_next_round"
   10189     names_next_round=
   10190     for name in $names_this_round; do
   10191       already_handled=
   10192       for n in $names_already_handled; do
   10193         if test "$n" = "$name"; then
   10194           already_handled=yes
   10195           break
   10196         fi
   10197       done
   10198       if test -z "$already_handled"; then
   10199         names_already_handled="$names_already_handled $name"
   10200                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   10201         eval value=\"\$HAVE_LIB$uppername\"
   10202         if test -n "$value"; then
   10203           if test "$value" = yes; then
   10204             eval value=\"\$LIB$uppername\"
   10205             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   10206             eval value=\"\$LTLIB$uppername\"
   10207             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   10208           else
   10209                                     :
   10210           fi
   10211         else
   10212                               found_dir=
   10213           found_la=
   10214           found_so=
   10215           found_a=
   10216           if test $use_additional = yes; then
   10217             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   10218               found_dir="$additional_libdir"
   10219               found_so="$additional_libdir/lib$name.$shlibext"
   10220               if test -f "$additional_libdir/lib$name.la"; then
   10221                 found_la="$additional_libdir/lib$name.la"
   10222               fi
   10223             else
   10224               if test -f "$additional_libdir/lib$name.$libext"; then
   10225                 found_dir="$additional_libdir"
   10226                 found_a="$additional_libdir/lib$name.$libext"
   10227                 if test -f "$additional_libdir/lib$name.la"; then
   10228                   found_la="$additional_libdir/lib$name.la"
   10229                 fi
   10230               fi
   10231             fi
   10232           fi
   10233           if test "X$found_dir" = "X"; then
   10234             for x in $LDFLAGS $LTLIBICONV; do
   10235 
   10236   acl_save_prefix="$prefix"
   10237   prefix="$acl_final_prefix"
   10238   acl_save_exec_prefix="$exec_prefix"
   10239   exec_prefix="$acl_final_exec_prefix"
   10240   eval x=\"$x\"
   10241   exec_prefix="$acl_save_exec_prefix"
   10242   prefix="$acl_save_prefix"
   10243 
   10244               case "$x" in
   10245                 -L*)
   10246                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   10247                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   10248                     found_dir="$dir"
   10249                     found_so="$dir/lib$name.$shlibext"
   10250                     if test -f "$dir/lib$name.la"; then
   10251                       found_la="$dir/lib$name.la"
   10252                     fi
   10253                   else
   10254                     if test -f "$dir/lib$name.$libext"; then
   10255                       found_dir="$dir"
   10256                       found_a="$dir/lib$name.$libext"
   10257                       if test -f "$dir/lib$name.la"; then
   10258                         found_la="$dir/lib$name.la"
   10259                       fi
   10260                     fi
   10261                   fi
   10262                   ;;
   10263               esac
   10264               if test "X$found_dir" != "X"; then
   10265                 break
   10266               fi
   10267             done
   10268           fi
   10269           if test "X$found_dir" != "X"; then
   10270                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   10271             if test "X$found_so" != "X"; then
   10272                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
   10273                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   10274               else
   10275                                                                                 haveit=
   10276                 for x in $ltrpathdirs; do
   10277                   if test "X$x" = "X$found_dir"; then
   10278                     haveit=yes
   10279                     break
   10280                   fi
   10281                 done
   10282                 if test -z "$haveit"; then
   10283                   ltrpathdirs="$ltrpathdirs $found_dir"
   10284                 fi
   10285                                 if test "$hardcode_direct" = yes; then
   10286                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   10287                 else
   10288                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   10289                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   10290                                                             haveit=
   10291                     for x in $rpathdirs; do
   10292                       if test "X$x" = "X$found_dir"; then
   10293                         haveit=yes
   10294                         break
   10295                       fi
   10296                     done
   10297                     if test -z "$haveit"; then
   10298                       rpathdirs="$rpathdirs $found_dir"
   10299                     fi
   10300                   else
   10301                                                                                 haveit=
   10302                     for x in $LDFLAGS $LIBICONV; do
   10303 
   10304   acl_save_prefix="$prefix"
   10305   prefix="$acl_final_prefix"
   10306   acl_save_exec_prefix="$exec_prefix"
   10307   exec_prefix="$acl_final_exec_prefix"
   10308   eval x=\"$x\"
   10309   exec_prefix="$acl_save_exec_prefix"
   10310   prefix="$acl_save_prefix"
   10311 
   10312                       if test "X$x" = "X-L$found_dir"; then
   10313                         haveit=yes
   10314                         break
   10315                       fi
   10316                     done
   10317                     if test -z "$haveit"; then
   10318                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   10319                     fi
   10320                     if test "$hardcode_minus_L" != no; then
   10321                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   10322                     else
   10323                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   10324                     fi
   10325                   fi
   10326                 fi
   10327               fi
   10328             else
   10329               if test "X$found_a" != "X"; then
   10330                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   10331               else
   10332                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   10333               fi
   10334             fi
   10335                         additional_includedir=
   10336             case "$found_dir" in
   10337               */$acl_libdirstem | */$acl_libdirstem/)
   10338                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   10339                 additional_includedir="$basedir/include"
   10340                 ;;
   10341             esac
   10342             if test "X$additional_includedir" != "X"; then
   10343                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   10344                 haveit=
   10345                 if test "X$additional_includedir" = "X/usr/local/include"; then
   10346                   if test -n "$GCC"; then
   10347                     case $host_os in
   10348                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   10349                     esac
   10350                   fi
   10351                 fi
   10352                 if test -z "$haveit"; then
   10353                   for x in $CPPFLAGS $INCICONV; do
   10354 
   10355   acl_save_prefix="$prefix"
   10356   prefix="$acl_final_prefix"
   10357   acl_save_exec_prefix="$exec_prefix"
   10358   exec_prefix="$acl_final_exec_prefix"
   10359   eval x=\"$x\"
   10360   exec_prefix="$acl_save_exec_prefix"
   10361   prefix="$acl_save_prefix"
   10362 
   10363                     if test "X$x" = "X-I$additional_includedir"; then
   10364                       haveit=yes
   10365                       break
   10366                     fi
   10367                   done
   10368                   if test -z "$haveit"; then
   10369                     if test -d "$additional_includedir"; then
   10370                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   10371                     fi
   10372                   fi
   10373                 fi
   10374               fi
   10375             fi
   10376                         if test -n "$found_la"; then
   10377                                                         save_libdir="$libdir"
   10378               case "$found_la" in
   10379                 */* | *\\*) . "$found_la" ;;
   10380                 *) . "./$found_la" ;;
   10381               esac
   10382               libdir="$save_libdir"
   10383                             for dep in $dependency_libs; do
   10384                 case "$dep" in
   10385                   -L*)
   10386                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   10387                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
   10388                       haveit=
   10389                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
   10390                         if test -n "$GCC"; then
   10391                           case $host_os in
   10392                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   10393                           esac
   10394                         fi
   10395                       fi
   10396                       if test -z "$haveit"; then
   10397                         haveit=
   10398                         for x in $LDFLAGS $LIBICONV; do
   10399 
   10400   acl_save_prefix="$prefix"
   10401   prefix="$acl_final_prefix"
   10402   acl_save_exec_prefix="$exec_prefix"
   10403   exec_prefix="$acl_final_exec_prefix"
   10404   eval x=\"$x\"
   10405   exec_prefix="$acl_save_exec_prefix"
   10406   prefix="$acl_save_prefix"
   10407 
   10408                           if test "X$x" = "X-L$additional_libdir"; then
   10409                             haveit=yes
   10410                             break
   10411                           fi
   10412                         done
   10413                         if test -z "$haveit"; then
   10414                           if test -d "$additional_libdir"; then
   10415                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   10416                           fi
   10417                         fi
   10418                         haveit=
   10419                         for x in $LDFLAGS $LTLIBICONV; do
   10420 
   10421   acl_save_prefix="$prefix"
   10422   prefix="$acl_final_prefix"
   10423   acl_save_exec_prefix="$exec_prefix"
   10424   exec_prefix="$acl_final_exec_prefix"
   10425   eval x=\"$x\"
   10426   exec_prefix="$acl_save_exec_prefix"
   10427   prefix="$acl_save_prefix"
   10428 
   10429                           if test "X$x" = "X-L$additional_libdir"; then
   10430                             haveit=yes
   10431                             break
   10432                           fi
   10433                         done
   10434                         if test -z "$haveit"; then
   10435                           if test -d "$additional_libdir"; then
   10436                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   10437                           fi
   10438                         fi
   10439                       fi
   10440                     fi
   10441                     ;;
   10442                   -R*)
   10443                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   10444                     if test "$enable_rpath" != no; then
   10445                                                                   haveit=
   10446                       for x in $rpathdirs; do
   10447                         if test "X$x" = "X$dir"; then
   10448                           haveit=yes
   10449                           break
   10450                         fi
   10451                       done
   10452                       if test -z "$haveit"; then
   10453                         rpathdirs="$rpathdirs $dir"
   10454                       fi
   10455                                                                   haveit=
   10456                       for x in $ltrpathdirs; do
   10457                         if test "X$x" = "X$dir"; then
   10458                           haveit=yes
   10459                           break
   10460                         fi
   10461                       done
   10462                       if test -z "$haveit"; then
   10463                         ltrpathdirs="$ltrpathdirs $dir"
   10464                       fi
   10465                     fi
   10466                     ;;
   10467                   -l*)
   10468                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   10469                     ;;
   10470                   *.la)
   10471                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   10472                     ;;
   10473                   *)
   10474                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   10475                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   10476                     ;;
   10477                 esac
   10478               done
   10479             fi
   10480           else
   10481                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   10482             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   10483           fi
   10484         fi
   10485       fi
   10486     done
   10487   done
   10488   if test "X$rpathdirs" != "X"; then
   10489     if test -n "$hardcode_libdir_separator"; then
   10490                         alldirs=
   10491       for found_dir in $rpathdirs; do
   10492         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   10493       done
   10494             acl_save_libdir="$libdir"
   10495       libdir="$alldirs"
   10496       eval flag=\"$hardcode_libdir_flag_spec\"
   10497       libdir="$acl_save_libdir"
   10498       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   10499     else
   10500             for found_dir in $rpathdirs; do
   10501         acl_save_libdir="$libdir"
   10502         libdir="$found_dir"
   10503         eval flag=\"$hardcode_libdir_flag_spec\"
   10504         libdir="$acl_save_libdir"
   10505         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   10506       done
   10507     fi
   10508   fi
   10509   if test "X$ltrpathdirs" != "X"; then
   10510             for found_dir in $ltrpathdirs; do
   10511       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   10512     done
   10513   fi
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547   echo "$as_me:$LINENO: checking for inttypes.h" >&5
   10548 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
   10549 if test "${gl_cv_header_inttypes_h+set}" = set; then
   10550   echo $ECHO_N "(cached) $ECHO_C" >&6
   10551 else
   10552   cat >conftest.$ac_ext <<_ACEOF
   10553 /* confdefs.h.  */
   10554 _ACEOF
   10555 cat confdefs.h >>conftest.$ac_ext
   10556 cat >>conftest.$ac_ext <<_ACEOF
   10557 /* end confdefs.h.  */
   10558 #include <sys/types.h>
   10559 #include <inttypes.h>
   10560 int
   10561 main ()
   10562 {
   10563 uintmax_t i = (uintmax_t) -1;
   10564   ;
   10565   return 0;
   10566 }
   10567 _ACEOF
   10568 rm -f conftest.$ac_objext
   10569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10570   (eval $ac_compile) 2>conftest.er1
   10571   ac_status=$?
   10572   grep -v '^ *+' conftest.er1 >conftest.err
   10573   rm -f conftest.er1
   10574   cat conftest.err >&5
   10575   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10576   (exit $ac_status); } &&
   10577 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   10578   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10579   (eval $ac_try) 2>&5
   10580   ac_status=$?
   10581   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10582   (exit $ac_status); }; } &&
   10583 	 { ac_try='test -s conftest.$ac_objext'
   10584   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10585   (eval $ac_try) 2>&5
   10586   ac_status=$?
   10587   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10588   (exit $ac_status); }; }; then
   10589   gl_cv_header_inttypes_h=yes
   10590 else
   10591   echo "$as_me: failed program was:" >&5
   10592 sed 's/^/| /' conftest.$ac_ext >&5
   10593 
   10594 gl_cv_header_inttypes_h=no
   10595 fi
   10596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10597 fi
   10598 echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
   10599 echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6
   10600   if test $gl_cv_header_inttypes_h = yes; then
   10601 
   10602 cat >>confdefs.h <<_ACEOF
   10603 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
   10604 _ACEOF
   10605 
   10606   fi
   10607 
   10608 
   10609   echo "$as_me:$LINENO: checking for stdint.h" >&5
   10610 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
   10611 if test "${gl_cv_header_stdint_h+set}" = set; then
   10612   echo $ECHO_N "(cached) $ECHO_C" >&6
   10613 else
   10614   cat >conftest.$ac_ext <<_ACEOF
   10615 /* confdefs.h.  */
   10616 _ACEOF
   10617 cat confdefs.h >>conftest.$ac_ext
   10618 cat >>conftest.$ac_ext <<_ACEOF
   10619 /* end confdefs.h.  */
   10620 #include <sys/types.h>
   10621 #include <stdint.h>
   10622 int
   10623 main ()
   10624 {
   10625 uintmax_t i = (uintmax_t) -1;
   10626   ;
   10627   return 0;
   10628 }
   10629 _ACEOF
   10630 rm -f conftest.$ac_objext
   10631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10632   (eval $ac_compile) 2>conftest.er1
   10633   ac_status=$?
   10634   grep -v '^ *+' conftest.er1 >conftest.err
   10635   rm -f conftest.er1
   10636   cat conftest.err >&5
   10637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10638   (exit $ac_status); } &&
   10639 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   10640   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10641   (eval $ac_try) 2>&5
   10642   ac_status=$?
   10643   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10644   (exit $ac_status); }; } &&
   10645 	 { ac_try='test -s conftest.$ac_objext'
   10646   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10647   (eval $ac_try) 2>&5
   10648   ac_status=$?
   10649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10650   (exit $ac_status); }; }; then
   10651   gl_cv_header_stdint_h=yes
   10652 else
   10653   echo "$as_me: failed program was:" >&5
   10654 sed 's/^/| /' conftest.$ac_ext >&5
   10655 
   10656 gl_cv_header_stdint_h=no
   10657 fi
   10658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10659 fi
   10660 echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
   10661 echo "${ECHO_T}$gl_cv_header_stdint_h" >&6
   10662   if test $gl_cv_header_stdint_h = yes; then
   10663 
   10664 cat >>confdefs.h <<_ACEOF
   10665 #define HAVE_STDINT_H_WITH_UINTMAX 1
   10666 _ACEOF
   10667 
   10668   fi
   10669 
   10670 
   10671   echo "$as_me:$LINENO: checking for unsigned long long" >&5
   10672 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
   10673 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
   10674   echo $ECHO_N "(cached) $ECHO_C" >&6
   10675 else
   10676   cat >conftest.$ac_ext <<_ACEOF
   10677 /* confdefs.h.  */
   10678 _ACEOF
   10679 cat confdefs.h >>conftest.$ac_ext
   10680 cat >>conftest.$ac_ext <<_ACEOF
   10681 /* end confdefs.h.  */
   10682 unsigned long long ull = 1ULL; int i = 63;
   10683 int
   10684 main ()
   10685 {
   10686 unsigned long long ullmax = (unsigned long long) -1;
   10687      return ull << i | ull >> i | ullmax / ull | ullmax % ull;
   10688   ;
   10689   return 0;
   10690 }
   10691 _ACEOF
   10692 rm -f conftest.$ac_objext conftest$ac_exeext
   10693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10694   (eval $ac_link) 2>conftest.er1
   10695   ac_status=$?
   10696   grep -v '^ *+' conftest.er1 >conftest.err
   10697   rm -f conftest.er1
   10698   cat conftest.err >&5
   10699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10700   (exit $ac_status); } &&
   10701 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   10702   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10703   (eval $ac_try) 2>&5
   10704   ac_status=$?
   10705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10706   (exit $ac_status); }; } &&
   10707 	 { ac_try='test -s conftest$ac_exeext'
   10708   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10709   (eval $ac_try) 2>&5
   10710   ac_status=$?
   10711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10712   (exit $ac_status); }; }; then
   10713   ac_cv_type_unsigned_long_long=yes
   10714 else
   10715   echo "$as_me: failed program was:" >&5
   10716 sed 's/^/| /' conftest.$ac_ext >&5
   10717 
   10718 ac_cv_type_unsigned_long_long=no
   10719 fi
   10720 rm -f conftest.err conftest.$ac_objext \
   10721       conftest$ac_exeext conftest.$ac_ext
   10722 fi
   10723 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
   10724 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
   10725   if test $ac_cv_type_unsigned_long_long = yes; then
   10726 
   10727 cat >>confdefs.h <<\_ACEOF
   10728 #define HAVE_UNSIGNED_LONG_LONG 1
   10729 _ACEOF
   10730 
   10731   fi
   10732 
   10733 
   10734 
   10735 
   10736   if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
   10737 
   10738     test $ac_cv_type_unsigned_long_long = yes \
   10739       && ac_type='unsigned long long' \
   10740       || ac_type='unsigned long'
   10741 
   10742 cat >>confdefs.h <<_ACEOF
   10743 #define uintmax_t $ac_type
   10744 _ACEOF
   10745 
   10746   else
   10747 
   10748 cat >>confdefs.h <<\_ACEOF
   10749 #define HAVE_UINTMAX_T 1
   10750 _ACEOF
   10751 
   10752   fi
   10753 
   10754 
   10755       echo "$as_me:$LINENO: checking whether strdup is declared" >&5
   10756 echo $ECHO_N "checking whether strdup is declared... $ECHO_C" >&6
   10757 if test "${ac_cv_have_decl_strdup+set}" = set; then
   10758   echo $ECHO_N "(cached) $ECHO_C" >&6
   10759 else
   10760   cat >conftest.$ac_ext <<_ACEOF
   10761 /* confdefs.h.  */
   10762 _ACEOF
   10763 cat confdefs.h >>conftest.$ac_ext
   10764 cat >>conftest.$ac_ext <<_ACEOF
   10765 /* end confdefs.h.  */
   10766 $ac_includes_default
   10767 int
   10768 main ()
   10769 {
   10770 #ifndef strdup
   10771   char *p = (char *) strdup;
   10772 #endif
   10773 
   10774   ;
   10775   return 0;
   10776 }
   10777 _ACEOF
   10778 rm -f conftest.$ac_objext
   10779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10780   (eval $ac_compile) 2>conftest.er1
   10781   ac_status=$?
   10782   grep -v '^ *+' conftest.er1 >conftest.err
   10783   rm -f conftest.er1
   10784   cat conftest.err >&5
   10785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10786   (exit $ac_status); } &&
   10787 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   10788   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10789   (eval $ac_try) 2>&5
   10790   ac_status=$?
   10791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10792   (exit $ac_status); }; } &&
   10793 	 { ac_try='test -s conftest.$ac_objext'
   10794   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10795   (eval $ac_try) 2>&5
   10796   ac_status=$?
   10797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10798   (exit $ac_status); }; }; then
   10799   ac_cv_have_decl_strdup=yes
   10800 else
   10801   echo "$as_me: failed program was:" >&5
   10802 sed 's/^/| /' conftest.$ac_ext >&5
   10803 
   10804 ac_cv_have_decl_strdup=no
   10805 fi
   10806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10807 fi
   10808 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strdup" >&5
   10809 echo "${ECHO_T}$ac_cv_have_decl_strdup" >&6
   10810 if test $ac_cv_have_decl_strdup = yes; then
   10811 
   10812 cat >>confdefs.h <<_ACEOF
   10813 #define HAVE_DECL_STRDUP 1
   10814 _ACEOF
   10815 
   10816 
   10817 else
   10818   cat >>confdefs.h <<_ACEOF
   10819 #define HAVE_DECL_STRDUP 0
   10820 _ACEOF
   10821 
   10822 
   10823 fi
   10824 
   10825 
   10826 
   10827 
   10828       echo "$as_me:$LINENO: checking whether strndup is declared" >&5
   10829 echo $ECHO_N "checking whether strndup is declared... $ECHO_C" >&6
   10830 if test "${ac_cv_have_decl_strndup+set}" = set; then
   10831   echo $ECHO_N "(cached) $ECHO_C" >&6
   10832 else
   10833   cat >conftest.$ac_ext <<_ACEOF
   10834 /* confdefs.h.  */
   10835 _ACEOF
   10836 cat confdefs.h >>conftest.$ac_ext
   10837 cat >>conftest.$ac_ext <<_ACEOF
   10838 /* end confdefs.h.  */
   10839 $ac_includes_default
   10840 int
   10841 main ()
   10842 {
   10843 #ifndef strndup
   10844   char *p = (char *) strndup;
   10845 #endif
   10846 
   10847   ;
   10848   return 0;
   10849 }
   10850 _ACEOF
   10851 rm -f conftest.$ac_objext
   10852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10853   (eval $ac_compile) 2>conftest.er1
   10854   ac_status=$?
   10855   grep -v '^ *+' conftest.er1 >conftest.err
   10856   rm -f conftest.er1
   10857   cat conftest.err >&5
   10858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10859   (exit $ac_status); } &&
   10860 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   10861   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10862   (eval $ac_try) 2>&5
   10863   ac_status=$?
   10864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10865   (exit $ac_status); }; } &&
   10866 	 { ac_try='test -s conftest.$ac_objext'
   10867   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10868   (eval $ac_try) 2>&5
   10869   ac_status=$?
   10870   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10871   (exit $ac_status); }; }; then
   10872   ac_cv_have_decl_strndup=yes
   10873 else
   10874   echo "$as_me: failed program was:" >&5
   10875 sed 's/^/| /' conftest.$ac_ext >&5
   10876 
   10877 ac_cv_have_decl_strndup=no
   10878 fi
   10879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10880 fi
   10881 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strndup" >&5
   10882 echo "${ECHO_T}$ac_cv_have_decl_strndup" >&6
   10883 if test $ac_cv_have_decl_strndup = yes; then
   10884 
   10885 cat >>confdefs.h <<_ACEOF
   10886 #define HAVE_DECL_STRNDUP 1
   10887 _ACEOF
   10888 
   10889 
   10890 else
   10891   cat >>confdefs.h <<_ACEOF
   10892 #define HAVE_DECL_STRNDUP 0
   10893 _ACEOF
   10894 
   10895 
   10896 fi
   10897 
   10898 
   10899 
   10900 
   10901       echo "$as_me:$LINENO: checking whether strnlen is declared" >&5
   10902 echo $ECHO_N "checking whether strnlen is declared... $ECHO_C" >&6
   10903 if test "${ac_cv_have_decl_strnlen+set}" = set; then
   10904   echo $ECHO_N "(cached) $ECHO_C" >&6
   10905 else
   10906   cat >conftest.$ac_ext <<_ACEOF
   10907 /* confdefs.h.  */
   10908 _ACEOF
   10909 cat confdefs.h >>conftest.$ac_ext
   10910 cat >>conftest.$ac_ext <<_ACEOF
   10911 /* end confdefs.h.  */
   10912 $ac_includes_default
   10913 int
   10914 main ()
   10915 {
   10916 #ifndef strnlen
   10917   char *p = (char *) strnlen;
   10918 #endif
   10919 
   10920   ;
   10921   return 0;
   10922 }
   10923 _ACEOF
   10924 rm -f conftest.$ac_objext
   10925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10926   (eval $ac_compile) 2>conftest.er1
   10927   ac_status=$?
   10928   grep -v '^ *+' conftest.er1 >conftest.err
   10929   rm -f conftest.er1
   10930   cat conftest.err >&5
   10931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10932   (exit $ac_status); } &&
   10933 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   10934   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10935   (eval $ac_try) 2>&5
   10936   ac_status=$?
   10937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10938   (exit $ac_status); }; } &&
   10939 	 { ac_try='test -s conftest.$ac_objext'
   10940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10941   (eval $ac_try) 2>&5
   10942   ac_status=$?
   10943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10944   (exit $ac_status); }; }; then
   10945   ac_cv_have_decl_strnlen=yes
   10946 else
   10947   echo "$as_me: failed program was:" >&5
   10948 sed 's/^/| /' conftest.$ac_ext >&5
   10949 
   10950 ac_cv_have_decl_strnlen=no
   10951 fi
   10952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10953 fi
   10954 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strnlen" >&5
   10955 echo "${ECHO_T}$ac_cv_have_decl_strnlen" >&6
   10956 if test $ac_cv_have_decl_strnlen = yes; then
   10957 
   10958 cat >>confdefs.h <<_ACEOF
   10959 #define HAVE_DECL_STRNLEN 1
   10960 _ACEOF
   10961 
   10962 
   10963 else
   10964   cat >>confdefs.h <<_ACEOF
   10965 #define HAVE_DECL_STRNLEN 0
   10966 _ACEOF
   10967 
   10968 
   10969 fi
   10970 
   10971 
   10972 
   10973 
   10974       echo "$as_me:$LINENO: checking whether clearerr_unlocked is declared" >&5
   10975 echo $ECHO_N "checking whether clearerr_unlocked is declared... $ECHO_C" >&6
   10976 if test "${ac_cv_have_decl_clearerr_unlocked+set}" = set; then
   10977   echo $ECHO_N "(cached) $ECHO_C" >&6
   10978 else
   10979   cat >conftest.$ac_ext <<_ACEOF
   10980 /* confdefs.h.  */
   10981 _ACEOF
   10982 cat confdefs.h >>conftest.$ac_ext
   10983 cat >>conftest.$ac_ext <<_ACEOF
   10984 /* end confdefs.h.  */
   10985 $ac_includes_default
   10986 int
   10987 main ()
   10988 {
   10989 #ifndef clearerr_unlocked
   10990   char *p = (char *) clearerr_unlocked;
   10991 #endif
   10992 
   10993   ;
   10994   return 0;
   10995 }
   10996 _ACEOF
   10997 rm -f conftest.$ac_objext
   10998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10999   (eval $ac_compile) 2>conftest.er1
   11000   ac_status=$?
   11001   grep -v '^ *+' conftest.er1 >conftest.err
   11002   rm -f conftest.er1
   11003   cat conftest.err >&5
   11004   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11005   (exit $ac_status); } &&
   11006 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11007   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11008   (eval $ac_try) 2>&5
   11009   ac_status=$?
   11010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11011   (exit $ac_status); }; } &&
   11012 	 { ac_try='test -s conftest.$ac_objext'
   11013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11014   (eval $ac_try) 2>&5
   11015   ac_status=$?
   11016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11017   (exit $ac_status); }; }; then
   11018   ac_cv_have_decl_clearerr_unlocked=yes
   11019 else
   11020   echo "$as_me: failed program was:" >&5
   11021 sed 's/^/| /' conftest.$ac_ext >&5
   11022 
   11023 ac_cv_have_decl_clearerr_unlocked=no
   11024 fi
   11025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11026 fi
   11027 echo "$as_me:$LINENO: result: $ac_cv_have_decl_clearerr_unlocked" >&5
   11028 echo "${ECHO_T}$ac_cv_have_decl_clearerr_unlocked" >&6
   11029 if test $ac_cv_have_decl_clearerr_unlocked = yes; then
   11030 
   11031 cat >>confdefs.h <<_ACEOF
   11032 #define HAVE_DECL_CLEARERR_UNLOCKED 1
   11033 _ACEOF
   11034 
   11035 
   11036 else
   11037   cat >>confdefs.h <<_ACEOF
   11038 #define HAVE_DECL_CLEARERR_UNLOCKED 0
   11039 _ACEOF
   11040 
   11041 
   11042 fi
   11043 
   11044 
   11045 
   11046 
   11047       echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
   11048 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
   11049 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
   11050   echo $ECHO_N "(cached) $ECHO_C" >&6
   11051 else
   11052   cat >conftest.$ac_ext <<_ACEOF
   11053 /* confdefs.h.  */
   11054 _ACEOF
   11055 cat confdefs.h >>conftest.$ac_ext
   11056 cat >>conftest.$ac_ext <<_ACEOF
   11057 /* end confdefs.h.  */
   11058 $ac_includes_default
   11059 int
   11060 main ()
   11061 {
   11062 #ifndef feof_unlocked
   11063   char *p = (char *) feof_unlocked;
   11064 #endif
   11065 
   11066   ;
   11067   return 0;
   11068 }
   11069 _ACEOF
   11070 rm -f conftest.$ac_objext
   11071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11072   (eval $ac_compile) 2>conftest.er1
   11073   ac_status=$?
   11074   grep -v '^ *+' conftest.er1 >conftest.err
   11075   rm -f conftest.er1
   11076   cat conftest.err >&5
   11077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11078   (exit $ac_status); } &&
   11079 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11080   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11081   (eval $ac_try) 2>&5
   11082   ac_status=$?
   11083   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11084   (exit $ac_status); }; } &&
   11085 	 { ac_try='test -s conftest.$ac_objext'
   11086   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11087   (eval $ac_try) 2>&5
   11088   ac_status=$?
   11089   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11090   (exit $ac_status); }; }; then
   11091   ac_cv_have_decl_feof_unlocked=yes
   11092 else
   11093   echo "$as_me: failed program was:" >&5
   11094 sed 's/^/| /' conftest.$ac_ext >&5
   11095 
   11096 ac_cv_have_decl_feof_unlocked=no
   11097 fi
   11098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11099 fi
   11100 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
   11101 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
   11102 if test $ac_cv_have_decl_feof_unlocked = yes; then
   11103 
   11104 cat >>confdefs.h <<_ACEOF
   11105 #define HAVE_DECL_FEOF_UNLOCKED 1
   11106 _ACEOF
   11107 
   11108 
   11109 else
   11110   cat >>confdefs.h <<_ACEOF
   11111 #define HAVE_DECL_FEOF_UNLOCKED 0
   11112 _ACEOF
   11113 
   11114 
   11115 fi
   11116 
   11117 
   11118 
   11119 
   11120       echo "$as_me:$LINENO: checking whether ferror_unlocked is declared" >&5
   11121 echo $ECHO_N "checking whether ferror_unlocked is declared... $ECHO_C" >&6
   11122 if test "${ac_cv_have_decl_ferror_unlocked+set}" = set; then
   11123   echo $ECHO_N "(cached) $ECHO_C" >&6
   11124 else
   11125   cat >conftest.$ac_ext <<_ACEOF
   11126 /* confdefs.h.  */
   11127 _ACEOF
   11128 cat confdefs.h >>conftest.$ac_ext
   11129 cat >>conftest.$ac_ext <<_ACEOF
   11130 /* end confdefs.h.  */
   11131 $ac_includes_default
   11132 int
   11133 main ()
   11134 {
   11135 #ifndef ferror_unlocked
   11136   char *p = (char *) ferror_unlocked;
   11137 #endif
   11138 
   11139   ;
   11140   return 0;
   11141 }
   11142 _ACEOF
   11143 rm -f conftest.$ac_objext
   11144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11145   (eval $ac_compile) 2>conftest.er1
   11146   ac_status=$?
   11147   grep -v '^ *+' conftest.er1 >conftest.err
   11148   rm -f conftest.er1
   11149   cat conftest.err >&5
   11150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11151   (exit $ac_status); } &&
   11152 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11154   (eval $ac_try) 2>&5
   11155   ac_status=$?
   11156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11157   (exit $ac_status); }; } &&
   11158 	 { ac_try='test -s conftest.$ac_objext'
   11159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11160   (eval $ac_try) 2>&5
   11161   ac_status=$?
   11162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11163   (exit $ac_status); }; }; then
   11164   ac_cv_have_decl_ferror_unlocked=yes
   11165 else
   11166   echo "$as_me: failed program was:" >&5
   11167 sed 's/^/| /' conftest.$ac_ext >&5
   11168 
   11169 ac_cv_have_decl_ferror_unlocked=no
   11170 fi
   11171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11172 fi
   11173 echo "$as_me:$LINENO: result: $ac_cv_have_decl_ferror_unlocked" >&5
   11174 echo "${ECHO_T}$ac_cv_have_decl_ferror_unlocked" >&6
   11175 if test $ac_cv_have_decl_ferror_unlocked = yes; then
   11176 
   11177 cat >>confdefs.h <<_ACEOF
   11178 #define HAVE_DECL_FERROR_UNLOCKED 1
   11179 _ACEOF
   11180 
   11181 
   11182 else
   11183   cat >>confdefs.h <<_ACEOF
   11184 #define HAVE_DECL_FERROR_UNLOCKED 0
   11185 _ACEOF
   11186 
   11187 
   11188 fi
   11189 
   11190 
   11191 
   11192 
   11193       echo "$as_me:$LINENO: checking whether fflush_unlocked is declared" >&5
   11194 echo $ECHO_N "checking whether fflush_unlocked is declared... $ECHO_C" >&6
   11195 if test "${ac_cv_have_decl_fflush_unlocked+set}" = set; then
   11196   echo $ECHO_N "(cached) $ECHO_C" >&6
   11197 else
   11198   cat >conftest.$ac_ext <<_ACEOF
   11199 /* confdefs.h.  */
   11200 _ACEOF
   11201 cat confdefs.h >>conftest.$ac_ext
   11202 cat >>conftest.$ac_ext <<_ACEOF
   11203 /* end confdefs.h.  */
   11204 $ac_includes_default
   11205 int
   11206 main ()
   11207 {
   11208 #ifndef fflush_unlocked
   11209   char *p = (char *) fflush_unlocked;
   11210 #endif
   11211 
   11212   ;
   11213   return 0;
   11214 }
   11215 _ACEOF
   11216 rm -f conftest.$ac_objext
   11217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11218   (eval $ac_compile) 2>conftest.er1
   11219   ac_status=$?
   11220   grep -v '^ *+' conftest.er1 >conftest.err
   11221   rm -f conftest.er1
   11222   cat conftest.err >&5
   11223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11224   (exit $ac_status); } &&
   11225 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11227   (eval $ac_try) 2>&5
   11228   ac_status=$?
   11229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11230   (exit $ac_status); }; } &&
   11231 	 { ac_try='test -s conftest.$ac_objext'
   11232   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11233   (eval $ac_try) 2>&5
   11234   ac_status=$?
   11235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11236   (exit $ac_status); }; }; then
   11237   ac_cv_have_decl_fflush_unlocked=yes
   11238 else
   11239   echo "$as_me: failed program was:" >&5
   11240 sed 's/^/| /' conftest.$ac_ext >&5
   11241 
   11242 ac_cv_have_decl_fflush_unlocked=no
   11243 fi
   11244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11245 fi
   11246 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fflush_unlocked" >&5
   11247 echo "${ECHO_T}$ac_cv_have_decl_fflush_unlocked" >&6
   11248 if test $ac_cv_have_decl_fflush_unlocked = yes; then
   11249 
   11250 cat >>confdefs.h <<_ACEOF
   11251 #define HAVE_DECL_FFLUSH_UNLOCKED 1
   11252 _ACEOF
   11253 
   11254 
   11255 else
   11256   cat >>confdefs.h <<_ACEOF
   11257 #define HAVE_DECL_FFLUSH_UNLOCKED 0
   11258 _ACEOF
   11259 
   11260 
   11261 fi
   11262 
   11263 
   11264 
   11265 
   11266       echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
   11267 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
   11268 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
   11269   echo $ECHO_N "(cached) $ECHO_C" >&6
   11270 else
   11271   cat >conftest.$ac_ext <<_ACEOF
   11272 /* confdefs.h.  */
   11273 _ACEOF
   11274 cat confdefs.h >>conftest.$ac_ext
   11275 cat >>conftest.$ac_ext <<_ACEOF
   11276 /* end confdefs.h.  */
   11277 $ac_includes_default
   11278 int
   11279 main ()
   11280 {
   11281 #ifndef fgets_unlocked
   11282   char *p = (char *) fgets_unlocked;
   11283 #endif
   11284 
   11285   ;
   11286   return 0;
   11287 }
   11288 _ACEOF
   11289 rm -f conftest.$ac_objext
   11290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11291   (eval $ac_compile) 2>conftest.er1
   11292   ac_status=$?
   11293   grep -v '^ *+' conftest.er1 >conftest.err
   11294   rm -f conftest.er1
   11295   cat conftest.err >&5
   11296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11297   (exit $ac_status); } &&
   11298 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11300   (eval $ac_try) 2>&5
   11301   ac_status=$?
   11302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11303   (exit $ac_status); }; } &&
   11304 	 { ac_try='test -s conftest.$ac_objext'
   11305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11306   (eval $ac_try) 2>&5
   11307   ac_status=$?
   11308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11309   (exit $ac_status); }; }; then
   11310   ac_cv_have_decl_fgets_unlocked=yes
   11311 else
   11312   echo "$as_me: failed program was:" >&5
   11313 sed 's/^/| /' conftest.$ac_ext >&5
   11314 
   11315 ac_cv_have_decl_fgets_unlocked=no
   11316 fi
   11317 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11318 fi
   11319 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
   11320 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
   11321 if test $ac_cv_have_decl_fgets_unlocked = yes; then
   11322 
   11323 cat >>confdefs.h <<_ACEOF
   11324 #define HAVE_DECL_FGETS_UNLOCKED 1
   11325 _ACEOF
   11326 
   11327 
   11328 else
   11329   cat >>confdefs.h <<_ACEOF
   11330 #define HAVE_DECL_FGETS_UNLOCKED 0
   11331 _ACEOF
   11332 
   11333 
   11334 fi
   11335 
   11336 
   11337 
   11338 
   11339       echo "$as_me:$LINENO: checking whether fputc_unlocked is declared" >&5
   11340 echo $ECHO_N "checking whether fputc_unlocked is declared... $ECHO_C" >&6
   11341 if test "${ac_cv_have_decl_fputc_unlocked+set}" = set; then
   11342   echo $ECHO_N "(cached) $ECHO_C" >&6
   11343 else
   11344   cat >conftest.$ac_ext <<_ACEOF
   11345 /* confdefs.h.  */
   11346 _ACEOF
   11347 cat confdefs.h >>conftest.$ac_ext
   11348 cat >>conftest.$ac_ext <<_ACEOF
   11349 /* end confdefs.h.  */
   11350 $ac_includes_default
   11351 int
   11352 main ()
   11353 {
   11354 #ifndef fputc_unlocked
   11355   char *p = (char *) fputc_unlocked;
   11356 #endif
   11357 
   11358   ;
   11359   return 0;
   11360 }
   11361 _ACEOF
   11362 rm -f conftest.$ac_objext
   11363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11364   (eval $ac_compile) 2>conftest.er1
   11365   ac_status=$?
   11366   grep -v '^ *+' conftest.er1 >conftest.err
   11367   rm -f conftest.er1
   11368   cat conftest.err >&5
   11369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11370   (exit $ac_status); } &&
   11371 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11373   (eval $ac_try) 2>&5
   11374   ac_status=$?
   11375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11376   (exit $ac_status); }; } &&
   11377 	 { ac_try='test -s conftest.$ac_objext'
   11378   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11379   (eval $ac_try) 2>&5
   11380   ac_status=$?
   11381   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11382   (exit $ac_status); }; }; then
   11383   ac_cv_have_decl_fputc_unlocked=yes
   11384 else
   11385   echo "$as_me: failed program was:" >&5
   11386 sed 's/^/| /' conftest.$ac_ext >&5
   11387 
   11388 ac_cv_have_decl_fputc_unlocked=no
   11389 fi
   11390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11391 fi
   11392 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputc_unlocked" >&5
   11393 echo "${ECHO_T}$ac_cv_have_decl_fputc_unlocked" >&6
   11394 if test $ac_cv_have_decl_fputc_unlocked = yes; then
   11395 
   11396 cat >>confdefs.h <<_ACEOF
   11397 #define HAVE_DECL_FPUTC_UNLOCKED 1
   11398 _ACEOF
   11399 
   11400 
   11401 else
   11402   cat >>confdefs.h <<_ACEOF
   11403 #define HAVE_DECL_FPUTC_UNLOCKED 0
   11404 _ACEOF
   11405 
   11406 
   11407 fi
   11408 
   11409 
   11410 
   11411 
   11412       echo "$as_me:$LINENO: checking whether fputs_unlocked is declared" >&5
   11413 echo $ECHO_N "checking whether fputs_unlocked is declared... $ECHO_C" >&6
   11414 if test "${ac_cv_have_decl_fputs_unlocked+set}" = set; then
   11415   echo $ECHO_N "(cached) $ECHO_C" >&6
   11416 else
   11417   cat >conftest.$ac_ext <<_ACEOF
   11418 /* confdefs.h.  */
   11419 _ACEOF
   11420 cat confdefs.h >>conftest.$ac_ext
   11421 cat >>conftest.$ac_ext <<_ACEOF
   11422 /* end confdefs.h.  */
   11423 $ac_includes_default
   11424 int
   11425 main ()
   11426 {
   11427 #ifndef fputs_unlocked
   11428   char *p = (char *) fputs_unlocked;
   11429 #endif
   11430 
   11431   ;
   11432   return 0;
   11433 }
   11434 _ACEOF
   11435 rm -f conftest.$ac_objext
   11436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11437   (eval $ac_compile) 2>conftest.er1
   11438   ac_status=$?
   11439   grep -v '^ *+' conftest.er1 >conftest.err
   11440   rm -f conftest.er1
   11441   cat conftest.err >&5
   11442   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11443   (exit $ac_status); } &&
   11444 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11446   (eval $ac_try) 2>&5
   11447   ac_status=$?
   11448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11449   (exit $ac_status); }; } &&
   11450 	 { ac_try='test -s conftest.$ac_objext'
   11451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11452   (eval $ac_try) 2>&5
   11453   ac_status=$?
   11454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11455   (exit $ac_status); }; }; then
   11456   ac_cv_have_decl_fputs_unlocked=yes
   11457 else
   11458   echo "$as_me: failed program was:" >&5
   11459 sed 's/^/| /' conftest.$ac_ext >&5
   11460 
   11461 ac_cv_have_decl_fputs_unlocked=no
   11462 fi
   11463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11464 fi
   11465 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fputs_unlocked" >&5
   11466 echo "${ECHO_T}$ac_cv_have_decl_fputs_unlocked" >&6
   11467 if test $ac_cv_have_decl_fputs_unlocked = yes; then
   11468 
   11469 cat >>confdefs.h <<_ACEOF
   11470 #define HAVE_DECL_FPUTS_UNLOCKED 1
   11471 _ACEOF
   11472 
   11473 
   11474 else
   11475   cat >>confdefs.h <<_ACEOF
   11476 #define HAVE_DECL_FPUTS_UNLOCKED 0
   11477 _ACEOF
   11478 
   11479 
   11480 fi
   11481 
   11482 
   11483 
   11484 
   11485       echo "$as_me:$LINENO: checking whether fread_unlocked is declared" >&5
   11486 echo $ECHO_N "checking whether fread_unlocked is declared... $ECHO_C" >&6
   11487 if test "${ac_cv_have_decl_fread_unlocked+set}" = set; then
   11488   echo $ECHO_N "(cached) $ECHO_C" >&6
   11489 else
   11490   cat >conftest.$ac_ext <<_ACEOF
   11491 /* confdefs.h.  */
   11492 _ACEOF
   11493 cat confdefs.h >>conftest.$ac_ext
   11494 cat >>conftest.$ac_ext <<_ACEOF
   11495 /* end confdefs.h.  */
   11496 $ac_includes_default
   11497 int
   11498 main ()
   11499 {
   11500 #ifndef fread_unlocked
   11501   char *p = (char *) fread_unlocked;
   11502 #endif
   11503 
   11504   ;
   11505   return 0;
   11506 }
   11507 _ACEOF
   11508 rm -f conftest.$ac_objext
   11509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11510   (eval $ac_compile) 2>conftest.er1
   11511   ac_status=$?
   11512   grep -v '^ *+' conftest.er1 >conftest.err
   11513   rm -f conftest.er1
   11514   cat conftest.err >&5
   11515   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11516   (exit $ac_status); } &&
   11517 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11518   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11519   (eval $ac_try) 2>&5
   11520   ac_status=$?
   11521   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11522   (exit $ac_status); }; } &&
   11523 	 { ac_try='test -s conftest.$ac_objext'
   11524   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11525   (eval $ac_try) 2>&5
   11526   ac_status=$?
   11527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11528   (exit $ac_status); }; }; then
   11529   ac_cv_have_decl_fread_unlocked=yes
   11530 else
   11531   echo "$as_me: failed program was:" >&5
   11532 sed 's/^/| /' conftest.$ac_ext >&5
   11533 
   11534 ac_cv_have_decl_fread_unlocked=no
   11535 fi
   11536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11537 fi
   11538 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fread_unlocked" >&5
   11539 echo "${ECHO_T}$ac_cv_have_decl_fread_unlocked" >&6
   11540 if test $ac_cv_have_decl_fread_unlocked = yes; then
   11541 
   11542 cat >>confdefs.h <<_ACEOF
   11543 #define HAVE_DECL_FREAD_UNLOCKED 1
   11544 _ACEOF
   11545 
   11546 
   11547 else
   11548   cat >>confdefs.h <<_ACEOF
   11549 #define HAVE_DECL_FREAD_UNLOCKED 0
   11550 _ACEOF
   11551 
   11552 
   11553 fi
   11554 
   11555 
   11556 
   11557 
   11558       echo "$as_me:$LINENO: checking whether fwrite_unlocked is declared" >&5
   11559 echo $ECHO_N "checking whether fwrite_unlocked is declared... $ECHO_C" >&6
   11560 if test "${ac_cv_have_decl_fwrite_unlocked+set}" = set; then
   11561   echo $ECHO_N "(cached) $ECHO_C" >&6
   11562 else
   11563   cat >conftest.$ac_ext <<_ACEOF
   11564 /* confdefs.h.  */
   11565 _ACEOF
   11566 cat confdefs.h >>conftest.$ac_ext
   11567 cat >>conftest.$ac_ext <<_ACEOF
   11568 /* end confdefs.h.  */
   11569 $ac_includes_default
   11570 int
   11571 main ()
   11572 {
   11573 #ifndef fwrite_unlocked
   11574   char *p = (char *) fwrite_unlocked;
   11575 #endif
   11576 
   11577   ;
   11578   return 0;
   11579 }
   11580 _ACEOF
   11581 rm -f conftest.$ac_objext
   11582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11583   (eval $ac_compile) 2>conftest.er1
   11584   ac_status=$?
   11585   grep -v '^ *+' conftest.er1 >conftest.err
   11586   rm -f conftest.er1
   11587   cat conftest.err >&5
   11588   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11589   (exit $ac_status); } &&
   11590 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11591   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11592   (eval $ac_try) 2>&5
   11593   ac_status=$?
   11594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11595   (exit $ac_status); }; } &&
   11596 	 { ac_try='test -s conftest.$ac_objext'
   11597   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11598   (eval $ac_try) 2>&5
   11599   ac_status=$?
   11600   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11601   (exit $ac_status); }; }; then
   11602   ac_cv_have_decl_fwrite_unlocked=yes
   11603 else
   11604   echo "$as_me: failed program was:" >&5
   11605 sed 's/^/| /' conftest.$ac_ext >&5
   11606 
   11607 ac_cv_have_decl_fwrite_unlocked=no
   11608 fi
   11609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11610 fi
   11611 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fwrite_unlocked" >&5
   11612 echo "${ECHO_T}$ac_cv_have_decl_fwrite_unlocked" >&6
   11613 if test $ac_cv_have_decl_fwrite_unlocked = yes; then
   11614 
   11615 cat >>confdefs.h <<_ACEOF
   11616 #define HAVE_DECL_FWRITE_UNLOCKED 1
   11617 _ACEOF
   11618 
   11619 
   11620 else
   11621   cat >>confdefs.h <<_ACEOF
   11622 #define HAVE_DECL_FWRITE_UNLOCKED 0
   11623 _ACEOF
   11624 
   11625 
   11626 fi
   11627 
   11628 
   11629 
   11630 
   11631       echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
   11632 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
   11633 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
   11634   echo $ECHO_N "(cached) $ECHO_C" >&6
   11635 else
   11636   cat >conftest.$ac_ext <<_ACEOF
   11637 /* confdefs.h.  */
   11638 _ACEOF
   11639 cat confdefs.h >>conftest.$ac_ext
   11640 cat >>conftest.$ac_ext <<_ACEOF
   11641 /* end confdefs.h.  */
   11642 $ac_includes_default
   11643 int
   11644 main ()
   11645 {
   11646 #ifndef getc_unlocked
   11647   char *p = (char *) getc_unlocked;
   11648 #endif
   11649 
   11650   ;
   11651   return 0;
   11652 }
   11653 _ACEOF
   11654 rm -f conftest.$ac_objext
   11655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11656   (eval $ac_compile) 2>conftest.er1
   11657   ac_status=$?
   11658   grep -v '^ *+' conftest.er1 >conftest.err
   11659   rm -f conftest.er1
   11660   cat conftest.err >&5
   11661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11662   (exit $ac_status); } &&
   11663 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11664   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11665   (eval $ac_try) 2>&5
   11666   ac_status=$?
   11667   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11668   (exit $ac_status); }; } &&
   11669 	 { ac_try='test -s conftest.$ac_objext'
   11670   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11671   (eval $ac_try) 2>&5
   11672   ac_status=$?
   11673   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11674   (exit $ac_status); }; }; then
   11675   ac_cv_have_decl_getc_unlocked=yes
   11676 else
   11677   echo "$as_me: failed program was:" >&5
   11678 sed 's/^/| /' conftest.$ac_ext >&5
   11679 
   11680 ac_cv_have_decl_getc_unlocked=no
   11681 fi
   11682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11683 fi
   11684 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
   11685 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
   11686 if test $ac_cv_have_decl_getc_unlocked = yes; then
   11687 
   11688 cat >>confdefs.h <<_ACEOF
   11689 #define HAVE_DECL_GETC_UNLOCKED 1
   11690 _ACEOF
   11691 
   11692 
   11693 else
   11694   cat >>confdefs.h <<_ACEOF
   11695 #define HAVE_DECL_GETC_UNLOCKED 0
   11696 _ACEOF
   11697 
   11698 
   11699 fi
   11700 
   11701 
   11702 
   11703 
   11704       echo "$as_me:$LINENO: checking whether getchar_unlocked is declared" >&5
   11705 echo $ECHO_N "checking whether getchar_unlocked is declared... $ECHO_C" >&6
   11706 if test "${ac_cv_have_decl_getchar_unlocked+set}" = set; then
   11707   echo $ECHO_N "(cached) $ECHO_C" >&6
   11708 else
   11709   cat >conftest.$ac_ext <<_ACEOF
   11710 /* confdefs.h.  */
   11711 _ACEOF
   11712 cat confdefs.h >>conftest.$ac_ext
   11713 cat >>conftest.$ac_ext <<_ACEOF
   11714 /* end confdefs.h.  */
   11715 $ac_includes_default
   11716 int
   11717 main ()
   11718 {
   11719 #ifndef getchar_unlocked
   11720   char *p = (char *) getchar_unlocked;
   11721 #endif
   11722 
   11723   ;
   11724   return 0;
   11725 }
   11726 _ACEOF
   11727 rm -f conftest.$ac_objext
   11728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11729   (eval $ac_compile) 2>conftest.er1
   11730   ac_status=$?
   11731   grep -v '^ *+' conftest.er1 >conftest.err
   11732   rm -f conftest.er1
   11733   cat conftest.err >&5
   11734   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11735   (exit $ac_status); } &&
   11736 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11737   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11738   (eval $ac_try) 2>&5
   11739   ac_status=$?
   11740   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11741   (exit $ac_status); }; } &&
   11742 	 { ac_try='test -s conftest.$ac_objext'
   11743   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11744   (eval $ac_try) 2>&5
   11745   ac_status=$?
   11746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11747   (exit $ac_status); }; }; then
   11748   ac_cv_have_decl_getchar_unlocked=yes
   11749 else
   11750   echo "$as_me: failed program was:" >&5
   11751 sed 's/^/| /' conftest.$ac_ext >&5
   11752 
   11753 ac_cv_have_decl_getchar_unlocked=no
   11754 fi
   11755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11756 fi
   11757 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getchar_unlocked" >&5
   11758 echo "${ECHO_T}$ac_cv_have_decl_getchar_unlocked" >&6
   11759 if test $ac_cv_have_decl_getchar_unlocked = yes; then
   11760 
   11761 cat >>confdefs.h <<_ACEOF
   11762 #define HAVE_DECL_GETCHAR_UNLOCKED 1
   11763 _ACEOF
   11764 
   11765 
   11766 else
   11767   cat >>confdefs.h <<_ACEOF
   11768 #define HAVE_DECL_GETCHAR_UNLOCKED 0
   11769 _ACEOF
   11770 
   11771 
   11772 fi
   11773 
   11774 
   11775 
   11776 
   11777       echo "$as_me:$LINENO: checking whether putc_unlocked is declared" >&5
   11778 echo $ECHO_N "checking whether putc_unlocked is declared... $ECHO_C" >&6
   11779 if test "${ac_cv_have_decl_putc_unlocked+set}" = set; then
   11780   echo $ECHO_N "(cached) $ECHO_C" >&6
   11781 else
   11782   cat >conftest.$ac_ext <<_ACEOF
   11783 /* confdefs.h.  */
   11784 _ACEOF
   11785 cat confdefs.h >>conftest.$ac_ext
   11786 cat >>conftest.$ac_ext <<_ACEOF
   11787 /* end confdefs.h.  */
   11788 $ac_includes_default
   11789 int
   11790 main ()
   11791 {
   11792 #ifndef putc_unlocked
   11793   char *p = (char *) putc_unlocked;
   11794 #endif
   11795 
   11796   ;
   11797   return 0;
   11798 }
   11799 _ACEOF
   11800 rm -f conftest.$ac_objext
   11801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11802   (eval $ac_compile) 2>conftest.er1
   11803   ac_status=$?
   11804   grep -v '^ *+' conftest.er1 >conftest.err
   11805   rm -f conftest.er1
   11806   cat conftest.err >&5
   11807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11808   (exit $ac_status); } &&
   11809 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11811   (eval $ac_try) 2>&5
   11812   ac_status=$?
   11813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11814   (exit $ac_status); }; } &&
   11815 	 { ac_try='test -s conftest.$ac_objext'
   11816   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11817   (eval $ac_try) 2>&5
   11818   ac_status=$?
   11819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11820   (exit $ac_status); }; }; then
   11821   ac_cv_have_decl_putc_unlocked=yes
   11822 else
   11823   echo "$as_me: failed program was:" >&5
   11824 sed 's/^/| /' conftest.$ac_ext >&5
   11825 
   11826 ac_cv_have_decl_putc_unlocked=no
   11827 fi
   11828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11829 fi
   11830 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putc_unlocked" >&5
   11831 echo "${ECHO_T}$ac_cv_have_decl_putc_unlocked" >&6
   11832 if test $ac_cv_have_decl_putc_unlocked = yes; then
   11833 
   11834 cat >>confdefs.h <<_ACEOF
   11835 #define HAVE_DECL_PUTC_UNLOCKED 1
   11836 _ACEOF
   11837 
   11838 
   11839 else
   11840   cat >>confdefs.h <<_ACEOF
   11841 #define HAVE_DECL_PUTC_UNLOCKED 0
   11842 _ACEOF
   11843 
   11844 
   11845 fi
   11846 
   11847 
   11848 
   11849 
   11850       echo "$as_me:$LINENO: checking whether putchar_unlocked is declared" >&5
   11851 echo $ECHO_N "checking whether putchar_unlocked is declared... $ECHO_C" >&6
   11852 if test "${ac_cv_have_decl_putchar_unlocked+set}" = set; then
   11853   echo $ECHO_N "(cached) $ECHO_C" >&6
   11854 else
   11855   cat >conftest.$ac_ext <<_ACEOF
   11856 /* confdefs.h.  */
   11857 _ACEOF
   11858 cat confdefs.h >>conftest.$ac_ext
   11859 cat >>conftest.$ac_ext <<_ACEOF
   11860 /* end confdefs.h.  */
   11861 $ac_includes_default
   11862 int
   11863 main ()
   11864 {
   11865 #ifndef putchar_unlocked
   11866   char *p = (char *) putchar_unlocked;
   11867 #endif
   11868 
   11869   ;
   11870   return 0;
   11871 }
   11872 _ACEOF
   11873 rm -f conftest.$ac_objext
   11874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11875   (eval $ac_compile) 2>conftest.er1
   11876   ac_status=$?
   11877   grep -v '^ *+' conftest.er1 >conftest.err
   11878   rm -f conftest.er1
   11879   cat conftest.err >&5
   11880   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11881   (exit $ac_status); } &&
   11882 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11883   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11884   (eval $ac_try) 2>&5
   11885   ac_status=$?
   11886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11887   (exit $ac_status); }; } &&
   11888 	 { ac_try='test -s conftest.$ac_objext'
   11889   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11890   (eval $ac_try) 2>&5
   11891   ac_status=$?
   11892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11893   (exit $ac_status); }; }; then
   11894   ac_cv_have_decl_putchar_unlocked=yes
   11895 else
   11896   echo "$as_me: failed program was:" >&5
   11897 sed 's/^/| /' conftest.$ac_ext >&5
   11898 
   11899 ac_cv_have_decl_putchar_unlocked=no
   11900 fi
   11901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11902 fi
   11903 echo "$as_me:$LINENO: result: $ac_cv_have_decl_putchar_unlocked" >&5
   11904 echo "${ECHO_T}$ac_cv_have_decl_putchar_unlocked" >&6
   11905 if test $ac_cv_have_decl_putchar_unlocked = yes; then
   11906 
   11907 cat >>confdefs.h <<_ACEOF
   11908 #define HAVE_DECL_PUTCHAR_UNLOCKED 1
   11909 _ACEOF
   11910 
   11911 
   11912 else
   11913   cat >>confdefs.h <<_ACEOF
   11914 #define HAVE_DECL_PUTCHAR_UNLOCKED 0
   11915 _ACEOF
   11916 
   11917 
   11918 fi
   11919 
   11920 
   11921 
   11922 
   11923 
   11924 
   11925 
   11926   case $LIBOBJS in
   11927     "dirname.$ac_objext"   | \
   11928   *" dirname.$ac_objext"   | \
   11929     "dirname.$ac_objext "* | \
   11930   *" dirname.$ac_objext "* ) ;;
   11931   *) LIBOBJS="$LIBOBJS dirname.$ac_objext" ;;
   11932 esac
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940   echo "$as_me:$LINENO: checking for error_at_line" >&5
   11941 echo $ECHO_N "checking for error_at_line... $ECHO_C" >&6
   11942 if test "${ac_cv_lib_error_at_line+set}" = set; then
   11943   echo $ECHO_N "(cached) $ECHO_C" >&6
   11944 else
   11945   cat >conftest.$ac_ext <<_ACEOF
   11946 /* confdefs.h.  */
   11947 _ACEOF
   11948 cat confdefs.h >>conftest.$ac_ext
   11949 cat >>conftest.$ac_ext <<_ACEOF
   11950 /* end confdefs.h.  */
   11951 $ac_includes_default
   11952 int
   11953 main ()
   11954 {
   11955 error_at_line (0, 0, "", 0, "");
   11956   ;
   11957   return 0;
   11958 }
   11959 _ACEOF
   11960 rm -f conftest.$ac_objext conftest$ac_exeext
   11961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11962   (eval $ac_link) 2>conftest.er1
   11963   ac_status=$?
   11964   grep -v '^ *+' conftest.er1 >conftest.err
   11965   rm -f conftest.er1
   11966   cat conftest.err >&5
   11967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11968   (exit $ac_status); } &&
   11969 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   11970   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11971   (eval $ac_try) 2>&5
   11972   ac_status=$?
   11973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11974   (exit $ac_status); }; } &&
   11975 	 { ac_try='test -s conftest$ac_exeext'
   11976   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11977   (eval $ac_try) 2>&5
   11978   ac_status=$?
   11979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11980   (exit $ac_status); }; }; then
   11981   ac_cv_lib_error_at_line=yes
   11982 else
   11983   echo "$as_me: failed program was:" >&5
   11984 sed 's/^/| /' conftest.$ac_ext >&5
   11985 
   11986 ac_cv_lib_error_at_line=no
   11987 fi
   11988 rm -f conftest.err conftest.$ac_objext \
   11989       conftest$ac_exeext conftest.$ac_ext
   11990 fi
   11991 echo "$as_me:$LINENO: result: $ac_cv_lib_error_at_line" >&5
   11992 echo "${ECHO_T}$ac_cv_lib_error_at_line" >&6
   11993 if test $ac_cv_lib_error_at_line = no; then
   11994   case $LIBOBJS in
   11995     "error.$ac_objext"   | \
   11996   *" error.$ac_objext"   | \
   11997     "error.$ac_objext "* | \
   11998   *" error.$ac_objext "* ) ;;
   11999   *) LIBOBJS="$LIBOBJS error.$ac_objext" ;;
   12000 esac
   12001 
   12002 fi
   12003 
   12004 
   12005 
   12006   :
   12007 
   12008 
   12009 
   12010 
   12011 
   12012 
   12013   case $LIBOBJS in
   12014     "exitfail.$ac_objext"   | \
   12015   *" exitfail.$ac_objext"   | \
   12016     "exitfail.$ac_objext "* | \
   12017   *" exitfail.$ac_objext "* ) ;;
   12018   *) LIBOBJS="$LIBOBJS exitfail.$ac_objext" ;;
   12019 esac
   12020 
   12021 
   12022     :
   12023 
   12024 
   12025 
   12026 
   12027 
   12028   if test -n "$GETOPT_H"; then
   12029 
   12030   case $LIBOBJS in
   12031     "getopt.$ac_objext"   | \
   12032   *" getopt.$ac_objext"   | \
   12033     "getopt.$ac_objext "* | \
   12034   *" getopt.$ac_objext "* ) ;;
   12035   *) LIBOBJS="$LIBOBJS getopt.$ac_objext" ;;
   12036 esac
   12037 
   12038   case $LIBOBJS in
   12039     "getopt1.$ac_objext"   | \
   12040   *" getopt1.$ac_objext"   | \
   12041     "getopt1.$ac_objext "* | \
   12042   *" getopt1.$ac_objext "* ) ;;
   12043   *) LIBOBJS="$LIBOBJS getopt1.$ac_objext" ;;
   12044 esac
   12045 
   12046 
   12047   GETOPT_H=getopt.h
   12048 
   12049 cat >>confdefs.h <<\_ACEOF
   12050 #define __GETOPT_PREFIX rpl_
   12051 _ACEOF
   12052 
   12053 
   12054 
   12055 
   12056 
   12057   :
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 fi
   12066 
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 
   12074 
   12075 
   12076 
   12077 
   12078 
   12079 
   12080 
   12081 
   12082 
   12083 
   12084 
   12085     echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5
   12086 echo $ECHO_N "checking for CFPreferencesCopyAppValue... $ECHO_C" >&6
   12087 if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then
   12088   echo $ECHO_N "(cached) $ECHO_C" >&6
   12089 else
   12090   gt_save_CPPFLAGS="$CPPFLAGS"
   12091      CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
   12092      gt_save_LIBS="$LIBS"
   12093      LIBS="$LIBS -framework CoreFoundation"
   12094      cat >conftest.$ac_ext <<_ACEOF
   12095 /* confdefs.h.  */
   12096 _ACEOF
   12097 cat confdefs.h >>conftest.$ac_ext
   12098 cat >>conftest.$ac_ext <<_ACEOF
   12099 /* end confdefs.h.  */
   12100 #include <CFPreferences.h>
   12101 int
   12102 main ()
   12103 {
   12104 CFPreferencesCopyAppValue(NULL, NULL)
   12105   ;
   12106   return 0;
   12107 }
   12108 _ACEOF
   12109 rm -f conftest.$ac_objext conftest$ac_exeext
   12110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12111   (eval $ac_link) 2>conftest.er1
   12112   ac_status=$?
   12113   grep -v '^ *+' conftest.er1 >conftest.err
   12114   rm -f conftest.er1
   12115   cat conftest.err >&5
   12116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12117   (exit $ac_status); } &&
   12118 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   12119   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12120   (eval $ac_try) 2>&5
   12121   ac_status=$?
   12122   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12123   (exit $ac_status); }; } &&
   12124 	 { ac_try='test -s conftest$ac_exeext'
   12125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12126   (eval $ac_try) 2>&5
   12127   ac_status=$?
   12128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12129   (exit $ac_status); }; }; then
   12130   gt_cv_func_CFPreferencesCopyAppValue=yes
   12131 else
   12132   echo "$as_me: failed program was:" >&5
   12133 sed 's/^/| /' conftest.$ac_ext >&5
   12134 
   12135 gt_cv_func_CFPreferencesCopyAppValue=no
   12136 fi
   12137 rm -f conftest.err conftest.$ac_objext \
   12138       conftest$ac_exeext conftest.$ac_ext
   12139      CPPFLAGS="$gt_save_CPPFLAGS"
   12140      LIBS="$gt_save_LIBS"
   12141 fi
   12142 echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5
   12143 echo "${ECHO_T}$gt_cv_func_CFPreferencesCopyAppValue" >&6
   12144   if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
   12145 
   12146 cat >>confdefs.h <<\_ACEOF
   12147 #define HAVE_CFPREFERENCESCOPYAPPVALUE 1
   12148 _ACEOF
   12149 
   12150   fi
   12151     echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5
   12152 echo $ECHO_N "checking for CFLocaleCopyCurrent... $ECHO_C" >&6
   12153 if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then
   12154   echo $ECHO_N "(cached) $ECHO_C" >&6
   12155 else
   12156   gt_save_CPPFLAGS="$CPPFLAGS"
   12157      CPPFLAGS="$CPPFLAGS -I/System/Library/Frameworks/CoreFoundation.framework/Headers"
   12158      gt_save_LIBS="$LIBS"
   12159      LIBS="$LIBS -framework CoreFoundation"
   12160      cat >conftest.$ac_ext <<_ACEOF
   12161 /* confdefs.h.  */
   12162 _ACEOF
   12163 cat confdefs.h >>conftest.$ac_ext
   12164 cat >>conftest.$ac_ext <<_ACEOF
   12165 /* end confdefs.h.  */
   12166 #include <CFLocale.h>
   12167 int
   12168 main ()
   12169 {
   12170 CFLocaleCopyCurrent();
   12171   ;
   12172   return 0;
   12173 }
   12174 _ACEOF
   12175 rm -f conftest.$ac_objext conftest$ac_exeext
   12176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12177   (eval $ac_link) 2>conftest.er1
   12178   ac_status=$?
   12179   grep -v '^ *+' conftest.er1 >conftest.err
   12180   rm -f conftest.er1
   12181   cat conftest.err >&5
   12182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12183   (exit $ac_status); } &&
   12184 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   12185   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12186   (eval $ac_try) 2>&5
   12187   ac_status=$?
   12188   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12189   (exit $ac_status); }; } &&
   12190 	 { ac_try='test -s conftest$ac_exeext'
   12191   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12192   (eval $ac_try) 2>&5
   12193   ac_status=$?
   12194   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12195   (exit $ac_status); }; }; then
   12196   gt_cv_func_CFLocaleCopyCurrent=yes
   12197 else
   12198   echo "$as_me: failed program was:" >&5
   12199 sed 's/^/| /' conftest.$ac_ext >&5
   12200 
   12201 gt_cv_func_CFLocaleCopyCurrent=no
   12202 fi
   12203 rm -f conftest.err conftest.$ac_objext \
   12204       conftest$ac_exeext conftest.$ac_ext
   12205      CPPFLAGS="$gt_save_CPPFLAGS"
   12206      LIBS="$gt_save_LIBS"
   12207 fi
   12208 echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5
   12209 echo "${ECHO_T}$gt_cv_func_CFLocaleCopyCurrent" >&6
   12210   if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   12211 
   12212 cat >>confdefs.h <<\_ACEOF
   12213 #define HAVE_CFLOCALECOPYCURRENT 1
   12214 _ACEOF
   12215 
   12216   fi
   12217   INTL_MACOSX_LIBS=
   12218   if test $gt_cv_func_CFPreferencesCopyAppValue = yes || test $gt_cv_func_CFLocaleCopyCurrent = yes; then
   12219     INTL_MACOSX_LIBS="-Wl,-framework -Wl,CoreFoundation"
   12220   fi
   12221 
   12222 
   12223 
   12224 
   12225   echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   12226 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   12227     # Check whether --enable-nls or --disable-nls was given.
   12228 if test "${enable_nls+set}" = set; then
   12229   enableval="$enable_nls"
   12230   USE_NLS=$enableval
   12231 else
   12232   USE_NLS=yes
   12233 fi;
   12234   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   12235 echo "${ECHO_T}$USE_NLS" >&6
   12236 
   12237 
   12238 
   12239 
   12240   LIBINTL=
   12241   LTLIBINTL=
   12242   POSUB=
   12243 
   12244     if test "$USE_NLS" = "yes"; then
   12245     gt_use_preinstalled_gnugettext=no
   12246 
   12247 
   12248 
   12249 
   12250 
   12251 
   12252         echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
   12253 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
   12254 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
   12255   echo $ECHO_N "(cached) $ECHO_C" >&6
   12256 else
   12257   cat >conftest.$ac_ext <<_ACEOF
   12258 /* confdefs.h.  */
   12259 _ACEOF
   12260 cat confdefs.h >>conftest.$ac_ext
   12261 cat >>conftest.$ac_ext <<_ACEOF
   12262 /* end confdefs.h.  */
   12263 #include <libintl.h>
   12264 extern int _nl_msg_cat_cntr;
   12265 extern int *_nl_domain_bindings;
   12266 int
   12267 main ()
   12268 {
   12269 bindtextdomain ("", "");
   12270 return * gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
   12271   ;
   12272   return 0;
   12273 }
   12274 _ACEOF
   12275 rm -f conftest.$ac_objext conftest$ac_exeext
   12276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12277   (eval $ac_link) 2>conftest.er1
   12278   ac_status=$?
   12279   grep -v '^ *+' conftest.er1 >conftest.err
   12280   rm -f conftest.er1
   12281   cat conftest.err >&5
   12282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12283   (exit $ac_status); } &&
   12284 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   12285   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12286   (eval $ac_try) 2>&5
   12287   ac_status=$?
   12288   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12289   (exit $ac_status); }; } &&
   12290 	 { ac_try='test -s conftest$ac_exeext'
   12291   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12292   (eval $ac_try) 2>&5
   12293   ac_status=$?
   12294   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12295   (exit $ac_status); }; }; then
   12296   gt_cv_func_gnugettext1_libc=yes
   12297 else
   12298   echo "$as_me: failed program was:" >&5
   12299 sed 's/^/| /' conftest.$ac_ext >&5
   12300 
   12301 gt_cv_func_gnugettext1_libc=no
   12302 fi
   12303 rm -f conftest.err conftest.$ac_objext \
   12304       conftest$ac_exeext conftest.$ac_ext
   12305 fi
   12306 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
   12307 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
   12308 
   12309         if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
   12310 
   12311 
   12312 
   12313 
   12314 
   12315           am_save_CPPFLAGS="$CPPFLAGS"
   12316 
   12317   for element in $INCICONV; do
   12318     haveit=
   12319     for x in $CPPFLAGS; do
   12320 
   12321   acl_save_prefix="$prefix"
   12322   prefix="$acl_final_prefix"
   12323   acl_save_exec_prefix="$exec_prefix"
   12324   exec_prefix="$acl_final_exec_prefix"
   12325   eval x=\"$x\"
   12326   exec_prefix="$acl_save_exec_prefix"
   12327   prefix="$acl_save_prefix"
   12328 
   12329       if test "X$x" = "X$element"; then
   12330         haveit=yes
   12331         break
   12332       fi
   12333     done
   12334     if test -z "$haveit"; then
   12335       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   12336     fi
   12337   done
   12338 
   12339 
   12340   echo "$as_me:$LINENO: checking for iconv" >&5
   12341 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
   12342 if test "${am_cv_func_iconv+set}" = set; then
   12343   echo $ECHO_N "(cached) $ECHO_C" >&6
   12344 else
   12345 
   12346     am_cv_func_iconv="no, consider installing GNU libiconv"
   12347     am_cv_lib_iconv=no
   12348     cat >conftest.$ac_ext <<_ACEOF
   12349 /* confdefs.h.  */
   12350 _ACEOF
   12351 cat confdefs.h >>conftest.$ac_ext
   12352 cat >>conftest.$ac_ext <<_ACEOF
   12353 /* end confdefs.h.  */
   12354 #include <stdlib.h>
   12355 #include <iconv.h>
   12356 int
   12357 main ()
   12358 {
   12359 iconv_t cd = iconv_open("","");
   12360        iconv(cd,NULL,NULL,NULL,NULL);
   12361        iconv_close(cd);
   12362   ;
   12363   return 0;
   12364 }
   12365 _ACEOF
   12366 rm -f conftest.$ac_objext conftest$ac_exeext
   12367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12368   (eval $ac_link) 2>conftest.er1
   12369   ac_status=$?
   12370   grep -v '^ *+' conftest.er1 >conftest.err
   12371   rm -f conftest.er1
   12372   cat conftest.err >&5
   12373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12374   (exit $ac_status); } &&
   12375 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   12376   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12377   (eval $ac_try) 2>&5
   12378   ac_status=$?
   12379   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12380   (exit $ac_status); }; } &&
   12381 	 { ac_try='test -s conftest$ac_exeext'
   12382   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12383   (eval $ac_try) 2>&5
   12384   ac_status=$?
   12385   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12386   (exit $ac_status); }; }; then
   12387   am_cv_func_iconv=yes
   12388 else
   12389   echo "$as_me: failed program was:" >&5
   12390 sed 's/^/| /' conftest.$ac_ext >&5
   12391 
   12392 fi
   12393 rm -f conftest.err conftest.$ac_objext \
   12394       conftest$ac_exeext conftest.$ac_ext
   12395     if test "$am_cv_func_iconv" != yes; then
   12396       am_save_LIBS="$LIBS"
   12397       LIBS="$LIBS $LIBICONV"
   12398       cat >conftest.$ac_ext <<_ACEOF
   12399 /* confdefs.h.  */
   12400 _ACEOF
   12401 cat confdefs.h >>conftest.$ac_ext
   12402 cat >>conftest.$ac_ext <<_ACEOF
   12403 /* end confdefs.h.  */
   12404 #include <stdlib.h>
   12405 #include <iconv.h>
   12406 int
   12407 main ()
   12408 {
   12409 iconv_t cd = iconv_open("","");
   12410          iconv(cd,NULL,NULL,NULL,NULL);
   12411          iconv_close(cd);
   12412   ;
   12413   return 0;
   12414 }
   12415 _ACEOF
   12416 rm -f conftest.$ac_objext conftest$ac_exeext
   12417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12418   (eval $ac_link) 2>conftest.er1
   12419   ac_status=$?
   12420   grep -v '^ *+' conftest.er1 >conftest.err
   12421   rm -f conftest.er1
   12422   cat conftest.err >&5
   12423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12424   (exit $ac_status); } &&
   12425 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   12426   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12427   (eval $ac_try) 2>&5
   12428   ac_status=$?
   12429   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12430   (exit $ac_status); }; } &&
   12431 	 { ac_try='test -s conftest$ac_exeext'
   12432   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12433   (eval $ac_try) 2>&5
   12434   ac_status=$?
   12435   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12436   (exit $ac_status); }; }; then
   12437   am_cv_lib_iconv=yes
   12438         am_cv_func_iconv=yes
   12439 else
   12440   echo "$as_me: failed program was:" >&5
   12441 sed 's/^/| /' conftest.$ac_ext >&5
   12442 
   12443 fi
   12444 rm -f conftest.err conftest.$ac_objext \
   12445       conftest$ac_exeext conftest.$ac_ext
   12446       LIBS="$am_save_LIBS"
   12447     fi
   12448 
   12449 fi
   12450 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
   12451 echo "${ECHO_T}$am_cv_func_iconv" >&6
   12452   if test "$am_cv_func_iconv" = yes; then
   12453 
   12454 cat >>confdefs.h <<\_ACEOF
   12455 #define HAVE_ICONV 1
   12456 _ACEOF
   12457 
   12458   fi
   12459   if test "$am_cv_lib_iconv" = yes; then
   12460     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
   12461 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
   12462     echo "$as_me:$LINENO: result: $LIBICONV" >&5
   12463 echo "${ECHO_T}$LIBICONV" >&6
   12464   else
   12465             CPPFLAGS="$am_save_CPPFLAGS"
   12466     LIBICONV=
   12467     LTLIBICONV=
   12468   fi
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476     use_additional=yes
   12477 
   12478   acl_save_prefix="$prefix"
   12479   prefix="$acl_final_prefix"
   12480   acl_save_exec_prefix="$exec_prefix"
   12481   exec_prefix="$acl_final_exec_prefix"
   12482 
   12483     eval additional_includedir=\"$includedir\"
   12484     eval additional_libdir=\"$libdir\"
   12485 
   12486   exec_prefix="$acl_save_exec_prefix"
   12487   prefix="$acl_save_prefix"
   12488 
   12489 
   12490 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
   12491 if test "${with_libintl_prefix+set}" = set; then
   12492   withval="$with_libintl_prefix"
   12493 
   12494     if test "X$withval" = "Xno"; then
   12495       use_additional=no
   12496     else
   12497       if test "X$withval" = "X"; then
   12498 
   12499   acl_save_prefix="$prefix"
   12500   prefix="$acl_final_prefix"
   12501   acl_save_exec_prefix="$exec_prefix"
   12502   exec_prefix="$acl_final_exec_prefix"
   12503 
   12504           eval additional_includedir=\"$includedir\"
   12505           eval additional_libdir=\"$libdir\"
   12506 
   12507   exec_prefix="$acl_save_exec_prefix"
   12508   prefix="$acl_save_prefix"
   12509 
   12510       else
   12511         additional_includedir="$withval/include"
   12512         additional_libdir="$withval/$acl_libdirstem"
   12513       fi
   12514     fi
   12515 
   12516 fi;
   12517       LIBINTL=
   12518   LTLIBINTL=
   12519   INCINTL=
   12520   rpathdirs=
   12521   ltrpathdirs=
   12522   names_already_handled=
   12523   names_next_round='intl '
   12524   while test -n "$names_next_round"; do
   12525     names_this_round="$names_next_round"
   12526     names_next_round=
   12527     for name in $names_this_round; do
   12528       already_handled=
   12529       for n in $names_already_handled; do
   12530         if test "$n" = "$name"; then
   12531           already_handled=yes
   12532           break
   12533         fi
   12534       done
   12535       if test -z "$already_handled"; then
   12536         names_already_handled="$names_already_handled $name"
   12537                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   12538         eval value=\"\$HAVE_LIB$uppername\"
   12539         if test -n "$value"; then
   12540           if test "$value" = yes; then
   12541             eval value=\"\$LIB$uppername\"
   12542             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   12543             eval value=\"\$LTLIB$uppername\"
   12544             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   12545           else
   12546                                     :
   12547           fi
   12548         else
   12549                               found_dir=
   12550           found_la=
   12551           found_so=
   12552           found_a=
   12553           if test $use_additional = yes; then
   12554             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   12555               found_dir="$additional_libdir"
   12556               found_so="$additional_libdir/lib$name.$shlibext"
   12557               if test -f "$additional_libdir/lib$name.la"; then
   12558                 found_la="$additional_libdir/lib$name.la"
   12559               fi
   12560             else
   12561               if test -f "$additional_libdir/lib$name.$libext"; then
   12562                 found_dir="$additional_libdir"
   12563                 found_a="$additional_libdir/lib$name.$libext"
   12564                 if test -f "$additional_libdir/lib$name.la"; then
   12565                   found_la="$additional_libdir/lib$name.la"
   12566                 fi
   12567               fi
   12568             fi
   12569           fi
   12570           if test "X$found_dir" = "X"; then
   12571             for x in $LDFLAGS $LTLIBINTL; do
   12572 
   12573   acl_save_prefix="$prefix"
   12574   prefix="$acl_final_prefix"
   12575   acl_save_exec_prefix="$exec_prefix"
   12576   exec_prefix="$acl_final_exec_prefix"
   12577   eval x=\"$x\"
   12578   exec_prefix="$acl_save_exec_prefix"
   12579   prefix="$acl_save_prefix"
   12580 
   12581               case "$x" in
   12582                 -L*)
   12583                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   12584                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   12585                     found_dir="$dir"
   12586                     found_so="$dir/lib$name.$shlibext"
   12587                     if test -f "$dir/lib$name.la"; then
   12588                       found_la="$dir/lib$name.la"
   12589                     fi
   12590                   else
   12591                     if test -f "$dir/lib$name.$libext"; then
   12592                       found_dir="$dir"
   12593                       found_a="$dir/lib$name.$libext"
   12594                       if test -f "$dir/lib$name.la"; then
   12595                         found_la="$dir/lib$name.la"
   12596                       fi
   12597                     fi
   12598                   fi
   12599                   ;;
   12600               esac
   12601               if test "X$found_dir" != "X"; then
   12602                 break
   12603               fi
   12604             done
   12605           fi
   12606           if test "X$found_dir" != "X"; then
   12607                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   12608             if test "X$found_so" != "X"; then
   12609                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
   12610                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12611               else
   12612                                                                                 haveit=
   12613                 for x in $ltrpathdirs; do
   12614                   if test "X$x" = "X$found_dir"; then
   12615                     haveit=yes
   12616                     break
   12617                   fi
   12618                 done
   12619                 if test -z "$haveit"; then
   12620                   ltrpathdirs="$ltrpathdirs $found_dir"
   12621                 fi
   12622                                 if test "$hardcode_direct" = yes; then
   12623                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12624                 else
   12625                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   12626                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12627                                                             haveit=
   12628                     for x in $rpathdirs; do
   12629                       if test "X$x" = "X$found_dir"; then
   12630                         haveit=yes
   12631                         break
   12632                       fi
   12633                     done
   12634                     if test -z "$haveit"; then
   12635                       rpathdirs="$rpathdirs $found_dir"
   12636                     fi
   12637                   else
   12638                                                                                 haveit=
   12639                     for x in $LDFLAGS $LIBINTL; do
   12640 
   12641   acl_save_prefix="$prefix"
   12642   prefix="$acl_final_prefix"
   12643   acl_save_exec_prefix="$exec_prefix"
   12644   exec_prefix="$acl_final_exec_prefix"
   12645   eval x=\"$x\"
   12646   exec_prefix="$acl_save_exec_prefix"
   12647   prefix="$acl_save_prefix"
   12648 
   12649                       if test "X$x" = "X-L$found_dir"; then
   12650                         haveit=yes
   12651                         break
   12652                       fi
   12653                     done
   12654                     if test -z "$haveit"; then
   12655                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   12656                     fi
   12657                     if test "$hardcode_minus_L" != no; then
   12658                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12659                     else
   12660                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   12661                     fi
   12662                   fi
   12663                 fi
   12664               fi
   12665             else
   12666               if test "X$found_a" != "X"; then
   12667                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   12668               else
   12669                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   12670               fi
   12671             fi
   12672                         additional_includedir=
   12673             case "$found_dir" in
   12674               */$acl_libdirstem | */$acl_libdirstem/)
   12675                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
   12676                 additional_includedir="$basedir/include"
   12677                 ;;
   12678             esac
   12679             if test "X$additional_includedir" != "X"; then
   12680                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   12681                 haveit=
   12682                 if test "X$additional_includedir" = "X/usr/local/include"; then
   12683                   if test -n "$GCC"; then
   12684                     case $host_os in
   12685                       linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   12686                     esac
   12687                   fi
   12688                 fi
   12689                 if test -z "$haveit"; then
   12690                   for x in $CPPFLAGS $INCINTL; do
   12691 
   12692   acl_save_prefix="$prefix"
   12693   prefix="$acl_final_prefix"
   12694   acl_save_exec_prefix="$exec_prefix"
   12695   exec_prefix="$acl_final_exec_prefix"
   12696   eval x=\"$x\"
   12697   exec_prefix="$acl_save_exec_prefix"
   12698   prefix="$acl_save_prefix"
   12699 
   12700                     if test "X$x" = "X-I$additional_includedir"; then
   12701                       haveit=yes
   12702                       break
   12703                     fi
   12704                   done
   12705                   if test -z "$haveit"; then
   12706                     if test -d "$additional_includedir"; then
   12707                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   12708                     fi
   12709                   fi
   12710                 fi
   12711               fi
   12712             fi
   12713                         if test -n "$found_la"; then
   12714                                                         save_libdir="$libdir"
   12715               case "$found_la" in
   12716                 */* | *\\*) . "$found_la" ;;
   12717                 *) . "./$found_la" ;;
   12718               esac
   12719               libdir="$save_libdir"
   12720                             for dep in $dependency_libs; do
   12721                 case "$dep" in
   12722                   -L*)
   12723                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   12724                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
   12725                       haveit=
   12726                       if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
   12727                         if test -n "$GCC"; then
   12728                           case $host_os in
   12729                             linux* | gnu* | k*bsd*-gnu) haveit=yes;;
   12730                           esac
   12731                         fi
   12732                       fi
   12733                       if test -z "$haveit"; then
   12734                         haveit=
   12735                         for x in $LDFLAGS $LIBINTL; do
   12736 
   12737   acl_save_prefix="$prefix"
   12738   prefix="$acl_final_prefix"
   12739   acl_save_exec_prefix="$exec_prefix"
   12740   exec_prefix="$acl_final_exec_prefix"
   12741   eval x=\"$x\"
   12742   exec_prefix="$acl_save_exec_prefix"
   12743   prefix="$acl_save_prefix"
   12744 
   12745                           if test "X$x" = "X-L$additional_libdir"; then
   12746                             haveit=yes
   12747                             break
   12748                           fi
   12749                         done
   12750                         if test -z "$haveit"; then
   12751                           if test -d "$additional_libdir"; then
   12752                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   12753                           fi
   12754                         fi
   12755                         haveit=
   12756                         for x in $LDFLAGS $LTLIBINTL; do
   12757 
   12758   acl_save_prefix="$prefix"
   12759   prefix="$acl_final_prefix"
   12760   acl_save_exec_prefix="$exec_prefix"
   12761   exec_prefix="$acl_final_exec_prefix"
   12762   eval x=\"$x\"
   12763   exec_prefix="$acl_save_exec_prefix"
   12764   prefix="$acl_save_prefix"
   12765 
   12766                           if test "X$x" = "X-L$additional_libdir"; then
   12767                             haveit=yes
   12768                             break
   12769                           fi
   12770                         done
   12771                         if test -z "$haveit"; then
   12772                           if test -d "$additional_libdir"; then
   12773                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   12774                           fi
   12775                         fi
   12776                       fi
   12777                     fi
   12778                     ;;
   12779                   -R*)
   12780                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   12781                     if test "$enable_rpath" != no; then
   12782                                                                   haveit=
   12783                       for x in $rpathdirs; do
   12784                         if test "X$x" = "X$dir"; then
   12785                           haveit=yes
   12786                           break
   12787                         fi
   12788                       done
   12789                       if test -z "$haveit"; then
   12790                         rpathdirs="$rpathdirs $dir"
   12791                       fi
   12792                                                                   haveit=
   12793                       for x in $ltrpathdirs; do
   12794                         if test "X$x" = "X$dir"; then
   12795                           haveit=yes
   12796                           break
   12797                         fi
   12798                       done
   12799                       if test -z "$haveit"; then
   12800                         ltrpathdirs="$ltrpathdirs $dir"
   12801                       fi
   12802                     fi
   12803                     ;;
   12804                   -l*)
   12805                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   12806                     ;;
   12807                   *.la)
   12808                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   12809                     ;;
   12810                   *)
   12811                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   12812                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   12813                     ;;
   12814                 esac
   12815               done
   12816             fi
   12817           else
   12818                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   12819             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   12820           fi
   12821         fi
   12822       fi
   12823     done
   12824   done
   12825   if test "X$rpathdirs" != "X"; then
   12826     if test -n "$hardcode_libdir_separator"; then
   12827                         alldirs=
   12828       for found_dir in $rpathdirs; do
   12829         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   12830       done
   12831             acl_save_libdir="$libdir"
   12832       libdir="$alldirs"
   12833       eval flag=\"$hardcode_libdir_flag_spec\"
   12834       libdir="$acl_save_libdir"
   12835       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   12836     else
   12837             for found_dir in $rpathdirs; do
   12838         acl_save_libdir="$libdir"
   12839         libdir="$found_dir"
   12840         eval flag=\"$hardcode_libdir_flag_spec\"
   12841         libdir="$acl_save_libdir"
   12842         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   12843       done
   12844     fi
   12845   fi
   12846   if test "X$ltrpathdirs" != "X"; then
   12847             for found_dir in $ltrpathdirs; do
   12848       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   12849     done
   12850   fi
   12851 
   12852           echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
   12853 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
   12854 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
   12855   echo $ECHO_N "(cached) $ECHO_C" >&6
   12856 else
   12857   gt_save_CPPFLAGS="$CPPFLAGS"
   12858             CPPFLAGS="$CPPFLAGS $INCINTL"
   12859             gt_save_LIBS="$LIBS"
   12860             LIBS="$LIBS $LIBINTL"
   12861                         cat >conftest.$ac_ext <<_ACEOF
   12862 /* confdefs.h.  */
   12863 _ACEOF
   12864 cat confdefs.h >>conftest.$ac_ext
   12865 cat >>conftest.$ac_ext <<_ACEOF
   12866 /* end confdefs.h.  */
   12867 #include <libintl.h>
   12868 extern int _nl_msg_cat_cntr;
   12869 extern
   12870 #ifdef __cplusplus
   12871 "C"
   12872 #endif
   12873 const char *_nl_expand_alias (const char *);
   12874 int
   12875 main ()
   12876 {
   12877 bindtextdomain ("", "");
   12878 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
   12879   ;
   12880   return 0;
   12881 }
   12882 _ACEOF
   12883 rm -f conftest.$ac_objext conftest$ac_exeext
   12884 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12885   (eval $ac_link) 2>conftest.er1
   12886   ac_status=$?
   12887   grep -v '^ *+' conftest.er1 >conftest.err
   12888   rm -f conftest.er1
   12889   cat conftest.err >&5
   12890   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12891   (exit $ac_status); } &&
   12892 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   12893   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12894   (eval $ac_try) 2>&5
   12895   ac_status=$?
   12896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12897   (exit $ac_status); }; } &&
   12898 	 { ac_try='test -s conftest$ac_exeext'
   12899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12900   (eval $ac_try) 2>&5
   12901   ac_status=$?
   12902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12903   (exit $ac_status); }; }; then
   12904   gt_cv_func_gnugettext1_libintl=yes
   12905 else
   12906   echo "$as_me: failed program was:" >&5
   12907 sed 's/^/| /' conftest.$ac_ext >&5
   12908 
   12909 gt_cv_func_gnugettext1_libintl=no
   12910 fi
   12911 rm -f conftest.err conftest.$ac_objext \
   12912       conftest$ac_exeext conftest.$ac_ext
   12913                         if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
   12914               LIBS="$LIBS $LIBICONV"
   12915               cat >conftest.$ac_ext <<_ACEOF
   12916 /* confdefs.h.  */
   12917 _ACEOF
   12918 cat confdefs.h >>conftest.$ac_ext
   12919 cat >>conftest.$ac_ext <<_ACEOF
   12920 /* end confdefs.h.  */
   12921 #include <libintl.h>
   12922 extern int _nl_msg_cat_cntr;
   12923 extern
   12924 #ifdef __cplusplus
   12925 "C"
   12926 #endif
   12927 const char *_nl_expand_alias (const char *);
   12928 int
   12929 main ()
   12930 {
   12931 bindtextdomain ("", "");
   12932 return * gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias ("")
   12933   ;
   12934   return 0;
   12935 }
   12936 _ACEOF
   12937 rm -f conftest.$ac_objext conftest$ac_exeext
   12938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12939   (eval $ac_link) 2>conftest.er1
   12940   ac_status=$?
   12941   grep -v '^ *+' conftest.er1 >conftest.err
   12942   rm -f conftest.er1
   12943   cat conftest.err >&5
   12944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12945   (exit $ac_status); } &&
   12946 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   12947   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12948   (eval $ac_try) 2>&5
   12949   ac_status=$?
   12950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12951   (exit $ac_status); }; } &&
   12952 	 { ac_try='test -s conftest$ac_exeext'
   12953   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12954   (eval $ac_try) 2>&5
   12955   ac_status=$?
   12956   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12957   (exit $ac_status); }; }; then
   12958   LIBINTL="$LIBINTL $LIBICONV"
   12959                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   12960                 gt_cv_func_gnugettext1_libintl=yes
   12961 
   12962 else
   12963   echo "$as_me: failed program was:" >&5
   12964 sed 's/^/| /' conftest.$ac_ext >&5
   12965 
   12966 fi
   12967 rm -f conftest.err conftest.$ac_objext \
   12968       conftest$ac_exeext conftest.$ac_ext
   12969             fi
   12970             CPPFLAGS="$gt_save_CPPFLAGS"
   12971             LIBS="$gt_save_LIBS"
   12972 fi
   12973 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
   12974 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
   12975         fi
   12976 
   12977                                         if test "$gt_cv_func_gnugettext1_libc" = "yes" \
   12978            || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
   12979                 && test "$PACKAGE" != gettext-runtime \
   12980                 && test "$PACKAGE" != gettext-tools; }; then
   12981           gt_use_preinstalled_gnugettext=yes
   12982         else
   12983                     LIBINTL=
   12984           LTLIBINTL=
   12985           INCINTL=
   12986         fi
   12987 
   12988 
   12989 
   12990     if test -n "$INTL_MACOSX_LIBS"; then
   12991       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   12992          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   12993                 LIBINTL="$LIBINTL $INTL_MACOSX_LIBS"
   12994         LTLIBINTL="$LTLIBINTL $INTL_MACOSX_LIBS"
   12995       fi
   12996     fi
   12997 
   12998     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   12999        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13000 
   13001 cat >>confdefs.h <<\_ACEOF
   13002 #define ENABLE_NLS 1
   13003 _ACEOF
   13004 
   13005     else
   13006       USE_NLS=no
   13007     fi
   13008   fi
   13009 
   13010   echo "$as_me:$LINENO: checking whether to use NLS" >&5
   13011 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
   13012   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   13013 echo "${ECHO_T}$USE_NLS" >&6
   13014   if test "$USE_NLS" = "yes"; then
   13015     echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
   13016 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
   13017     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13018       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   13019         gt_source="external libintl"
   13020       else
   13021         gt_source="libc"
   13022       fi
   13023     else
   13024       gt_source="included intl directory"
   13025     fi
   13026     echo "$as_me:$LINENO: result: $gt_source" >&5
   13027 echo "${ECHO_T}$gt_source" >&6
   13028   fi
   13029 
   13030   if test "$USE_NLS" = "yes"; then
   13031 
   13032     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13033       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   13034         echo "$as_me:$LINENO: checking how to link with libintl" >&5
   13035 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
   13036         echo "$as_me:$LINENO: result: $LIBINTL" >&5
   13037 echo "${ECHO_T}$LIBINTL" >&6
   13038 
   13039   for element in $INCINTL; do
   13040     haveit=
   13041     for x in $CPPFLAGS; do
   13042 
   13043   acl_save_prefix="$prefix"
   13044   prefix="$acl_final_prefix"
   13045   acl_save_exec_prefix="$exec_prefix"
   13046   exec_prefix="$acl_final_exec_prefix"
   13047   eval x=\"$x\"
   13048   exec_prefix="$acl_save_exec_prefix"
   13049   prefix="$acl_save_prefix"
   13050 
   13051       if test "X$x" = "X$element"; then
   13052         haveit=yes
   13053         break
   13054       fi
   13055     done
   13056     if test -z "$haveit"; then
   13057       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13058     fi
   13059   done
   13060 
   13061       fi
   13062 
   13063 
   13064 cat >>confdefs.h <<\_ACEOF
   13065 #define HAVE_GETTEXT 1
   13066 _ACEOF
   13067 
   13068 
   13069 cat >>confdefs.h <<\_ACEOF
   13070 #define HAVE_DCGETTEXT 1
   13071 _ACEOF
   13072 
   13073     fi
   13074 
   13075         POSUB=po
   13076   fi
   13077 
   13078 
   13079 
   13080     INTLLIBS="$LIBINTL"
   13081 
   13082 
   13083 
   13084 
   13085 
   13086 
   13087 
   13088 
   13089 
   13090 
   13091 
   13092   case $LIBOBJS in
   13093     "hard-locale.$ac_objext"   | \
   13094   *" hard-locale.$ac_objext"   | \
   13095     "hard-locale.$ac_objext "* | \
   13096   *" hard-locale.$ac_objext "* ) ;;
   13097   *) LIBOBJS="$LIBOBJS hard-locale.$ac_objext" ;;
   13098 esac
   13099 
   13100 
   13101 
   13102 
   13103 
   13104   case $LIBOBJS in
   13105     "hash.$ac_objext"   | \
   13106   *" hash.$ac_objext"   | \
   13107     "hash.$ac_objext "* | \
   13108   *" hash.$ac_objext "* ) ;;
   13109   *) LIBOBJS="$LIBOBJS hash.$ac_objext" ;;
   13110 esac
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118 for ac_header in stdlib.h
   13119 do
   13120 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   13121 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   13122   echo "$as_me:$LINENO: checking for $ac_header" >&5
   13123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   13124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   13125   echo $ECHO_N "(cached) $ECHO_C" >&6
   13126 fi
   13127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   13128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   13129 else
   13130   # Is the header compilable?
   13131 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   13132 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   13133 cat >conftest.$ac_ext <<_ACEOF
   13134 /* confdefs.h.  */
   13135 _ACEOF
   13136 cat confdefs.h >>conftest.$ac_ext
   13137 cat >>conftest.$ac_ext <<_ACEOF
   13138 /* end confdefs.h.  */
   13139 $ac_includes_default
   13140 #include <$ac_header>
   13141 _ACEOF
   13142 rm -f conftest.$ac_objext
   13143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13144   (eval $ac_compile) 2>conftest.er1
   13145   ac_status=$?
   13146   grep -v '^ *+' conftest.er1 >conftest.err
   13147   rm -f conftest.er1
   13148   cat conftest.err >&5
   13149   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13150   (exit $ac_status); } &&
   13151 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   13152   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13153   (eval $ac_try) 2>&5
   13154   ac_status=$?
   13155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13156   (exit $ac_status); }; } &&
   13157 	 { ac_try='test -s conftest.$ac_objext'
   13158   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13159   (eval $ac_try) 2>&5
   13160   ac_status=$?
   13161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13162   (exit $ac_status); }; }; then
   13163   ac_header_compiler=yes
   13164 else
   13165   echo "$as_me: failed program was:" >&5
   13166 sed 's/^/| /' conftest.$ac_ext >&5
   13167 
   13168 ac_header_compiler=no
   13169 fi
   13170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   13172 echo "${ECHO_T}$ac_header_compiler" >&6
   13173 
   13174 # Is the header present?
   13175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   13176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   13177 cat >conftest.$ac_ext <<_ACEOF
   13178 /* confdefs.h.  */
   13179 _ACEOF
   13180 cat confdefs.h >>conftest.$ac_ext
   13181 cat >>conftest.$ac_ext <<_ACEOF
   13182 /* end confdefs.h.  */
   13183 #include <$ac_header>
   13184 _ACEOF
   13185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   13186   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   13187   ac_status=$?
   13188   grep -v '^ *+' conftest.er1 >conftest.err
   13189   rm -f conftest.er1
   13190   cat conftest.err >&5
   13191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13192   (exit $ac_status); } >/dev/null; then
   13193   if test -s conftest.err; then
   13194     ac_cpp_err=$ac_c_preproc_warn_flag
   13195     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   13196   else
   13197     ac_cpp_err=
   13198   fi
   13199 else
   13200   ac_cpp_err=yes
   13201 fi
   13202 if test -z "$ac_cpp_err"; then
   13203   ac_header_preproc=yes
   13204 else
   13205   echo "$as_me: failed program was:" >&5
   13206 sed 's/^/| /' conftest.$ac_ext >&5
   13207 
   13208   ac_header_preproc=no
   13209 fi
   13210 rm -f conftest.err conftest.$ac_ext
   13211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   13212 echo "${ECHO_T}$ac_header_preproc" >&6
   13213 
   13214 # So?  What about this header?
   13215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   13216   yes:no: )
   13217     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   13218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   13219     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   13220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   13221     ac_header_preproc=yes
   13222     ;;
   13223   no:yes:* )
   13224     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   13225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   13226     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   13227 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   13228     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   13229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   13230     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   13231 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   13232     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   13233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   13234     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   13235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   13236     (
   13237       cat <<\_ASBOX
   13238 ## -------------------------------- ##
   13239 ## Report this to bug-bison (at] gnu.org ##
   13240 ## -------------------------------- ##
   13241 _ASBOX
   13242     ) |
   13243       sed "s/^/$as_me: WARNING:     /" >&2
   13244     ;;
   13245 esac
   13246 echo "$as_me:$LINENO: checking for $ac_header" >&5
   13247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   13248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   13249   echo $ECHO_N "(cached) $ECHO_C" >&6
   13250 else
   13251   eval "$as_ac_Header=\$ac_header_preproc"
   13252 fi
   13253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   13254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   13255 
   13256 fi
   13257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   13258   cat >>confdefs.h <<_ACEOF
   13259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   13260 _ACEOF
   13261 
   13262 fi
   13263 
   13264 done
   13265 
   13266 echo "$as_me:$LINENO: checking for GNU libc compatible malloc" >&5
   13267 echo $ECHO_N "checking for GNU libc compatible malloc... $ECHO_C" >&6
   13268 if test "${ac_cv_func_malloc_0_nonnull+set}" = set; then
   13269   echo $ECHO_N "(cached) $ECHO_C" >&6
   13270 else
   13271   if test "$cross_compiling" = yes; then
   13272   ac_cv_func_malloc_0_nonnull=no
   13273 else
   13274   cat >conftest.$ac_ext <<_ACEOF
   13275 /* confdefs.h.  */
   13276 _ACEOF
   13277 cat confdefs.h >>conftest.$ac_ext
   13278 cat >>conftest.$ac_ext <<_ACEOF
   13279 /* end confdefs.h.  */
   13280 #if STDC_HEADERS || HAVE_STDLIB_H
   13281 # include <stdlib.h>
   13282 #else
   13283 char *malloc ();
   13284 #endif
   13285 
   13286 int
   13287 main ()
   13288 {
   13289 exit (malloc (0) ? 0 : 1);
   13290   ;
   13291   return 0;
   13292 }
   13293 _ACEOF
   13294 rm -f conftest$ac_exeext
   13295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13296   (eval $ac_link) 2>&5
   13297   ac_status=$?
   13298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13299   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   13300   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13301   (eval $ac_try) 2>&5
   13302   ac_status=$?
   13303   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13304   (exit $ac_status); }; }; then
   13305   ac_cv_func_malloc_0_nonnull=yes
   13306 else
   13307   echo "$as_me: program exited with status $ac_status" >&5
   13308 echo "$as_me: failed program was:" >&5
   13309 sed 's/^/| /' conftest.$ac_ext >&5
   13310 
   13311 ( exit $ac_status )
   13312 ac_cv_func_malloc_0_nonnull=no
   13313 fi
   13314 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   13315 fi
   13316 fi
   13317 echo "$as_me:$LINENO: result: $ac_cv_func_malloc_0_nonnull" >&5
   13318 echo "${ECHO_T}$ac_cv_func_malloc_0_nonnull" >&6
   13319 if test $ac_cv_func_malloc_0_nonnull = yes; then
   13320 
   13321 cat >>confdefs.h <<\_ACEOF
   13322 #define HAVE_MALLOC 1
   13323 _ACEOF
   13324 
   13325 else
   13326   cat >>confdefs.h <<\_ACEOF
   13327 #define HAVE_MALLOC 0
   13328 _ACEOF
   13329 
   13330    case $LIBOBJS in
   13331     "malloc.$ac_objext"   | \
   13332   *" malloc.$ac_objext"   | \
   13333     "malloc.$ac_objext "* | \
   13334   *" malloc.$ac_objext "* ) ;;
   13335   *) LIBOBJS="$LIBOBJS malloc.$ac_objext" ;;
   13336 esac
   13337 
   13338 
   13339 cat >>confdefs.h <<\_ACEOF
   13340 #define malloc rpl_malloc
   13341 _ACEOF
   13342 
   13343 fi
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 
   13350   :
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360   :
   13361 
   13362 
   13363 
   13364 
   13365 
   13366 
   13367 
   13368 
   13369 
   13370 
   13371 
   13372 
   13373 
   13374 for ac_func in iswcntrl wcwidth
   13375 do
   13376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   13377 echo "$as_me:$LINENO: checking for $ac_func" >&5
   13378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   13379 if eval "test \"\${$as_ac_var+set}\" = set"; then
   13380   echo $ECHO_N "(cached) $ECHO_C" >&6
   13381 else
   13382   cat >conftest.$ac_ext <<_ACEOF
   13383 /* confdefs.h.  */
   13384 _ACEOF
   13385 cat confdefs.h >>conftest.$ac_ext
   13386 cat >>conftest.$ac_ext <<_ACEOF
   13387 /* end confdefs.h.  */
   13388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   13389    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   13390 #define $ac_func innocuous_$ac_func
   13391 
   13392 /* System header to define __stub macros and hopefully few prototypes,
   13393     which can conflict with char $ac_func (); below.
   13394     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   13395     <limits.h> exists even on freestanding compilers.  */
   13396 
   13397 #ifdef __STDC__
   13398 # include <limits.h>
   13399 #else
   13400 # include <assert.h>
   13401 #endif
   13402 
   13403 #undef $ac_func
   13404 
   13405 /* Override any gcc2 internal prototype to avoid an error.  */
   13406 #ifdef __cplusplus
   13407 extern "C"
   13408 {
   13409 #endif
   13410 /* We use char because int might match the return type of a gcc2
   13411    builtin and then its argument prototype would still apply.  */
   13412 char $ac_func ();
   13413 /* The GNU C library defines this for functions which it implements
   13414     to always fail with ENOSYS.  Some functions are actually named
   13415     something starting with __ and the normal name is an alias.  */
   13416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   13417 choke me
   13418 #else
   13419 char (*f) () = $ac_func;
   13420 #endif
   13421 #ifdef __cplusplus
   13422 }
   13423 #endif
   13424 
   13425 int
   13426 main ()
   13427 {
   13428 return f != $ac_func;
   13429   ;
   13430   return 0;
   13431 }
   13432 _ACEOF
   13433 rm -f conftest.$ac_objext conftest$ac_exeext
   13434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13435   (eval $ac_link) 2>conftest.er1
   13436   ac_status=$?
   13437   grep -v '^ *+' conftest.er1 >conftest.err
   13438   rm -f conftest.er1
   13439   cat conftest.err >&5
   13440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13441   (exit $ac_status); } &&
   13442 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   13443   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13444   (eval $ac_try) 2>&5
   13445   ac_status=$?
   13446   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13447   (exit $ac_status); }; } &&
   13448 	 { ac_try='test -s conftest$ac_exeext'
   13449   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13450   (eval $ac_try) 2>&5
   13451   ac_status=$?
   13452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13453   (exit $ac_status); }; }; then
   13454   eval "$as_ac_var=yes"
   13455 else
   13456   echo "$as_me: failed program was:" >&5
   13457 sed 's/^/| /' conftest.$ac_ext >&5
   13458 
   13459 eval "$as_ac_var=no"
   13460 fi
   13461 rm -f conftest.err conftest.$ac_objext \
   13462       conftest$ac_exeext conftest.$ac_ext
   13463 fi
   13464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   13465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   13466 if test `eval echo '${'$as_ac_var'}'` = yes; then
   13467   cat >>confdefs.h <<_ACEOF
   13468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   13469 _ACEOF
   13470 
   13471 fi
   13472 done
   13473 
   13474 
   13475     echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
   13476 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
   13477 if test "${gl_cv_func_mbrtowc+set}" = set; then
   13478   echo $ECHO_N "(cached) $ECHO_C" >&6
   13479 else
   13480   cat >conftest.$ac_ext <<_ACEOF
   13481 /* confdefs.h.  */
   13482 _ACEOF
   13483 cat confdefs.h >>conftest.$ac_ext
   13484 cat >>conftest.$ac_ext <<_ACEOF
   13485 /* end confdefs.h.  */
   13486 #include <wchar.h>
   13487 int
   13488 main ()
   13489 {
   13490 wchar_t wc;
   13491               char const s[] = "";
   13492               size_t n = 1;
   13493               mbstate_t state;
   13494               return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
   13495   ;
   13496   return 0;
   13497 }
   13498 _ACEOF
   13499 rm -f conftest.$ac_objext conftest$ac_exeext
   13500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13501   (eval $ac_link) 2>conftest.er1
   13502   ac_status=$?
   13503   grep -v '^ *+' conftest.er1 >conftest.err
   13504   rm -f conftest.er1
   13505   cat conftest.err >&5
   13506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13507   (exit $ac_status); } &&
   13508 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   13509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13510   (eval $ac_try) 2>&5
   13511   ac_status=$?
   13512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13513   (exit $ac_status); }; } &&
   13514 	 { ac_try='test -s conftest$ac_exeext'
   13515   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13516   (eval $ac_try) 2>&5
   13517   ac_status=$?
   13518   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13519   (exit $ac_status); }; }; then
   13520   gl_cv_func_mbrtowc=yes
   13521 else
   13522   echo "$as_me: failed program was:" >&5
   13523 sed 's/^/| /' conftest.$ac_ext >&5
   13524 
   13525 gl_cv_func_mbrtowc=no
   13526 fi
   13527 rm -f conftest.err conftest.$ac_objext \
   13528       conftest$ac_exeext conftest.$ac_ext
   13529 fi
   13530 echo "$as_me:$LINENO: result: $gl_cv_func_mbrtowc" >&5
   13531 echo "${ECHO_T}$gl_cv_func_mbrtowc" >&6
   13532   if test $gl_cv_func_mbrtowc = yes; then
   13533 
   13534 cat >>confdefs.h <<\_ACEOF
   13535 #define HAVE_MBRTOWC 1
   13536 _ACEOF
   13537 
   13538   fi
   13539 
   13540 
   13541   echo "$as_me:$LINENO: checking whether wcwidth is declared" >&5
   13542 echo $ECHO_N "checking whether wcwidth is declared... $ECHO_C" >&6
   13543 if test "${ac_cv_have_decl_wcwidth+set}" = set; then
   13544   echo $ECHO_N "(cached) $ECHO_C" >&6
   13545 else
   13546   cat >conftest.$ac_ext <<_ACEOF
   13547 /* confdefs.h.  */
   13548 _ACEOF
   13549 cat confdefs.h >>conftest.$ac_ext
   13550 cat >>conftest.$ac_ext <<_ACEOF
   13551 /* end confdefs.h.  */
   13552 
   13553 /* AIX 3.2.5 declares wcwidth in <string.h>. */
   13554 #if HAVE_STRING_H
   13555 # include <string.h>
   13556 #endif
   13557 #if HAVE_WCHAR_H
   13558 # include <wchar.h>
   13559 #endif
   13560 
   13561 int
   13562 main ()
   13563 {
   13564 
   13565 #ifndef wcwidth
   13566   char *p = (char *) wcwidth;
   13567 #endif
   13568 
   13569   ;
   13570   return 0;
   13571 }
   13572 _ACEOF
   13573 rm -f conftest.$ac_objext
   13574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13575   (eval $ac_compile) 2>conftest.er1
   13576   ac_status=$?
   13577   grep -v '^ *+' conftest.er1 >conftest.err
   13578   rm -f conftest.er1
   13579   cat conftest.err >&5
   13580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13581   (exit $ac_status); } &&
   13582 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   13583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13584   (eval $ac_try) 2>&5
   13585   ac_status=$?
   13586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13587   (exit $ac_status); }; } &&
   13588 	 { ac_try='test -s conftest.$ac_objext'
   13589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13590   (eval $ac_try) 2>&5
   13591   ac_status=$?
   13592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13593   (exit $ac_status); }; }; then
   13594   ac_cv_have_decl_wcwidth=yes
   13595 else
   13596   echo "$as_me: failed program was:" >&5
   13597 sed 's/^/| /' conftest.$ac_ext >&5
   13598 
   13599 ac_cv_have_decl_wcwidth=no
   13600 fi
   13601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13602 fi
   13603 echo "$as_me:$LINENO: result: $ac_cv_have_decl_wcwidth" >&5
   13604 echo "${ECHO_T}$ac_cv_have_decl_wcwidth" >&6
   13605   if test $ac_cv_have_decl_wcwidth = yes; then
   13606     ac_val=1
   13607   else
   13608     ac_val=0
   13609   fi
   13610 
   13611 cat >>confdefs.h <<_ACEOF
   13612 #define HAVE_DECL_WCWIDTH $ac_val
   13613 _ACEOF
   13614 
   13615 
   13616       echo "$as_me:$LINENO: checking whether mbswidth is declared in <wchar.h>" >&5
   13617 echo $ECHO_N "checking whether mbswidth is declared in <wchar.h>... $ECHO_C" >&6
   13618 if test "${ac_cv_have_decl_mbswidth+set}" = set; then
   13619   echo $ECHO_N "(cached) $ECHO_C" >&6
   13620 else
   13621   cat >conftest.$ac_ext <<_ACEOF
   13622 /* confdefs.h.  */
   13623 _ACEOF
   13624 cat confdefs.h >>conftest.$ac_ext
   13625 cat >>conftest.$ac_ext <<_ACEOF
   13626 /* end confdefs.h.  */
   13627 
   13628 #if HAVE_WCHAR_H
   13629 # include <wchar.h>
   13630 #endif
   13631 
   13632 int
   13633 main ()
   13634 {
   13635 
   13636   char *p = (char *) mbswidth;
   13637 
   13638   ;
   13639   return 0;
   13640 }
   13641 _ACEOF
   13642 rm -f conftest.$ac_objext
   13643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13644   (eval $ac_compile) 2>conftest.er1
   13645   ac_status=$?
   13646   grep -v '^ *+' conftest.er1 >conftest.err
   13647   rm -f conftest.er1
   13648   cat conftest.err >&5
   13649   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13650   (exit $ac_status); } &&
   13651 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   13652   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13653   (eval $ac_try) 2>&5
   13654   ac_status=$?
   13655   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13656   (exit $ac_status); }; } &&
   13657 	 { ac_try='test -s conftest.$ac_objext'
   13658   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13659   (eval $ac_try) 2>&5
   13660   ac_status=$?
   13661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13662   (exit $ac_status); }; }; then
   13663   ac_cv_have_decl_mbswidth=yes
   13664 else
   13665   echo "$as_me: failed program was:" >&5
   13666 sed 's/^/| /' conftest.$ac_ext >&5
   13667 
   13668 ac_cv_have_decl_mbswidth=no
   13669 fi
   13670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13671 fi
   13672 echo "$as_me:$LINENO: result: $ac_cv_have_decl_mbswidth" >&5
   13673 echo "${ECHO_T}$ac_cv_have_decl_mbswidth" >&6
   13674   if test $ac_cv_have_decl_mbswidth = yes; then
   13675     ac_val=1
   13676   else
   13677     ac_val=0
   13678   fi
   13679 
   13680 cat >>confdefs.h <<_ACEOF
   13681 #define HAVE_DECL_MBSWIDTH_IN_WCHAR_H $ac_val
   13682 _ACEOF
   13683 
   13684 
   13685   echo "$as_me:$LINENO: checking for mbstate_t" >&5
   13686 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
   13687 if test "${ac_cv_type_mbstate_t+set}" = set; then
   13688   echo $ECHO_N "(cached) $ECHO_C" >&6
   13689 else
   13690   cat >conftest.$ac_ext <<_ACEOF
   13691 /* confdefs.h.  */
   13692 _ACEOF
   13693 cat confdefs.h >>conftest.$ac_ext
   13694 cat >>conftest.$ac_ext <<_ACEOF
   13695 /* end confdefs.h.  */
   13696 $ac_includes_default
   13697 #	    include <wchar.h>
   13698 int
   13699 main ()
   13700 {
   13701 mbstate_t x; return sizeof x;
   13702   ;
   13703   return 0;
   13704 }
   13705 _ACEOF
   13706 rm -f conftest.$ac_objext
   13707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13708   (eval $ac_compile) 2>conftest.er1
   13709   ac_status=$?
   13710   grep -v '^ *+' conftest.er1 >conftest.err
   13711   rm -f conftest.er1
   13712   cat conftest.err >&5
   13713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13714   (exit $ac_status); } &&
   13715 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   13716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13717   (eval $ac_try) 2>&5
   13718   ac_status=$?
   13719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13720   (exit $ac_status); }; } &&
   13721 	 { ac_try='test -s conftest.$ac_objext'
   13722   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13723   (eval $ac_try) 2>&5
   13724   ac_status=$?
   13725   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13726   (exit $ac_status); }; }; then
   13727   ac_cv_type_mbstate_t=yes
   13728 else
   13729   echo "$as_me: failed program was:" >&5
   13730 sed 's/^/| /' conftest.$ac_ext >&5
   13731 
   13732 ac_cv_type_mbstate_t=no
   13733 fi
   13734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13735 fi
   13736 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
   13737 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
   13738    if test $ac_cv_type_mbstate_t = yes; then
   13739 
   13740 cat >>confdefs.h <<\_ACEOF
   13741 #define HAVE_MBSTATE_T 1
   13742 _ACEOF
   13743 
   13744    else
   13745 
   13746 cat >>confdefs.h <<\_ACEOF
   13747 #define mbstate_t int
   13748 _ACEOF
   13749 
   13750    fi
   13751 
   13752 
   13753 
   13754   echo "$as_me:$LINENO: checking for obstacks" >&5
   13755 echo $ECHO_N "checking for obstacks... $ECHO_C" >&6
   13756 if test "${ac_cv_func_obstack+set}" = set; then
   13757   echo $ECHO_N "(cached) $ECHO_C" >&6
   13758 else
   13759   cat >conftest.$ac_ext <<_ACEOF
   13760 /* confdefs.h.  */
   13761 _ACEOF
   13762 cat confdefs.h >>conftest.$ac_ext
   13763 cat >>conftest.$ac_ext <<_ACEOF
   13764 /* end confdefs.h.  */
   13765 #include "obstack.h"
   13766 int
   13767 main ()
   13768 {
   13769 struct obstack *mem; obstack_free(mem,(char *) 0)
   13770   ;
   13771   return 0;
   13772 }
   13773 _ACEOF
   13774 rm -f conftest.$ac_objext conftest$ac_exeext
   13775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13776   (eval $ac_link) 2>conftest.er1
   13777   ac_status=$?
   13778   grep -v '^ *+' conftest.er1 >conftest.err
   13779   rm -f conftest.er1
   13780   cat conftest.err >&5
   13781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13782   (exit $ac_status); } &&
   13783 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   13784   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13785   (eval $ac_try) 2>&5
   13786   ac_status=$?
   13787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13788   (exit $ac_status); }; } &&
   13789 	 { ac_try='test -s conftest$ac_exeext'
   13790   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13791   (eval $ac_try) 2>&5
   13792   ac_status=$?
   13793   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13794   (exit $ac_status); }; }; then
   13795   ac_cv_func_obstack=yes
   13796 else
   13797   echo "$as_me: failed program was:" >&5
   13798 sed 's/^/| /' conftest.$ac_ext >&5
   13799 
   13800 ac_cv_func_obstack=no
   13801 fi
   13802 rm -f conftest.err conftest.$ac_objext \
   13803       conftest$ac_exeext conftest.$ac_ext
   13804 fi
   13805 echo "$as_me:$LINENO: result: $ac_cv_func_obstack" >&5
   13806 echo "${ECHO_T}$ac_cv_func_obstack" >&6
   13807 if test $ac_cv_func_obstack = yes; then
   13808 
   13809 cat >>confdefs.h <<\_ACEOF
   13810 #define HAVE_OBSTACK 1
   13811 _ACEOF
   13812 
   13813 else
   13814   case $LIBOBJS in
   13815     "obstack.$ac_objext"   | \
   13816   *" obstack.$ac_objext"   | \
   13817     "obstack.$ac_objext "* | \
   13818   *" obstack.$ac_objext "* ) ;;
   13819   *) LIBOBJS="$LIBOBJS obstack.$ac_objext" ;;
   13820 esac
   13821 
   13822 fi
   13823 
   13824     if test $ac_cv_func_obstack = no; then
   13825 
   13826 
   13827 
   13828 
   13829   :
   13830 
   13831   fi
   13832 
   13833 
   13834 
   13835 
   13836   case $LIBOBJS in
   13837     "quote.$ac_objext"   | \
   13838   *" quote.$ac_objext"   | \
   13839     "quote.$ac_objext "* | \
   13840   *" quote.$ac_objext "* ) ;;
   13841   *) LIBOBJS="$LIBOBJS quote.$ac_objext" ;;
   13842 esac
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849   case $LIBOBJS in
   13850     "quotearg.$ac_objext"   | \
   13851   *" quotearg.$ac_objext"   | \
   13852     "quotearg.$ac_objext "* | \
   13853   *" quotearg.$ac_objext "* ) ;;
   13854   *) LIBOBJS="$LIBOBJS quotearg.$ac_objext" ;;
   13855 esac
   13856 
   13857 
   13858 
   13859   :
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869   :
   13870 
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878   echo "$as_me:$LINENO: checking for mbstate_t" >&5
   13879 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
   13880 if test "${ac_cv_type_mbstate_t+set}" = set; then
   13881   echo $ECHO_N "(cached) $ECHO_C" >&6
   13882 else
   13883   cat >conftest.$ac_ext <<_ACEOF
   13884 /* confdefs.h.  */
   13885 _ACEOF
   13886 cat confdefs.h >>conftest.$ac_ext
   13887 cat >>conftest.$ac_ext <<_ACEOF
   13888 /* end confdefs.h.  */
   13889 $ac_includes_default
   13890 #	    include <wchar.h>
   13891 int
   13892 main ()
   13893 {
   13894 mbstate_t x; return sizeof x;
   13895   ;
   13896   return 0;
   13897 }
   13898 _ACEOF
   13899 rm -f conftest.$ac_objext
   13900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13901   (eval $ac_compile) 2>conftest.er1
   13902   ac_status=$?
   13903   grep -v '^ *+' conftest.er1 >conftest.err
   13904   rm -f conftest.er1
   13905   cat conftest.err >&5
   13906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13907   (exit $ac_status); } &&
   13908 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   13909   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13910   (eval $ac_try) 2>&5
   13911   ac_status=$?
   13912   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13913   (exit $ac_status); }; } &&
   13914 	 { ac_try='test -s conftest.$ac_objext'
   13915   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13916   (eval $ac_try) 2>&5
   13917   ac_status=$?
   13918   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13919   (exit $ac_status); }; }; then
   13920   ac_cv_type_mbstate_t=yes
   13921 else
   13922   echo "$as_me: failed program was:" >&5
   13923 sed 's/^/| /' conftest.$ac_ext >&5
   13924 
   13925 ac_cv_type_mbstate_t=no
   13926 fi
   13927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13928 fi
   13929 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
   13930 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
   13931    if test $ac_cv_type_mbstate_t = yes; then
   13932 
   13933 cat >>confdefs.h <<\_ACEOF
   13934 #define HAVE_MBSTATE_T 1
   13935 _ACEOF
   13936 
   13937    else
   13938 
   13939 cat >>confdefs.h <<\_ACEOF
   13940 #define mbstate_t int
   13941 _ACEOF
   13942 
   13943    fi
   13944 
   13945     echo "$as_me:$LINENO: checking whether mbrtowc and mbstate_t are properly declared" >&5
   13946 echo $ECHO_N "checking whether mbrtowc and mbstate_t are properly declared... $ECHO_C" >&6
   13947 if test "${gl_cv_func_mbrtowc+set}" = set; then
   13948   echo $ECHO_N "(cached) $ECHO_C" >&6
   13949 else
   13950   cat >conftest.$ac_ext <<_ACEOF
   13951 /* confdefs.h.  */
   13952 _ACEOF
   13953 cat confdefs.h >>conftest.$ac_ext
   13954 cat >>conftest.$ac_ext <<_ACEOF
   13955 /* end confdefs.h.  */
   13956 #include <wchar.h>
   13957 int
   13958 main ()
   13959 {
   13960 wchar_t wc;
   13961               char const s[] = "";
   13962               size_t n = 1;
   13963               mbstate_t state;
   13964               return ! (sizeof state && (mbrtowc) (&wc, s, n, &state));
   13965   ;
   13966   return 0;
   13967 }
   13968 _ACEOF
   13969 rm -f conftest.$ac_objext conftest$ac_exeext
   13970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13971   (eval $ac_link) 2>conftest.er1
   13972   ac_status=$?
   13973   grep -v '^ *+' conftest.er1 >conftest.err
   13974   rm -f conftest.er1
   13975   cat conftest.err >&5
   13976   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13977   (exit $ac_status); } &&
   13978 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   13979   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13980   (eval $ac_try) 2>&5
   13981   ac_status=$?
   13982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13983   (exit $ac_status); }; } &&
   13984 	 { ac_try='test -s conftest$ac_exeext'
   13985   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13986   (eval $ac_try) 2>&5
   13987   ac_status=$?
   13988   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13989   (exit $ac_status); }; }; then
   13990   gl_cv_func_mbrtowc=yes
   13991 else
   13992   echo "$as_me: failed program was:" >&5
   13993 sed 's/^/| /' conftest.$ac_ext >&5
   13994 
   13995 gl_cv_func_mbrtowc=no
   13996 fi
   13997 rm -f conftest.err conftest.$ac_objext \
   13998       conftest$ac_exeext conftest.$ac_ext
   13999 fi
   14000 echo "$as_me:$LINENO: result: $gl_cv_func_mbrtowc" >&5
   14001 echo "${ECHO_T}$gl_cv_func_mbrtowc" >&6
   14002   if test $gl_cv_func_mbrtowc = yes; then
   14003 
   14004 cat >>confdefs.h <<\_ACEOF
   14005 #define HAVE_MBRTOWC 1
   14006 _ACEOF
   14007 
   14008   fi
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015   # Define two additional variables used in the Makefile substitution.
   14016 
   14017   if test "$ac_cv_header_stdbool_h" = yes; then
   14018     STDBOOL_H=''
   14019   else
   14020     STDBOOL_H='stdbool.h'
   14021   fi
   14022 
   14023 
   14024   if test "$ac_cv_type__Bool" = yes; then
   14025     HAVE__BOOL=1
   14026   else
   14027     HAVE__BOOL=0
   14028   fi
   14029 
   14030 
   14031 
   14032 
   14033 
   14034   case $LIBOBJS in
   14035     "fopen-safer.$ac_objext"   | \
   14036   *" fopen-safer.$ac_objext"   | \
   14037     "fopen-safer.$ac_objext "* | \
   14038   *" fopen-safer.$ac_objext "* ) ;;
   14039   *) LIBOBJS="$LIBOBJS fopen-safer.$ac_objext" ;;
   14040 esac
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 
   14048 for ac_func in stpcpy
   14049 do
   14050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14051 echo "$as_me:$LINENO: checking for $ac_func" >&5
   14052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   14053 if eval "test \"\${$as_ac_var+set}\" = set"; then
   14054   echo $ECHO_N "(cached) $ECHO_C" >&6
   14055 else
   14056   cat >conftest.$ac_ext <<_ACEOF
   14057 /* confdefs.h.  */
   14058 _ACEOF
   14059 cat confdefs.h >>conftest.$ac_ext
   14060 cat >>conftest.$ac_ext <<_ACEOF
   14061 /* end confdefs.h.  */
   14062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   14063    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   14064 #define $ac_func innocuous_$ac_func
   14065 
   14066 /* System header to define __stub macros and hopefully few prototypes,
   14067     which can conflict with char $ac_func (); below.
   14068     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   14069     <limits.h> exists even on freestanding compilers.  */
   14070 
   14071 #ifdef __STDC__
   14072 # include <limits.h>
   14073 #else
   14074 # include <assert.h>
   14075 #endif
   14076 
   14077 #undef $ac_func
   14078 
   14079 /* Override any gcc2 internal prototype to avoid an error.  */
   14080 #ifdef __cplusplus
   14081 extern "C"
   14082 {
   14083 #endif
   14084 /* We use char because int might match the return type of a gcc2
   14085    builtin and then its argument prototype would still apply.  */
   14086 char $ac_func ();
   14087 /* The GNU C library defines this for functions which it implements
   14088     to always fail with ENOSYS.  Some functions are actually named
   14089     something starting with __ and the normal name is an alias.  */
   14090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   14091 choke me
   14092 #else
   14093 char (*f) () = $ac_func;
   14094 #endif
   14095 #ifdef __cplusplus
   14096 }
   14097 #endif
   14098 
   14099 int
   14100 main ()
   14101 {
   14102 return f != $ac_func;
   14103   ;
   14104   return 0;
   14105 }
   14106 _ACEOF
   14107 rm -f conftest.$ac_objext conftest$ac_exeext
   14108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14109   (eval $ac_link) 2>conftest.er1
   14110   ac_status=$?
   14111   grep -v '^ *+' conftest.er1 >conftest.err
   14112   rm -f conftest.er1
   14113   cat conftest.err >&5
   14114   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14115   (exit $ac_status); } &&
   14116 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   14117   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14118   (eval $ac_try) 2>&5
   14119   ac_status=$?
   14120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14121   (exit $ac_status); }; } &&
   14122 	 { ac_try='test -s conftest$ac_exeext'
   14123   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14124   (eval $ac_try) 2>&5
   14125   ac_status=$?
   14126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14127   (exit $ac_status); }; }; then
   14128   eval "$as_ac_var=yes"
   14129 else
   14130   echo "$as_me: failed program was:" >&5
   14131 sed 's/^/| /' conftest.$ac_ext >&5
   14132 
   14133 eval "$as_ac_var=no"
   14134 fi
   14135 rm -f conftest.err conftest.$ac_objext \
   14136       conftest$ac_exeext conftest.$ac_ext
   14137 fi
   14138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   14139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   14140 if test `eval echo '${'$as_ac_var'}'` = yes; then
   14141   cat >>confdefs.h <<_ACEOF
   14142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14143 _ACEOF
   14144 
   14145 else
   14146   case $LIBOBJS in
   14147     "$ac_func.$ac_objext"   | \
   14148   *" $ac_func.$ac_objext"   | \
   14149     "$ac_func.$ac_objext "* | \
   14150   *" $ac_func.$ac_objext "* ) ;;
   14151   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   14152 esac
   14153 
   14154 fi
   14155 done
   14156 
   14157 
   14158   if test $ac_cv_func_stpcpy = no; then
   14159 
   14160   :
   14161 
   14162   fi
   14163 
   14164 
   14165 
   14166 
   14167 
   14168 
   14169 for ac_func in strdup
   14170 do
   14171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14172 echo "$as_me:$LINENO: checking for $ac_func" >&5
   14173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   14174 if eval "test \"\${$as_ac_var+set}\" = set"; then
   14175   echo $ECHO_N "(cached) $ECHO_C" >&6
   14176 else
   14177   cat >conftest.$ac_ext <<_ACEOF
   14178 /* confdefs.h.  */
   14179 _ACEOF
   14180 cat confdefs.h >>conftest.$ac_ext
   14181 cat >>conftest.$ac_ext <<_ACEOF
   14182 /* end confdefs.h.  */
   14183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   14184    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   14185 #define $ac_func innocuous_$ac_func
   14186 
   14187 /* System header to define __stub macros and hopefully few prototypes,
   14188     which can conflict with char $ac_func (); below.
   14189     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   14190     <limits.h> exists even on freestanding compilers.  */
   14191 
   14192 #ifdef __STDC__
   14193 # include <limits.h>
   14194 #else
   14195 # include <assert.h>
   14196 #endif
   14197 
   14198 #undef $ac_func
   14199 
   14200 /* Override any gcc2 internal prototype to avoid an error.  */
   14201 #ifdef __cplusplus
   14202 extern "C"
   14203 {
   14204 #endif
   14205 /* We use char because int might match the return type of a gcc2
   14206    builtin and then its argument prototype would still apply.  */
   14207 char $ac_func ();
   14208 /* The GNU C library defines this for functions which it implements
   14209     to always fail with ENOSYS.  Some functions are actually named
   14210     something starting with __ and the normal name is an alias.  */
   14211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   14212 choke me
   14213 #else
   14214 char (*f) () = $ac_func;
   14215 #endif
   14216 #ifdef __cplusplus
   14217 }
   14218 #endif
   14219 
   14220 int
   14221 main ()
   14222 {
   14223 return f != $ac_func;
   14224   ;
   14225   return 0;
   14226 }
   14227 _ACEOF
   14228 rm -f conftest.$ac_objext conftest$ac_exeext
   14229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14230   (eval $ac_link) 2>conftest.er1
   14231   ac_status=$?
   14232   grep -v '^ *+' conftest.er1 >conftest.err
   14233   rm -f conftest.er1
   14234   cat conftest.err >&5
   14235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14236   (exit $ac_status); } &&
   14237 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   14238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14239   (eval $ac_try) 2>&5
   14240   ac_status=$?
   14241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14242   (exit $ac_status); }; } &&
   14243 	 { ac_try='test -s conftest$ac_exeext'
   14244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14245   (eval $ac_try) 2>&5
   14246   ac_status=$?
   14247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14248   (exit $ac_status); }; }; then
   14249   eval "$as_ac_var=yes"
   14250 else
   14251   echo "$as_me: failed program was:" >&5
   14252 sed 's/^/| /' conftest.$ac_ext >&5
   14253 
   14254 eval "$as_ac_var=no"
   14255 fi
   14256 rm -f conftest.err conftest.$ac_objext \
   14257       conftest$ac_exeext conftest.$ac_ext
   14258 fi
   14259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   14260 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   14261 if test `eval echo '${'$as_ac_var'}'` = yes; then
   14262   cat >>confdefs.h <<_ACEOF
   14263 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14264 _ACEOF
   14265 
   14266 else
   14267   case $LIBOBJS in
   14268     "$ac_func.$ac_objext"   | \
   14269   *" $ac_func.$ac_objext"   | \
   14270     "$ac_func.$ac_objext "* | \
   14271   *" $ac_func.$ac_objext "* ) ;;
   14272   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   14273 esac
   14274 
   14275 fi
   14276 done
   14277 
   14278 
   14279 
   14280   :
   14281 
   14282 
   14283 
   14284 
   14285 
   14286   :
   14287 
   14288 
   14289 
   14290 
   14291 for ac_func in strerror
   14292 do
   14293 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14294 echo "$as_me:$LINENO: checking for $ac_func" >&5
   14295 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   14296 if eval "test \"\${$as_ac_var+set}\" = set"; then
   14297   echo $ECHO_N "(cached) $ECHO_C" >&6
   14298 else
   14299   cat >conftest.$ac_ext <<_ACEOF
   14300 /* confdefs.h.  */
   14301 _ACEOF
   14302 cat confdefs.h >>conftest.$ac_ext
   14303 cat >>conftest.$ac_ext <<_ACEOF
   14304 /* end confdefs.h.  */
   14305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   14306    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   14307 #define $ac_func innocuous_$ac_func
   14308 
   14309 /* System header to define __stub macros and hopefully few prototypes,
   14310     which can conflict with char $ac_func (); below.
   14311     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   14312     <limits.h> exists even on freestanding compilers.  */
   14313 
   14314 #ifdef __STDC__
   14315 # include <limits.h>
   14316 #else
   14317 # include <assert.h>
   14318 #endif
   14319 
   14320 #undef $ac_func
   14321 
   14322 /* Override any gcc2 internal prototype to avoid an error.  */
   14323 #ifdef __cplusplus
   14324 extern "C"
   14325 {
   14326 #endif
   14327 /* We use char because int might match the return type of a gcc2
   14328    builtin and then its argument prototype would still apply.  */
   14329 char $ac_func ();
   14330 /* The GNU C library defines this for functions which it implements
   14331     to always fail with ENOSYS.  Some functions are actually named
   14332     something starting with __ and the normal name is an alias.  */
   14333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   14334 choke me
   14335 #else
   14336 char (*f) () = $ac_func;
   14337 #endif
   14338 #ifdef __cplusplus
   14339 }
   14340 #endif
   14341 
   14342 int
   14343 main ()
   14344 {
   14345 return f != $ac_func;
   14346   ;
   14347   return 0;
   14348 }
   14349 _ACEOF
   14350 rm -f conftest.$ac_objext conftest$ac_exeext
   14351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14352   (eval $ac_link) 2>conftest.er1
   14353   ac_status=$?
   14354   grep -v '^ *+' conftest.er1 >conftest.err
   14355   rm -f conftest.er1
   14356   cat conftest.err >&5
   14357   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14358   (exit $ac_status); } &&
   14359 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   14360   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14361   (eval $ac_try) 2>&5
   14362   ac_status=$?
   14363   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14364   (exit $ac_status); }; } &&
   14365 	 { ac_try='test -s conftest$ac_exeext'
   14366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14367   (eval $ac_try) 2>&5
   14368   ac_status=$?
   14369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14370   (exit $ac_status); }; }; then
   14371   eval "$as_ac_var=yes"
   14372 else
   14373   echo "$as_me: failed program was:" >&5
   14374 sed 's/^/| /' conftest.$ac_ext >&5
   14375 
   14376 eval "$as_ac_var=no"
   14377 fi
   14378 rm -f conftest.err conftest.$ac_objext \
   14379       conftest$ac_exeext conftest.$ac_ext
   14380 fi
   14381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   14382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   14383 if test `eval echo '${'$as_ac_var'}'` = yes; then
   14384   cat >>confdefs.h <<_ACEOF
   14385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14386 _ACEOF
   14387 
   14388 else
   14389   case $LIBOBJS in
   14390     "$ac_func.$ac_objext"   | \
   14391   *" $ac_func.$ac_objext"   | \
   14392     "$ac_func.$ac_objext "* | \
   14393   *" $ac_func.$ac_objext "* ) ;;
   14394   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   14395 esac
   14396 
   14397 fi
   14398 done
   14399 
   14400 
   14401   if test $ac_cv_func_strerror = no; then
   14402 
   14403   :
   14404 
   14405   fi
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 
   14414   :
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421   # AIX 4.3.3, AIX 5.1 have a function that fails to add the terminating '\0'.
   14422   echo "$as_me:$LINENO: checking for working strndup" >&5
   14423 echo $ECHO_N "checking for working strndup... $ECHO_C" >&6
   14424 if test "${gl_cv_func_strndup+set}" = set; then
   14425   echo $ECHO_N "(cached) $ECHO_C" >&6
   14426 else
   14427   if test "$cross_compiling" = yes; then
   14428   cat >conftest.$ac_ext <<_ACEOF
   14429 /* confdefs.h.  */
   14430 _ACEOF
   14431 cat confdefs.h >>conftest.$ac_ext
   14432 cat >>conftest.$ac_ext <<_ACEOF
   14433 /* end confdefs.h.  */
   14434 
   14435 #ifdef _AIX
   14436             too risky
   14437 #endif
   14438 
   14439 _ACEOF
   14440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   14441   $EGREP "too risky" >/dev/null 2>&1; then
   14442   gl_cv_func_strndup=no
   14443 else
   14444   gl_cv_func_strndup=yes
   14445 fi
   14446 rm -f conftest*
   14447 
   14448 else
   14449   cat >conftest.$ac_ext <<_ACEOF
   14450 
   14451        /* confdefs.h.  */
   14452 _ACEOF
   14453 cat confdefs.h >>conftest.$ac_ext
   14454 cat >>conftest.$ac_ext <<_ACEOF
   14455 /* end confdefs.h.  */
   14456 #include <string.h>
   14457 int
   14458 main ()
   14459 {
   14460 
   14461 #ifndef HAVE_DECL_STRNDUP
   14462   extern char *strndup (const char *, size_t);
   14463 #endif
   14464   char *s;
   14465   s = strndup ("some longer string", 15);
   14466   free (s);
   14467   s = strndup ("shorter string", 13);
   14468   return s[13] != '\0';
   14469   ;
   14470   return 0;
   14471 }
   14472 _ACEOF
   14473 rm -f conftest$ac_exeext
   14474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14475   (eval $ac_link) 2>&5
   14476   ac_status=$?
   14477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14478   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   14479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14480   (eval $ac_try) 2>&5
   14481   ac_status=$?
   14482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14483   (exit $ac_status); }; }; then
   14484   gl_cv_func_strndup=yes
   14485 else
   14486   echo "$as_me: program exited with status $ac_status" >&5
   14487 echo "$as_me: failed program was:" >&5
   14488 sed 's/^/| /' conftest.$ac_ext >&5
   14489 
   14490 ( exit $ac_status )
   14491 gl_cv_func_strndup=no
   14492 fi
   14493 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   14494 fi
   14495 fi
   14496 echo "$as_me:$LINENO: result: $gl_cv_func_strndup" >&5
   14497 echo "${ECHO_T}$gl_cv_func_strndup" >&6
   14498   if test $gl_cv_func_strndup = yes; then
   14499 
   14500 cat >>confdefs.h <<\_ACEOF
   14501 #define HAVE_STRNDUP 1
   14502 _ACEOF
   14503 
   14504   else
   14505     case $LIBOBJS in
   14506     "strndup.$ac_objext"   | \
   14507   *" strndup.$ac_objext"   | \
   14508     "strndup.$ac_objext "* | \
   14509   *" strndup.$ac_objext "* ) ;;
   14510   *) LIBOBJS="$LIBOBJS strndup.$ac_objext" ;;
   14511 esac
   14512 
   14513 
   14514 cat >>confdefs.h <<\_ACEOF
   14515 #define strndup rpl_strndup
   14516 _ACEOF
   14517 
   14518     :
   14519   fi
   14520 
   14521 
   14522 
   14523 
   14524 
   14525 
   14526 
   14527   echo "$as_me:$LINENO: checking for working strnlen" >&5
   14528 echo $ECHO_N "checking for working strnlen... $ECHO_C" >&6
   14529 if test "${ac_cv_func_strnlen_working+set}" = set; then
   14530   echo $ECHO_N "(cached) $ECHO_C" >&6
   14531 else
   14532   if test "$cross_compiling" = yes; then
   14533   ac_cv_func_strnlen_working=no
   14534 else
   14535   cat >conftest.$ac_ext <<_ACEOF
   14536 /* confdefs.h.  */
   14537 _ACEOF
   14538 cat confdefs.h >>conftest.$ac_ext
   14539 cat >>conftest.$ac_ext <<_ACEOF
   14540 /* end confdefs.h.  */
   14541 $ac_includes_default
   14542 int
   14543 main ()
   14544 {
   14545 
   14546 #define S "foobar"
   14547 #define S_LEN (sizeof S - 1)
   14548 
   14549   /* At least one implementation is buggy: that of AIX 4.3 would
   14550      give strnlen (S, 1) == 3.  */
   14551 
   14552   int i;
   14553   for (i = 0; i < S_LEN + 1; ++i)
   14554     {
   14555       int expected = i <= S_LEN ? i : S_LEN;
   14556       if (strnlen (S, i) != expected)
   14557 	exit (1);
   14558     }
   14559   exit (0);
   14560 
   14561   ;
   14562   return 0;
   14563 }
   14564 _ACEOF
   14565 rm -f conftest$ac_exeext
   14566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14567   (eval $ac_link) 2>&5
   14568   ac_status=$?
   14569   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14570   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   14571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14572   (eval $ac_try) 2>&5
   14573   ac_status=$?
   14574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14575   (exit $ac_status); }; }; then
   14576   ac_cv_func_strnlen_working=yes
   14577 else
   14578   echo "$as_me: program exited with status $ac_status" >&5
   14579 echo "$as_me: failed program was:" >&5
   14580 sed 's/^/| /' conftest.$ac_ext >&5
   14581 
   14582 ( exit $ac_status )
   14583 ac_cv_func_strnlen_working=no
   14584 fi
   14585 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   14586 fi
   14587 fi
   14588 echo "$as_me:$LINENO: result: $ac_cv_func_strnlen_working" >&5
   14589 echo "${ECHO_T}$ac_cv_func_strnlen_working" >&6
   14590 test $ac_cv_func_strnlen_working = no && case $LIBOBJS in
   14591     "strnlen.$ac_objext"   | \
   14592   *" strnlen.$ac_objext"   | \
   14593     "strnlen.$ac_objext "* | \
   14594   *" strnlen.$ac_objext "* ) ;;
   14595   *) LIBOBJS="$LIBOBJS strnlen.$ac_objext" ;;
   14596 esac
   14597 
   14598 
   14599   if test $ac_cv_func_strnlen_working = no; then
   14600     # This is necessary because automake-1.6.1 doens't understand
   14601     # that the above use of AC_FUNC_STRNLEN means we may have to use
   14602     # lib/strnlen.c.
   14603     #AC_LIBOBJ(strnlen)
   14604 
   14605 cat >>confdefs.h <<\_ACEOF
   14606 #define strnlen rpl_strnlen
   14607 _ACEOF
   14608 
   14609 
   14610 
   14611   :
   14612 
   14613 
   14614 
   14615 
   14616 
   14617 
   14618   fi
   14619 
   14620 
   14621 
   14622 
   14623 for ac_func in strtol
   14624 do
   14625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14626 echo "$as_me:$LINENO: checking for $ac_func" >&5
   14627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   14628 if eval "test \"\${$as_ac_var+set}\" = set"; then
   14629   echo $ECHO_N "(cached) $ECHO_C" >&6
   14630 else
   14631   cat >conftest.$ac_ext <<_ACEOF
   14632 /* confdefs.h.  */
   14633 _ACEOF
   14634 cat confdefs.h >>conftest.$ac_ext
   14635 cat >>conftest.$ac_ext <<_ACEOF
   14636 /* end confdefs.h.  */
   14637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   14638    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   14639 #define $ac_func innocuous_$ac_func
   14640 
   14641 /* System header to define __stub macros and hopefully few prototypes,
   14642     which can conflict with char $ac_func (); below.
   14643     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   14644     <limits.h> exists even on freestanding compilers.  */
   14645 
   14646 #ifdef __STDC__
   14647 # include <limits.h>
   14648 #else
   14649 # include <assert.h>
   14650 #endif
   14651 
   14652 #undef $ac_func
   14653 
   14654 /* Override any gcc2 internal prototype to avoid an error.  */
   14655 #ifdef __cplusplus
   14656 extern "C"
   14657 {
   14658 #endif
   14659 /* We use char because int might match the return type of a gcc2
   14660    builtin and then its argument prototype would still apply.  */
   14661 char $ac_func ();
   14662 /* The GNU C library defines this for functions which it implements
   14663     to always fail with ENOSYS.  Some functions are actually named
   14664     something starting with __ and the normal name is an alias.  */
   14665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   14666 choke me
   14667 #else
   14668 char (*f) () = $ac_func;
   14669 #endif
   14670 #ifdef __cplusplus
   14671 }
   14672 #endif
   14673 
   14674 int
   14675 main ()
   14676 {
   14677 return f != $ac_func;
   14678   ;
   14679   return 0;
   14680 }
   14681 _ACEOF
   14682 rm -f conftest.$ac_objext conftest$ac_exeext
   14683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14684   (eval $ac_link) 2>conftest.er1
   14685   ac_status=$?
   14686   grep -v '^ *+' conftest.er1 >conftest.err
   14687   rm -f conftest.er1
   14688   cat conftest.err >&5
   14689   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14690   (exit $ac_status); } &&
   14691 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   14692   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14693   (eval $ac_try) 2>&5
   14694   ac_status=$?
   14695   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14696   (exit $ac_status); }; } &&
   14697 	 { ac_try='test -s conftest$ac_exeext'
   14698   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14699   (eval $ac_try) 2>&5
   14700   ac_status=$?
   14701   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14702   (exit $ac_status); }; }; then
   14703   eval "$as_ac_var=yes"
   14704 else
   14705   echo "$as_me: failed program was:" >&5
   14706 sed 's/^/| /' conftest.$ac_ext >&5
   14707 
   14708 eval "$as_ac_var=no"
   14709 fi
   14710 rm -f conftest.err conftest.$ac_objext \
   14711       conftest$ac_exeext conftest.$ac_ext
   14712 fi
   14713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   14714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   14715 if test `eval echo '${'$as_ac_var'}'` = yes; then
   14716   cat >>confdefs.h <<_ACEOF
   14717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14718 _ACEOF
   14719 
   14720 else
   14721   case $LIBOBJS in
   14722     "$ac_func.$ac_objext"   | \
   14723   *" $ac_func.$ac_objext"   | \
   14724     "$ac_func.$ac_objext "* | \
   14725   *" $ac_func.$ac_objext "* ) ;;
   14726   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   14727 esac
   14728 
   14729 fi
   14730 done
   14731 
   14732 
   14733   if test $ac_cv_func_strtol = no; then
   14734 
   14735 
   14736 
   14737   :
   14738 
   14739 
   14740 
   14741 
   14742 
   14743 
   14744   fi
   14745 
   14746 
   14747 
   14748 
   14749 for ac_func in strtoul
   14750 do
   14751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14752 echo "$as_me:$LINENO: checking for $ac_func" >&5
   14753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   14754 if eval "test \"\${$as_ac_var+set}\" = set"; then
   14755   echo $ECHO_N "(cached) $ECHO_C" >&6
   14756 else
   14757   cat >conftest.$ac_ext <<_ACEOF
   14758 /* confdefs.h.  */
   14759 _ACEOF
   14760 cat confdefs.h >>conftest.$ac_ext
   14761 cat >>conftest.$ac_ext <<_ACEOF
   14762 /* end confdefs.h.  */
   14763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   14764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   14765 #define $ac_func innocuous_$ac_func
   14766 
   14767 /* System header to define __stub macros and hopefully few prototypes,
   14768     which can conflict with char $ac_func (); below.
   14769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   14770     <limits.h> exists even on freestanding compilers.  */
   14771 
   14772 #ifdef __STDC__
   14773 # include <limits.h>
   14774 #else
   14775 # include <assert.h>
   14776 #endif
   14777 
   14778 #undef $ac_func
   14779 
   14780 /* Override any gcc2 internal prototype to avoid an error.  */
   14781 #ifdef __cplusplus
   14782 extern "C"
   14783 {
   14784 #endif
   14785 /* We use char because int might match the return type of a gcc2
   14786    builtin and then its argument prototype would still apply.  */
   14787 char $ac_func ();
   14788 /* The GNU C library defines this for functions which it implements
   14789     to always fail with ENOSYS.  Some functions are actually named
   14790     something starting with __ and the normal name is an alias.  */
   14791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   14792 choke me
   14793 #else
   14794 char (*f) () = $ac_func;
   14795 #endif
   14796 #ifdef __cplusplus
   14797 }
   14798 #endif
   14799 
   14800 int
   14801 main ()
   14802 {
   14803 return f != $ac_func;
   14804   ;
   14805   return 0;
   14806 }
   14807 _ACEOF
   14808 rm -f conftest.$ac_objext conftest$ac_exeext
   14809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14810   (eval $ac_link) 2>conftest.er1
   14811   ac_status=$?
   14812   grep -v '^ *+' conftest.er1 >conftest.err
   14813   rm -f conftest.er1
   14814   cat conftest.err >&5
   14815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14816   (exit $ac_status); } &&
   14817 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   14818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14819   (eval $ac_try) 2>&5
   14820   ac_status=$?
   14821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14822   (exit $ac_status); }; } &&
   14823 	 { ac_try='test -s conftest$ac_exeext'
   14824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14825   (eval $ac_try) 2>&5
   14826   ac_status=$?
   14827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14828   (exit $ac_status); }; }; then
   14829   eval "$as_ac_var=yes"
   14830 else
   14831   echo "$as_me: failed program was:" >&5
   14832 sed 's/^/| /' conftest.$ac_ext >&5
   14833 
   14834 eval "$as_ac_var=no"
   14835 fi
   14836 rm -f conftest.err conftest.$ac_objext \
   14837       conftest$ac_exeext conftest.$ac_ext
   14838 fi
   14839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   14840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   14841 if test `eval echo '${'$as_ac_var'}'` = yes; then
   14842   cat >>confdefs.h <<_ACEOF
   14843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14844 _ACEOF
   14845 
   14846 else
   14847   case $LIBOBJS in
   14848     "$ac_func.$ac_objext"   | \
   14849   *" $ac_func.$ac_objext"   | \
   14850     "$ac_func.$ac_objext "* | \
   14851   *" $ac_func.$ac_objext "* ) ;;
   14852   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   14853 esac
   14854 
   14855 fi
   14856 done
   14857 
   14858 
   14859   if test $ac_cv_func_strtoul = no; then
   14860 
   14861 
   14862 
   14863 
   14864   :
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872   fi
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 for ac_func in strverscmp
   14882 do
   14883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   14884 echo "$as_me:$LINENO: checking for $ac_func" >&5
   14885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   14886 if eval "test \"\${$as_ac_var+set}\" = set"; then
   14887   echo $ECHO_N "(cached) $ECHO_C" >&6
   14888 else
   14889   cat >conftest.$ac_ext <<_ACEOF
   14890 /* confdefs.h.  */
   14891 _ACEOF
   14892 cat confdefs.h >>conftest.$ac_ext
   14893 cat >>conftest.$ac_ext <<_ACEOF
   14894 /* end confdefs.h.  */
   14895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   14896    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   14897 #define $ac_func innocuous_$ac_func
   14898 
   14899 /* System header to define __stub macros and hopefully few prototypes,
   14900     which can conflict with char $ac_func (); below.
   14901     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   14902     <limits.h> exists even on freestanding compilers.  */
   14903 
   14904 #ifdef __STDC__
   14905 # include <limits.h>
   14906 #else
   14907 # include <assert.h>
   14908 #endif
   14909 
   14910 #undef $ac_func
   14911 
   14912 /* Override any gcc2 internal prototype to avoid an error.  */
   14913 #ifdef __cplusplus
   14914 extern "C"
   14915 {
   14916 #endif
   14917 /* We use char because int might match the return type of a gcc2
   14918    builtin and then its argument prototype would still apply.  */
   14919 char $ac_func ();
   14920 /* The GNU C library defines this for functions which it implements
   14921     to always fail with ENOSYS.  Some functions are actually named
   14922     something starting with __ and the normal name is an alias.  */
   14923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   14924 choke me
   14925 #else
   14926 char (*f) () = $ac_func;
   14927 #endif
   14928 #ifdef __cplusplus
   14929 }
   14930 #endif
   14931 
   14932 int
   14933 main ()
   14934 {
   14935 return f != $ac_func;
   14936   ;
   14937   return 0;
   14938 }
   14939 _ACEOF
   14940 rm -f conftest.$ac_objext conftest$ac_exeext
   14941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   14942   (eval $ac_link) 2>conftest.er1
   14943   ac_status=$?
   14944   grep -v '^ *+' conftest.er1 >conftest.err
   14945   rm -f conftest.er1
   14946   cat conftest.err >&5
   14947   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14948   (exit $ac_status); } &&
   14949 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   14950   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14951   (eval $ac_try) 2>&5
   14952   ac_status=$?
   14953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14954   (exit $ac_status); }; } &&
   14955 	 { ac_try='test -s conftest$ac_exeext'
   14956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   14957   (eval $ac_try) 2>&5
   14958   ac_status=$?
   14959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14960   (exit $ac_status); }; }; then
   14961   eval "$as_ac_var=yes"
   14962 else
   14963   echo "$as_me: failed program was:" >&5
   14964 sed 's/^/| /' conftest.$ac_ext >&5
   14965 
   14966 eval "$as_ac_var=no"
   14967 fi
   14968 rm -f conftest.err conftest.$ac_objext \
   14969       conftest$ac_exeext conftest.$ac_ext
   14970 fi
   14971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   14972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   14973 if test `eval echo '${'$as_ac_var'}'` = yes; then
   14974   cat >>confdefs.h <<_ACEOF
   14975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   14976 _ACEOF
   14977 
   14978 else
   14979   case $LIBOBJS in
   14980     "$ac_func.$ac_objext"   | \
   14981   *" $ac_func.$ac_objext"   | \
   14982     "$ac_func.$ac_objext "* | \
   14983   *" $ac_func.$ac_objext "* ) ;;
   14984   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   14985 esac
   14986 
   14987 fi
   14988 done
   14989 
   14990 
   14991   if test $ac_cv_func_strverscmp = no; then
   14992 
   14993   :
   14994 
   14995   fi
   14996 
   14997 
   14998 
   14999 
   15000 for ac_header in unistd.h
   15001 do
   15002 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   15003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   15004   echo "$as_me:$LINENO: checking for $ac_header" >&5
   15005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   15006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   15007   echo $ECHO_N "(cached) $ECHO_C" >&6
   15008 fi
   15009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   15010 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   15011 else
   15012   # Is the header compilable?
   15013 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   15014 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   15015 cat >conftest.$ac_ext <<_ACEOF
   15016 /* confdefs.h.  */
   15017 _ACEOF
   15018 cat confdefs.h >>conftest.$ac_ext
   15019 cat >>conftest.$ac_ext <<_ACEOF
   15020 /* end confdefs.h.  */
   15021 $ac_includes_default
   15022 #include <$ac_header>
   15023 _ACEOF
   15024 rm -f conftest.$ac_objext
   15025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15026   (eval $ac_compile) 2>conftest.er1
   15027   ac_status=$?
   15028   grep -v '^ *+' conftest.er1 >conftest.err
   15029   rm -f conftest.er1
   15030   cat conftest.err >&5
   15031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15032   (exit $ac_status); } &&
   15033 	 { ac_try='test -z "$ac_c_werror_flag"			 || test ! -s conftest.err'
   15034   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15035   (eval $ac_try) 2>&5
   15036   ac_status=$?
   15037   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15038   (exit $ac_status); }; } &&
   15039 	 { ac_try='test -s conftest.$ac_objext'
   15040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15041   (eval $ac_try) 2>&5
   15042   ac_status=$?
   15043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15044   (exit $ac_status); }; }; then
   15045   ac_header_compiler=yes
   15046 else
   15047   echo "$as_me: failed program was:" >&5
   15048 sed 's/^/| /' conftest.$ac_ext >&5
   15049 
   15050 ac_header_compiler=no
   15051 fi
   15052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   15053 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   15054 echo "${ECHO_T}$ac_header_compiler" >&6
   15055 
   15056 # Is the header present?
   15057 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   15058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   15059 cat >conftest.$ac_ext <<_ACEOF
   15060 /* confdefs.h.  */
   15061 _ACEOF
   15062 cat confdefs.h >>conftest.$ac_ext
   15063 cat >>conftest.$ac_ext <<_ACEOF
   15064 /* end confdefs.h.  */
   15065 #include <$ac_header>
   15066 _ACEOF
   15067 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   15068   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   15069   ac_status=$?
   15070   grep -v '^ *+' conftest.er1 >conftest.err
   15071   rm -f conftest.er1
   15072   cat conftest.err >&5
   15073   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15074   (exit $ac_status); } >/dev/null; then
   15075   if test -s conftest.err; then
   15076     ac_cpp_err=$ac_c_preproc_warn_flag
   15077     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   15078   else
   15079     ac_cpp_err=
   15080   fi
   15081 else
   15082   ac_cpp_err=yes
   15083 fi
   15084 if test -z "$ac_cpp_err"; then
   15085   ac_header_preproc=yes
   15086 else
   15087   echo "$as_me: failed program was:" >&5
   15088 sed 's/^/| /' conftest.$ac_ext >&5
   15089 
   15090   ac_header_preproc=no
   15091 fi
   15092 rm -f conftest.err conftest.$ac_ext
   15093 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   15094 echo "${ECHO_T}$ac_header_preproc" >&6
   15095 
   15096 # So?  What about this header?
   15097 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   15098   yes:no: )
   15099     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   15100 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   15101     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   15102 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   15103     ac_header_preproc=yes
   15104     ;;
   15105   no:yes:* )
   15106     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   15107 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   15108     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   15109 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   15110     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   15111 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   15112     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   15113 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   15114     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   15115 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   15116     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   15117 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   15118     (
   15119       cat <<\_ASBOX
   15120 ## -------------------------------- ##
   15121 ## Report this to bug-bison (at] gnu.org ##
   15122 ## -------------------------------- ##
   15123 _ASBOX
   15124     ) |
   15125       sed "s/^/$as_me: WARNING:     /" >&2
   15126     ;;
   15127 esac
   15128 echo "$as_me:$LINENO: checking for $ac_header" >&5
   15129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   15130 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   15131   echo $ECHO_N "(cached) $ECHO_C" >&6
   15132 else
   15133   eval "$as_ac_Header=\$ac_header_preproc"
   15134 fi
   15135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   15136 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   15137 
   15138 fi
   15139 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   15140   cat >>confdefs.h <<_ACEOF
   15141 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   15142 _ACEOF
   15143 
   15144     UNISTD_H=''
   15145 
   15146 else
   15147 
   15148     UNISTD_H='unistd.h'
   15149 
   15150 fi
   15151 
   15152 done
   15153 
   15154 
   15155 
   15156 
   15157 
   15158 
   15159   case $LIBOBJS in
   15160     "dup-safer.$ac_objext"   | \
   15161   *" dup-safer.$ac_objext"   | \
   15162     "dup-safer.$ac_objext "* | \
   15163   *" dup-safer.$ac_objext "* ) ;;
   15164   *) LIBOBJS="$LIBOBJS dup-safer.$ac_objext" ;;
   15165 esac
   15166 
   15167   case $LIBOBJS in
   15168     "fd-safer.$ac_objext"   | \
   15169   *" fd-safer.$ac_objext"   | \
   15170     "fd-safer.$ac_objext "* | \
   15171   *" fd-safer.$ac_objext "* ) ;;
   15172   *) LIBOBJS="$LIBOBJS fd-safer.$ac_objext" ;;
   15173 esac
   15174 
   15175   case $LIBOBJS in
   15176     "pipe-safer.$ac_objext"   | \
   15177   *" pipe-safer.$ac_objext"   | \
   15178     "pipe-safer.$ac_objext "* | \
   15179   *" pipe-safer.$ac_objext "* ) ;;
   15180   *) LIBOBJS="$LIBOBJS pipe-safer.$ac_objext" ;;
   15181 esac
   15182 
   15183 
   15184 
   15185 
   15186 
   15187 
   15188 
   15189 cat >>confdefs.h <<\_ACEOF
   15190 #define USE_UNLOCKED_IO 1
   15191 _ACEOF
   15192 
   15193 
   15194 
   15195 
   15196 
   15197   :
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204   :
   15205 
   15206 
   15207 
   15208 
   15209 
   15210 
   15211   :
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218   :
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225   :
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232   :
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239   :
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246   :
   15247 
   15248 
   15249 
   15250 
   15251 
   15252 
   15253   :
   15254 
   15255 
   15256 
   15257 
   15258 
   15259 
   15260   :
   15261 
   15262 
   15263 
   15264 
   15265 
   15266 
   15267   :
   15268 
   15269 
   15270 
   15271 
   15272 
   15273 
   15274   :
   15275 
   15276 
   15277 
   15278 
   15279 
   15280 
   15281   :
   15282 
   15283 
   15284 
   15285 
   15286 
   15287 
   15288 
   15289 
   15290 
   15291 
   15292   case $LIBOBJS in
   15293     "xmalloc.$ac_objext"   | \
   15294   *" xmalloc.$ac_objext"   | \
   15295     "xmalloc.$ac_objext "* | \
   15296   *" xmalloc.$ac_objext "* ) ;;
   15297   *) LIBOBJS="$LIBOBJS xmalloc.$ac_objext" ;;
   15298 esac
   15299 
   15300 
   15301 
   15302   :
   15303 
   15304 
   15305 
   15306   :
   15307 
   15308 
   15309 
   15310 
   15311 
   15312 
   15313   :
   15314 
   15315 
   15316 
   15317 
   15318 # We use po/Makevars, so we need at least gettext 0.12.
   15319 
   15320 
   15321   if test -z "$USE_NLS"; then
   15322     echo "The BISON-I18N macro is used without being preceded by AM-GNU-GETTEXT." 1>&2
   15323     exit 1
   15324   fi
   15325   BISON_LOCALEDIR=
   15326   if test "$USE_NLS" = yes; then
   15327         if test -n "$YACC"; then
   15328       case "$YACC" in
   15329         *bison*)
   15330           if ($YACC --print-localedir) >/dev/null 2>&1; then
   15331             BISON_LOCALEDIR=`$YACC --print-localedir`
   15332           fi
   15333           ;;
   15334       esac
   15335     else
   15336       if test -n "$BISON"; then
   15337         if test "$BISON" != ":"; then
   15338           if ($BISON --print-localedir) >/dev/null 2>&1; then
   15339             BISON_LOCALEDIR=`$BISON --print-localedir`
   15340           fi
   15341         fi
   15342       fi
   15343     fi
   15344 
   15345     if test -n "$BISON_LOCALEDIR"; then
   15346       USER_LINGUAS="${LINGUAS-%UNSET%}"
   15347       if test -n "$USER_LINGUAS"; then
   15348         BISON_USE_NLS=yes
   15349       else
   15350         BISON_USE_NLS=no
   15351       fi
   15352     else
   15353       BISON_USE_NLS=no
   15354     fi
   15355   else
   15356     BISON_USE_NLS=no
   15357   fi
   15358   if test $BISON_USE_NLS = yes; then
   15359 
   15360 cat >>confdefs.h <<\_ACEOF
   15361 #define YYENABLE_NLS 1
   15362 _ACEOF
   15363 
   15364   fi
   15365 
   15366 
   15367 # Internationalized parsers.
   15368           ac_config_files="$ac_config_files runtime-po/Makefile.in"
   15369 
   15370 # Autoconf macros for packages using internationalized parsers.
   15371 aclocaldir='${datadir}/aclocal'
   15372 
   15373 
   15374 # Initialize the test suite.
   15375           ac_config_commands="$ac_config_commands tests/atconfig"
   15376 
   15377 
   15378                     ac_config_files="$ac_config_files tests/Makefile tests/atlocal"
   15379 
   15380           ac_config_files="$ac_config_files tests/bison"
   15381 
   15382 for ac_prog in valgrind
   15383 do
   15384   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15385 set dummy $ac_prog; ac_word=$2
   15386 echo "$as_me:$LINENO: checking for $ac_word" >&5
   15387 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   15388 if test "${ac_cv_prog_VALGRIND+set}" = set; then
   15389   echo $ECHO_N "(cached) $ECHO_C" >&6
   15390 else
   15391   if test -n "$VALGRIND"; then
   15392   ac_cv_prog_VALGRIND="$VALGRIND" # Let the user override the test.
   15393 else
   15394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15395 for as_dir in $PATH
   15396 do
   15397   IFS=$as_save_IFS
   15398   test -z "$as_dir" && as_dir=.
   15399   for ac_exec_ext in '' $ac_executable_extensions; do
   15400   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15401     ac_cv_prog_VALGRIND="$ac_prog"
   15402     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   15403     break 2
   15404   fi
   15405 done
   15406 done
   15407 
   15408 fi
   15409 fi
   15410 VALGRIND=$ac_cv_prog_VALGRIND
   15411 if test -n "$VALGRIND"; then
   15412   echo "$as_me:$LINENO: result: $VALGRIND" >&5
   15413 echo "${ECHO_T}$VALGRIND" >&6
   15414 else
   15415   echo "$as_me:$LINENO: result: no" >&5
   15416 echo "${ECHO_T}no" >&6
   15417 fi
   15418 
   15419   test -n "$VALGRIND" && break
   15420 done
   15421 
   15422 ac_ext=cc
   15423 ac_cpp='$CXXCPP $CPPFLAGS'
   15424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15427 if test -n "$ac_tool_prefix"; then
   15428   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   15429   do
   15430     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   15431 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   15432 echo "$as_me:$LINENO: checking for $ac_word" >&5
   15433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   15434 if test "${ac_cv_prog_CXX+set}" = set; then
   15435   echo $ECHO_N "(cached) $ECHO_C" >&6
   15436 else
   15437   if test -n "$CXX"; then
   15438   ac_cv_prog_CXX="$CXX" # Let the user override the test.
   15439 else
   15440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15441 for as_dir in $PATH
   15442 do
   15443   IFS=$as_save_IFS
   15444   test -z "$as_dir" && as_dir=.
   15445   for ac_exec_ext in '' $ac_executable_extensions; do
   15446   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15447     ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
   15448     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   15449     break 2
   15450   fi
   15451 done
   15452 done
   15453 
   15454 fi
   15455 fi
   15456 CXX=$ac_cv_prog_CXX
   15457 if test -n "$CXX"; then
   15458   echo "$as_me:$LINENO: result: $CXX" >&5
   15459 echo "${ECHO_T}$CXX" >&6
   15460 else
   15461   echo "$as_me:$LINENO: result: no" >&5
   15462 echo "${ECHO_T}no" >&6
   15463 fi
   15464 
   15465     test -n "$CXX" && break
   15466   done
   15467 fi
   15468 if test -z "$CXX"; then
   15469   ac_ct_CXX=$CXX
   15470   for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
   15471 do
   15472   # Extract the first word of "$ac_prog", so it can be a program name with args.
   15473 set dummy $ac_prog; ac_word=$2
   15474 echo "$as_me:$LINENO: checking for $ac_word" >&5
   15475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   15476 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
   15477   echo $ECHO_N "(cached) $ECHO_C" >&6
   15478 else
   15479   if test -n "$ac_ct_CXX"; then
   15480   ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
   15481 else
   15482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   15483 for as_dir in $PATH
   15484 do
   15485   IFS=$as_save_IFS
   15486   test -z "$as_dir" && as_dir=.
   15487   for ac_exec_ext in '' $ac_executable_extensions; do
   15488   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   15489     ac_cv_prog_ac_ct_CXX="$ac_prog"
   15490     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   15491     break 2
   15492   fi
   15493 done
   15494 done
   15495 
   15496 fi
   15497 fi
   15498 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
   15499 if test -n "$ac_ct_CXX"; then
   15500   echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
   15501 echo "${ECHO_T}$ac_ct_CXX" >&6
   15502 else
   15503   echo "$as_me:$LINENO: result: no" >&5
   15504 echo "${ECHO_T}no" >&6
   15505 fi
   15506 
   15507   test -n "$ac_ct_CXX" && break
   15508 done
   15509 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
   15510 
   15511   CXX=$ac_ct_CXX
   15512 fi
   15513 
   15514 
   15515 # Provide some information about the compiler.
   15516 echo "$as_me:$LINENO:" \
   15517      "checking for C++ compiler version" >&5
   15518 ac_compiler=`set X $ac_compile; echo $2`
   15519 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   15520   (eval $ac_compiler --version </dev/null >&5) 2>&5
   15521   ac_status=$?
   15522   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15523   (exit $ac_status); }
   15524 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   15525   (eval $ac_compiler -v </dev/null >&5) 2>&5
   15526   ac_status=$?
   15527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15528   (exit $ac_status); }
   15529 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   15530   (eval $ac_compiler -V </dev/null >&5) 2>&5
   15531   ac_status=$?
   15532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15533   (exit $ac_status); }
   15534 
   15535 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
   15536 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
   15537 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
   15538   echo $ECHO_N "(cached) $ECHO_C" >&6
   15539 else
   15540   cat >conftest.$ac_ext <<_ACEOF
   15541 /* confdefs.h.  */
   15542 _ACEOF
   15543 cat confdefs.h >>conftest.$ac_ext
   15544 cat >>conftest.$ac_ext <<_ACEOF
   15545 /* end confdefs.h.  */
   15546 
   15547 int
   15548 main ()
   15549 {
   15550 #ifndef __GNUC__
   15551        choke me
   15552 #endif
   15553 
   15554   ;
   15555   return 0;
   15556 }
   15557 _ACEOF
   15558 rm -f conftest.$ac_objext
   15559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15560   (eval $ac_compile) 2>conftest.er1
   15561   ac_status=$?
   15562   grep -v '^ *+' conftest.er1 >conftest.err
   15563   rm -f conftest.er1
   15564   cat conftest.err >&5
   15565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15566   (exit $ac_status); } &&
   15567 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
   15568   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15569   (eval $ac_try) 2>&5
   15570   ac_status=$?
   15571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15572   (exit $ac_status); }; } &&
   15573 	 { ac_try='test -s conftest.$ac_objext'
   15574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15575   (eval $ac_try) 2>&5
   15576   ac_status=$?
   15577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15578   (exit $ac_status); }; }; then
   15579   ac_compiler_gnu=yes
   15580 else
   15581   echo "$as_me: failed program was:" >&5
   15582 sed 's/^/| /' conftest.$ac_ext >&5
   15583 
   15584 ac_compiler_gnu=no
   15585 fi
   15586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   15587 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
   15588 
   15589 fi
   15590 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
   15591 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
   15592 GXX=`test $ac_compiler_gnu = yes && echo yes`
   15593 ac_test_CXXFLAGS=${CXXFLAGS+set}
   15594 ac_save_CXXFLAGS=$CXXFLAGS
   15595 CXXFLAGS="-g"
   15596 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
   15597 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
   15598 if test "${ac_cv_prog_cxx_g+set}" = set; then
   15599   echo $ECHO_N "(cached) $ECHO_C" >&6
   15600 else
   15601   cat >conftest.$ac_ext <<_ACEOF
   15602 /* confdefs.h.  */
   15603 _ACEOF
   15604 cat confdefs.h >>conftest.$ac_ext
   15605 cat >>conftest.$ac_ext <<_ACEOF
   15606 /* end confdefs.h.  */
   15607 
   15608 int
   15609 main ()
   15610 {
   15611 
   15612   ;
   15613   return 0;
   15614 }
   15615 _ACEOF
   15616 rm -f conftest.$ac_objext
   15617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15618   (eval $ac_compile) 2>conftest.er1
   15619   ac_status=$?
   15620   grep -v '^ *+' conftest.er1 >conftest.err
   15621   rm -f conftest.er1
   15622   cat conftest.err >&5
   15623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15624   (exit $ac_status); } &&
   15625 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
   15626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15627   (eval $ac_try) 2>&5
   15628   ac_status=$?
   15629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15630   (exit $ac_status); }; } &&
   15631 	 { ac_try='test -s conftest.$ac_objext'
   15632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15633   (eval $ac_try) 2>&5
   15634   ac_status=$?
   15635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15636   (exit $ac_status); }; }; then
   15637   ac_cv_prog_cxx_g=yes
   15638 else
   15639   echo "$as_me: failed program was:" >&5
   15640 sed 's/^/| /' conftest.$ac_ext >&5
   15641 
   15642 ac_cv_prog_cxx_g=no
   15643 fi
   15644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   15645 fi
   15646 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
   15647 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
   15648 if test "$ac_test_CXXFLAGS" = set; then
   15649   CXXFLAGS=$ac_save_CXXFLAGS
   15650 elif test $ac_cv_prog_cxx_g = yes; then
   15651   if test "$GXX" = yes; then
   15652     CXXFLAGS="-g -O2"
   15653   else
   15654     CXXFLAGS="-g"
   15655   fi
   15656 else
   15657   if test "$GXX" = yes; then
   15658     CXXFLAGS="-O2"
   15659   else
   15660     CXXFLAGS=
   15661   fi
   15662 fi
   15663 for ac_declaration in \
   15664    '' \
   15665    'extern "C" void std::exit (int) throw (); using std::exit;' \
   15666    'extern "C" void std::exit (int); using std::exit;' \
   15667    'extern "C" void exit (int) throw ();' \
   15668    'extern "C" void exit (int);' \
   15669    'void exit (int);'
   15670 do
   15671   cat >conftest.$ac_ext <<_ACEOF
   15672 /* confdefs.h.  */
   15673 _ACEOF
   15674 cat confdefs.h >>conftest.$ac_ext
   15675 cat >>conftest.$ac_ext <<_ACEOF
   15676 /* end confdefs.h.  */
   15677 $ac_declaration
   15678 #include <stdlib.h>
   15679 int
   15680 main ()
   15681 {
   15682 exit (42);
   15683   ;
   15684   return 0;
   15685 }
   15686 _ACEOF
   15687 rm -f conftest.$ac_objext
   15688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15689   (eval $ac_compile) 2>conftest.er1
   15690   ac_status=$?
   15691   grep -v '^ *+' conftest.er1 >conftest.err
   15692   rm -f conftest.er1
   15693   cat conftest.err >&5
   15694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15695   (exit $ac_status); } &&
   15696 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
   15697   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15698   (eval $ac_try) 2>&5
   15699   ac_status=$?
   15700   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15701   (exit $ac_status); }; } &&
   15702 	 { ac_try='test -s conftest.$ac_objext'
   15703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15704   (eval $ac_try) 2>&5
   15705   ac_status=$?
   15706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15707   (exit $ac_status); }; }; then
   15708   :
   15709 else
   15710   echo "$as_me: failed program was:" >&5
   15711 sed 's/^/| /' conftest.$ac_ext >&5
   15712 
   15713 continue
   15714 fi
   15715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   15716   cat >conftest.$ac_ext <<_ACEOF
   15717 /* confdefs.h.  */
   15718 _ACEOF
   15719 cat confdefs.h >>conftest.$ac_ext
   15720 cat >>conftest.$ac_ext <<_ACEOF
   15721 /* end confdefs.h.  */
   15722 $ac_declaration
   15723 int
   15724 main ()
   15725 {
   15726 exit (42);
   15727   ;
   15728   return 0;
   15729 }
   15730 _ACEOF
   15731 rm -f conftest.$ac_objext
   15732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15733   (eval $ac_compile) 2>conftest.er1
   15734   ac_status=$?
   15735   grep -v '^ *+' conftest.er1 >conftest.err
   15736   rm -f conftest.er1
   15737   cat conftest.err >&5
   15738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15739   (exit $ac_status); } &&
   15740 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
   15741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15742   (eval $ac_try) 2>&5
   15743   ac_status=$?
   15744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15745   (exit $ac_status); }; } &&
   15746 	 { ac_try='test -s conftest.$ac_objext'
   15747   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15748   (eval $ac_try) 2>&5
   15749   ac_status=$?
   15750   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15751   (exit $ac_status); }; }; then
   15752   break
   15753 else
   15754   echo "$as_me: failed program was:" >&5
   15755 sed 's/^/| /' conftest.$ac_ext >&5
   15756 
   15757 fi
   15758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   15759 done
   15760 rm -f conftest*
   15761 if test -n "$ac_declaration"; then
   15762   echo '#ifdef __cplusplus' >>confdefs.h
   15763   echo $ac_declaration      >>confdefs.h
   15764   echo '#endif'             >>confdefs.h
   15765 fi
   15766 
   15767 ac_ext=c
   15768 ac_cpp='$CPP $CPPFLAGS'
   15769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15772 
   15773 depcc="$CXX"  am_compiler_list=
   15774 
   15775 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   15776 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   15777 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
   15778   echo $ECHO_N "(cached) $ECHO_C" >&6
   15779 else
   15780   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   15781   # We make a subdir and do the tests there.  Otherwise we can end up
   15782   # making bogus files that we don't know about and never remove.  For
   15783   # instance it was reported that on HP-UX the gcc test will end up
   15784   # making a dummy file named `D' -- because `-MD' means `put the output
   15785   # in D'.
   15786   mkdir conftest.dir
   15787   # Copy depcomp to subdir because otherwise we won't find it if we're
   15788   # using a relative directory.
   15789   cp "$am_depcomp" conftest.dir
   15790   cd conftest.dir
   15791   # We will build objects and dependencies in a subdirectory because
   15792   # it helps to detect inapplicable dependency modes.  For instance
   15793   # both Tru64's cc and ICC support -MD to output dependencies as a
   15794   # side effect of compilation, but ICC will put the dependencies in
   15795   # the current directory while Tru64 will put them in the object
   15796   # directory.
   15797   mkdir sub
   15798 
   15799   am_cv_CXX_dependencies_compiler_type=none
   15800   if test "$am_compiler_list" = ""; then
   15801      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   15802   fi
   15803   for depmode in $am_compiler_list; do
   15804     # Setup a source with many dependencies, because some compilers
   15805     # like to wrap large dependency lists on column 80 (with \), and
   15806     # we should not choose a depcomp mode which is confused by this.
   15807     #
   15808     # We need to recreate these files for each test, as the compiler may
   15809     # overwrite some of them when testing with obscure command lines.
   15810     # This happens at least with the AIX C compiler.
   15811     : > sub/conftest.c
   15812     for i in 1 2 3 4 5 6; do
   15813       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   15814       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   15815       # Solaris 8's {/usr,}/bin/sh.
   15816       touch sub/conftst$i.h
   15817     done
   15818     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   15819 
   15820     case $depmode in
   15821     nosideeffect)
   15822       # after this tag, mechanisms are not by side-effect, so they'll
   15823       # only be used when explicitly requested
   15824       if test "x$enable_dependency_tracking" = xyes; then
   15825 	continue
   15826       else
   15827 	break
   15828       fi
   15829       ;;
   15830     none) break ;;
   15831     esac
   15832     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   15833     # mode.  It turns out that the SunPro C++ compiler does not properly
   15834     # handle `-M -o', and we need to detect this.
   15835     if depmode=$depmode \
   15836        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   15837        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   15838        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   15839          >/dev/null 2>conftest.err &&
   15840        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   15841        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   15842        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   15843       # icc doesn't choke on unknown options, it will just issue warnings
   15844       # or remarks (even with -Werror).  So we grep stderr for any message
   15845       # that says an option was ignored or not supported.
   15846       # When given -MP, icc 7.0 and 7.1 complain thusly:
   15847       #   icc: Command line warning: ignoring option '-M'; no argument required
   15848       # The diagnosis changed in icc 8.0:
   15849       #   icc: Command line remark: option '-MP' not supported
   15850       if (grep 'ignoring option' conftest.err ||
   15851           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   15852         am_cv_CXX_dependencies_compiler_type=$depmode
   15853         break
   15854       fi
   15855     fi
   15856   done
   15857 
   15858   cd ..
   15859   rm -rf conftest.dir
   15860 else
   15861   am_cv_CXX_dependencies_compiler_type=none
   15862 fi
   15863 
   15864 fi
   15865 echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
   15866 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
   15867 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
   15868 
   15869 
   15870 
   15871 if
   15872   test "x$enable_dependency_tracking" != xno \
   15873   && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
   15874   am__fastdepCXX_TRUE=
   15875   am__fastdepCXX_FALSE='#'
   15876 else
   15877   am__fastdepCXX_TRUE='#'
   15878   am__fastdepCXX_FALSE=
   15879 fi
   15880 
   15881 
   15882 
   15883 
   15884  echo "$as_me:$LINENO: checking whether $CXX builds executables that work" >&5
   15885 echo $ECHO_N "checking whether $CXX builds executables that work... $ECHO_C" >&6
   15886 if test "${bison_cv_cxx_works+set}" = set; then
   15887   echo $ECHO_N "(cached) $ECHO_C" >&6
   15888 else
   15889   ac_ext=cc
   15890 ac_cpp='$CXXCPP $CPPFLAGS'
   15891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
   15894 
   15895     bison_cv_cxx_works=no
   15896     cat >conftest.$ac_ext <<_ACEOF
   15897 /* confdefs.h.  */
   15898 _ACEOF
   15899 cat confdefs.h >>conftest.$ac_ext
   15900 cat >>conftest.$ac_ext <<_ACEOF
   15901 /* end confdefs.h.  */
   15902 #include <cstdlib>
   15903 	  #include <iostream>
   15904 	  #include <map>
   15905 	  #include <string>
   15906 	  using namespace std;
   15907 int
   15908 main ()
   15909 {
   15910 std::cerr << "";
   15911           cout << "";
   15912 	  typedef std::pair<unsigned int, int> uipair;
   15913 	  std::map<unsigned int, int> m;
   15914 	  std::map<unsigned int, int>::iterator i;
   15915 	  m.insert (uipair (4, -4));
   15916 	  for (i = m.begin (); i != m.end (); ++i)
   15917 	    if (i->first != 4)
   15918 	      return 1;
   15919   ;
   15920   return 0;
   15921 }
   15922 _ACEOF
   15923 rm -f conftest.$ac_objext
   15924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   15925   (eval $ac_compile) 2>conftest.er1
   15926   ac_status=$?
   15927   grep -v '^ *+' conftest.er1 >conftest.err
   15928   rm -f conftest.er1
   15929   cat conftest.err >&5
   15930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15931   (exit $ac_status); } &&
   15932 	 { ac_try='test -z "$ac_cxx_werror_flag"			 || test ! -s conftest.err'
   15933   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15934   (eval $ac_try) 2>&5
   15935   ac_status=$?
   15936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15937   (exit $ac_status); }; } &&
   15938 	 { ac_try='test -s conftest.$ac_objext'
   15939   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15940   (eval $ac_try) 2>&5
   15941   ac_status=$?
   15942   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15943   (exit $ac_status); }; }; then
   15944   if { ac_try='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_objext $LIBS >&5'
   15945   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15946   (eval $ac_try) 2>&5
   15947   ac_status=$?
   15948   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15949   (exit $ac_status); }; }; then
   15950   if test "$cross_compiling" = yes; then
   15951   bison_cv_cxx_works=cross
   15952 else
   15953   if { ac_try='./conftest$ac_exeext'
   15954   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   15955   (eval $ac_try) 2>&5
   15956   ac_status=$?
   15957   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15958   (exit $ac_status); }; }; then
   15959   bison_cv_cxx_works=yes
   15960 fi
   15961 
   15962 fi
   15963 
   15964 fi
   15965 
   15966        rm -f conftest$ac_exeext
   15967 else
   15968   echo "$as_me: failed program was:" >&5
   15969 sed 's/^/| /' conftest.$ac_ext >&5
   15970 
   15971 fi
   15972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   15973     ac_ext=c
   15974 ac_cpp='$CPP $CPPFLAGS'
   15975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   15976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   15977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   15978 
   15979 fi
   15980 echo "$as_me:$LINENO: result: $bison_cv_cxx_works" >&5
   15981 echo "${ECHO_T}$bison_cv_cxx_works" >&6
   15982 
   15983  case $bison_cv_cxx_works in
   15984  yes)
   15985     BISON_CXX_WORKS=':';;
   15986  no | cross)
   15987     BISON_CXX_WORKS='exit 77';;
   15988  esac
   15989 
   15990 
   15991 
   15992 
   15993 if test $bison_cv_cxx_works = yes; then
   15994   BISON_CXX_WORKS_TRUE=
   15995   BISON_CXX_WORKS_FALSE='#'
   15996 else
   15997   BISON_CXX_WORKS_TRUE='#'
   15998   BISON_CXX_WORKS_FALSE=
   15999 fi
   16000 
   16001 
   16002 
   16003 AUTOM4TE=${AUTOM4TE-"${am_missing_run}autom4te"}
   16004 
   16005 # Needed by tests/atlocal.in.
   16006 
   16007 O0CFLAGS=`echo $CFLAGS | sed 's/-O[0-9] *//'`
   16008 
   16009 O0CXXFLAGS=`echo $CXXFLAGS | sed 's/-O[0-9] *//'`
   16010 
   16011 
   16012                                                                                           ac_config_files="$ac_config_files Makefile build-aux/Makefile po/Makefile.in data/Makefile examples/Makefile examples/calc++/Makefile lib/Makefile src/Makefile doc/Makefile"
   16013 
   16014 cat >confcache <<\_ACEOF
   16015 # This file is a shell script that caches the results of configure
   16016 # tests run on this system so they can be shared between configure
   16017 # scripts and configure runs, see configure's option --config-cache.
   16018 # It is not useful on other systems.  If it contains results you don't
   16019 # want to keep, you may remove or edit it.
   16020 #
   16021 # config.status only pays attention to the cache file if you give it
   16022 # the --recheck option to rerun configure.
   16023 #
   16024 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   16025 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   16026 # following values.
   16027 
   16028 _ACEOF
   16029 
   16030 # The following way of writing the cache mishandles newlines in values,
   16031 # but we know of no workaround that is simple, portable, and efficient.
   16032 # So, don't put newlines in cache variables' values.
   16033 # Ultrix sh set writes to stderr and can't be redirected directly,
   16034 # and sets the high bit in the cache file unless we assign to the vars.
   16035 {
   16036   (set) 2>&1 |
   16037     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   16038     *ac_space=\ *)
   16039       # `set' does not quote correctly, so add quotes (double-quote
   16040       # substitution turns \\\\ into \\, and sed turns \\ into \).
   16041       sed -n \
   16042 	"s/'/'\\\\''/g;
   16043 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   16044       ;;
   16045     *)
   16046       # `set' quotes correctly as required by POSIX, so do not add quotes.
   16047       sed -n \
   16048 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   16049       ;;
   16050     esac;
   16051 } |
   16052   sed '
   16053      t clear
   16054      : clear
   16055      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   16056      t end
   16057      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   16058      : end' >>confcache
   16059 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   16060   if test -w $cache_file; then
   16061     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   16062     cat confcache >$cache_file
   16063   else
   16064     echo "not updating unwritable cache $cache_file"
   16065   fi
   16066 fi
   16067 rm -f confcache
   16068 
   16069 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   16070 # Let make expand exec_prefix.
   16071 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   16072 
   16073 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   16074 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   16075 # trailing colons and then remove the whole line if VPATH becomes empty
   16076 # (actually we leave an empty line to preserve line numbers).
   16077 if test "x$srcdir" = x.; then
   16078   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   16079 s/:*\$(srcdir):*/:/;
   16080 s/:*\${srcdir}:*/:/;
   16081 s/:*@srcdir@:*/:/;
   16082 s/^\([^=]*=[	 ]*\):*/\1/;
   16083 s/:*$//;
   16084 s/^[^=]*=[	 ]*$//;
   16085 }'
   16086 fi
   16087 
   16088 DEFS=-DHAVE_CONFIG_H
   16089 
   16090 ac_libobjs=
   16091 ac_ltlibobjs=
   16092 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   16093   # 1. Remove the extension, and $U if already installed.
   16094   ac_i=`echo "$ac_i" |
   16095 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   16096   # 2. Add them.
   16097   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   16098   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   16099 done
   16100 LIBOBJS=$ac_libobjs
   16101 
   16102 LTLIBOBJS=$ac_ltlibobjs
   16103 
   16104 
   16105 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   16106   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   16107 Usually this means the macro was only invoked conditionally." >&5
   16108 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   16109 Usually this means the macro was only invoked conditionally." >&2;}
   16110    { (exit 1); exit 1; }; }
   16111 fi
   16112 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16113   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   16114 Usually this means the macro was only invoked conditionally." >&5
   16115 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   16116 Usually this means the macro was only invoked conditionally." >&2;}
   16117    { (exit 1); exit 1; }; }
   16118 fi
   16119 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16120   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   16121 Usually this means the macro was only invoked conditionally." >&5
   16122 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   16123 Usually this means the macro was only invoked conditionally." >&2;}
   16124    { (exit 1); exit 1; }; }
   16125 fi
   16126 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   16127   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   16128 Usually this means the macro was only invoked conditionally." >&5
   16129 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   16130 Usually this means the macro was only invoked conditionally." >&2;}
   16131    { (exit 1); exit 1; }; }
   16132 fi
   16133 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
   16134   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
   16135 Usually this means the macro was only invoked conditionally." >&5
   16136 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
   16137 Usually this means the macro was only invoked conditionally." >&2;}
   16138    { (exit 1); exit 1; }; }
   16139 fi
   16140 if test -z "${BISON_CXX_WORKS_TRUE}" && test -z "${BISON_CXX_WORKS_FALSE}"; then
   16141   { { echo "$as_me:$LINENO: error: conditional \"BISON_CXX_WORKS\" was never defined.
   16142 Usually this means the macro was only invoked conditionally." >&5
   16143 echo "$as_me: error: conditional \"BISON_CXX_WORKS\" was never defined.
   16144 Usually this means the macro was only invoked conditionally." >&2;}
   16145    { (exit 1); exit 1; }; }
   16146 fi
   16147 
   16148 : ${CONFIG_STATUS=./config.status}
   16149 ac_clean_files_save=$ac_clean_files
   16150 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   16151 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   16152 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   16153 cat >$CONFIG_STATUS <<_ACEOF
   16154 #! $SHELL
   16155 # Generated by $as_me.
   16156 # Run this file to recreate the current configuration.
   16157 # Compiler output produced by configure, useful for debugging
   16158 # configure, is in config.log if it exists.
   16159 
   16160 debug=false
   16161 ac_cs_recheck=false
   16162 ac_cs_silent=false
   16163 SHELL=\${CONFIG_SHELL-$SHELL}
   16164 _ACEOF
   16165 
   16166 cat >>$CONFIG_STATUS <<\_ACEOF
   16167 ## --------------------- ##
   16168 ## M4sh Initialization.  ##
   16169 ## --------------------- ##
   16170 
   16171 # Be Bourne compatible
   16172 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   16173   emulate sh
   16174   NULLCMD=:
   16175   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   16176   # is contrary to our usage.  Disable this feature.
   16177   alias -g '${1+"$@"}'='"$@"'
   16178 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   16179   set -o posix
   16180 fi
   16181 DUALCASE=1; export DUALCASE # for MKS sh
   16182 
   16183 # Support unset when possible.
   16184 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   16185   as_unset=unset
   16186 else
   16187   as_unset=false
   16188 fi
   16189 
   16190 
   16191 # Work around bugs in pre-3.0 UWIN ksh.
   16192 $as_unset ENV MAIL MAILPATH
   16193 PS1='$ '
   16194 PS2='> '
   16195 PS4='+ '
   16196 
   16197 # NLS nuisances.
   16198 for as_var in \
   16199   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   16200   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   16201   LC_TELEPHONE LC_TIME
   16202 do
   16203   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   16204     eval $as_var=C; export $as_var
   16205   else
   16206     $as_unset $as_var
   16207   fi
   16208 done
   16209 
   16210 # Required to use basename.
   16211 if expr a : '\(a\)' >/dev/null 2>&1; then
   16212   as_expr=expr
   16213 else
   16214   as_expr=false
   16215 fi
   16216 
   16217 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   16218   as_basename=basename
   16219 else
   16220   as_basename=false
   16221 fi
   16222 
   16223 
   16224 # Name of the executable.
   16225 as_me=`$as_basename "$0" ||
   16226 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   16227 	 X"$0" : 'X\(//\)$' \| \
   16228 	 X"$0" : 'X\(/\)$' \| \
   16229 	 .     : '\(.\)' 2>/dev/null ||
   16230 echo X/"$0" |
   16231     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   16232   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   16233   	  /^X\/\(\/\).*/{ s//\1/; q; }
   16234   	  s/.*/./; q'`
   16235 
   16236 
   16237 # PATH needs CR, and LINENO needs CR and PATH.
   16238 # Avoid depending upon Character Ranges.
   16239 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   16240 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   16241 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   16242 as_cr_digits='0123456789'
   16243 as_cr_alnum=$as_cr_Letters$as_cr_digits
   16244 
   16245 # The user is always right.
   16246 if test "${PATH_SEPARATOR+set}" != set; then
   16247   echo "#! /bin/sh" >conf$$.sh
   16248   echo  "exit 0"   >>conf$$.sh
   16249   chmod +x conf$$.sh
   16250   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   16251     PATH_SEPARATOR=';'
   16252   else
   16253     PATH_SEPARATOR=:
   16254   fi
   16255   rm -f conf$$.sh
   16256 fi
   16257 
   16258 
   16259   as_lineno_1=$LINENO
   16260   as_lineno_2=$LINENO
   16261   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   16262   test "x$as_lineno_1" != "x$as_lineno_2" &&
   16263   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   16264   # Find who we are.  Look in the path if we contain no path at all
   16265   # relative or not.
   16266   case $0 in
   16267     *[\\/]* ) as_myself=$0 ;;
   16268     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16269 for as_dir in $PATH
   16270 do
   16271   IFS=$as_save_IFS
   16272   test -z "$as_dir" && as_dir=.
   16273   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   16274 done
   16275 
   16276        ;;
   16277   esac
   16278   # We did not find ourselves, most probably we were run as `sh COMMAND'
   16279   # in which case we are not to be found in the path.
   16280   if test "x$as_myself" = x; then
   16281     as_myself=$0
   16282   fi
   16283   if test ! -f "$as_myself"; then
   16284     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   16285 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   16286    { (exit 1); exit 1; }; }
   16287   fi
   16288   case $CONFIG_SHELL in
   16289   '')
   16290     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   16291 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   16292 do
   16293   IFS=$as_save_IFS
   16294   test -z "$as_dir" && as_dir=.
   16295   for as_base in sh bash ksh sh5; do
   16296 	 case $as_dir in
   16297 	 /*)
   16298 	   if ("$as_dir/$as_base" -c '
   16299   as_lineno_1=$LINENO
   16300   as_lineno_2=$LINENO
   16301   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   16302   test "x$as_lineno_1" != "x$as_lineno_2" &&
   16303   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   16304 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   16305 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   16306 	     CONFIG_SHELL=$as_dir/$as_base
   16307 	     export CONFIG_SHELL
   16308 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   16309 	   fi;;
   16310 	 esac
   16311        done
   16312 done
   16313 ;;
   16314   esac
   16315 
   16316   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   16317   # uniformly replaced by the line number.  The first 'sed' inserts a
   16318   # line-number line before each line; the second 'sed' does the real
   16319   # work.  The second script uses 'N' to pair each line-number line
   16320   # with the numbered line, and appends trailing '-' during
   16321   # substitution so that $LINENO is not a special case at line end.
   16322   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   16323   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   16324   sed '=' <$as_myself |
   16325     sed '
   16326       N
   16327       s,$,-,
   16328       : loop
   16329       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   16330       t loop
   16331       s,-$,,
   16332       s,^['$as_cr_digits']*\n,,
   16333     ' >$as_me.lineno &&
   16334   chmod +x $as_me.lineno ||
   16335     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   16336 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   16337    { (exit 1); exit 1; }; }
   16338 
   16339   # Don't try to exec as it changes $[0], causing all sort of problems
   16340   # (the dirname of $[0] is not the place where we might find the
   16341   # original and so on.  Autoconf is especially sensible to this).
   16342   . ./$as_me.lineno
   16343   # Exit status is that of the last command.
   16344   exit
   16345 }
   16346 
   16347 
   16348 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   16349   *c*,-n*) ECHO_N= ECHO_C='
   16350 ' ECHO_T='	' ;;
   16351   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   16352   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   16353 esac
   16354 
   16355 if expr a : '\(a\)' >/dev/null 2>&1; then
   16356   as_expr=expr
   16357 else
   16358   as_expr=false
   16359 fi
   16360 
   16361 rm -f conf$$ conf$$.exe conf$$.file
   16362 echo >conf$$.file
   16363 if ln -s conf$$.file conf$$ 2>/dev/null; then
   16364   # We could just check for DJGPP; but this test a) works b) is more generic
   16365   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   16366   if test -f conf$$.exe; then
   16367     # Don't use ln at all; we don't have any links
   16368     as_ln_s='cp -p'
   16369   else
   16370     as_ln_s='ln -s'
   16371   fi
   16372 elif ln conf$$.file conf$$ 2>/dev/null; then
   16373   as_ln_s=ln
   16374 else
   16375   as_ln_s='cp -p'
   16376 fi
   16377 rm -f conf$$ conf$$.exe conf$$.file
   16378 
   16379 if mkdir -p . 2>/dev/null; then
   16380   as_mkdir_p=:
   16381 else
   16382   test -d ./-p && rmdir ./-p
   16383   as_mkdir_p=false
   16384 fi
   16385 
   16386 as_executable_p="test -f"
   16387 
   16388 # Sed expression to map a string onto a valid CPP name.
   16389 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   16390 
   16391 # Sed expression to map a string onto a valid variable name.
   16392 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   16393 
   16394 
   16395 # IFS
   16396 # We need space, tab and new line, in precisely that order.
   16397 as_nl='
   16398 '
   16399 IFS=" 	$as_nl"
   16400 
   16401 # CDPATH.
   16402 $as_unset CDPATH
   16403 
   16404 exec 6>&1
   16405 
   16406 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   16407 # report actual input values of CONFIG_FILES etc. instead of their
   16408 # values after options handling.  Logging --version etc. is OK.
   16409 exec 5>>config.log
   16410 {
   16411   echo
   16412   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   16413 ## Running $as_me. ##
   16414 _ASBOX
   16415 } >&5
   16416 cat >&5 <<_CSEOF
   16417 
   16418 This file was extended by GNU Bison $as_me 2.3, which was
   16419 generated by GNU Autoconf 2.59.  Invocation command line was
   16420 
   16421   CONFIG_FILES    = $CONFIG_FILES
   16422   CONFIG_HEADERS  = $CONFIG_HEADERS
   16423   CONFIG_LINKS    = $CONFIG_LINKS
   16424   CONFIG_COMMANDS = $CONFIG_COMMANDS
   16425   $ $0 $@
   16426 
   16427 _CSEOF
   16428 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   16429 echo >&5
   16430 _ACEOF
   16431 
   16432 # Files that config.status was made for.
   16433 if test -n "$ac_config_files"; then
   16434   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   16435 fi
   16436 
   16437 if test -n "$ac_config_headers"; then
   16438   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   16439 fi
   16440 
   16441 if test -n "$ac_config_links"; then
   16442   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   16443 fi
   16444 
   16445 if test -n "$ac_config_commands"; then
   16446   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   16447 fi
   16448 
   16449 cat >>$CONFIG_STATUS <<\_ACEOF
   16450 
   16451 ac_cs_usage="\
   16452 \`$as_me' instantiates files from templates according to the
   16453 current configuration.
   16454 
   16455 Usage: $0 [OPTIONS] [FILE]...
   16456 
   16457   -h, --help       print this help, then exit
   16458   -V, --version    print version number, then exit
   16459   -q, --quiet      do not print progress messages
   16460   -d, --debug      don't remove temporary files
   16461       --recheck    update $as_me by reconfiguring in the same conditions
   16462   --file=FILE[:TEMPLATE]
   16463 		   instantiate the configuration file FILE
   16464   --header=FILE[:TEMPLATE]
   16465 		   instantiate the configuration header FILE
   16466 
   16467 Configuration files:
   16468 $config_files
   16469 
   16470 Configuration headers:
   16471 $config_headers
   16472 
   16473 Configuration commands:
   16474 $config_commands
   16475 
   16476 Report bugs to <bug-autoconf@gnu.org>."
   16477 _ACEOF
   16478 
   16479 cat >>$CONFIG_STATUS <<_ACEOF
   16480 ac_cs_version="\\
   16481 GNU Bison config.status 2.3
   16482 configured by $0, generated by GNU Autoconf 2.59,
   16483   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   16484 
   16485 Copyright (C) 2003 Free Software Foundation, Inc.
   16486 This config.status script is free software; the Free Software Foundation
   16487 gives unlimited permission to copy, distribute and modify it."
   16488 srcdir=$srcdir
   16489 INSTALL="$INSTALL"
   16490 _ACEOF
   16491 
   16492 cat >>$CONFIG_STATUS <<\_ACEOF
   16493 # If no file are specified by the user, then we need to provide default
   16494 # value.  By we need to know if files were specified by the user.
   16495 ac_need_defaults=:
   16496 while test $# != 0
   16497 do
   16498   case $1 in
   16499   --*=*)
   16500     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   16501     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   16502     ac_shift=:
   16503     ;;
   16504   -*)
   16505     ac_option=$1
   16506     ac_optarg=$2
   16507     ac_shift=shift
   16508     ;;
   16509   *) # This is not an option, so the user has probably given explicit
   16510      # arguments.
   16511      ac_option=$1
   16512      ac_need_defaults=false;;
   16513   esac
   16514 
   16515   case $ac_option in
   16516   # Handling of the options.
   16517 _ACEOF
   16518 cat >>$CONFIG_STATUS <<\_ACEOF
   16519   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   16520     ac_cs_recheck=: ;;
   16521   --version | --vers* | -V )
   16522     echo "$ac_cs_version"; exit 0 ;;
   16523   --he | --h)
   16524     # Conflict between --help and --header
   16525     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   16526 Try \`$0 --help' for more information." >&5
   16527 echo "$as_me: error: ambiguous option: $1
   16528 Try \`$0 --help' for more information." >&2;}
   16529    { (exit 1); exit 1; }; };;
   16530   --help | --hel | -h )
   16531     echo "$ac_cs_usage"; exit 0 ;;
   16532   --debug | --d* | -d )
   16533     debug=: ;;
   16534   --file | --fil | --fi | --f )
   16535     $ac_shift
   16536     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   16537     ac_need_defaults=false;;
   16538   --header | --heade | --head | --hea )
   16539     $ac_shift
   16540     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   16541     ac_need_defaults=false;;
   16542   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   16543   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   16544     ac_cs_silent=: ;;
   16545 
   16546   # This is an error.
   16547   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   16548 Try \`$0 --help' for more information." >&5
   16549 echo "$as_me: error: unrecognized option: $1
   16550 Try \`$0 --help' for more information." >&2;}
   16551    { (exit 1); exit 1; }; } ;;
   16552 
   16553   *) ac_config_targets="$ac_config_targets $1" ;;
   16554 
   16555   esac
   16556   shift
   16557 done
   16558 
   16559 ac_configure_extra_args=
   16560 
   16561 if $ac_cs_silent; then
   16562   exec 6>/dev/null
   16563   ac_configure_extra_args="$ac_configure_extra_args --silent"
   16564 fi
   16565 
   16566 _ACEOF
   16567 cat >>$CONFIG_STATUS <<_ACEOF
   16568 if \$ac_cs_recheck; then
   16569   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   16570   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   16571 fi
   16572 
   16573 _ACEOF
   16574 
   16575 cat >>$CONFIG_STATUS <<_ACEOF
   16576 #
   16577 # INIT-COMMANDS section.
   16578 #
   16579 
   16580 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   16581 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   16582     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   16583     # from automake.
   16584     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   16585     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   16586     LINGUAS="${LINGUAS-%UNSET%}"
   16587 
   16588 
   16589 _ACEOF
   16590 
   16591 
   16592 
   16593 cat >>$CONFIG_STATUS <<\_ACEOF
   16594 for ac_config_target in $ac_config_targets
   16595 do
   16596   case "$ac_config_target" in
   16597   # Handling of arguments.
   16598   "runtime-po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES runtime-po/Makefile.in" ;;
   16599   "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
   16600   "tests/atlocal" ) CONFIG_FILES="$CONFIG_FILES tests/atlocal" ;;
   16601   "tests/bison" ) CONFIG_FILES="$CONFIG_FILES tests/bison" ;;
   16602   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   16603   "build-aux/Makefile" ) CONFIG_FILES="$CONFIG_FILES build-aux/Makefile" ;;
   16604   "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   16605   "data/Makefile" ) CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
   16606   "examples/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;;
   16607   "examples/calc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES examples/calc++/Makefile" ;;
   16608   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   16609   "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   16610   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   16611   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   16612   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   16613   "tests/atconfig" ) CONFIG_COMMANDS="$CONFIG_COMMANDS tests/atconfig" ;;
   16614   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.hin" ;;
   16615   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   16616 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   16617    { (exit 1); exit 1; }; };;
   16618   esac
   16619 done
   16620 
   16621 # If the user did not use the arguments to specify the items to instantiate,
   16622 # then the envvar interface is used.  Set only those that are not.
   16623 # We use the long form for the default assignment because of an extremely
   16624 # bizarre bug on SunOS 4.1.3.
   16625 if $ac_need_defaults; then
   16626   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   16627   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   16628   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   16629 fi
   16630 
   16631 # Have a temporary directory for convenience.  Make it in the build tree
   16632 # simply because there is no reason to put it here, and in addition,
   16633 # creating and moving files from /tmp can sometimes cause problems.
   16634 # Create a temporary directory, and hook for its removal unless debugging.
   16635 $debug ||
   16636 {
   16637   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   16638   trap '{ (exit 1); exit 1; }' 1 2 13 15
   16639 }
   16640 
   16641 # Create a (secure) tmp directory for tmp files.
   16642 
   16643 {
   16644   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   16645   test -n "$tmp" && test -d "$tmp"
   16646 }  ||
   16647 {
   16648   tmp=./confstat$$-$RANDOM
   16649   (umask 077 && mkdir $tmp)
   16650 } ||
   16651 {
   16652    echo "$me: cannot create a temporary directory in ." >&2
   16653    { (exit 1); exit 1; }
   16654 }
   16655 
   16656 _ACEOF
   16657 
   16658 cat >>$CONFIG_STATUS <<_ACEOF
   16659 
   16660 #
   16661 # CONFIG_FILES section.
   16662 #
   16663 
   16664 # No need to generate the scripts if there are no CONFIG_FILES.
   16665 # This happens for instance when ./config.status config.h
   16666 if test -n "\$CONFIG_FILES"; then
   16667   # Protect against being on the right side of a sed subst in config.status.
   16668   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   16669    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   16670 s,@SHELL@,$SHELL,;t t
   16671 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   16672 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   16673 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   16674 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   16675 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   16676 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   16677 s,@exec_prefix@,$exec_prefix,;t t
   16678 s,@prefix@,$prefix,;t t
   16679 s,@program_transform_name@,$program_transform_name,;t t
   16680 s,@bindir@,$bindir,;t t
   16681 s,@sbindir@,$sbindir,;t t
   16682 s,@libexecdir@,$libexecdir,;t t
   16683 s,@datadir@,$datadir,;t t
   16684 s,@sysconfdir@,$sysconfdir,;t t
   16685 s,@sharedstatedir@,$sharedstatedir,;t t
   16686 s,@localstatedir@,$localstatedir,;t t
   16687 s,@libdir@,$libdir,;t t
   16688 s,@includedir@,$includedir,;t t
   16689 s,@oldincludedir@,$oldincludedir,;t t
   16690 s,@infodir@,$infodir,;t t
   16691 s,@mandir@,$mandir,;t t
   16692 s,@build_alias@,$build_alias,;t t
   16693 s,@host_alias@,$host_alias,;t t
   16694 s,@target_alias@,$target_alias,;t t
   16695 s,@DEFS@,$DEFS,;t t
   16696 s,@ECHO_C@,$ECHO_C,;t t
   16697 s,@ECHO_N@,$ECHO_N,;t t
   16698 s,@ECHO_T@,$ECHO_T,;t t
   16699 s,@LIBS@,$LIBS,;t t
   16700 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   16701 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   16702 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   16703 s,@CYGPATH_W@,$CYGPATH_W,;t t
   16704 s,@PACKAGE@,$PACKAGE,;t t
   16705 s,@VERSION@,$VERSION,;t t
   16706 s,@ACLOCAL@,$ACLOCAL,;t t
   16707 s,@AUTOCONF@,$AUTOCONF,;t t
   16708 s,@AUTOMAKE@,$AUTOMAKE,;t t
   16709 s,@AUTOHEADER@,$AUTOHEADER,;t t
   16710 s,@MAKEINFO@,$MAKEINFO,;t t
   16711 s,@install_sh@,$install_sh,;t t
   16712 s,@STRIP@,$STRIP,;t t
   16713 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   16714 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
   16715 s,@mkdir_p@,$mkdir_p,;t t
   16716 s,@AWK@,$AWK,;t t
   16717 s,@SET_MAKE@,$SET_MAKE,;t t
   16718 s,@am__leading_dot@,$am__leading_dot,;t t
   16719 s,@AMTAR@,$AMTAR,;t t
   16720 s,@am__tar@,$am__tar,;t t
   16721 s,@am__untar@,$am__untar,;t t
   16722 s,@CC@,$CC,;t t
   16723 s,@CFLAGS@,$CFLAGS,;t t
   16724 s,@LDFLAGS@,$LDFLAGS,;t t
   16725 s,@CPPFLAGS@,$CPPFLAGS,;t t
   16726 s,@ac_ct_CC@,$ac_ct_CC,;t t
   16727 s,@EXEEXT@,$EXEEXT,;t t
   16728 s,@OBJEXT@,$OBJEXT,;t t
   16729 s,@DEPDIR@,$DEPDIR,;t t
   16730 s,@am__include@,$am__include,;t t
   16731 s,@am__quote@,$am__quote,;t t
   16732 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
   16733 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
   16734 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
   16735 s,@CCDEPMODE@,$CCDEPMODE,;t t
   16736 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
   16737 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
   16738 s,@CPP@,$CPP,;t t
   16739 s,@EGREP@,$EGREP,;t t
   16740 s,@WARNING_CFLAGS@,$WARNING_CFLAGS,;t t
   16741 s,@WERROR_CFLAGS@,$WERROR_CFLAGS,;t t
   16742 s,@WARNING_CXXFLAGS@,$WARNING_CXXFLAGS,;t t
   16743 s,@YACC_SCRIPT@,$YACC_SCRIPT,;t t
   16744 s,@YACC_LIBRARY@,$YACC_LIBRARY,;t t
   16745 s,@LEX@,$LEX,;t t
   16746 s,@LEXLIB@,$LEXLIB,;t t
   16747 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
   16748 s,@YACC@,$YACC,;t t
   16749 s,@RANLIB@,$RANLIB,;t t
   16750 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   16751 s,@M4@,$M4,;t t
   16752 s,@STDBOOL_H@,$STDBOOL_H,;t t
   16753 s,@HAVE__BOOL@,$HAVE__BOOL,;t t
   16754 s,@LIBOBJS@,$LIBOBJS,;t t
   16755 s,@GETOPT_H@,$GETOPT_H,;t t
   16756 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
   16757 s,@USE_NLS@,$USE_NLS,;t t
   16758 s,@MSGFMT@,$MSGFMT,;t t
   16759 s,@GMSGFMT@,$GMSGFMT,;t t
   16760 s,@XGETTEXT@,$XGETTEXT,;t t
   16761 s,@MSGMERGE@,$MSGMERGE,;t t
   16762 s,@build@,$build,;t t
   16763 s,@build_cpu@,$build_cpu,;t t
   16764 s,@build_vendor@,$build_vendor,;t t
   16765 s,@build_os@,$build_os,;t t
   16766 s,@host@,$host,;t t
   16767 s,@host_cpu@,$host_cpu,;t t
   16768 s,@host_vendor@,$host_vendor,;t t
   16769 s,@host_os@,$host_os,;t t
   16770 s,@INTL_MACOSX_LIBS@,$INTL_MACOSX_LIBS,;t t
   16771 s,@LIBICONV@,$LIBICONV,;t t
   16772 s,@LTLIBICONV@,$LTLIBICONV,;t t
   16773 s,@INTLLIBS@,$INTLLIBS,;t t
   16774 s,@LIBINTL@,$LIBINTL,;t t
   16775 s,@LTLIBINTL@,$LTLIBINTL,;t t
   16776 s,@POSUB@,$POSUB,;t t
   16777 s,@UNISTD_H@,$UNISTD_H,;t t
   16778 s,@BISON_LOCALEDIR@,$BISON_LOCALEDIR,;t t
   16779 s,@aclocaldir@,$aclocaldir,;t t
   16780 s,@VALGRIND@,$VALGRIND,;t t
   16781 s,@CXX@,$CXX,;t t
   16782 s,@CXXFLAGS@,$CXXFLAGS,;t t
   16783 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
   16784 s,@CXXDEPMODE@,$CXXDEPMODE,;t t
   16785 s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
   16786 s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
   16787 s,@BISON_CXX_WORKS@,$BISON_CXX_WORKS,;t t
   16788 s,@BISON_CXX_WORKS_TRUE@,$BISON_CXX_WORKS_TRUE,;t t
   16789 s,@BISON_CXX_WORKS_FALSE@,$BISON_CXX_WORKS_FALSE,;t t
   16790 s,@AUTOM4TE@,$AUTOM4TE,;t t
   16791 s,@GCC@,$GCC,;t t
   16792 s,@O0CFLAGS@,$O0CFLAGS,;t t
   16793 s,@O0CXXFLAGS@,$O0CXXFLAGS,;t t
   16794 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   16795 CEOF
   16796 
   16797 _ACEOF
   16798 
   16799   cat >>$CONFIG_STATUS <<\_ACEOF
   16800   # Split the substitutions into bite-sized pieces for seds with
   16801   # small command number limits, like on Digital OSF/1 and HP-UX.
   16802   ac_max_sed_lines=48
   16803   ac_sed_frag=1 # Number of current file.
   16804   ac_beg=1 # First line for current file.
   16805   ac_end=$ac_max_sed_lines # Line after last line for current file.
   16806   ac_more_lines=:
   16807   ac_sed_cmds=
   16808   while $ac_more_lines; do
   16809     if test $ac_beg -gt 1; then
   16810       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   16811     else
   16812       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   16813     fi
   16814     if test ! -s $tmp/subs.frag; then
   16815       ac_more_lines=false
   16816     else
   16817       # The purpose of the label and of the branching condition is to
   16818       # speed up the sed processing (if there are no `@' at all, there
   16819       # is no need to browse any of the substitutions).
   16820       # These are the two extra sed commands mentioned above.
   16821       (echo ':t
   16822   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   16823       if test -z "$ac_sed_cmds"; then
   16824 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   16825       else
   16826 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   16827       fi
   16828       ac_sed_frag=`expr $ac_sed_frag + 1`
   16829       ac_beg=$ac_end
   16830       ac_end=`expr $ac_end + $ac_max_sed_lines`
   16831     fi
   16832   done
   16833   if test -z "$ac_sed_cmds"; then
   16834     ac_sed_cmds=cat
   16835   fi
   16836 fi # test -n "$CONFIG_FILES"
   16837 
   16838 _ACEOF
   16839 cat >>$CONFIG_STATUS <<\_ACEOF
   16840 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   16841   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   16842   case $ac_file in
   16843   - | *:- | *:-:* ) # input from stdin
   16844 	cat >$tmp/stdin
   16845 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   16846 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   16847   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   16848 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   16849   * )   ac_file_in=$ac_file.in ;;
   16850   esac
   16851 
   16852   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   16853   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   16854 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16855 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   16856 	 X"$ac_file" : 'X\(//\)$' \| \
   16857 	 X"$ac_file" : 'X\(/\)' \| \
   16858 	 .     : '\(.\)' 2>/dev/null ||
   16859 echo X"$ac_file" |
   16860     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   16861   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   16862   	  /^X\(\/\/\)$/{ s//\1/; q; }
   16863   	  /^X\(\/\).*/{ s//\1/; q; }
   16864   	  s/.*/./; q'`
   16865   { if $as_mkdir_p; then
   16866     mkdir -p "$ac_dir"
   16867   else
   16868     as_dir="$ac_dir"
   16869     as_dirs=
   16870     while test ! -d "$as_dir"; do
   16871       as_dirs="$as_dir $as_dirs"
   16872       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   16873 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   16874 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   16875 	 X"$as_dir" : 'X\(//\)$' \| \
   16876 	 X"$as_dir" : 'X\(/\)' \| \
   16877 	 .     : '\(.\)' 2>/dev/null ||
   16878 echo X"$as_dir" |
   16879     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   16880   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   16881   	  /^X\(\/\/\)$/{ s//\1/; q; }
   16882   	  /^X\(\/\).*/{ s//\1/; q; }
   16883   	  s/.*/./; q'`
   16884     done
   16885     test ! -n "$as_dirs" || mkdir $as_dirs
   16886   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   16887 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   16888    { (exit 1); exit 1; }; }; }
   16889 
   16890   ac_builddir=.
   16891 
   16892 if test "$ac_dir" != .; then
   16893   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   16894   # A "../" for each directory in $ac_dir_suffix.
   16895   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   16896 else
   16897   ac_dir_suffix= ac_top_builddir=
   16898 fi
   16899 
   16900 case $srcdir in
   16901   .)  # No --srcdir option.  We are building in place.
   16902     ac_srcdir=.
   16903     if test -z "$ac_top_builddir"; then
   16904        ac_top_srcdir=.
   16905     else
   16906        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   16907     fi ;;
   16908   [\\/]* | ?:[\\/]* )  # Absolute path.
   16909     ac_srcdir=$srcdir$ac_dir_suffix;
   16910     ac_top_srcdir=$srcdir ;;
   16911   *) # Relative path.
   16912     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   16913     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   16914 esac
   16915 
   16916 # Do not use `cd foo && pwd` to compute absolute paths, because
   16917 # the directories may not exist.
   16918 case `pwd` in
   16919 .) ac_abs_builddir="$ac_dir";;
   16920 *)
   16921   case "$ac_dir" in
   16922   .) ac_abs_builddir=`pwd`;;
   16923   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   16924   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   16925   esac;;
   16926 esac
   16927 case $ac_abs_builddir in
   16928 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   16929 *)
   16930   case ${ac_top_builddir}. in
   16931   .) ac_abs_top_builddir=$ac_abs_builddir;;
   16932   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   16933   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   16934   esac;;
   16935 esac
   16936 case $ac_abs_builddir in
   16937 .) ac_abs_srcdir=$ac_srcdir;;
   16938 *)
   16939   case $ac_srcdir in
   16940   .) ac_abs_srcdir=$ac_abs_builddir;;
   16941   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   16942   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   16943   esac;;
   16944 esac
   16945 case $ac_abs_builddir in
   16946 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   16947 *)
   16948   case $ac_top_srcdir in
   16949   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   16950   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   16951   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   16952   esac;;
   16953 esac
   16954 
   16955 
   16956   case $INSTALL in
   16957   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   16958   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   16959   esac
   16960 
   16961   # Let's still pretend it is `configure' which instantiates (i.e., don't
   16962   # use $as_me), people would be surprised to read:
   16963   #    /* config.h.  Generated by config.status.  */
   16964   if test x"$ac_file" = x-; then
   16965     configure_input=
   16966   else
   16967     configure_input="$ac_file.  "
   16968   fi
   16969   configure_input=$configure_input"Generated from `echo $ac_file_in |
   16970 				     sed 's,.*/,,'` by configure."
   16971 
   16972   # First look for the input files in the build tree, otherwise in the
   16973   # src tree.
   16974   ac_file_inputs=`IFS=:
   16975     for f in $ac_file_in; do
   16976       case $f in
   16977       -) echo $tmp/stdin ;;
   16978       [\\/$]*)
   16979 	 # Absolute (can't be DOS-style, as IFS=:)
   16980 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   16981 echo "$as_me: error: cannot find input file: $f" >&2;}
   16982    { (exit 1); exit 1; }; }
   16983 	 echo "$f";;
   16984       *) # Relative
   16985 	 if test -f "$f"; then
   16986 	   # Build tree
   16987 	   echo "$f"
   16988 	 elif test -f "$srcdir/$f"; then
   16989 	   # Source tree
   16990 	   echo "$srcdir/$f"
   16991 	 else
   16992 	   # /dev/null tree
   16993 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   16994 echo "$as_me: error: cannot find input file: $f" >&2;}
   16995    { (exit 1); exit 1; }; }
   16996 	 fi;;
   16997       esac
   16998     done` || { (exit 1); exit 1; }
   16999 
   17000   if test x"$ac_file" != x-; then
   17001     { echo "$as_me:$LINENO: creating $ac_file" >&5
   17002 echo "$as_me: creating $ac_file" >&6;}
   17003     rm -f "$ac_file"
   17004   fi
   17005 _ACEOF
   17006 cat >>$CONFIG_STATUS <<_ACEOF
   17007   sed "$ac_vpsub
   17008 $extrasub
   17009 _ACEOF
   17010 cat >>$CONFIG_STATUS <<\_ACEOF
   17011 :t
   17012 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   17013 s,@configure_input@,$configure_input,;t t
   17014 s,@srcdir@,$ac_srcdir,;t t
   17015 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   17016 s,@top_srcdir@,$ac_top_srcdir,;t t
   17017 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   17018 s,@builddir@,$ac_builddir,;t t
   17019 s,@abs_builddir@,$ac_abs_builddir,;t t
   17020 s,@top_builddir@,$ac_top_builddir,;t t
   17021 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   17022 s,@INSTALL@,$ac_INSTALL,;t t
   17023 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   17024   rm -f $tmp/stdin
   17025   if test x"$ac_file" != x-; then
   17026     mv $tmp/out $ac_file
   17027   else
   17028     cat $tmp/out
   17029     rm -f $tmp/out
   17030   fi
   17031 
   17032   # Run the commands associated with the file.
   17033   case $ac_file in
   17034     tests/bison ) chmod +x tests/bison ;;
   17035   esac
   17036 done
   17037 _ACEOF
   17038 cat >>$CONFIG_STATUS <<\_ACEOF
   17039 
   17040 #
   17041 # CONFIG_HEADER section.
   17042 #
   17043 
   17044 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   17045 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   17046 #
   17047 # ac_d sets the value in "#define NAME VALUE" lines.
   17048 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   17049 ac_dB='[	 ].*$,\1#\2'
   17050 ac_dC=' '
   17051 ac_dD=',;t'
   17052 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   17053 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   17054 ac_uB='$,\1#\2define\3'
   17055 ac_uC=' '
   17056 ac_uD=',;t'
   17057 
   17058 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   17059   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   17060   case $ac_file in
   17061   - | *:- | *:-:* ) # input from stdin
   17062 	cat >$tmp/stdin
   17063 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   17064 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   17065   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   17066 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   17067   * )   ac_file_in=$ac_file.in ;;
   17068   esac
   17069 
   17070   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   17071 echo "$as_me: creating $ac_file" >&6;}
   17072 
   17073   # First look for the input files in the build tree, otherwise in the
   17074   # src tree.
   17075   ac_file_inputs=`IFS=:
   17076     for f in $ac_file_in; do
   17077       case $f in
   17078       -) echo $tmp/stdin ;;
   17079       [\\/$]*)
   17080 	 # Absolute (can't be DOS-style, as IFS=:)
   17081 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   17082 echo "$as_me: error: cannot find input file: $f" >&2;}
   17083    { (exit 1); exit 1; }; }
   17084 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   17085 	 echo "$f";;
   17086       *) # Relative
   17087 	 if test -f "$f"; then
   17088 	   # Build tree
   17089 	   echo "$f"
   17090 	 elif test -f "$srcdir/$f"; then
   17091 	   # Source tree
   17092 	   echo "$srcdir/$f"
   17093 	 else
   17094 	   # /dev/null tree
   17095 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   17096 echo "$as_me: error: cannot find input file: $f" >&2;}
   17097    { (exit 1); exit 1; }; }
   17098 	 fi;;
   17099       esac
   17100     done` || { (exit 1); exit 1; }
   17101   # Remove the trailing spaces.
   17102   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   17103 
   17104 _ACEOF
   17105 
   17106 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   17107 # `conftest.undefs', that substitutes the proper values into
   17108 # config.h.in to produce config.h.  The first handles `#define'
   17109 # templates, and the second `#undef' templates.
   17110 # And first: Protect against being on the right side of a sed subst in
   17111 # config.status.  Protect against being in an unquoted here document
   17112 # in config.status.
   17113 rm -f conftest.defines conftest.undefs
   17114 # Using a here document instead of a string reduces the quoting nightmare.
   17115 # Putting comments in sed scripts is not portable.
   17116 #
   17117 # `end' is used to avoid that the second main sed command (meant for
   17118 # 0-ary CPP macros) applies to n-ary macro definitions.
   17119 # See the Autoconf documentation for `clear'.
   17120 cat >confdef2sed.sed <<\_ACEOF
   17121 s/[\\&,]/\\&/g
   17122 s,[\\$`],\\&,g
   17123 t clear
   17124 : clear
   17125 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   17126 t end
   17127 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   17128 : end
   17129 _ACEOF
   17130 # If some macros were called several times there might be several times
   17131 # the same #defines, which is useless.  Nevertheless, we may not want to
   17132 # sort them, since we want the *last* AC-DEFINE to be honored.
   17133 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   17134 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   17135 rm -f confdef2sed.sed
   17136 
   17137 # This sed command replaces #undef with comments.  This is necessary, for
   17138 # example, in the case of _POSIX_SOURCE, which is predefined and required
   17139 # on some systems where configure will not decide to define it.
   17140 cat >>conftest.undefs <<\_ACEOF
   17141 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   17142 _ACEOF
   17143 
   17144 # Break up conftest.defines because some shells have a limit on the size
   17145 # of here documents, and old seds have small limits too (100 cmds).
   17146 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   17147 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   17148 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   17149 echo '  :' >>$CONFIG_STATUS
   17150 rm -f conftest.tail
   17151 while grep . conftest.defines >/dev/null
   17152 do
   17153   # Write a limited-size here document to $tmp/defines.sed.
   17154   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   17155   # Speed up: don't consider the non `#define' lines.
   17156   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   17157   # Work around the forget-to-reset-the-flag bug.
   17158   echo 't clr' >>$CONFIG_STATUS
   17159   echo ': clr' >>$CONFIG_STATUS
   17160   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   17161   echo 'CEOF
   17162   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   17163   rm -f $tmp/in
   17164   mv $tmp/out $tmp/in
   17165 ' >>$CONFIG_STATUS
   17166   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   17167   rm -f conftest.defines
   17168   mv conftest.tail conftest.defines
   17169 done
   17170 rm -f conftest.defines
   17171 echo '  fi # grep' >>$CONFIG_STATUS
   17172 echo >>$CONFIG_STATUS
   17173 
   17174 # Break up conftest.undefs because some shells have a limit on the size
   17175 # of here documents, and old seds have small limits too (100 cmds).
   17176 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   17177 rm -f conftest.tail
   17178 while grep . conftest.undefs >/dev/null
   17179 do
   17180   # Write a limited-size here document to $tmp/undefs.sed.
   17181   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   17182   # Speed up: don't consider the non `#undef'
   17183   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   17184   # Work around the forget-to-reset-the-flag bug.
   17185   echo 't clr' >>$CONFIG_STATUS
   17186   echo ': clr' >>$CONFIG_STATUS
   17187   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   17188   echo 'CEOF
   17189   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   17190   rm -f $tmp/in
   17191   mv $tmp/out $tmp/in
   17192 ' >>$CONFIG_STATUS
   17193   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   17194   rm -f conftest.undefs
   17195   mv conftest.tail conftest.undefs
   17196 done
   17197 rm -f conftest.undefs
   17198 
   17199 cat >>$CONFIG_STATUS <<\_ACEOF
   17200   # Let's still pretend it is `configure' which instantiates (i.e., don't
   17201   # use $as_me), people would be surprised to read:
   17202   #    /* config.h.  Generated by config.status.  */
   17203   if test x"$ac_file" = x-; then
   17204     echo "/* Generated by configure.  */" >$tmp/config.h
   17205   else
   17206     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   17207   fi
   17208   cat $tmp/in >>$tmp/config.h
   17209   rm -f $tmp/in
   17210   if test x"$ac_file" != x-; then
   17211     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   17212       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   17213 echo "$as_me: $ac_file is unchanged" >&6;}
   17214     else
   17215       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   17216 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17217 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   17218 	 X"$ac_file" : 'X\(//\)$' \| \
   17219 	 X"$ac_file" : 'X\(/\)' \| \
   17220 	 .     : '\(.\)' 2>/dev/null ||
   17221 echo X"$ac_file" |
   17222     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   17223   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   17224   	  /^X\(\/\/\)$/{ s//\1/; q; }
   17225   	  /^X\(\/\).*/{ s//\1/; q; }
   17226   	  s/.*/./; q'`
   17227       { if $as_mkdir_p; then
   17228     mkdir -p "$ac_dir"
   17229   else
   17230     as_dir="$ac_dir"
   17231     as_dirs=
   17232     while test ! -d "$as_dir"; do
   17233       as_dirs="$as_dir $as_dirs"
   17234       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   17235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17236 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17237 	 X"$as_dir" : 'X\(//\)$' \| \
   17238 	 X"$as_dir" : 'X\(/\)' \| \
   17239 	 .     : '\(.\)' 2>/dev/null ||
   17240 echo X"$as_dir" |
   17241     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   17242   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   17243   	  /^X\(\/\/\)$/{ s//\1/; q; }
   17244   	  /^X\(\/\).*/{ s//\1/; q; }
   17245   	  s/.*/./; q'`
   17246     done
   17247     test ! -n "$as_dirs" || mkdir $as_dirs
   17248   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   17249 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   17250    { (exit 1); exit 1; }; }; }
   17251 
   17252       rm -f $ac_file
   17253       mv $tmp/config.h $ac_file
   17254     fi
   17255   else
   17256     cat $tmp/config.h
   17257     rm -f $tmp/config.h
   17258   fi
   17259 # Compute $ac_file's index in $config_headers.
   17260 _am_stamp_count=1
   17261 for _am_header in $config_headers :; do
   17262   case $_am_header in
   17263     $ac_file | $ac_file:* )
   17264       break ;;
   17265     * )
   17266       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   17267   esac
   17268 done
   17269 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
   17270 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17271 	 X$ac_file : 'X\(//\)[^/]' \| \
   17272 	 X$ac_file : 'X\(//\)$' \| \
   17273 	 X$ac_file : 'X\(/\)' \| \
   17274 	 .     : '\(.\)' 2>/dev/null ||
   17275 echo X$ac_file |
   17276     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   17277   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   17278   	  /^X\(\/\/\)$/{ s//\1/; q; }
   17279   	  /^X\(\/\).*/{ s//\1/; q; }
   17280   	  s/.*/./; q'`/stamp-h$_am_stamp_count
   17281 done
   17282 _ACEOF
   17283 cat >>$CONFIG_STATUS <<\_ACEOF
   17284 
   17285 #
   17286 # CONFIG_COMMANDS section.
   17287 #
   17288 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   17289   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   17290   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   17291   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
   17292 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17293 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
   17294 	 X"$ac_dest" : 'X\(//\)$' \| \
   17295 	 X"$ac_dest" : 'X\(/\)' \| \
   17296 	 .     : '\(.\)' 2>/dev/null ||
   17297 echo X"$ac_dest" |
   17298     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   17299   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   17300   	  /^X\(\/\/\)$/{ s//\1/; q; }
   17301   	  /^X\(\/\).*/{ s//\1/; q; }
   17302   	  s/.*/./; q'`
   17303   { if $as_mkdir_p; then
   17304     mkdir -p "$ac_dir"
   17305   else
   17306     as_dir="$ac_dir"
   17307     as_dirs=
   17308     while test ! -d "$as_dir"; do
   17309       as_dirs="$as_dir $as_dirs"
   17310       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   17311 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17312 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17313 	 X"$as_dir" : 'X\(//\)$' \| \
   17314 	 X"$as_dir" : 'X\(/\)' \| \
   17315 	 .     : '\(.\)' 2>/dev/null ||
   17316 echo X"$as_dir" |
   17317     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   17318   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   17319   	  /^X\(\/\/\)$/{ s//\1/; q; }
   17320   	  /^X\(\/\).*/{ s//\1/; q; }
   17321   	  s/.*/./; q'`
   17322     done
   17323     test ! -n "$as_dirs" || mkdir $as_dirs
   17324   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   17325 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   17326    { (exit 1); exit 1; }; }; }
   17327 
   17328   ac_builddir=.
   17329 
   17330 if test "$ac_dir" != .; then
   17331   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   17332   # A "../" for each directory in $ac_dir_suffix.
   17333   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   17334 else
   17335   ac_dir_suffix= ac_top_builddir=
   17336 fi
   17337 
   17338 case $srcdir in
   17339   .)  # No --srcdir option.  We are building in place.
   17340     ac_srcdir=.
   17341     if test -z "$ac_top_builddir"; then
   17342        ac_top_srcdir=.
   17343     else
   17344        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   17345     fi ;;
   17346   [\\/]* | ?:[\\/]* )  # Absolute path.
   17347     ac_srcdir=$srcdir$ac_dir_suffix;
   17348     ac_top_srcdir=$srcdir ;;
   17349   *) # Relative path.
   17350     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   17351     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   17352 esac
   17353 
   17354 # Do not use `cd foo && pwd` to compute absolute paths, because
   17355 # the directories may not exist.
   17356 case `pwd` in
   17357 .) ac_abs_builddir="$ac_dir";;
   17358 *)
   17359   case "$ac_dir" in
   17360   .) ac_abs_builddir=`pwd`;;
   17361   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   17362   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   17363   esac;;
   17364 esac
   17365 case $ac_abs_builddir in
   17366 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   17367 *)
   17368   case ${ac_top_builddir}. in
   17369   .) ac_abs_top_builddir=$ac_abs_builddir;;
   17370   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   17371   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   17372   esac;;
   17373 esac
   17374 case $ac_abs_builddir in
   17375 .) ac_abs_srcdir=$ac_srcdir;;
   17376 *)
   17377   case $ac_srcdir in
   17378   .) ac_abs_srcdir=$ac_abs_builddir;;
   17379   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   17380   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   17381   esac;;
   17382 esac
   17383 case $ac_abs_builddir in
   17384 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   17385 *)
   17386   case $ac_top_srcdir in
   17387   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   17388   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   17389   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   17390   esac;;
   17391 esac
   17392 
   17393 
   17394   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
   17395 echo "$as_me: executing $ac_dest commands" >&6;}
   17396   case $ac_dest in
   17397     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   17398   # Strip MF so we end up with the name of the file.
   17399   mf=`echo "$mf" | sed -e 's/:.*$//'`
   17400   # Check whether this is an Automake generated Makefile or not.
   17401   # We used to match only the files named `Makefile.in', but
   17402   # some people rename them; so instead we look at the file content.
   17403   # Grep'ing the first line is not enough: some people post-process
   17404   # each Makefile.in and add a new line on top of each file to say so.
   17405   # So let's grep whole file.
   17406   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   17407     dirpart=`(dirname "$mf") 2>/dev/null ||
   17408 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17409 	 X"$mf" : 'X\(//\)[^/]' \| \
   17410 	 X"$mf" : 'X\(//\)$' \| \
   17411 	 X"$mf" : 'X\(/\)' \| \
   17412 	 .     : '\(.\)' 2>/dev/null ||
   17413 echo X"$mf" |
   17414     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   17415   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   17416   	  /^X\(\/\/\)$/{ s//\1/; q; }
   17417   	  /^X\(\/\).*/{ s//\1/; q; }
   17418   	  s/.*/./; q'`
   17419   else
   17420     continue
   17421   fi
   17422   # Extract the definition of DEPDIR, am__include, and am__quote
   17423   # from the Makefile without running `make'.
   17424   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   17425   test -z "$DEPDIR" && continue
   17426   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   17427   test -z "am__include" && continue
   17428   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   17429   # When using ansi2knr, U may be empty or an underscore; expand it
   17430   U=`sed -n 's/^U = //p' < "$mf"`
   17431   # Find all dependency output files, they are included files with
   17432   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   17433   # simplest approach to changing $(DEPDIR) to its actual value in the
   17434   # expansion.
   17435   for file in `sed -n "
   17436     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   17437        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   17438     # Make sure the directory exists.
   17439     test -f "$dirpart/$file" && continue
   17440     fdir=`(dirname "$file") 2>/dev/null ||
   17441 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17442 	 X"$file" : 'X\(//\)[^/]' \| \
   17443 	 X"$file" : 'X\(//\)$' \| \
   17444 	 X"$file" : 'X\(/\)' \| \
   17445 	 .     : '\(.\)' 2>/dev/null ||
   17446 echo X"$file" |
   17447     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   17448   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   17449   	  /^X\(\/\/\)$/{ s//\1/; q; }
   17450   	  /^X\(\/\).*/{ s//\1/; q; }
   17451   	  s/.*/./; q'`
   17452     { if $as_mkdir_p; then
   17453     mkdir -p $dirpart/$fdir
   17454   else
   17455     as_dir=$dirpart/$fdir
   17456     as_dirs=
   17457     while test ! -d "$as_dir"; do
   17458       as_dirs="$as_dir $as_dirs"
   17459       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   17460 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   17461 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   17462 	 X"$as_dir" : 'X\(//\)$' \| \
   17463 	 X"$as_dir" : 'X\(/\)' \| \
   17464 	 .     : '\(.\)' 2>/dev/null ||
   17465 echo X"$as_dir" |
   17466     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   17467   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   17468   	  /^X\(\/\/\)$/{ s//\1/; q; }
   17469   	  /^X\(\/\).*/{ s//\1/; q; }
   17470   	  s/.*/./; q'`
   17471     done
   17472     test ! -n "$as_dirs" || mkdir $as_dirs
   17473   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
   17474 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   17475    { (exit 1); exit 1; }; }; }
   17476 
   17477     # echo "creating $dirpart/$file"
   17478     echo '# dummy' > "$dirpart/$file"
   17479   done
   17480 done
   17481  ;;
   17482     default-1 )
   17483     for ac_file in $CONFIG_FILES; do
   17484       # Support "outfile[:infile[:infile...]]"
   17485       case "$ac_file" in
   17486         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   17487       esac
   17488       # PO directories have a Makefile.in generated from Makefile.in.in.
   17489       case "$ac_file" in */Makefile.in)
   17490         # Adjust a relative srcdir.
   17491         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   17492         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   17493         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   17494         # In autoconf-2.13 it is called $ac_given_srcdir.
   17495         # In autoconf-2.50 it is called $srcdir.
   17496         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   17497         case "$ac_given_srcdir" in
   17498           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   17499           /*) top_srcdir="$ac_given_srcdir" ;;
   17500           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   17501         esac
   17502         # Treat a directory as a PO directory if and only if it has a
   17503         # POTFILES.in file. This allows packages to have multiple PO
   17504         # directories under different names or in different locations.
   17505         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   17506           rm -f "$ac_dir/POTFILES"
   17507           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   17508           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   17509           POMAKEFILEDEPS="POTFILES.in"
   17510           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   17511           # on $ac_dir but don't depend on user-specified configuration
   17512           # parameters.
   17513           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   17514             # The LINGUAS file contains the set of available languages.
   17515             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   17516               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   17517             fi
   17518             ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   17519             # Hide the ALL_LINGUAS assigment from automake.
   17520             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   17521             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   17522           else
   17523             # The set of available languages was given in configure.in.
   17524             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   17525           fi
   17526           # Compute POFILES
   17527           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   17528           # Compute UPDATEPOFILES
   17529           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   17530           # Compute DUMMYPOFILES
   17531           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   17532           # Compute GMOFILES
   17533           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   17534           case "$ac_given_srcdir" in
   17535             .) srcdirpre= ;;
   17536             *) srcdirpre='$(srcdir)/' ;;
   17537           esac
   17538           POFILES=
   17539           UPDATEPOFILES=
   17540           DUMMYPOFILES=
   17541           GMOFILES=
   17542           for lang in $ALL_LINGUAS; do
   17543             POFILES="$POFILES $srcdirpre$lang.po"
   17544             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   17545             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   17546             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   17547           done
   17548           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   17549           # environment variable.
   17550           INST_LINGUAS=
   17551           if test -n "$ALL_LINGUAS"; then
   17552             for presentlang in $ALL_LINGUAS; do
   17553               useit=no
   17554               if test "%UNSET%" != "$LINGUAS"; then
   17555                 desiredlanguages="$LINGUAS"
   17556               else
   17557                 desiredlanguages="$ALL_LINGUAS"
   17558               fi
   17559               for desiredlang in $desiredlanguages; do
   17560                 # Use the presentlang catalog if desiredlang is
   17561                 #   a. equal to presentlang, or
   17562                 #   b. a variant of presentlang (because in this case,
   17563                 #      presentlang can be used as a fallback for messages
   17564                 #      which are not translated in the desiredlang catalog).
   17565                 case "$desiredlang" in
   17566                   "$presentlang"*) useit=yes;;
   17567                 esac
   17568               done
   17569               if test $useit = yes; then
   17570                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   17571               fi
   17572             done
   17573           fi
   17574           CATALOGS=
   17575           if test -n "$INST_LINGUAS"; then
   17576             for lang in $INST_LINGUAS; do
   17577               CATALOGS="$CATALOGS $lang.gmo"
   17578             done
   17579           fi
   17580           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   17581           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   17582           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   17583             if test -f "$f"; then
   17584               case "$f" in
   17585                 *.orig | *.bak | *~) ;;
   17586                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   17587               esac
   17588             fi
   17589           done
   17590         fi
   17591         ;;
   17592       esac
   17593     done ;;
   17594     tests/atconfig ) cat >tests/atconfig <<ATEOF
   17595 # Configurable variable values for building test suites.
   17596 # Generated by $0.
   17597 # Copyright (C) 2000, 2001, 2003 Free Software Foundation, Inc.
   17598 
   17599 # The test suite will define top_srcdir=$at_top_srcdir/../.. etc.
   17600 at_testdir='tests'
   17601 abs_builddir='$ac_abs_builddir'
   17602 at_srcdir='$ac_srcdir'
   17603 abs_srcdir='$ac_abs_srcdir'
   17604 at_top_srcdir='$ac_top_srcdir'
   17605 abs_top_srcdir='$ac_abs_top_srcdir'
   17606 at_top_builddir='$ac_top_builddir'
   17607 abs_top_builddir='$ac_abs_top_builddir'
   17608 
   17609 AUTOTEST_PATH='tests'
   17610 
   17611 SHELL=\${CONFIG_SHELL-'$SHELL'}
   17612 ATEOF
   17613  ;;
   17614   esac
   17615 done
   17616 _ACEOF
   17617 
   17618 cat >>$CONFIG_STATUS <<\_ACEOF
   17619 
   17620 { (exit 0); exit 0; }
   17621 _ACEOF
   17622 chmod +x $CONFIG_STATUS
   17623 ac_clean_files=$ac_clean_files_save
   17624 
   17625 
   17626 # configure is writing to config.log, and then calls config.status.
   17627 # config.status does its own redirection, appending to config.log.
   17628 # Unfortunately, on DOS this fails, as config.log is still kept open
   17629 # by configure, so config.status won't be able to write to it; its
   17630 # output is simply discarded.  So we exec the FD to /dev/null,
   17631 # effectively closing config.log, so it can be properly (re)opened and
   17632 # appended to by config.status.  When coming back to configure, we
   17633 # need to make the FD available again.
   17634 if test "$no_create" != yes; then
   17635   ac_cs_success=:
   17636   ac_config_status_args=
   17637   test "$silent" = yes &&
   17638     ac_config_status_args="$ac_config_status_args --quiet"
   17639   exec 5>/dev/null
   17640   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   17641   exec 5>>config.log
   17642   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   17643   # would make configure fail if this is the last instruction.
   17644   $ac_cs_success || { (exit 1); exit 1; }
   17645 fi
   17646 
   17647