Home | History | Annotate | Line # | Download | only in dist
configure revision 1.3
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.59 for GNU Texinfo 4.8.
      4 #
      5 # Copyright (C) 2003 Free Software Foundation, Inc.
      6 # This configure script is free software; the Free Software Foundation
      7 # gives unlimited permission to copy, distribute and modify it.
      8 ## --------------------- ##
      9 ## M4sh Initialization.  ##
     10 ## --------------------- ##
     11 
     12 # Be Bourne compatible
     13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     14   emulate sh
     15   NULLCMD=:
     16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     17   # is contrary to our usage.  Disable this feature.
     18   alias -g '${1+"$@"}'='"$@"'
     19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20   set -o posix
     21 fi
     22 DUALCASE=1; export DUALCASE # for MKS sh
     23 
     24 # Support unset when possible.
     25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26   as_unset=unset
     27 else
     28   as_unset=false
     29 fi
     30 
     31 
     32 # Work around bugs in pre-3.0 UWIN ksh.
     33 $as_unset ENV MAIL MAILPATH
     34 PS1='$ '
     35 PS2='> '
     36 PS4='+ '
     37 
     38 # NLS nuisances.
     39 for as_var in \
     40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     42   LC_TELEPHONE LC_TIME
     43 do
     44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     45     eval $as_var=C; export $as_var
     46   else
     47     $as_unset $as_var
     48   fi
     49 done
     50 
     51 # Required to use basename.
     52 if expr a : '\(a\)' >/dev/null 2>&1; then
     53   as_expr=expr
     54 else
     55   as_expr=false
     56 fi
     57 
     58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59   as_basename=basename
     60 else
     61   as_basename=false
     62 fi
     63 
     64 
     65 # Name of the executable.
     66 as_me=`$as_basename "$0" ||
     67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68 	 X"$0" : 'X\(//\)$' \| \
     69 	 X"$0" : 'X\(/\)$' \| \
     70 	 .     : '\(.\)' 2>/dev/null ||
     71 echo X/"$0" |
     72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     73   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     74   	  /^X\/\(\/\).*/{ s//\1/; q; }
     75   	  s/.*/./; q'`
     76 
     77 
     78 # PATH needs CR, and LINENO needs CR and PATH.
     79 # Avoid depending upon Character Ranges.
     80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     83 as_cr_digits='0123456789'
     84 as_cr_alnum=$as_cr_Letters$as_cr_digits
     85 
     86 # The user is always right.
     87 if test "${PATH_SEPARATOR+set}" != set; then
     88   echo "#! /bin/sh" >conf$$.sh
     89   echo  "exit 0"   >>conf$$.sh
     90   chmod +x conf$$.sh
     91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     92     PATH_SEPARATOR=';'
     93   else
     94     PATH_SEPARATOR=:
     95   fi
     96   rm -f conf$$.sh
     97 fi
     98 
     99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    110 for as_dir in $PATH
    111 do
    112   IFS=$as_save_IFS
    113   test -z "$as_dir" && as_dir=.
    114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    115 done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
    123   fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
    130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    132 do
    133   IFS=$as_save_IFS
    134   test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136 	 case $as_dir in
    137 	 /*)
    138 	   if ("$as_dir/$as_base" -c '
    139   as_lineno_1=$LINENO
    140   as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142   test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146 	     CONFIG_SHELL=$as_dir/$as_base
    147 	     export CONFIG_SHELL
    148 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149 	   fi;;
    150 	 esac
    151        done
    152 done
    153 ;;
    154   esac
    155 
    156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157   # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
    162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
    165     sed '
    166       N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    170       t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
    173     ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
    175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176    { (exit 1); exit 1; }; }
    177 
    178   # Don't try to exec as it changes $[0], causing all sort of problems
    179   # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
    182   # Exit status is that of the last command.
    183   exit
    184 }
    185 
    186 
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='	' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
    195   as_expr=expr
    196 else
    197   as_expr=false
    198 fi
    199 
    200 rm -f conf$$ conf$$.exe conf$$.file
    201 echo >conf$$.file
    202 if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
    207     as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211 elif ln conf$$.file conf$$ 2>/dev/null; then
    212   as_ln_s=ln
    213 else
    214   as_ln_s='cp -p'
    215 fi
    216 rm -f conf$$ conf$$.exe conf$$.file
    217 
    218 if mkdir -p . 2>/dev/null; then
    219   as_mkdir_p=:
    220 else
    221   test -d ./-p && rmdir ./-p
    222   as_mkdir_p=false
    223 fi
    224 
    225 as_executable_p="test -f"
    226 
    227 # Sed expression to map a string onto a valid CPP name.
    228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    229 
    230 # Sed expression to map a string onto a valid variable name.
    231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    232 
    233 
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS=" 	$as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
    243 
    244 # Name of the host.
    245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    246 # so uname gets run too.
    247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    248 
    249 exec 6>&1
    250 
    251 #
    252 # Initializations.
    253 #
    254 ac_default_prefix=/usr/local
    255 ac_config_libobj_dir=.
    256 cross_compiling=no
    257 subdirs=
    258 MFLAGS=
    259 MAKEFLAGS=
    260 SHELL=${CONFIG_SHELL-/bin/sh}
    261 
    262 # Maximum number of lines to put in a shell here document.
    263 # This variable seems obsolete.  It should probably be removed, and
    264 # only ac_max_sed_lines should be used.
    265 : ${ac_max_here_lines=38}
    266 
    267 # Identity of this package.
    268 PACKAGE_NAME='GNU Texinfo'
    269 PACKAGE_TARNAME='texinfo'
    270 PACKAGE_VERSION='4.8'
    271 PACKAGE_STRING='GNU Texinfo 4.8'
    272 PACKAGE_BUGREPORT=''
    273 
    274 ac_unique_file="makeinfo/makeinfo.c"
    275 # Factoring default headers for most tests.
    276 ac_includes_default="\
    277 #include <stdio.h>
    278 #if HAVE_SYS_TYPES_H
    279 # include <sys/types.h>
    280 #endif
    281 #if HAVE_SYS_STAT_H
    282 # include <sys/stat.h>
    283 #endif
    284 #if STDC_HEADERS
    285 # include <stdlib.h>
    286 # include <stddef.h>
    287 #else
    288 # if HAVE_STDLIB_H
    289 #  include <stdlib.h>
    290 # endif
    291 #endif
    292 #if HAVE_STRING_H
    293 # if !STDC_HEADERS && HAVE_MEMORY_H
    294 #  include <memory.h>
    295 # endif
    296 # include <string.h>
    297 #endif
    298 #if HAVE_STRINGS_H
    299 # include <strings.h>
    300 #endif
    301 #if HAVE_INTTYPES_H
    302 # include <inttypes.h>
    303 #else
    304 # if HAVE_STDINT_H
    305 #  include <stdint.h>
    306 # endif
    307 #endif
    308 #if HAVE_UNISTD_H
    309 # include <unistd.h>
    310 #endif"
    311 
    312 gl_header_list=
    313 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 MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT 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 RANLIB ac_ct_RANLIB HELP2MAN ALLOCA LIBOBJS build build_cpu build_vendor build_os native_tools TOOLS_ONLY_TRUE TOOLS_ONLY_FALSE TERMLIBS host host_cpu host_vendor host_os INSTALL_WARNINGS_TRUE INSTALL_WARNINGS_FALSE MKINSTALLDIRS USE_NLS MSGFMT GMSGFMT XGETTEXT MSGMERGE GLIBC21 HAVE_POSIX_PRINTF HAVE_ASPRINTF HAVE_SNPRINTF HAVE_WPRINTF LIBICONV LTLIBICONV INTLBISON BUILD_INCLUDED_LIBINTL USE_INCLUDED_LIBINTL CATOBJEXT DATADIRNAME INSTOBJEXT GENCAT INTLOBJS INTL_LIBTOOL_SUFFIX_PREFIX INTLLIBS LIBINTL LTLIBINTL POSUB LTLIBOBJS'
    314 ac_subst_files=''
    315 
    316 # Initialize some variables set by options.
    317 ac_init_help=
    318 ac_init_version=false
    319 # The variables have the same names as the options, with
    320 # dashes changed to underlines.
    321 cache_file=/dev/null
    322 exec_prefix=NONE
    323 no_create=
    324 no_recursion=
    325 prefix=NONE
    326 program_prefix=NONE
    327 program_suffix=NONE
    328 program_transform_name=s,x,x,
    329 silent=
    330 site=
    331 srcdir=
    332 verbose=
    333 x_includes=NONE
    334 x_libraries=NONE
    335 
    336 # Installation directory options.
    337 # These are left unexpanded so users can "make install exec_prefix=/foo"
    338 # and all the variables that are supposed to be based on exec_prefix
    339 # by default will actually change.
    340 # Use braces instead of parens because sh, perl, etc. also accept them.
    341 bindir='${exec_prefix}/bin'
    342 sbindir='${exec_prefix}/sbin'
    343 libexecdir='${exec_prefix}/libexec'
    344 datadir='${prefix}/share'
    345 sysconfdir='${prefix}/etc'
    346 sharedstatedir='${prefix}/com'
    347 localstatedir='${prefix}/var'
    348 libdir='${exec_prefix}/lib'
    349 includedir='${prefix}/include'
    350 oldincludedir='/usr/include'
    351 infodir='${prefix}/info'
    352 mandir='${prefix}/man'
    353 
    354 ac_prev=
    355 for ac_option
    356 do
    357   # If the previous option needs an argument, assign it.
    358   if test -n "$ac_prev"; then
    359     eval "$ac_prev=\$ac_option"
    360     ac_prev=
    361     continue
    362   fi
    363 
    364   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    365 
    366   # Accept the important Cygnus configure options, so we can diagnose typos.
    367 
    368   case $ac_option in
    369 
    370   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    371     ac_prev=bindir ;;
    372   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    373     bindir=$ac_optarg ;;
    374 
    375   -build | --build | --buil | --bui | --bu)
    376     ac_prev=build_alias ;;
    377   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    378     build_alias=$ac_optarg ;;
    379 
    380   -cache-file | --cache-file | --cache-fil | --cache-fi \
    381   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    382     ac_prev=cache_file ;;
    383   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    384   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    385     cache_file=$ac_optarg ;;
    386 
    387   --config-cache | -C)
    388     cache_file=config.cache ;;
    389 
    390   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    391     ac_prev=datadir ;;
    392   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    393   | --da=*)
    394     datadir=$ac_optarg ;;
    395 
    396   -disable-* | --disable-*)
    397     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    398     # Reject names that are not valid shell variable names.
    399     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    400       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    401    { (exit 1); exit 1; }; }
    402     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    403     eval "enable_$ac_feature=no" ;;
    404 
    405   -enable-* | --enable-*)
    406     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    407     # Reject names that are not valid shell variable names.
    408     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    409       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    410    { (exit 1); exit 1; }; }
    411     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    412     case $ac_option in
    413       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    414       *) ac_optarg=yes ;;
    415     esac
    416     eval "enable_$ac_feature='$ac_optarg'" ;;
    417 
    418   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    419   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    420   | --exec | --exe | --ex)
    421     ac_prev=exec_prefix ;;
    422   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    423   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    424   | --exec=* | --exe=* | --ex=*)
    425     exec_prefix=$ac_optarg ;;
    426 
    427   -gas | --gas | --ga | --g)
    428     # Obsolete; use --with-gas.
    429     with_gas=yes ;;
    430 
    431   -help | --help | --hel | --he | -h)
    432     ac_init_help=long ;;
    433   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    434     ac_init_help=recursive ;;
    435   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    436     ac_init_help=short ;;
    437 
    438   -host | --host | --hos | --ho)
    439     ac_prev=host_alias ;;
    440   -host=* | --host=* | --hos=* | --ho=*)
    441     host_alias=$ac_optarg ;;
    442 
    443   -includedir | --includedir | --includedi | --included | --include \
    444   | --includ | --inclu | --incl | --inc)
    445     ac_prev=includedir ;;
    446   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    447   | --includ=* | --inclu=* | --incl=* | --inc=*)
    448     includedir=$ac_optarg ;;
    449 
    450   -infodir | --infodir | --infodi | --infod | --info | --inf)
    451     ac_prev=infodir ;;
    452   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    453     infodir=$ac_optarg ;;
    454 
    455   -libdir | --libdir | --libdi | --libd)
    456     ac_prev=libdir ;;
    457   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    458     libdir=$ac_optarg ;;
    459 
    460   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    461   | --libexe | --libex | --libe)
    462     ac_prev=libexecdir ;;
    463   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    464   | --libexe=* | --libex=* | --libe=*)
    465     libexecdir=$ac_optarg ;;
    466 
    467   -localstatedir | --localstatedir | --localstatedi | --localstated \
    468   | --localstate | --localstat | --localsta | --localst \
    469   | --locals | --local | --loca | --loc | --lo)
    470     ac_prev=localstatedir ;;
    471   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    472   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    473   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    474     localstatedir=$ac_optarg ;;
    475 
    476   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    477     ac_prev=mandir ;;
    478   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    479     mandir=$ac_optarg ;;
    480 
    481   -nfp | --nfp | --nf)
    482     # Obsolete; use --without-fp.
    483     with_fp=no ;;
    484 
    485   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    486   | --no-cr | --no-c | -n)
    487     no_create=yes ;;
    488 
    489   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    490   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    491     no_recursion=yes ;;
    492 
    493   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    494   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    495   | --oldin | --oldi | --old | --ol | --o)
    496     ac_prev=oldincludedir ;;
    497   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    498   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    499   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    500     oldincludedir=$ac_optarg ;;
    501 
    502   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    503     ac_prev=prefix ;;
    504   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    505     prefix=$ac_optarg ;;
    506 
    507   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    508   | --program-pre | --program-pr | --program-p)
    509     ac_prev=program_prefix ;;
    510   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    511   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    512     program_prefix=$ac_optarg ;;
    513 
    514   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    515   | --program-suf | --program-su | --program-s)
    516     ac_prev=program_suffix ;;
    517   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    518   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    519     program_suffix=$ac_optarg ;;
    520 
    521   -program-transform-name | --program-transform-name \
    522   | --program-transform-nam | --program-transform-na \
    523   | --program-transform-n | --program-transform- \
    524   | --program-transform | --program-transfor \
    525   | --program-transfo | --program-transf \
    526   | --program-trans | --program-tran \
    527   | --progr-tra | --program-tr | --program-t)
    528     ac_prev=program_transform_name ;;
    529   -program-transform-name=* | --program-transform-name=* \
    530   | --program-transform-nam=* | --program-transform-na=* \
    531   | --program-transform-n=* | --program-transform-=* \
    532   | --program-transform=* | --program-transfor=* \
    533   | --program-transfo=* | --program-transf=* \
    534   | --program-trans=* | --program-tran=* \
    535   | --progr-tra=* | --program-tr=* | --program-t=*)
    536     program_transform_name=$ac_optarg ;;
    537 
    538   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    539   | -silent | --silent | --silen | --sile | --sil)
    540     silent=yes ;;
    541 
    542   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    543     ac_prev=sbindir ;;
    544   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    545   | --sbi=* | --sb=*)
    546     sbindir=$ac_optarg ;;
    547 
    548   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    549   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    550   | --sharedst | --shareds | --shared | --share | --shar \
    551   | --sha | --sh)
    552     ac_prev=sharedstatedir ;;
    553   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    554   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    555   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    556   | --sha=* | --sh=*)
    557     sharedstatedir=$ac_optarg ;;
    558 
    559   -site | --site | --sit)
    560     ac_prev=site ;;
    561   -site=* | --site=* | --sit=*)
    562     site=$ac_optarg ;;
    563 
    564   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    565     ac_prev=srcdir ;;
    566   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    567     srcdir=$ac_optarg ;;
    568 
    569   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    570   | --syscon | --sysco | --sysc | --sys | --sy)
    571     ac_prev=sysconfdir ;;
    572   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    573   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    574     sysconfdir=$ac_optarg ;;
    575 
    576   -target | --target | --targe | --targ | --tar | --ta | --t)
    577     ac_prev=target_alias ;;
    578   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    579     target_alias=$ac_optarg ;;
    580 
    581   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    582     verbose=yes ;;
    583 
    584   -version | --version | --versio | --versi | --vers | -V)
    585     ac_init_version=: ;;
    586 
    587   -with-* | --with-*)
    588     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    589     # Reject names that are not valid shell variable names.
    590     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    591       { echo "$as_me: error: invalid package name: $ac_package" >&2
    592    { (exit 1); exit 1; }; }
    593     ac_package=`echo $ac_package| sed 's/-/_/g'`
    594     case $ac_option in
    595       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    596       *) ac_optarg=yes ;;
    597     esac
    598     eval "with_$ac_package='$ac_optarg'" ;;
    599 
    600   -without-* | --without-*)
    601     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    602     # Reject names that are not valid shell variable names.
    603     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    604       { echo "$as_me: error: invalid package name: $ac_package" >&2
    605    { (exit 1); exit 1; }; }
    606     ac_package=`echo $ac_package | sed 's/-/_/g'`
    607     eval "with_$ac_package=no" ;;
    608 
    609   --x)
    610     # Obsolete; use --with-x.
    611     with_x=yes ;;
    612 
    613   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    614   | --x-incl | --x-inc | --x-in | --x-i)
    615     ac_prev=x_includes ;;
    616   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    617   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    618     x_includes=$ac_optarg ;;
    619 
    620   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    621   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    622     ac_prev=x_libraries ;;
    623   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    624   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    625     x_libraries=$ac_optarg ;;
    626 
    627   -*) { echo "$as_me: error: unrecognized option: $ac_option
    628 Try \`$0 --help' for more information." >&2
    629    { (exit 1); exit 1; }; }
    630     ;;
    631 
    632   *=*)
    633     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    634     # Reject names that are not valid shell variable names.
    635     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    636       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    637    { (exit 1); exit 1; }; }
    638     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    639     eval "$ac_envvar='$ac_optarg'"
    640     export $ac_envvar ;;
    641 
    642   *)
    643     # FIXME: should be removed in autoconf 3.0.
    644     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    645     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    646       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    647     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    648     ;;
    649 
    650   esac
    651 done
    652 
    653 if test -n "$ac_prev"; then
    654   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    655   { echo "$as_me: error: missing argument to $ac_option" >&2
    656    { (exit 1); exit 1; }; }
    657 fi
    658 
    659 # Be sure to have absolute paths.
    660 for ac_var in exec_prefix prefix
    661 do
    662   eval ac_val=$`echo $ac_var`
    663   case $ac_val in
    664     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    665     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    666    { (exit 1); exit 1; }; };;
    667   esac
    668 done
    669 
    670 # Be sure to have absolute paths.
    671 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    672 	      localstatedir libdir includedir oldincludedir infodir mandir
    673 do
    674   eval ac_val=$`echo $ac_var`
    675   case $ac_val in
    676     [\\/$]* | ?:[\\/]* ) ;;
    677     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    678    { (exit 1); exit 1; }; };;
    679   esac
    680 done
    681 
    682 # There might be people who depend on the old broken behavior: `$host'
    683 # used to hold the argument of --host etc.
    684 # FIXME: To remove some day.
    685 build=$build_alias
    686 host=$host_alias
    687 target=$target_alias
    688 
    689 # FIXME: To remove some day.
    690 if test "x$host_alias" != x; then
    691   if test "x$build_alias" = x; then
    692     cross_compiling=maybe
    693     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    694     If a cross compiler is detected then cross compile mode will be used." >&2
    695   elif test "x$build_alias" != "x$host_alias"; then
    696     cross_compiling=yes
    697   fi
    698 fi
    699 
    700 ac_tool_prefix=
    701 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    702 
    703 test "$silent" = yes && exec 6>/dev/null
    704 
    705 
    706 # Find the source files, if location was not specified.
    707 if test -z "$srcdir"; then
    708   ac_srcdir_defaulted=yes
    709   # Try the directory containing this script, then its parent.
    710   ac_confdir=`(dirname "$0") 2>/dev/null ||
    711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    712 	 X"$0" : 'X\(//\)[^/]' \| \
    713 	 X"$0" : 'X\(//\)$' \| \
    714 	 X"$0" : 'X\(/\)' \| \
    715 	 .     : '\(.\)' 2>/dev/null ||
    716 echo X"$0" |
    717     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    718   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    719   	  /^X\(\/\/\)$/{ s//\1/; q; }
    720   	  /^X\(\/\).*/{ s//\1/; q; }
    721   	  s/.*/./; q'`
    722   srcdir=$ac_confdir
    723   if test ! -r $srcdir/$ac_unique_file; then
    724     srcdir=..
    725   fi
    726 else
    727   ac_srcdir_defaulted=no
    728 fi
    729 if test ! -r $srcdir/$ac_unique_file; then
    730   if test "$ac_srcdir_defaulted" = yes; then
    731     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    732    { (exit 1); exit 1; }; }
    733   else
    734     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    735    { (exit 1); exit 1; }; }
    736   fi
    737 fi
    738 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    739   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    740    { (exit 1); exit 1; }; }
    741 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    742 ac_env_build_alias_set=${build_alias+set}
    743 ac_env_build_alias_value=$build_alias
    744 ac_cv_env_build_alias_set=${build_alias+set}
    745 ac_cv_env_build_alias_value=$build_alias
    746 ac_env_host_alias_set=${host_alias+set}
    747 ac_env_host_alias_value=$host_alias
    748 ac_cv_env_host_alias_set=${host_alias+set}
    749 ac_cv_env_host_alias_value=$host_alias
    750 ac_env_target_alias_set=${target_alias+set}
    751 ac_env_target_alias_value=$target_alias
    752 ac_cv_env_target_alias_set=${target_alias+set}
    753 ac_cv_env_target_alias_value=$target_alias
    754 ac_env_CC_set=${CC+set}
    755 ac_env_CC_value=$CC
    756 ac_cv_env_CC_set=${CC+set}
    757 ac_cv_env_CC_value=$CC
    758 ac_env_CFLAGS_set=${CFLAGS+set}
    759 ac_env_CFLAGS_value=$CFLAGS
    760 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    761 ac_cv_env_CFLAGS_value=$CFLAGS
    762 ac_env_LDFLAGS_set=${LDFLAGS+set}
    763 ac_env_LDFLAGS_value=$LDFLAGS
    764 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    765 ac_cv_env_LDFLAGS_value=$LDFLAGS
    766 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    767 ac_env_CPPFLAGS_value=$CPPFLAGS
    768 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    769 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    770 ac_env_CPP_set=${CPP+set}
    771 ac_env_CPP_value=$CPP
    772 ac_cv_env_CPP_set=${CPP+set}
    773 ac_cv_env_CPP_value=$CPP
    774 
    775 #
    776 # Report the --help message.
    777 #
    778 if test "$ac_init_help" = "long"; then
    779   # Omit some internal or obsolete options to make the list less imposing.
    780   # This message is too long to be a string in the A/UX 3.1 sh.
    781   cat <<_ACEOF
    782 \`configure' configures GNU Texinfo 4.8 to adapt to many kinds of systems.
    783 
    784 Usage: $0 [OPTION]... [VAR=VALUE]...
    785 
    786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    787 VAR=VALUE.  See below for descriptions of some of the useful variables.
    788 
    789 Defaults for the options are specified in brackets.
    790 
    791 Configuration:
    792   -h, --help              display this help and exit
    793       --help=short        display options specific to this package
    794       --help=recursive    display the short help of all the included packages
    795   -V, --version           display version information and exit
    796   -q, --quiet, --silent   do not print \`checking...' messages
    797       --cache-file=FILE   cache test results in FILE [disabled]
    798   -C, --config-cache      alias for \`--cache-file=config.cache'
    799   -n, --no-create         do not create output files
    800       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    801 
    802 _ACEOF
    803 
    804   cat <<_ACEOF
    805 Installation directories:
    806   --prefix=PREFIX         install architecture-independent files in PREFIX
    807 			  [$ac_default_prefix]
    808   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    809 			  [PREFIX]
    810 
    811 By default, \`make install' will install all the files in
    812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    814 for instance \`--prefix=\$HOME'.
    815 
    816 For better control, use the options below.
    817 
    818 Fine tuning of the installation directories:
    819   --bindir=DIR           user executables [EPREFIX/bin]
    820   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    821   --libexecdir=DIR       program executables [EPREFIX/libexec]
    822   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    823   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    824   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    825   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    826   --libdir=DIR           object code libraries [EPREFIX/lib]
    827   --includedir=DIR       C header files [PREFIX/include]
    828   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    829   --infodir=DIR          info documentation [PREFIX/info]
    830   --mandir=DIR           man documentation [PREFIX/man]
    831 _ACEOF
    832 
    833   cat <<\_ACEOF
    834 
    835 Program names:
    836   --program-prefix=PREFIX            prepend PREFIX to installed program names
    837   --program-suffix=SUFFIX            append SUFFIX to installed program names
    838   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    839 
    840 System types:
    841   --build=BUILD     configure for building on BUILD [guessed]
    842   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    843 _ACEOF
    844 fi
    845 
    846 if test -n "$ac_init_help"; then
    847   case $ac_init_help in
    848      short | recursive ) echo "Configuration of GNU Texinfo 4.8:";;
    849    esac
    850   cat <<\_ACEOF
    851 
    852 Optional Features:
    853   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    854   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
    855   --enable-maintainer-mode  enable make rules and dependencies not useful
    856 			  (and sometimes confusing) to the casual installer
    857   --disable-dependency-tracking  speeds up one-time build
    858   --enable-dependency-tracking   do not reject slow dependency extractors
    859   --enable-multiplatform      put executables in bin/PLATFORM
    860   --disable-install-warnings  omit make install warnings about TeX files
    861   --disable-nls           do not use Native Language Support
    862   --disable-rpath         do not hardcode runtime library paths
    863 
    864 Optional Packages:
    865   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
    866   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
    867   --with-gnu-ld           assume the C compiler uses GNU ld default=no
    868   --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
    869   --without-libiconv-prefix     don't search for libiconv in includedir and libdir
    870   --with-included-gettext use the GNU gettext library included here
    871   --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
    872   --without-libintl-prefix     don't search for libintl in includedir and libdir
    873 
    874 Some influential environment variables:
    875   CC          C compiler command
    876   CFLAGS      C compiler flags
    877   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
    878               nonstandard directory <lib dir>
    879   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
    880               headers in a nonstandard directory <include dir>
    881   CPP         C preprocessor
    882 
    883 Use these variables to override the choices made by `configure' or to help
    884 it to find libraries and programs with nonstandard names/locations.
    885 
    886 _ACEOF
    887 fi
    888 
    889 if test "$ac_init_help" = "recursive"; then
    890   # If there are subdirs, report their specific --help.
    891   ac_popdir=`pwd`
    892   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    893     test -d $ac_dir || continue
    894     ac_builddir=.
    895 
    896 if test "$ac_dir" != .; then
    897   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    898   # A "../" for each directory in $ac_dir_suffix.
    899   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
    900 else
    901   ac_dir_suffix= ac_top_builddir=
    902 fi
    903 
    904 case $srcdir in
    905   .)  # No --srcdir option.  We are building in place.
    906     ac_srcdir=.
    907     if test -z "$ac_top_builddir"; then
    908        ac_top_srcdir=.
    909     else
    910        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
    911     fi ;;
    912   [\\/]* | ?:[\\/]* )  # Absolute path.
    913     ac_srcdir=$srcdir$ac_dir_suffix;
    914     ac_top_srcdir=$srcdir ;;
    915   *) # Relative path.
    916     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
    917     ac_top_srcdir=$ac_top_builddir$srcdir ;;
    918 esac
    919 
    920 # Do not use `cd foo && pwd` to compute absolute paths, because
    921 # the directories may not exist.
    922 case `pwd` in
    923 .) ac_abs_builddir="$ac_dir";;
    924 *)
    925   case "$ac_dir" in
    926   .) ac_abs_builddir=`pwd`;;
    927   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
    928   *) ac_abs_builddir=`pwd`/"$ac_dir";;
    929   esac;;
    930 esac
    931 case $ac_abs_builddir in
    932 .) ac_abs_top_builddir=${ac_top_builddir}.;;
    933 *)
    934   case ${ac_top_builddir}. in
    935   .) ac_abs_top_builddir=$ac_abs_builddir;;
    936   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
    937   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
    938   esac;;
    939 esac
    940 case $ac_abs_builddir in
    941 .) ac_abs_srcdir=$ac_srcdir;;
    942 *)
    943   case $ac_srcdir in
    944   .) ac_abs_srcdir=$ac_abs_builddir;;
    945   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
    946   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
    947   esac;;
    948 esac
    949 case $ac_abs_builddir in
    950 .) ac_abs_top_srcdir=$ac_top_srcdir;;
    951 *)
    952   case $ac_top_srcdir in
    953   .) ac_abs_top_srcdir=$ac_abs_builddir;;
    954   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
    955   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
    956   esac;;
    957 esac
    958 
    959     cd $ac_dir
    960     # Check for guested configure; otherwise get Cygnus style configure.
    961     if test -f $ac_srcdir/configure.gnu; then
    962       echo
    963       $SHELL $ac_srcdir/configure.gnu  --help=recursive
    964     elif test -f $ac_srcdir/configure; then
    965       echo
    966       $SHELL $ac_srcdir/configure  --help=recursive
    967     elif test -f $ac_srcdir/configure.ac ||
    968 	   test -f $ac_srcdir/configure.in; then
    969       echo
    970       $ac_configure --help
    971     else
    972       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    973     fi
    974     cd $ac_popdir
    975   done
    976 fi
    977 
    978 test -n "$ac_init_help" && exit 0
    979 if $ac_init_version; then
    980   cat <<\_ACEOF
    981 GNU Texinfo configure 4.8
    982 generated by GNU Autoconf 2.59
    983 
    984 Copyright (C) 2003 Free Software Foundation, Inc.
    985 This configure script is free software; the Free Software Foundation
    986 gives unlimited permission to copy, distribute and modify it.
    987 _ACEOF
    988   exit 0
    989 fi
    990 exec 5>config.log
    991 cat >&5 <<_ACEOF
    992 This file contains any messages produced by compilers while
    993 running configure, to aid debugging if configure makes a mistake.
    994 
    995 It was created by GNU Texinfo $as_me 4.8, which was
    996 generated by GNU Autoconf 2.59.  Invocation command line was
    997 
    998   $ $0 $@
    999 
   1000 _ACEOF
   1001 {
   1002 cat <<_ASUNAME
   1003 ## --------- ##
   1004 ## Platform. ##
   1005 ## --------- ##
   1006 
   1007 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1008 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1009 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1010 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1011 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1012 
   1013 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1014 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1015 
   1016 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1017 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1018 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1019 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1020 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1021 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1022 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1023 
   1024 _ASUNAME
   1025 
   1026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1027 for as_dir in $PATH
   1028 do
   1029   IFS=$as_save_IFS
   1030   test -z "$as_dir" && as_dir=.
   1031   echo "PATH: $as_dir"
   1032 done
   1033 
   1034 } >&5
   1035 
   1036 cat >&5 <<_ACEOF
   1037 
   1038 
   1039 ## ----------- ##
   1040 ## Core tests. ##
   1041 ## ----------- ##
   1042 
   1043 _ACEOF
   1044 
   1045 
   1046 # Keep a trace of the command line.
   1047 # Strip out --no-create and --no-recursion so they do not pile up.
   1048 # Strip out --silent because we don't want to record it for future runs.
   1049 # Also quote any args containing shell meta-characters.
   1050 # Make two passes to allow for proper duplicate-argument suppression.
   1051 ac_configure_args=
   1052 ac_configure_args0=
   1053 ac_configure_args1=
   1054 ac_sep=
   1055 ac_must_keep_next=false
   1056 for ac_pass in 1 2
   1057 do
   1058   for ac_arg
   1059   do
   1060     case $ac_arg in
   1061     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1062     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1063     | -silent | --silent | --silen | --sile | --sil)
   1064       continue ;;
   1065     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1066       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1067     esac
   1068     case $ac_pass in
   1069     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1070     2)
   1071       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1072       if test $ac_must_keep_next = true; then
   1073 	ac_must_keep_next=false # Got value, back to normal.
   1074       else
   1075 	case $ac_arg in
   1076 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1077 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1078 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1079 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1080 	    case "$ac_configure_args0 " in
   1081 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1082 	    esac
   1083 	    ;;
   1084 	  -* ) ac_must_keep_next=true ;;
   1085 	esac
   1086       fi
   1087       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1088       # Get rid of the leading space.
   1089       ac_sep=" "
   1090       ;;
   1091     esac
   1092   done
   1093 done
   1094 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1095 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1096 
   1097 # When interrupted or exit'd, cleanup temporary files, and complete
   1098 # config.log.  We remove comments because anyway the quotes in there
   1099 # would cause problems or look ugly.
   1100 # WARNING: Be sure not to use single quotes in there, as some shells,
   1101 # such as our DU 5.0 friend, will then `close' the trap.
   1102 trap 'exit_status=$?
   1103   # Save into config.log some information that might help in debugging.
   1104   {
   1105     echo
   1106 
   1107     cat <<\_ASBOX
   1108 ## ---------------- ##
   1109 ## Cache variables. ##
   1110 ## ---------------- ##
   1111 _ASBOX
   1112     echo
   1113     # The following way of writing the cache mishandles newlines in values,
   1114 {
   1115   (set) 2>&1 |
   1116     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1117     *ac_space=\ *)
   1118       sed -n \
   1119 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1120 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1121       ;;
   1122     *)
   1123       sed -n \
   1124 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1125       ;;
   1126     esac;
   1127 }
   1128     echo
   1129 
   1130     cat <<\_ASBOX
   1131 ## ----------------- ##
   1132 ## Output variables. ##
   1133 ## ----------------- ##
   1134 _ASBOX
   1135     echo
   1136     for ac_var in $ac_subst_vars
   1137     do
   1138       eval ac_val=$`echo $ac_var`
   1139       echo "$ac_var='"'"'$ac_val'"'"'"
   1140     done | sort
   1141     echo
   1142 
   1143     if test -n "$ac_subst_files"; then
   1144       cat <<\_ASBOX
   1145 ## ------------- ##
   1146 ## Output files. ##
   1147 ## ------------- ##
   1148 _ASBOX
   1149       echo
   1150       for ac_var in $ac_subst_files
   1151       do
   1152 	eval ac_val=$`echo $ac_var`
   1153 	echo "$ac_var='"'"'$ac_val'"'"'"
   1154       done | sort
   1155       echo
   1156     fi
   1157 
   1158     if test -s confdefs.h; then
   1159       cat <<\_ASBOX
   1160 ## ----------- ##
   1161 ## confdefs.h. ##
   1162 ## ----------- ##
   1163 _ASBOX
   1164       echo
   1165       sed "/^$/d" confdefs.h | sort
   1166       echo
   1167     fi
   1168     test "$ac_signal" != 0 &&
   1169       echo "$as_me: caught signal $ac_signal"
   1170     echo "$as_me: exit $exit_status"
   1171   } >&5
   1172   rm -f core *.core &&
   1173   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1174     exit $exit_status
   1175      ' 0
   1176 for ac_signal in 1 2 13 15; do
   1177   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1178 done
   1179 ac_signal=0
   1180 
   1181 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1182 rm -rf conftest* confdefs.h
   1183 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1184 echo >confdefs.h
   1185 
   1186 # Predefined preprocessor variables.
   1187 
   1188 cat >>confdefs.h <<_ACEOF
   1189 #define PACKAGE_NAME "$PACKAGE_NAME"
   1190 _ACEOF
   1191 
   1192 
   1193 cat >>confdefs.h <<_ACEOF
   1194 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1195 _ACEOF
   1196 
   1197 
   1198 cat >>confdefs.h <<_ACEOF
   1199 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1200 _ACEOF
   1201 
   1202 
   1203 cat >>confdefs.h <<_ACEOF
   1204 #define PACKAGE_STRING "$PACKAGE_STRING"
   1205 _ACEOF
   1206 
   1207 
   1208 cat >>confdefs.h <<_ACEOF
   1209 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1210 _ACEOF
   1211 
   1212 
   1213 # Let the site file select an alternate cache file if it wants to.
   1214 # Prefer explicitly selected file to automatically selected ones.
   1215 if test -z "$CONFIG_SITE"; then
   1216   if test "x$prefix" != xNONE; then
   1217     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1218   else
   1219     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1220   fi
   1221 fi
   1222 for ac_site_file in $CONFIG_SITE; do
   1223   if test -r "$ac_site_file"; then
   1224     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1225 echo "$as_me: loading site script $ac_site_file" >&6;}
   1226     sed 's/^/| /' "$ac_site_file" >&5
   1227     . "$ac_site_file"
   1228   fi
   1229 done
   1230 
   1231 if test -r "$cache_file"; then
   1232   # Some versions of bash will fail to source /dev/null (special
   1233   # files actually), so we avoid doing that.
   1234   if test -f "$cache_file"; then
   1235     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1236 echo "$as_me: loading cache $cache_file" >&6;}
   1237     case $cache_file in
   1238       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1239       *)                      . ./$cache_file;;
   1240     esac
   1241   fi
   1242 else
   1243   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1244 echo "$as_me: creating cache $cache_file" >&6;}
   1245   >$cache_file
   1246 fi
   1247 
   1248 # Check that the precious variables saved in the cache have kept the same
   1249 # value.
   1250 ac_cache_corrupted=false
   1251 for ac_var in `(set) 2>&1 |
   1252 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1253   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1254   eval ac_new_set=\$ac_env_${ac_var}_set
   1255   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1256   eval ac_new_val="\$ac_env_${ac_var}_value"
   1257   case $ac_old_set,$ac_new_set in
   1258     set,)
   1259       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1260 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1261       ac_cache_corrupted=: ;;
   1262     ,set)
   1263       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1264 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1265       ac_cache_corrupted=: ;;
   1266     ,);;
   1267     *)
   1268       if test "x$ac_old_val" != "x$ac_new_val"; then
   1269 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1270 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1271 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
   1272 echo "$as_me:   former value:  $ac_old_val" >&2;}
   1273 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
   1274 echo "$as_me:   current value: $ac_new_val" >&2;}
   1275 	ac_cache_corrupted=:
   1276       fi;;
   1277   esac
   1278   # Pass precious variables to config.status.
   1279   if test "$ac_new_set" = set; then
   1280     case $ac_new_val in
   1281     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1282       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1283     *) ac_arg=$ac_var=$ac_new_val ;;
   1284     esac
   1285     case " $ac_configure_args " in
   1286       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1287       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1288     esac
   1289   fi
   1290 done
   1291 if $ac_cache_corrupted; then
   1292   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1293 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1294   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1295 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1296    { (exit 1); exit 1; }; }
   1297 fi
   1298 
   1299 ac_ext=c
   1300 ac_cpp='$CPP $CPPFLAGS'
   1301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1304 
   1305 
   1306 gl_header_list="$gl_header_list fcntl.h"
   1307 gl_header_list="$gl_header_list sys/time.h"
   1308 gl_header_list="$gl_header_list unistd.h"
   1309 
   1310 
   1311 
   1312 
   1313 
   1314 
   1315 
   1316 
   1317 
   1318 
   1319 
   1320 
   1321 
   1322 
   1323 
   1324 
   1325 
   1326 
   1327 
   1328 
   1329 
   1330 
   1331 
   1332 
   1333 
   1334           ac_config_headers="$ac_config_headers config.h:config.in"
   1335 # Keep filename to 8.3 for MS-DOS.
   1336 
   1337 am__api_version="1.9"
   1338 ac_aux_dir=
   1339 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   1340   if test -f $ac_dir/install-sh; then
   1341     ac_aux_dir=$ac_dir
   1342     ac_install_sh="$ac_aux_dir/install-sh -c"
   1343     break
   1344   elif test -f $ac_dir/install.sh; then
   1345     ac_aux_dir=$ac_dir
   1346     ac_install_sh="$ac_aux_dir/install.sh -c"
   1347     break
   1348   elif test -f $ac_dir/shtool; then
   1349     ac_aux_dir=$ac_dir
   1350     ac_install_sh="$ac_aux_dir/shtool install -c"
   1351     break
   1352   fi
   1353 done
   1354 if test -z "$ac_aux_dir"; then
   1355   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   1356 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   1357    { (exit 1); exit 1; }; }
   1358 fi
   1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   1362 
   1363 # Find a good install program.  We prefer a C program (faster),
   1364 # so one script is as good as another.  But avoid the broken or
   1365 # incompatible versions:
   1366 # SysV /etc/install, /usr/sbin/install
   1367 # SunOS /usr/etc/install
   1368 # IRIX /sbin/install
   1369 # AIX /bin/install
   1370 # AmigaOS /C/install, which installs bootblocks on floppy discs
   1371 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   1372 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   1373 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   1374 # OS/2's system install, which has a completely different semantic
   1375 # ./install, which can be erroneously created by make from ./install.sh.
   1376 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   1377 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   1378 if test -z "$INSTALL"; then
   1379 if test "${ac_cv_path_install+set}" = set; then
   1380   echo $ECHO_N "(cached) $ECHO_C" >&6
   1381 else
   1382   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1383 for as_dir in $PATH
   1384 do
   1385   IFS=$as_save_IFS
   1386   test -z "$as_dir" && as_dir=.
   1387   # Account for people who put trailing slashes in PATH elements.
   1388 case $as_dir/ in
   1389   ./ | .// | /cC/* | \
   1390   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   1391   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   1392   /usr/ucb/* ) ;;
   1393   *)
   1394     # OSF1 and SCO ODT 3.0 have their own names for install.
   1395     # Don't use installbsd from OSF since it installs stuff as root
   1396     # by default.
   1397     for ac_prog in ginstall scoinst install; do
   1398       for ac_exec_ext in '' $ac_executable_extensions; do
   1399 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   1400 	  if test $ac_prog = install &&
   1401 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1402 	    # AIX install.  It has an incompatible calling convention.
   1403 	    :
   1404 	  elif test $ac_prog = install &&
   1405 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   1406 	    # program-specific install script used by HP pwplus--don't use.
   1407 	    :
   1408 	  else
   1409 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   1410 	    break 3
   1411 	  fi
   1412 	fi
   1413       done
   1414     done
   1415     ;;
   1416 esac
   1417 done
   1418 
   1419 
   1420 fi
   1421   if test "${ac_cv_path_install+set}" = set; then
   1422     INSTALL=$ac_cv_path_install
   1423   else
   1424     # As a last resort, use the slow shell script.  We don't cache a
   1425     # path for INSTALL within a source directory, because that will
   1426     # break other packages using the cache if that directory is
   1427     # removed, or if the path is relative.
   1428     INSTALL=$ac_install_sh
   1429   fi
   1430 fi
   1431 echo "$as_me:$LINENO: result: $INSTALL" >&5
   1432 echo "${ECHO_T}$INSTALL" >&6
   1433 
   1434 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   1435 # It thinks the first close brace ends the variable substitution.
   1436 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   1437 
   1438 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   1439 
   1440 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   1441 
   1442 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   1443 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
   1444 # Just in case
   1445 sleep 1
   1446 echo timestamp > conftest.file
   1447 # Do `set' in a subshell so we don't clobber the current shell's
   1448 # arguments.  Must try -L first in case configure is actually a
   1449 # symlink; some systems play weird games with the mod time of symlinks
   1450 # (eg FreeBSD returns the mod time of the symlink's containing
   1451 # directory).
   1452 if (
   1453    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   1454    if test "$*" = "X"; then
   1455       # -L didn't work.
   1456       set X `ls -t $srcdir/configure conftest.file`
   1457    fi
   1458    rm -f conftest.file
   1459    if test "$*" != "X $srcdir/configure conftest.file" \
   1460       && test "$*" != "X conftest.file $srcdir/configure"; then
   1461 
   1462       # If neither matched, then we have a broken ls.  This can happen
   1463       # if, for instance, CONFIG_SHELL is bash and it inherits a
   1464       # broken ls alias from the environment.  This has actually
   1465       # happened.  Such a system could not be considered "sane".
   1466       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   1467 alias in your environment" >&5
   1468 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   1469 alias in your environment" >&2;}
   1470    { (exit 1); exit 1; }; }
   1471    fi
   1472 
   1473    test "$2" = conftest.file
   1474    )
   1475 then
   1476    # Ok.
   1477    :
   1478 else
   1479    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   1480 Check your system clock" >&5
   1481 echo "$as_me: error: newly created file is older than distributed files!
   1482 Check your system clock" >&2;}
   1483    { (exit 1); exit 1; }; }
   1484 fi
   1485 echo "$as_me:$LINENO: result: yes" >&5
   1486 echo "${ECHO_T}yes" >&6
   1487 test "$program_prefix" != NONE &&
   1488   program_transform_name="s,^,$program_prefix,;$program_transform_name"
   1489 # Use a double $ so make ignores it.
   1490 test "$program_suffix" != NONE &&
   1491   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   1492 # Double any \ or $.  echo might interpret backslashes.
   1493 # By default was `s,x,x', remove it if useless.
   1494 cat <<\_ACEOF >conftest.sed
   1495 s/[\\$]/&&/g;s/;s,x,x,$//
   1496 _ACEOF
   1497 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   1498 rm conftest.sed
   1499 
   1500 # expand $ac_aux_dir to an absolute path
   1501 am_aux_dir=`cd $ac_aux_dir && pwd`
   1502 
   1503 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   1504 # Use eval to expand $SHELL
   1505 if eval "$MISSING --run true"; then
   1506   am_missing_run="$MISSING --run "
   1507 else
   1508   am_missing_run=
   1509   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   1510 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   1511 fi
   1512 
   1513 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   1514   # We used to keeping the `.' as first argument, in order to
   1515   # allow $(mkdir_p) to be used without argument.  As in
   1516   #   $(mkdir_p) $(somedir)
   1517   # where $(somedir) is conditionally defined.  However this is wrong
   1518   # for two reasons:
   1519   #  1. if the package is installed by a user who cannot write `.'
   1520   #     make install will fail,
   1521   #  2. the above comment should most certainly read
   1522   #     $(mkdir_p) $(DESTDIR)$(somedir)
   1523   #     so it does not work when $(somedir) is undefined and
   1524   #     $(DESTDIR) is not.
   1525   #  To support the latter case, we have to write
   1526   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   1527   #  so the `.' trick is pointless.
   1528   mkdir_p='mkdir -p --'
   1529 else
   1530   # On NextStep and OpenStep, the `mkdir' command does not
   1531   # recognize any option.  It will interpret all options as
   1532   # directories to create, and then abort because `.' already
   1533   # exists.
   1534   for d in ./-p ./--version;
   1535   do
   1536     test -d $d && rmdir $d
   1537   done
   1538   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   1539   if test -f "$ac_aux_dir/mkinstalldirs"; then
   1540     mkdir_p='$(mkinstalldirs)'
   1541   else
   1542     mkdir_p='$(install_sh) -d'
   1543   fi
   1544 fi
   1545 
   1546 for ac_prog in gawk mawk nawk awk
   1547 do
   1548   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1549 set dummy $ac_prog; ac_word=$2
   1550 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1552 if test "${ac_cv_prog_AWK+set}" = set; then
   1553   echo $ECHO_N "(cached) $ECHO_C" >&6
   1554 else
   1555   if test -n "$AWK"; then
   1556   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   1557 else
   1558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1559 for as_dir in $PATH
   1560 do
   1561   IFS=$as_save_IFS
   1562   test -z "$as_dir" && as_dir=.
   1563   for ac_exec_ext in '' $ac_executable_extensions; do
   1564   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1565     ac_cv_prog_AWK="$ac_prog"
   1566     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1567     break 2
   1568   fi
   1569 done
   1570 done
   1571 
   1572 fi
   1573 fi
   1574 AWK=$ac_cv_prog_AWK
   1575 if test -n "$AWK"; then
   1576   echo "$as_me:$LINENO: result: $AWK" >&5
   1577 echo "${ECHO_T}$AWK" >&6
   1578 else
   1579   echo "$as_me:$LINENO: result: no" >&5
   1580 echo "${ECHO_T}no" >&6
   1581 fi
   1582 
   1583   test -n "$AWK" && break
   1584 done
   1585 
   1586 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   1587 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   1588 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   1589 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   1590   echo $ECHO_N "(cached) $ECHO_C" >&6
   1591 else
   1592   cat >conftest.make <<\_ACEOF
   1593 all:
   1594 	@echo 'ac_maketemp="$(MAKE)"'
   1595 _ACEOF
   1596 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   1597 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   1598 if test -n "$ac_maketemp"; then
   1599   eval ac_cv_prog_make_${ac_make}_set=yes
   1600 else
   1601   eval ac_cv_prog_make_${ac_make}_set=no
   1602 fi
   1603 rm -f conftest.make
   1604 fi
   1605 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   1606   echo "$as_me:$LINENO: result: yes" >&5
   1607 echo "${ECHO_T}yes" >&6
   1608   SET_MAKE=
   1609 else
   1610   echo "$as_me:$LINENO: result: no" >&5
   1611 echo "${ECHO_T}no" >&6
   1612   SET_MAKE="MAKE=${MAKE-make}"
   1613 fi
   1614 
   1615 rm -rf .tst 2>/dev/null
   1616 mkdir .tst 2>/dev/null
   1617 if test -d .tst; then
   1618   am__leading_dot=.
   1619 else
   1620   am__leading_dot=_
   1621 fi
   1622 rmdir .tst 2>/dev/null
   1623 
   1624 # test to see if srcdir already configured
   1625 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   1626    test -f $srcdir/config.status; then
   1627   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   1628 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   1629    { (exit 1); exit 1; }; }
   1630 fi
   1631 
   1632 # test whether we have cygpath
   1633 if test -z "$CYGPATH_W"; then
   1634   if (cygpath --version) >/dev/null 2>/dev/null; then
   1635     CYGPATH_W='cygpath -w'
   1636   else
   1637     CYGPATH_W=echo
   1638   fi
   1639 fi
   1640 
   1641 
   1642 # Define the identity of the package.
   1643  PACKAGE='texinfo'
   1644  VERSION='4.8'
   1645 
   1646 
   1647 cat >>confdefs.h <<_ACEOF
   1648 #define PACKAGE "$PACKAGE"
   1649 _ACEOF
   1650 
   1651 
   1652 cat >>confdefs.h <<_ACEOF
   1653 #define VERSION "$VERSION"
   1654 _ACEOF
   1655 
   1656 # Some tools Automake needs.
   1657 
   1658 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   1659 
   1660 
   1661 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   1662 
   1663 
   1664 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   1665 
   1666 
   1667 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   1668 
   1669 
   1670 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   1671 
   1672 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   1673 
   1674 # Installed binaries are usually stripped using `strip' when the user
   1675 # run `make install-strip'.  However `strip' might not be the right
   1676 # tool to use in cross-compilation environments, therefore Automake
   1677 # will honor the `STRIP' environment variable to overrule this program.
   1678 if test "$cross_compiling" != no; then
   1679   if test -n "$ac_tool_prefix"; then
   1680   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   1681 set dummy ${ac_tool_prefix}strip; ac_word=$2
   1682 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1684 if test "${ac_cv_prog_STRIP+set}" = set; then
   1685   echo $ECHO_N "(cached) $ECHO_C" >&6
   1686 else
   1687   if test -n "$STRIP"; then
   1688   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   1689 else
   1690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1691 for as_dir in $PATH
   1692 do
   1693   IFS=$as_save_IFS
   1694   test -z "$as_dir" && as_dir=.
   1695   for ac_exec_ext in '' $ac_executable_extensions; do
   1696   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1697     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   1698     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1699     break 2
   1700   fi
   1701 done
   1702 done
   1703 
   1704 fi
   1705 fi
   1706 STRIP=$ac_cv_prog_STRIP
   1707 if test -n "$STRIP"; then
   1708   echo "$as_me:$LINENO: result: $STRIP" >&5
   1709 echo "${ECHO_T}$STRIP" >&6
   1710 else
   1711   echo "$as_me:$LINENO: result: no" >&5
   1712 echo "${ECHO_T}no" >&6
   1713 fi
   1714 
   1715 fi
   1716 if test -z "$ac_cv_prog_STRIP"; then
   1717   ac_ct_STRIP=$STRIP
   1718   # Extract the first word of "strip", so it can be a program name with args.
   1719 set dummy strip; ac_word=$2
   1720 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1721 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1722 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   1723   echo $ECHO_N "(cached) $ECHO_C" >&6
   1724 else
   1725   if test -n "$ac_ct_STRIP"; then
   1726   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   1727 else
   1728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1729 for as_dir in $PATH
   1730 do
   1731   IFS=$as_save_IFS
   1732   test -z "$as_dir" && as_dir=.
   1733   for ac_exec_ext in '' $ac_executable_extensions; do
   1734   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1735     ac_cv_prog_ac_ct_STRIP="strip"
   1736     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1737     break 2
   1738   fi
   1739 done
   1740 done
   1741 
   1742   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   1743 fi
   1744 fi
   1745 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   1746 if test -n "$ac_ct_STRIP"; then
   1747   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   1748 echo "${ECHO_T}$ac_ct_STRIP" >&6
   1749 else
   1750   echo "$as_me:$LINENO: result: no" >&5
   1751 echo "${ECHO_T}no" >&6
   1752 fi
   1753 
   1754   STRIP=$ac_ct_STRIP
   1755 else
   1756   STRIP="$ac_cv_prog_STRIP"
   1757 fi
   1758 
   1759 fi
   1760 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   1761 
   1762 # We need awk for the "check" target.  The system "awk" is bad on
   1763 # some platforms.
   1764 # Always define AMTAR for backward compatibility.
   1765 
   1766 AMTAR=${AMTAR-"${am_missing_run}tar"}
   1767 
   1768 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   1769 
   1770 
   1771 
   1772 
   1773 
   1774 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   1775 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
   1776     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
   1777 if test "${enable_maintainer_mode+set}" = set; then
   1778   enableval="$enable_maintainer_mode"
   1779   USE_MAINTAINER_MODE=$enableval
   1780 else
   1781   USE_MAINTAINER_MODE=no
   1782 fi;
   1783   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   1784 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
   1785 
   1786 
   1787 if test $USE_MAINTAINER_MODE = yes; then
   1788   MAINTAINER_MODE_TRUE=
   1789   MAINTAINER_MODE_FALSE='#'
   1790 else
   1791   MAINTAINER_MODE_TRUE='#'
   1792   MAINTAINER_MODE_FALSE=
   1793 fi
   1794 
   1795   MAINT=$MAINTAINER_MODE_TRUE
   1796 
   1797 
   1798 
   1799 # When the Texinfo source is imported into other repositories
   1800 # (NetBSD and TeX Live), timestamps are generally not preserved.  This
   1801 # causes lots of annoyance, so --enable-maintainer-mode.  Sorry.
   1802 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   1803 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
   1804     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
   1805 if test "${enable_maintainer_mode+set}" = set; then
   1806   enableval="$enable_maintainer_mode"
   1807   USE_MAINTAINER_MODE=$enableval
   1808 else
   1809   USE_MAINTAINER_MODE=no
   1810 fi;
   1811   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   1812 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
   1813 
   1814 
   1815 if test $USE_MAINTAINER_MODE = yes; then
   1816   MAINTAINER_MODE_TRUE=
   1817   MAINTAINER_MODE_FALSE='#'
   1818 else
   1819   MAINTAINER_MODE_TRUE='#'
   1820   MAINTAINER_MODE_FALSE=
   1821 fi
   1822 
   1823   MAINT=$MAINTAINER_MODE_TRUE
   1824 
   1825 
   1826 
   1827 # Checks for programs.
   1828 ac_ext=c
   1829 ac_cpp='$CPP $CPPFLAGS'
   1830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1833 if test -n "$ac_tool_prefix"; then
   1834   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   1835 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   1836 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1838 if test "${ac_cv_prog_CC+set}" = set; then
   1839   echo $ECHO_N "(cached) $ECHO_C" >&6
   1840 else
   1841   if test -n "$CC"; then
   1842   ac_cv_prog_CC="$CC" # Let the user override the test.
   1843 else
   1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1845 for as_dir in $PATH
   1846 do
   1847   IFS=$as_save_IFS
   1848   test -z "$as_dir" && as_dir=.
   1849   for ac_exec_ext in '' $ac_executable_extensions; do
   1850   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1851     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1852     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1853     break 2
   1854   fi
   1855 done
   1856 done
   1857 
   1858 fi
   1859 fi
   1860 CC=$ac_cv_prog_CC
   1861 if test -n "$CC"; then
   1862   echo "$as_me:$LINENO: result: $CC" >&5
   1863 echo "${ECHO_T}$CC" >&6
   1864 else
   1865   echo "$as_me:$LINENO: result: no" >&5
   1866 echo "${ECHO_T}no" >&6
   1867 fi
   1868 
   1869 fi
   1870 if test -z "$ac_cv_prog_CC"; then
   1871   ac_ct_CC=$CC
   1872   # Extract the first word of "gcc", so it can be a program name with args.
   1873 set dummy gcc; ac_word=$2
   1874 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1875 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1876 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1877   echo $ECHO_N "(cached) $ECHO_C" >&6
   1878 else
   1879   if test -n "$ac_ct_CC"; then
   1880   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1881 else
   1882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1883 for as_dir in $PATH
   1884 do
   1885   IFS=$as_save_IFS
   1886   test -z "$as_dir" && as_dir=.
   1887   for ac_exec_ext in '' $ac_executable_extensions; do
   1888   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1889     ac_cv_prog_ac_ct_CC="gcc"
   1890     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1891     break 2
   1892   fi
   1893 done
   1894 done
   1895 
   1896 fi
   1897 fi
   1898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1899 if test -n "$ac_ct_CC"; then
   1900   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1901 echo "${ECHO_T}$ac_ct_CC" >&6
   1902 else
   1903   echo "$as_me:$LINENO: result: no" >&5
   1904 echo "${ECHO_T}no" >&6
   1905 fi
   1906 
   1907   CC=$ac_ct_CC
   1908 else
   1909   CC="$ac_cv_prog_CC"
   1910 fi
   1911 
   1912 if test -z "$CC"; then
   1913   if test -n "$ac_tool_prefix"; then
   1914   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1915 set dummy ${ac_tool_prefix}cc; ac_word=$2
   1916 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1917 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1918 if test "${ac_cv_prog_CC+set}" = set; then
   1919   echo $ECHO_N "(cached) $ECHO_C" >&6
   1920 else
   1921   if test -n "$CC"; then
   1922   ac_cv_prog_CC="$CC" # Let the user override the test.
   1923 else
   1924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1925 for as_dir in $PATH
   1926 do
   1927   IFS=$as_save_IFS
   1928   test -z "$as_dir" && as_dir=.
   1929   for ac_exec_ext in '' $ac_executable_extensions; do
   1930   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1931     ac_cv_prog_CC="${ac_tool_prefix}cc"
   1932     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1933     break 2
   1934   fi
   1935 done
   1936 done
   1937 
   1938 fi
   1939 fi
   1940 CC=$ac_cv_prog_CC
   1941 if test -n "$CC"; then
   1942   echo "$as_me:$LINENO: result: $CC" >&5
   1943 echo "${ECHO_T}$CC" >&6
   1944 else
   1945   echo "$as_me:$LINENO: result: no" >&5
   1946 echo "${ECHO_T}no" >&6
   1947 fi
   1948 
   1949 fi
   1950 if test -z "$ac_cv_prog_CC"; then
   1951   ac_ct_CC=$CC
   1952   # Extract the first word of "cc", so it can be a program name with args.
   1953 set dummy cc; ac_word=$2
   1954 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1956 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1957   echo $ECHO_N "(cached) $ECHO_C" >&6
   1958 else
   1959   if test -n "$ac_ct_CC"; then
   1960   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1961 else
   1962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1963 for as_dir in $PATH
   1964 do
   1965   IFS=$as_save_IFS
   1966   test -z "$as_dir" && as_dir=.
   1967   for ac_exec_ext in '' $ac_executable_extensions; do
   1968   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1969     ac_cv_prog_ac_ct_CC="cc"
   1970     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1971     break 2
   1972   fi
   1973 done
   1974 done
   1975 
   1976 fi
   1977 fi
   1978 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1979 if test -n "$ac_ct_CC"; then
   1980   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1981 echo "${ECHO_T}$ac_ct_CC" >&6
   1982 else
   1983   echo "$as_me:$LINENO: result: no" >&5
   1984 echo "${ECHO_T}no" >&6
   1985 fi
   1986 
   1987   CC=$ac_ct_CC
   1988 else
   1989   CC="$ac_cv_prog_CC"
   1990 fi
   1991 
   1992 fi
   1993 if test -z "$CC"; then
   1994   # Extract the first word of "cc", so it can be a program name with args.
   1995 set dummy cc; ac_word=$2
   1996 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1997 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1998 if test "${ac_cv_prog_CC+set}" = set; then
   1999   echo $ECHO_N "(cached) $ECHO_C" >&6
   2000 else
   2001   if test -n "$CC"; then
   2002   ac_cv_prog_CC="$CC" # Let the user override the test.
   2003 else
   2004   ac_prog_rejected=no
   2005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2006 for as_dir in $PATH
   2007 do
   2008   IFS=$as_save_IFS
   2009   test -z "$as_dir" && as_dir=.
   2010   for ac_exec_ext in '' $ac_executable_extensions; do
   2011   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2012     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2013        ac_prog_rejected=yes
   2014        continue
   2015      fi
   2016     ac_cv_prog_CC="cc"
   2017     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2018     break 2
   2019   fi
   2020 done
   2021 done
   2022 
   2023 if test $ac_prog_rejected = yes; then
   2024   # We found a bogon in the path, so make sure we never use it.
   2025   set dummy $ac_cv_prog_CC
   2026   shift
   2027   if test $# != 0; then
   2028     # We chose a different compiler from the bogus one.
   2029     # However, it has the same basename, so the bogon will be chosen
   2030     # first if we set CC to just the basename; use the full file name.
   2031     shift
   2032     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2033   fi
   2034 fi
   2035 fi
   2036 fi
   2037 CC=$ac_cv_prog_CC
   2038 if test -n "$CC"; then
   2039   echo "$as_me:$LINENO: result: $CC" >&5
   2040 echo "${ECHO_T}$CC" >&6
   2041 else
   2042   echo "$as_me:$LINENO: result: no" >&5
   2043 echo "${ECHO_T}no" >&6
   2044 fi
   2045 
   2046 fi
   2047 if test -z "$CC"; then
   2048   if test -n "$ac_tool_prefix"; then
   2049   for ac_prog in cl
   2050   do
   2051     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2052 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2053 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2055 if test "${ac_cv_prog_CC+set}" = set; then
   2056   echo $ECHO_N "(cached) $ECHO_C" >&6
   2057 else
   2058   if test -n "$CC"; then
   2059   ac_cv_prog_CC="$CC" # Let the user override the test.
   2060 else
   2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2062 for as_dir in $PATH
   2063 do
   2064   IFS=$as_save_IFS
   2065   test -z "$as_dir" && as_dir=.
   2066   for ac_exec_ext in '' $ac_executable_extensions; do
   2067   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2068     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2069     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2070     break 2
   2071   fi
   2072 done
   2073 done
   2074 
   2075 fi
   2076 fi
   2077 CC=$ac_cv_prog_CC
   2078 if test -n "$CC"; then
   2079   echo "$as_me:$LINENO: result: $CC" >&5
   2080 echo "${ECHO_T}$CC" >&6
   2081 else
   2082   echo "$as_me:$LINENO: result: no" >&5
   2083 echo "${ECHO_T}no" >&6
   2084 fi
   2085 
   2086     test -n "$CC" && break
   2087   done
   2088 fi
   2089 if test -z "$CC"; then
   2090   ac_ct_CC=$CC
   2091   for ac_prog in cl
   2092 do
   2093   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2094 set dummy $ac_prog; ac_word=$2
   2095 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2097 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   2098   echo $ECHO_N "(cached) $ECHO_C" >&6
   2099 else
   2100   if test -n "$ac_ct_CC"; then
   2101   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2102 else
   2103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2104 for as_dir in $PATH
   2105 do
   2106   IFS=$as_save_IFS
   2107   test -z "$as_dir" && as_dir=.
   2108   for ac_exec_ext in '' $ac_executable_extensions; do
   2109   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2110     ac_cv_prog_ac_ct_CC="$ac_prog"
   2111     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2112     break 2
   2113   fi
   2114 done
   2115 done
   2116 
   2117 fi
   2118 fi
   2119 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2120 if test -n "$ac_ct_CC"; then
   2121   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   2122 echo "${ECHO_T}$ac_ct_CC" >&6
   2123 else
   2124   echo "$as_me:$LINENO: result: no" >&5
   2125 echo "${ECHO_T}no" >&6
   2126 fi
   2127 
   2128   test -n "$ac_ct_CC" && break
   2129 done
   2130 
   2131   CC=$ac_ct_CC
   2132 fi
   2133 
   2134 fi
   2135 
   2136 
   2137 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   2138 See \`config.log' for more details." >&5
   2139 echo "$as_me: error: no acceptable C compiler found in \$PATH
   2140 See \`config.log' for more details." >&2;}
   2141    { (exit 1); exit 1; }; }
   2142 
   2143 # Provide some information about the compiler.
   2144 echo "$as_me:$LINENO:" \
   2145      "checking for C compiler version" >&5
   2146 ac_compiler=`set X $ac_compile; echo $2`
   2147 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   2148   (eval $ac_compiler --version </dev/null >&5) 2>&5
   2149   ac_status=$?
   2150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2151   (exit $ac_status); }
   2152 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   2153   (eval $ac_compiler -v </dev/null >&5) 2>&5
   2154   ac_status=$?
   2155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2156   (exit $ac_status); }
   2157 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   2158   (eval $ac_compiler -V </dev/null >&5) 2>&5
   2159   ac_status=$?
   2160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2161   (exit $ac_status); }
   2162 
   2163 cat >conftest.$ac_ext <<_ACEOF
   2164 /* confdefs.h.  */
   2165 _ACEOF
   2166 cat confdefs.h >>conftest.$ac_ext
   2167 cat >>conftest.$ac_ext <<_ACEOF
   2168 /* end confdefs.h.  */
   2169 
   2170 int
   2171 main ()
   2172 {
   2173 
   2174   ;
   2175   return 0;
   2176 }
   2177 _ACEOF
   2178 ac_clean_files_save=$ac_clean_files
   2179 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   2180 # Try to create an executable without -o first, disregard a.out.
   2181 # It will help us diagnose broken compilers, and finding out an intuition
   2182 # of exeext.
   2183 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   2184 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   2185 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2186 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   2187   (eval $ac_link_default) 2>&5
   2188   ac_status=$?
   2189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2190   (exit $ac_status); }; then
   2191   # Find the output, starting from the most likely.  This scheme is
   2192 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   2193 # resort.
   2194 
   2195 # Be careful to initialize this variable, since it used to be cached.
   2196 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   2197 ac_cv_exeext=
   2198 # b.out is created by i960 compilers.
   2199 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   2200 do
   2201   test -f "$ac_file" || continue
   2202   case $ac_file in
   2203     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   2204 	;;
   2205     conftest.$ac_ext )
   2206 	# This is the source file.
   2207 	;;
   2208     [ab].out )
   2209 	# We found the default executable, but exeext='' is most
   2210 	# certainly right.
   2211 	break;;
   2212     *.* )
   2213 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2214 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   2215 	# but it would be cool to find out if it's true.  Does anybody
   2216 	# maintain Libtool? --akim.
   2217 	export ac_cv_exeext
   2218 	break;;
   2219     * )
   2220 	break;;
   2221   esac
   2222 done
   2223 else
   2224   echo "$as_me: failed program was:" >&5
   2225 sed 's/^/| /' conftest.$ac_ext >&5
   2226 
   2227 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2228 See \`config.log' for more details." >&5
   2229 echo "$as_me: error: C compiler cannot create executables
   2230 See \`config.log' for more details." >&2;}
   2231    { (exit 77); exit 77; }; }
   2232 fi
   2233 
   2234 ac_exeext=$ac_cv_exeext
   2235 echo "$as_me:$LINENO: result: $ac_file" >&5
   2236 echo "${ECHO_T}$ac_file" >&6
   2237 
   2238 # Check the compiler produces executables we can run.  If not, either
   2239 # the compiler is broken, or we cross compile.
   2240 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2241 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   2242 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2243 # If not cross compiling, check that we can run a simple program.
   2244 if test "$cross_compiling" != yes; then
   2245   if { ac_try='./$ac_file'
   2246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2247   (eval $ac_try) 2>&5
   2248   ac_status=$?
   2249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2250   (exit $ac_status); }; }; then
   2251     cross_compiling=no
   2252   else
   2253     if test "$cross_compiling" = maybe; then
   2254 	cross_compiling=yes
   2255     else
   2256 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2257 If you meant to cross compile, use \`--host'.
   2258 See \`config.log' for more details." >&5
   2259 echo "$as_me: error: cannot run C compiled programs.
   2260 If you meant to cross compile, use \`--host'.
   2261 See \`config.log' for more details." >&2;}
   2262    { (exit 1); exit 1; }; }
   2263     fi
   2264   fi
   2265 fi
   2266 echo "$as_me:$LINENO: result: yes" >&5
   2267 echo "${ECHO_T}yes" >&6
   2268 
   2269 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2270 ac_clean_files=$ac_clean_files_save
   2271 # Check the compiler produces executables we can run.  If not, either
   2272 # the compiler is broken, or we cross compile.
   2273 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2274 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   2275 echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2276 echo "${ECHO_T}$cross_compiling" >&6
   2277 
   2278 echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2279 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   2280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2281   (eval $ac_link) 2>&5
   2282   ac_status=$?
   2283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2284   (exit $ac_status); }; then
   2285   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2286 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2287 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2288 # `rm'.
   2289 for ac_file in conftest.exe conftest conftest.*; do
   2290   test -f "$ac_file" || continue
   2291   case $ac_file in
   2292     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   2293     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2294 	  export ac_cv_exeext
   2295 	  break;;
   2296     * ) break;;
   2297   esac
   2298 done
   2299 else
   2300   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2301 See \`config.log' for more details." >&5
   2302 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2303 See \`config.log' for more details." >&2;}
   2304    { (exit 1); exit 1; }; }
   2305 fi
   2306 
   2307 rm -f conftest$ac_cv_exeext
   2308 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2309 echo "${ECHO_T}$ac_cv_exeext" >&6
   2310 
   2311 rm -f conftest.$ac_ext
   2312 EXEEXT=$ac_cv_exeext
   2313 ac_exeext=$EXEEXT
   2314 echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2315 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   2316 if test "${ac_cv_objext+set}" = set; then
   2317   echo $ECHO_N "(cached) $ECHO_C" >&6
   2318 else
   2319   cat >conftest.$ac_ext <<_ACEOF
   2320 /* confdefs.h.  */
   2321 _ACEOF
   2322 cat confdefs.h >>conftest.$ac_ext
   2323 cat >>conftest.$ac_ext <<_ACEOF
   2324 /* end confdefs.h.  */
   2325 
   2326 int
   2327 main ()
   2328 {
   2329 
   2330   ;
   2331   return 0;
   2332 }
   2333 _ACEOF
   2334 rm -f conftest.o conftest.obj
   2335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2336   (eval $ac_compile) 2>&5
   2337   ac_status=$?
   2338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2339   (exit $ac_status); }; then
   2340   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   2341   case $ac_file in
   2342     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   2343     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2344        break;;
   2345   esac
   2346 done
   2347 else
   2348   echo "$as_me: failed program was:" >&5
   2349 sed 's/^/| /' conftest.$ac_ext >&5
   2350 
   2351 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2352 See \`config.log' for more details." >&5
   2353 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2354 See \`config.log' for more details." >&2;}
   2355    { (exit 1); exit 1; }; }
   2356 fi
   2357 
   2358 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2359 fi
   2360 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2361 echo "${ECHO_T}$ac_cv_objext" >&6
   2362 OBJEXT=$ac_cv_objext
   2363 ac_objext=$OBJEXT
   2364 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2365 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   2366 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2367   echo $ECHO_N "(cached) $ECHO_C" >&6
   2368 else
   2369   cat >conftest.$ac_ext <<_ACEOF
   2370 /* confdefs.h.  */
   2371 _ACEOF
   2372 cat confdefs.h >>conftest.$ac_ext
   2373 cat >>conftest.$ac_ext <<_ACEOF
   2374 /* end confdefs.h.  */
   2375 
   2376 int
   2377 main ()
   2378 {
   2379 #ifndef __GNUC__
   2380        choke me
   2381 #endif
   2382 
   2383   ;
   2384   return 0;
   2385 }
   2386 _ACEOF
   2387 rm -f conftest.$ac_objext
   2388 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2389   (eval $ac_compile) 2>conftest.er1
   2390   ac_status=$?
   2391   grep -v '^ *+' conftest.er1 >conftest.err
   2392   rm -f conftest.er1
   2393   cat conftest.err >&5
   2394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2395   (exit $ac_status); } &&
   2396 	 { ac_try='test -z "$ac_c_werror_flag"
   2397 			 || test ! -s conftest.err'
   2398   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2399   (eval $ac_try) 2>&5
   2400   ac_status=$?
   2401   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2402   (exit $ac_status); }; } &&
   2403 	 { ac_try='test -s conftest.$ac_objext'
   2404   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2405   (eval $ac_try) 2>&5
   2406   ac_status=$?
   2407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2408   (exit $ac_status); }; }; then
   2409   ac_compiler_gnu=yes
   2410 else
   2411   echo "$as_me: failed program was:" >&5
   2412 sed 's/^/| /' conftest.$ac_ext >&5
   2413 
   2414 ac_compiler_gnu=no
   2415 fi
   2416 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2417 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2418 
   2419 fi
   2420 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2421 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   2422 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2423 ac_test_CFLAGS=${CFLAGS+set}
   2424 ac_save_CFLAGS=$CFLAGS
   2425 CFLAGS="-g"
   2426 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2427 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   2428 if test "${ac_cv_prog_cc_g+set}" = set; then
   2429   echo $ECHO_N "(cached) $ECHO_C" >&6
   2430 else
   2431   cat >conftest.$ac_ext <<_ACEOF
   2432 /* confdefs.h.  */
   2433 _ACEOF
   2434 cat confdefs.h >>conftest.$ac_ext
   2435 cat >>conftest.$ac_ext <<_ACEOF
   2436 /* end confdefs.h.  */
   2437 
   2438 int
   2439 main ()
   2440 {
   2441 
   2442   ;
   2443   return 0;
   2444 }
   2445 _ACEOF
   2446 rm -f conftest.$ac_objext
   2447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2448   (eval $ac_compile) 2>conftest.er1
   2449   ac_status=$?
   2450   grep -v '^ *+' conftest.er1 >conftest.err
   2451   rm -f conftest.er1
   2452   cat conftest.err >&5
   2453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2454   (exit $ac_status); } &&
   2455 	 { ac_try='test -z "$ac_c_werror_flag"
   2456 			 || test ! -s conftest.err'
   2457   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2458   (eval $ac_try) 2>&5
   2459   ac_status=$?
   2460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2461   (exit $ac_status); }; } &&
   2462 	 { ac_try='test -s conftest.$ac_objext'
   2463   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2464   (eval $ac_try) 2>&5
   2465   ac_status=$?
   2466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2467   (exit $ac_status); }; }; then
   2468   ac_cv_prog_cc_g=yes
   2469 else
   2470   echo "$as_me: failed program was:" >&5
   2471 sed 's/^/| /' conftest.$ac_ext >&5
   2472 
   2473 ac_cv_prog_cc_g=no
   2474 fi
   2475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2476 fi
   2477 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2478 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   2479 if test "$ac_test_CFLAGS" = set; then
   2480   CFLAGS=$ac_save_CFLAGS
   2481 elif test $ac_cv_prog_cc_g = yes; then
   2482   if test "$GCC" = yes; then
   2483     CFLAGS="-g -O2"
   2484   else
   2485     CFLAGS="-g"
   2486   fi
   2487 else
   2488   if test "$GCC" = yes; then
   2489     CFLAGS="-O2"
   2490   else
   2491     CFLAGS=
   2492   fi
   2493 fi
   2494 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   2495 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   2496 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   2497   echo $ECHO_N "(cached) $ECHO_C" >&6
   2498 else
   2499   ac_cv_prog_cc_stdc=no
   2500 ac_save_CC=$CC
   2501 cat >conftest.$ac_ext <<_ACEOF
   2502 /* confdefs.h.  */
   2503 _ACEOF
   2504 cat confdefs.h >>conftest.$ac_ext
   2505 cat >>conftest.$ac_ext <<_ACEOF
   2506 /* end confdefs.h.  */
   2507 #include <stdarg.h>
   2508 #include <stdio.h>
   2509 #include <sys/types.h>
   2510 #include <sys/stat.h>
   2511 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2512 struct buf { int x; };
   2513 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2514 static char *e (p, i)
   2515      char **p;
   2516      int i;
   2517 {
   2518   return p[i];
   2519 }
   2520 static char *f (char * (*g) (char **, int), char **p, ...)
   2521 {
   2522   char *s;
   2523   va_list v;
   2524   va_start (v,p);
   2525   s = g (p, va_arg (v,int));
   2526   va_end (v);
   2527   return s;
   2528 }
   2529 
   2530 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2531    function prototypes and stuff, but not '\xHH' hex character constants.
   2532    These don't provoke an error unfortunately, instead are silently treated
   2533    as 'x'.  The following induces an error, until -std1 is added to get
   2534    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2535    array size at least.  It's necessary to write '\x00'==0 to get something
   2536    that's true only with -std1.  */
   2537 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2538 
   2539 int test (int i, double x);
   2540 struct s1 {int (*f) (int a);};
   2541 struct s2 {int (*f) (double a);};
   2542 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2543 int argc;
   2544 char **argv;
   2545 int
   2546 main ()
   2547 {
   2548 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2549   ;
   2550   return 0;
   2551 }
   2552 _ACEOF
   2553 # Don't try gcc -ansi; that turns off useful extensions and
   2554 # breaks some systems' header files.
   2555 # AIX			-qlanglvl=ansi
   2556 # Ultrix and OSF/1	-std1
   2557 # HP-UX 10.20 and later	-Ae
   2558 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2559 # SVR4			-Xc -D__EXTENSIONS__
   2560 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2561 do
   2562   CC="$ac_save_CC $ac_arg"
   2563   rm -f conftest.$ac_objext
   2564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2565   (eval $ac_compile) 2>conftest.er1
   2566   ac_status=$?
   2567   grep -v '^ *+' conftest.er1 >conftest.err
   2568   rm -f conftest.er1
   2569   cat conftest.err >&5
   2570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2571   (exit $ac_status); } &&
   2572 	 { ac_try='test -z "$ac_c_werror_flag"
   2573 			 || test ! -s conftest.err'
   2574   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2575   (eval $ac_try) 2>&5
   2576   ac_status=$?
   2577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2578   (exit $ac_status); }; } &&
   2579 	 { ac_try='test -s conftest.$ac_objext'
   2580   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2581   (eval $ac_try) 2>&5
   2582   ac_status=$?
   2583   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2584   (exit $ac_status); }; }; then
   2585   ac_cv_prog_cc_stdc=$ac_arg
   2586 break
   2587 else
   2588   echo "$as_me: failed program was:" >&5
   2589 sed 's/^/| /' conftest.$ac_ext >&5
   2590 
   2591 fi
   2592 rm -f conftest.err conftest.$ac_objext
   2593 done
   2594 rm -f conftest.$ac_ext conftest.$ac_objext
   2595 CC=$ac_save_CC
   2596 
   2597 fi
   2598 
   2599 case "x$ac_cv_prog_cc_stdc" in
   2600   x|xno)
   2601     echo "$as_me:$LINENO: result: none needed" >&5
   2602 echo "${ECHO_T}none needed" >&6 ;;
   2603   *)
   2604     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2605 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2606     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2607 esac
   2608 
   2609 # Some people use a C++ compiler to compile C.  Since we use `exit',
   2610 # in C++ we need to declare it.  In case someone uses the same compiler
   2611 # for both compiling C and C++ we need to have the C++ compiler decide
   2612 # the declaration of exit, since it's the most demanding environment.
   2613 cat >conftest.$ac_ext <<_ACEOF
   2614 #ifndef __cplusplus
   2615   choke me
   2616 #endif
   2617 _ACEOF
   2618 rm -f conftest.$ac_objext
   2619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2620   (eval $ac_compile) 2>conftest.er1
   2621   ac_status=$?
   2622   grep -v '^ *+' conftest.er1 >conftest.err
   2623   rm -f conftest.er1
   2624   cat conftest.err >&5
   2625   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2626   (exit $ac_status); } &&
   2627 	 { ac_try='test -z "$ac_c_werror_flag"
   2628 			 || test ! -s conftest.err'
   2629   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2630   (eval $ac_try) 2>&5
   2631   ac_status=$?
   2632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2633   (exit $ac_status); }; } &&
   2634 	 { ac_try='test -s conftest.$ac_objext'
   2635   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2636   (eval $ac_try) 2>&5
   2637   ac_status=$?
   2638   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2639   (exit $ac_status); }; }; then
   2640   for ac_declaration in \
   2641    '' \
   2642    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2643    'extern "C" void std::exit (int); using std::exit;' \
   2644    'extern "C" void exit (int) throw ();' \
   2645    'extern "C" void exit (int);' \
   2646    'void exit (int);'
   2647 do
   2648   cat >conftest.$ac_ext <<_ACEOF
   2649 /* confdefs.h.  */
   2650 _ACEOF
   2651 cat confdefs.h >>conftest.$ac_ext
   2652 cat >>conftest.$ac_ext <<_ACEOF
   2653 /* end confdefs.h.  */
   2654 $ac_declaration
   2655 #include <stdlib.h>
   2656 int
   2657 main ()
   2658 {
   2659 exit (42);
   2660   ;
   2661   return 0;
   2662 }
   2663 _ACEOF
   2664 rm -f conftest.$ac_objext
   2665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2666   (eval $ac_compile) 2>conftest.er1
   2667   ac_status=$?
   2668   grep -v '^ *+' conftest.er1 >conftest.err
   2669   rm -f conftest.er1
   2670   cat conftest.err >&5
   2671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2672   (exit $ac_status); } &&
   2673 	 { ac_try='test -z "$ac_c_werror_flag"
   2674 			 || test ! -s conftest.err'
   2675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2676   (eval $ac_try) 2>&5
   2677   ac_status=$?
   2678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2679   (exit $ac_status); }; } &&
   2680 	 { ac_try='test -s conftest.$ac_objext'
   2681   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2682   (eval $ac_try) 2>&5
   2683   ac_status=$?
   2684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2685   (exit $ac_status); }; }; then
   2686   :
   2687 else
   2688   echo "$as_me: failed program was:" >&5
   2689 sed 's/^/| /' conftest.$ac_ext >&5
   2690 
   2691 continue
   2692 fi
   2693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2694   cat >conftest.$ac_ext <<_ACEOF
   2695 /* confdefs.h.  */
   2696 _ACEOF
   2697 cat confdefs.h >>conftest.$ac_ext
   2698 cat >>conftest.$ac_ext <<_ACEOF
   2699 /* end confdefs.h.  */
   2700 $ac_declaration
   2701 int
   2702 main ()
   2703 {
   2704 exit (42);
   2705   ;
   2706   return 0;
   2707 }
   2708 _ACEOF
   2709 rm -f conftest.$ac_objext
   2710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2711   (eval $ac_compile) 2>conftest.er1
   2712   ac_status=$?
   2713   grep -v '^ *+' conftest.er1 >conftest.err
   2714   rm -f conftest.er1
   2715   cat conftest.err >&5
   2716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2717   (exit $ac_status); } &&
   2718 	 { ac_try='test -z "$ac_c_werror_flag"
   2719 			 || test ! -s conftest.err'
   2720   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2721   (eval $ac_try) 2>&5
   2722   ac_status=$?
   2723   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2724   (exit $ac_status); }; } &&
   2725 	 { ac_try='test -s conftest.$ac_objext'
   2726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2727   (eval $ac_try) 2>&5
   2728   ac_status=$?
   2729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2730   (exit $ac_status); }; }; then
   2731   break
   2732 else
   2733   echo "$as_me: failed program was:" >&5
   2734 sed 's/^/| /' conftest.$ac_ext >&5
   2735 
   2736 fi
   2737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2738 done
   2739 rm -f conftest*
   2740 if test -n "$ac_declaration"; then
   2741   echo '#ifdef __cplusplus' >>confdefs.h
   2742   echo $ac_declaration      >>confdefs.h
   2743   echo '#endif'             >>confdefs.h
   2744 fi
   2745 
   2746 else
   2747   echo "$as_me: failed program was:" >&5
   2748 sed 's/^/| /' conftest.$ac_ext >&5
   2749 
   2750 fi
   2751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2752 ac_ext=c
   2753 ac_cpp='$CPP $CPPFLAGS'
   2754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2757 DEPDIR="${am__leading_dot}deps"
   2758 
   2759           ac_config_commands="$ac_config_commands depfiles"
   2760 
   2761 
   2762 am_make=${MAKE-make}
   2763 cat > confinc << 'END'
   2764 am__doit:
   2765 	@echo done
   2766 .PHONY: am__doit
   2767 END
   2768 # If we don't find an include directive, just comment out the code.
   2769 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2770 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   2771 am__include="#"
   2772 am__quote=
   2773 _am_result=none
   2774 # First try GNU make style include.
   2775 echo "include confinc" > confmf
   2776 # We grep out `Entering directory' and `Leaving directory'
   2777 # messages which can occur if `w' ends up in MAKEFLAGS.
   2778 # In particular we don't look at `^make:' because GNU make might
   2779 # be invoked under some other name (usually "gmake"), in which
   2780 # case it prints its new name instead of `make'.
   2781 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2782    am__include=include
   2783    am__quote=
   2784    _am_result=GNU
   2785 fi
   2786 # Now try BSD make style include.
   2787 if test "$am__include" = "#"; then
   2788    echo '.include "confinc"' > confmf
   2789    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2790       am__include=.include
   2791       am__quote="\""
   2792       _am_result=BSD
   2793    fi
   2794 fi
   2795 
   2796 
   2797 echo "$as_me:$LINENO: result: $_am_result" >&5
   2798 echo "${ECHO_T}$_am_result" >&6
   2799 rm -f confinc confmf
   2800 
   2801 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
   2802 if test "${enable_dependency_tracking+set}" = set; then
   2803   enableval="$enable_dependency_tracking"
   2804 
   2805 fi;
   2806 if test "x$enable_dependency_tracking" != xno; then
   2807   am_depcomp="$ac_aux_dir/depcomp"
   2808   AMDEPBACKSLASH='\'
   2809 fi
   2810 
   2811 
   2812 if test "x$enable_dependency_tracking" != xno; then
   2813   AMDEP_TRUE=
   2814   AMDEP_FALSE='#'
   2815 else
   2816   AMDEP_TRUE='#'
   2817   AMDEP_FALSE=
   2818 fi
   2819 
   2820 
   2821 
   2822 
   2823 depcc="$CC"   am_compiler_list=
   2824 
   2825 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   2826 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   2827 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   2828   echo $ECHO_N "(cached) $ECHO_C" >&6
   2829 else
   2830   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   2831   # We make a subdir and do the tests there.  Otherwise we can end up
   2832   # making bogus files that we don't know about and never remove.  For
   2833   # instance it was reported that on HP-UX the gcc test will end up
   2834   # making a dummy file named `D' -- because `-MD' means `put the output
   2835   # in D'.
   2836   mkdir conftest.dir
   2837   # Copy depcomp to subdir because otherwise we won't find it if we're
   2838   # using a relative directory.
   2839   cp "$am_depcomp" conftest.dir
   2840   cd conftest.dir
   2841   # We will build objects and dependencies in a subdirectory because
   2842   # it helps to detect inapplicable dependency modes.  For instance
   2843   # both Tru64's cc and ICC support -MD to output dependencies as a
   2844   # side effect of compilation, but ICC will put the dependencies in
   2845   # the current directory while Tru64 will put them in the object
   2846   # directory.
   2847   mkdir sub
   2848 
   2849   am_cv_CC_dependencies_compiler_type=none
   2850   if test "$am_compiler_list" = ""; then
   2851      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   2852   fi
   2853   for depmode in $am_compiler_list; do
   2854     # Setup a source with many dependencies, because some compilers
   2855     # like to wrap large dependency lists on column 80 (with \), and
   2856     # we should not choose a depcomp mode which is confused by this.
   2857     #
   2858     # We need to recreate these files for each test, as the compiler may
   2859     # overwrite some of them when testing with obscure command lines.
   2860     # This happens at least with the AIX C compiler.
   2861     : > sub/conftest.c
   2862     for i in 1 2 3 4 5 6; do
   2863       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   2864       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   2865       # Solaris 8's {/usr,}/bin/sh.
   2866       touch sub/conftst$i.h
   2867     done
   2868     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   2869 
   2870     case $depmode in
   2871     nosideeffect)
   2872       # after this tag, mechanisms are not by side-effect, so they'll
   2873       # only be used when explicitly requested
   2874       if test "x$enable_dependency_tracking" = xyes; then
   2875 	continue
   2876       else
   2877 	break
   2878       fi
   2879       ;;
   2880     none) break ;;
   2881     esac
   2882     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   2883     # mode.  It turns out that the SunPro C++ compiler does not properly
   2884     # handle `-M -o', and we need to detect this.
   2885     if depmode=$depmode \
   2886        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   2887        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   2888        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   2889          >/dev/null 2>conftest.err &&
   2890        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   2891        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   2892        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   2893       # icc doesn't choke on unknown options, it will just issue warnings
   2894       # or remarks (even with -Werror).  So we grep stderr for any message
   2895       # that says an option was ignored or not supported.
   2896       # When given -MP, icc 7.0 and 7.1 complain thusly:
   2897       #   icc: Command line warning: ignoring option '-M'; no argument required
   2898       # The diagnosis changed in icc 8.0:
   2899       #   icc: Command line remark: option '-MP' not supported
   2900       if (grep 'ignoring option' conftest.err ||
   2901           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   2902         am_cv_CC_dependencies_compiler_type=$depmode
   2903         break
   2904       fi
   2905     fi
   2906   done
   2907 
   2908   cd ..
   2909   rm -rf conftest.dir
   2910 else
   2911   am_cv_CC_dependencies_compiler_type=none
   2912 fi
   2913 
   2914 fi
   2915 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   2916 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   2917 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   2918 
   2919 
   2920 
   2921 if
   2922   test "x$enable_dependency_tracking" != xno \
   2923   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   2924   am__fastdepCC_TRUE=
   2925   am__fastdepCC_FALSE='#'
   2926 else
   2927   am__fastdepCC_TRUE='#'
   2928   am__fastdepCC_FALSE=
   2929 fi
   2930 
   2931 
   2932 
   2933 ac_ext=c
   2934 ac_cpp='$CPP $CPPFLAGS'
   2935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2938 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   2939 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   2940 # On Suns, sometimes $CPP names a directory.
   2941 if test -n "$CPP" && test -d "$CPP"; then
   2942   CPP=
   2943 fi
   2944 if test -z "$CPP"; then
   2945   if test "${ac_cv_prog_CPP+set}" = set; then
   2946   echo $ECHO_N "(cached) $ECHO_C" >&6
   2947 else
   2948       # Double quotes because CPP needs to be expanded
   2949     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   2950     do
   2951       ac_preproc_ok=false
   2952 for ac_c_preproc_warn_flag in '' yes
   2953 do
   2954   # Use a header file that comes with gcc, so configuring glibc
   2955   # with a fresh cross-compiler works.
   2956   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   2957   # <limits.h> exists even on freestanding compilers.
   2958   # On the NeXT, cc -E runs the code through the compiler's parser,
   2959   # not just through cpp. "Syntax error" is here to catch this case.
   2960   cat >conftest.$ac_ext <<_ACEOF
   2961 /* confdefs.h.  */
   2962 _ACEOF
   2963 cat confdefs.h >>conftest.$ac_ext
   2964 cat >>conftest.$ac_ext <<_ACEOF
   2965 /* end confdefs.h.  */
   2966 #ifdef __STDC__
   2967 # include <limits.h>
   2968 #else
   2969 # include <assert.h>
   2970 #endif
   2971 		     Syntax error
   2972 _ACEOF
   2973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   2974   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   2975   ac_status=$?
   2976   grep -v '^ *+' conftest.er1 >conftest.err
   2977   rm -f conftest.er1
   2978   cat conftest.err >&5
   2979   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2980   (exit $ac_status); } >/dev/null; then
   2981   if test -s conftest.err; then
   2982     ac_cpp_err=$ac_c_preproc_warn_flag
   2983     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   2984   else
   2985     ac_cpp_err=
   2986   fi
   2987 else
   2988   ac_cpp_err=yes
   2989 fi
   2990 if test -z "$ac_cpp_err"; then
   2991   :
   2992 else
   2993   echo "$as_me: failed program was:" >&5
   2994 sed 's/^/| /' conftest.$ac_ext >&5
   2995 
   2996   # Broken: fails on valid input.
   2997 continue
   2998 fi
   2999 rm -f conftest.err conftest.$ac_ext
   3000 
   3001   # OK, works on sane cases.  Now check whether non-existent headers
   3002   # can be detected and how.
   3003   cat >conftest.$ac_ext <<_ACEOF
   3004 /* confdefs.h.  */
   3005 _ACEOF
   3006 cat confdefs.h >>conftest.$ac_ext
   3007 cat >>conftest.$ac_ext <<_ACEOF
   3008 /* end confdefs.h.  */
   3009 #include <ac_nonexistent.h>
   3010 _ACEOF
   3011 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3012   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3013   ac_status=$?
   3014   grep -v '^ *+' conftest.er1 >conftest.err
   3015   rm -f conftest.er1
   3016   cat conftest.err >&5
   3017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3018   (exit $ac_status); } >/dev/null; then
   3019   if test -s conftest.err; then
   3020     ac_cpp_err=$ac_c_preproc_warn_flag
   3021     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3022   else
   3023     ac_cpp_err=
   3024   fi
   3025 else
   3026   ac_cpp_err=yes
   3027 fi
   3028 if test -z "$ac_cpp_err"; then
   3029   # Broken: success on invalid input.
   3030 continue
   3031 else
   3032   echo "$as_me: failed program was:" >&5
   3033 sed 's/^/| /' conftest.$ac_ext >&5
   3034 
   3035   # Passes both tests.
   3036 ac_preproc_ok=:
   3037 break
   3038 fi
   3039 rm -f conftest.err conftest.$ac_ext
   3040 
   3041 done
   3042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3043 rm -f conftest.err conftest.$ac_ext
   3044 if $ac_preproc_ok; then
   3045   break
   3046 fi
   3047 
   3048     done
   3049     ac_cv_prog_CPP=$CPP
   3050 
   3051 fi
   3052   CPP=$ac_cv_prog_CPP
   3053 else
   3054   ac_cv_prog_CPP=$CPP
   3055 fi
   3056 echo "$as_me:$LINENO: result: $CPP" >&5
   3057 echo "${ECHO_T}$CPP" >&6
   3058 ac_preproc_ok=false
   3059 for ac_c_preproc_warn_flag in '' yes
   3060 do
   3061   # Use a header file that comes with gcc, so configuring glibc
   3062   # with a fresh cross-compiler works.
   3063   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3064   # <limits.h> exists even on freestanding compilers.
   3065   # On the NeXT, cc -E runs the code through the compiler's parser,
   3066   # not just through cpp. "Syntax error" is here to catch this case.
   3067   cat >conftest.$ac_ext <<_ACEOF
   3068 /* confdefs.h.  */
   3069 _ACEOF
   3070 cat confdefs.h >>conftest.$ac_ext
   3071 cat >>conftest.$ac_ext <<_ACEOF
   3072 /* end confdefs.h.  */
   3073 #ifdef __STDC__
   3074 # include <limits.h>
   3075 #else
   3076 # include <assert.h>
   3077 #endif
   3078 		     Syntax error
   3079 _ACEOF
   3080 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3081   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3082   ac_status=$?
   3083   grep -v '^ *+' conftest.er1 >conftest.err
   3084   rm -f conftest.er1
   3085   cat conftest.err >&5
   3086   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3087   (exit $ac_status); } >/dev/null; then
   3088   if test -s conftest.err; then
   3089     ac_cpp_err=$ac_c_preproc_warn_flag
   3090     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3091   else
   3092     ac_cpp_err=
   3093   fi
   3094 else
   3095   ac_cpp_err=yes
   3096 fi
   3097 if test -z "$ac_cpp_err"; then
   3098   :
   3099 else
   3100   echo "$as_me: failed program was:" >&5
   3101 sed 's/^/| /' conftest.$ac_ext >&5
   3102 
   3103   # Broken: fails on valid input.
   3104 continue
   3105 fi
   3106 rm -f conftest.err conftest.$ac_ext
   3107 
   3108   # OK, works on sane cases.  Now check whether non-existent headers
   3109   # can be detected and how.
   3110   cat >conftest.$ac_ext <<_ACEOF
   3111 /* confdefs.h.  */
   3112 _ACEOF
   3113 cat confdefs.h >>conftest.$ac_ext
   3114 cat >>conftest.$ac_ext <<_ACEOF
   3115 /* end confdefs.h.  */
   3116 #include <ac_nonexistent.h>
   3117 _ACEOF
   3118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3119   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3120   ac_status=$?
   3121   grep -v '^ *+' conftest.er1 >conftest.err
   3122   rm -f conftest.er1
   3123   cat conftest.err >&5
   3124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3125   (exit $ac_status); } >/dev/null; then
   3126   if test -s conftest.err; then
   3127     ac_cpp_err=$ac_c_preproc_warn_flag
   3128     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3129   else
   3130     ac_cpp_err=
   3131   fi
   3132 else
   3133   ac_cpp_err=yes
   3134 fi
   3135 if test -z "$ac_cpp_err"; then
   3136   # Broken: success on invalid input.
   3137 continue
   3138 else
   3139   echo "$as_me: failed program was:" >&5
   3140 sed 's/^/| /' conftest.$ac_ext >&5
   3141 
   3142   # Passes both tests.
   3143 ac_preproc_ok=:
   3144 break
   3145 fi
   3146 rm -f conftest.err conftest.$ac_ext
   3147 
   3148 done
   3149 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3150 rm -f conftest.err conftest.$ac_ext
   3151 if $ac_preproc_ok; then
   3152   :
   3153 else
   3154   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   3155 See \`config.log' for more details." >&5
   3156 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   3157 See \`config.log' for more details." >&2;}
   3158    { (exit 1); exit 1; }; }
   3159 fi
   3160 
   3161 ac_ext=c
   3162 ac_cpp='$CPP $CPPFLAGS'
   3163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3166 
   3167 
   3168 echo "$as_me:$LINENO: checking for egrep" >&5
   3169 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   3170 if test "${ac_cv_prog_egrep+set}" = set; then
   3171   echo $ECHO_N "(cached) $ECHO_C" >&6
   3172 else
   3173   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   3174     then ac_cv_prog_egrep='grep -E'
   3175     else ac_cv_prog_egrep='egrep'
   3176     fi
   3177 fi
   3178 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   3179 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   3180  EGREP=$ac_cv_prog_egrep
   3181 
   3182 
   3183 if test $ac_cv_c_compiler_gnu = yes; then
   3184     echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
   3185 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
   3186 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
   3187   echo $ECHO_N "(cached) $ECHO_C" >&6
   3188 else
   3189     ac_pattern="Autoconf.*'x'"
   3190   cat >conftest.$ac_ext <<_ACEOF
   3191 /* confdefs.h.  */
   3192 _ACEOF
   3193 cat confdefs.h >>conftest.$ac_ext
   3194 cat >>conftest.$ac_ext <<_ACEOF
   3195 /* end confdefs.h.  */
   3196 #include <sgtty.h>
   3197 Autoconf TIOCGETP
   3198 _ACEOF
   3199 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3200   $EGREP "$ac_pattern" >/dev/null 2>&1; then
   3201   ac_cv_prog_gcc_traditional=yes
   3202 else
   3203   ac_cv_prog_gcc_traditional=no
   3204 fi
   3205 rm -f conftest*
   3206 
   3207 
   3208   if test $ac_cv_prog_gcc_traditional = no; then
   3209     cat >conftest.$ac_ext <<_ACEOF
   3210 /* confdefs.h.  */
   3211 _ACEOF
   3212 cat confdefs.h >>conftest.$ac_ext
   3213 cat >>conftest.$ac_ext <<_ACEOF
   3214 /* end confdefs.h.  */
   3215 #include <termio.h>
   3216 Autoconf TCGETA
   3217 _ACEOF
   3218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3219   $EGREP "$ac_pattern" >/dev/null 2>&1; then
   3220   ac_cv_prog_gcc_traditional=yes
   3221 fi
   3222 rm -f conftest*
   3223 
   3224   fi
   3225 fi
   3226 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
   3227 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
   3228   if test $ac_cv_prog_gcc_traditional = yes; then
   3229     CC="$CC -traditional"
   3230   fi
   3231 fi
   3232 
   3233 # Find a good install program.  We prefer a C program (faster),
   3234 # so one script is as good as another.  But avoid the broken or
   3235 # incompatible versions:
   3236 # SysV /etc/install, /usr/sbin/install
   3237 # SunOS /usr/etc/install
   3238 # IRIX /sbin/install
   3239 # AIX /bin/install
   3240 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3241 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3242 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3243 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3244 # OS/2's system install, which has a completely different semantic
   3245 # ./install, which can be erroneously created by make from ./install.sh.
   3246 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   3247 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   3248 if test -z "$INSTALL"; then
   3249 if test "${ac_cv_path_install+set}" = set; then
   3250   echo $ECHO_N "(cached) $ECHO_C" >&6
   3251 else
   3252   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3253 for as_dir in $PATH
   3254 do
   3255   IFS=$as_save_IFS
   3256   test -z "$as_dir" && as_dir=.
   3257   # Account for people who put trailing slashes in PATH elements.
   3258 case $as_dir/ in
   3259   ./ | .// | /cC/* | \
   3260   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3261   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   3262   /usr/ucb/* ) ;;
   3263   *)
   3264     # OSF1 and SCO ODT 3.0 have their own names for install.
   3265     # Don't use installbsd from OSF since it installs stuff as root
   3266     # by default.
   3267     for ac_prog in ginstall scoinst install; do
   3268       for ac_exec_ext in '' $ac_executable_extensions; do
   3269 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3270 	  if test $ac_prog = install &&
   3271 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3272 	    # AIX install.  It has an incompatible calling convention.
   3273 	    :
   3274 	  elif test $ac_prog = install &&
   3275 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3276 	    # program-specific install script used by HP pwplus--don't use.
   3277 	    :
   3278 	  else
   3279 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3280 	    break 3
   3281 	  fi
   3282 	fi
   3283       done
   3284     done
   3285     ;;
   3286 esac
   3287 done
   3288 
   3289 
   3290 fi
   3291   if test "${ac_cv_path_install+set}" = set; then
   3292     INSTALL=$ac_cv_path_install
   3293   else
   3294     # As a last resort, use the slow shell script.  We don't cache a
   3295     # path for INSTALL within a source directory, because that will
   3296     # break other packages using the cache if that directory is
   3297     # removed, or if the path is relative.
   3298     INSTALL=$ac_install_sh
   3299   fi
   3300 fi
   3301 echo "$as_me:$LINENO: result: $INSTALL" >&5
   3302 echo "${ECHO_T}$INSTALL" >&6
   3303 
   3304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3305 # It thinks the first close brace ends the variable substitution.
   3306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3307 
   3308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3309 
   3310 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3311 
   3312 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   3313 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   3314 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   3315 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   3316   echo $ECHO_N "(cached) $ECHO_C" >&6
   3317 else
   3318   cat >conftest.make <<\_ACEOF
   3319 all:
   3320 	@echo 'ac_maketemp="$(MAKE)"'
   3321 _ACEOF
   3322 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   3323 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   3324 if test -n "$ac_maketemp"; then
   3325   eval ac_cv_prog_make_${ac_make}_set=yes
   3326 else
   3327   eval ac_cv_prog_make_${ac_make}_set=no
   3328 fi
   3329 rm -f conftest.make
   3330 fi
   3331 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   3332   echo "$as_me:$LINENO: result: yes" >&5
   3333 echo "${ECHO_T}yes" >&6
   3334   SET_MAKE=
   3335 else
   3336   echo "$as_me:$LINENO: result: no" >&5
   3337 echo "${ECHO_T}no" >&6
   3338   SET_MAKE="MAKE=${MAKE-make}"
   3339 fi
   3340 
   3341 if test -n "$ac_tool_prefix"; then
   3342   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   3343 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   3344 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3345 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3346 if test "${ac_cv_prog_RANLIB+set}" = set; then
   3347   echo $ECHO_N "(cached) $ECHO_C" >&6
   3348 else
   3349   if test -n "$RANLIB"; then
   3350   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   3351 else
   3352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3353 for as_dir in $PATH
   3354 do
   3355   IFS=$as_save_IFS
   3356   test -z "$as_dir" && as_dir=.
   3357   for ac_exec_ext in '' $ac_executable_extensions; do
   3358   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3359     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   3360     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3361     break 2
   3362   fi
   3363 done
   3364 done
   3365 
   3366 fi
   3367 fi
   3368 RANLIB=$ac_cv_prog_RANLIB
   3369 if test -n "$RANLIB"; then
   3370   echo "$as_me:$LINENO: result: $RANLIB" >&5
   3371 echo "${ECHO_T}$RANLIB" >&6
   3372 else
   3373   echo "$as_me:$LINENO: result: no" >&5
   3374 echo "${ECHO_T}no" >&6
   3375 fi
   3376 
   3377 fi
   3378 if test -z "$ac_cv_prog_RANLIB"; then
   3379   ac_ct_RANLIB=$RANLIB
   3380   # Extract the first word of "ranlib", so it can be a program name with args.
   3381 set dummy ranlib; ac_word=$2
   3382 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3384 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   3385   echo $ECHO_N "(cached) $ECHO_C" >&6
   3386 else
   3387   if test -n "$ac_ct_RANLIB"; then
   3388   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   3389 else
   3390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3391 for as_dir in $PATH
   3392 do
   3393   IFS=$as_save_IFS
   3394   test -z "$as_dir" && as_dir=.
   3395   for ac_exec_ext in '' $ac_executable_extensions; do
   3396   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3397     ac_cv_prog_ac_ct_RANLIB="ranlib"
   3398     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3399     break 2
   3400   fi
   3401 done
   3402 done
   3403 
   3404   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   3405 fi
   3406 fi
   3407 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   3408 if test -n "$ac_ct_RANLIB"; then
   3409   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   3410 echo "${ECHO_T}$ac_ct_RANLIB" >&6
   3411 else
   3412   echo "$as_me:$LINENO: result: no" >&5
   3413 echo "${ECHO_T}no" >&6
   3414 fi
   3415 
   3416   RANLIB=$ac_ct_RANLIB
   3417 else
   3418   RANLIB="$ac_cv_prog_RANLIB"
   3419 fi
   3420 
   3421 
   3422 HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
   3423 
   3424 
   3425 echo "$as_me:$LINENO: checking for library containing strerror" >&5
   3426 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
   3427 if test "${ac_cv_search_strerror+set}" = set; then
   3428   echo $ECHO_N "(cached) $ECHO_C" >&6
   3429 else
   3430   ac_func_search_save_LIBS=$LIBS
   3431 ac_cv_search_strerror=no
   3432 cat >conftest.$ac_ext <<_ACEOF
   3433 /* confdefs.h.  */
   3434 _ACEOF
   3435 cat confdefs.h >>conftest.$ac_ext
   3436 cat >>conftest.$ac_ext <<_ACEOF
   3437 /* end confdefs.h.  */
   3438 
   3439 /* Override any gcc2 internal prototype to avoid an error.  */
   3440 #ifdef __cplusplus
   3441 extern "C"
   3442 #endif
   3443 /* We use char because int might match the return type of a gcc2
   3444    builtin and then its argument prototype would still apply.  */
   3445 char strerror ();
   3446 int
   3447 main ()
   3448 {
   3449 strerror ();
   3450   ;
   3451   return 0;
   3452 }
   3453 _ACEOF
   3454 rm -f conftest.$ac_objext conftest$ac_exeext
   3455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3456   (eval $ac_link) 2>conftest.er1
   3457   ac_status=$?
   3458   grep -v '^ *+' conftest.er1 >conftest.err
   3459   rm -f conftest.er1
   3460   cat conftest.err >&5
   3461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3462   (exit $ac_status); } &&
   3463 	 { ac_try='test -z "$ac_c_werror_flag"
   3464 			 || test ! -s conftest.err'
   3465   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3466   (eval $ac_try) 2>&5
   3467   ac_status=$?
   3468   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3469   (exit $ac_status); }; } &&
   3470 	 { ac_try='test -s conftest$ac_exeext'
   3471   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3472   (eval $ac_try) 2>&5
   3473   ac_status=$?
   3474   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3475   (exit $ac_status); }; }; then
   3476   ac_cv_search_strerror="none required"
   3477 else
   3478   echo "$as_me: failed program was:" >&5
   3479 sed 's/^/| /' conftest.$ac_ext >&5
   3480 
   3481 fi
   3482 rm -f conftest.err conftest.$ac_objext \
   3483       conftest$ac_exeext conftest.$ac_ext
   3484 if test "$ac_cv_search_strerror" = no; then
   3485   for ac_lib in cposix; do
   3486     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   3487     cat >conftest.$ac_ext <<_ACEOF
   3488 /* confdefs.h.  */
   3489 _ACEOF
   3490 cat confdefs.h >>conftest.$ac_ext
   3491 cat >>conftest.$ac_ext <<_ACEOF
   3492 /* end confdefs.h.  */
   3493 
   3494 /* Override any gcc2 internal prototype to avoid an error.  */
   3495 #ifdef __cplusplus
   3496 extern "C"
   3497 #endif
   3498 /* We use char because int might match the return type of a gcc2
   3499    builtin and then its argument prototype would still apply.  */
   3500 char strerror ();
   3501 int
   3502 main ()
   3503 {
   3504 strerror ();
   3505   ;
   3506   return 0;
   3507 }
   3508 _ACEOF
   3509 rm -f conftest.$ac_objext conftest$ac_exeext
   3510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3511   (eval $ac_link) 2>conftest.er1
   3512   ac_status=$?
   3513   grep -v '^ *+' conftest.er1 >conftest.err
   3514   rm -f conftest.er1
   3515   cat conftest.err >&5
   3516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3517   (exit $ac_status); } &&
   3518 	 { ac_try='test -z "$ac_c_werror_flag"
   3519 			 || test ! -s conftest.err'
   3520   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3521   (eval $ac_try) 2>&5
   3522   ac_status=$?
   3523   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3524   (exit $ac_status); }; } &&
   3525 	 { ac_try='test -s conftest$ac_exeext'
   3526   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3527   (eval $ac_try) 2>&5
   3528   ac_status=$?
   3529   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3530   (exit $ac_status); }; }; then
   3531   ac_cv_search_strerror="-l$ac_lib"
   3532 break
   3533 else
   3534   echo "$as_me: failed program was:" >&5
   3535 sed 's/^/| /' conftest.$ac_ext >&5
   3536 
   3537 fi
   3538 rm -f conftest.err conftest.$ac_objext \
   3539       conftest$ac_exeext conftest.$ac_ext
   3540   done
   3541 fi
   3542 LIBS=$ac_func_search_save_LIBS
   3543 fi
   3544 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
   3545 echo "${ECHO_T}$ac_cv_search_strerror" >&6
   3546 if test "$ac_cv_search_strerror" != no; then
   3547   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
   3548 
   3549 fi
   3550 
   3551 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   3552 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   3553 if test "${ac_cv_header_stdc+set}" = set; then
   3554   echo $ECHO_N "(cached) $ECHO_C" >&6
   3555 else
   3556   cat >conftest.$ac_ext <<_ACEOF
   3557 /* confdefs.h.  */
   3558 _ACEOF
   3559 cat confdefs.h >>conftest.$ac_ext
   3560 cat >>conftest.$ac_ext <<_ACEOF
   3561 /* end confdefs.h.  */
   3562 #include <stdlib.h>
   3563 #include <stdarg.h>
   3564 #include <string.h>
   3565 #include <float.h>
   3566 
   3567 int
   3568 main ()
   3569 {
   3570 
   3571   ;
   3572   return 0;
   3573 }
   3574 _ACEOF
   3575 rm -f conftest.$ac_objext
   3576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3577   (eval $ac_compile) 2>conftest.er1
   3578   ac_status=$?
   3579   grep -v '^ *+' conftest.er1 >conftest.err
   3580   rm -f conftest.er1
   3581   cat conftest.err >&5
   3582   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3583   (exit $ac_status); } &&
   3584 	 { ac_try='test -z "$ac_c_werror_flag"
   3585 			 || test ! -s conftest.err'
   3586   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3587   (eval $ac_try) 2>&5
   3588   ac_status=$?
   3589   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3590   (exit $ac_status); }; } &&
   3591 	 { ac_try='test -s conftest.$ac_objext'
   3592   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3593   (eval $ac_try) 2>&5
   3594   ac_status=$?
   3595   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3596   (exit $ac_status); }; }; then
   3597   ac_cv_header_stdc=yes
   3598 else
   3599   echo "$as_me: failed program was:" >&5
   3600 sed 's/^/| /' conftest.$ac_ext >&5
   3601 
   3602 ac_cv_header_stdc=no
   3603 fi
   3604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3605 
   3606 if test $ac_cv_header_stdc = yes; then
   3607   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3608   cat >conftest.$ac_ext <<_ACEOF
   3609 /* confdefs.h.  */
   3610 _ACEOF
   3611 cat confdefs.h >>conftest.$ac_ext
   3612 cat >>conftest.$ac_ext <<_ACEOF
   3613 /* end confdefs.h.  */
   3614 #include <string.h>
   3615 
   3616 _ACEOF
   3617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3618   $EGREP "memchr" >/dev/null 2>&1; then
   3619   :
   3620 else
   3621   ac_cv_header_stdc=no
   3622 fi
   3623 rm -f conftest*
   3624 
   3625 fi
   3626 
   3627 if test $ac_cv_header_stdc = yes; then
   3628   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3629   cat >conftest.$ac_ext <<_ACEOF
   3630 /* confdefs.h.  */
   3631 _ACEOF
   3632 cat confdefs.h >>conftest.$ac_ext
   3633 cat >>conftest.$ac_ext <<_ACEOF
   3634 /* end confdefs.h.  */
   3635 #include <stdlib.h>
   3636 
   3637 _ACEOF
   3638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3639   $EGREP "free" >/dev/null 2>&1; then
   3640   :
   3641 else
   3642   ac_cv_header_stdc=no
   3643 fi
   3644 rm -f conftest*
   3645 
   3646 fi
   3647 
   3648 if test $ac_cv_header_stdc = yes; then
   3649   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3650   if test "$cross_compiling" = yes; then
   3651   :
   3652 else
   3653   cat >conftest.$ac_ext <<_ACEOF
   3654 /* confdefs.h.  */
   3655 _ACEOF
   3656 cat confdefs.h >>conftest.$ac_ext
   3657 cat >>conftest.$ac_ext <<_ACEOF
   3658 /* end confdefs.h.  */
   3659 #include <ctype.h>
   3660 #include <stdlib.h>
   3661 #if ((' ' & 0x0FF) == 0x020)
   3662 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3663 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3664 #else
   3665 # define ISLOWER(c) \
   3666 		   (('a' <= (c) && (c) <= 'i') \
   3667 		     || ('j' <= (c) && (c) <= 'r') \
   3668 		     || ('s' <= (c) && (c) <= 'z'))
   3669 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3670 #endif
   3671 
   3672 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3673 int
   3674 main ()
   3675 {
   3676   int i;
   3677   for (i = 0; i < 256; i++)
   3678     if (XOR (islower (i), ISLOWER (i))
   3679 	|| toupper (i) != TOUPPER (i))
   3680       exit(2);
   3681   exit (0);
   3682 }
   3683 _ACEOF
   3684 rm -f conftest$ac_exeext
   3685 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   3686   (eval $ac_link) 2>&5
   3687   ac_status=$?
   3688   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3689   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   3690   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3691   (eval $ac_try) 2>&5
   3692   ac_status=$?
   3693   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3694   (exit $ac_status); }; }; then
   3695   :
   3696 else
   3697   echo "$as_me: program exited with status $ac_status" >&5
   3698 echo "$as_me: failed program was:" >&5
   3699 sed 's/^/| /' conftest.$ac_ext >&5
   3700 
   3701 ( exit $ac_status )
   3702 ac_cv_header_stdc=no
   3703 fi
   3704 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   3705 fi
   3706 fi
   3707 fi
   3708 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   3709 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   3710 if test $ac_cv_header_stdc = yes; then
   3711 
   3712 cat >>confdefs.h <<\_ACEOF
   3713 #define STDC_HEADERS 1
   3714 _ACEOF
   3715 
   3716 fi
   3717 
   3718 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3719 
   3720 
   3721 
   3722 
   3723 
   3724 
   3725 
   3726 
   3727 
   3728 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3729 		  inttypes.h stdint.h unistd.h
   3730 do
   3731 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3732 echo "$as_me:$LINENO: checking for $ac_header" >&5
   3733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   3734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   3735   echo $ECHO_N "(cached) $ECHO_C" >&6
   3736 else
   3737   cat >conftest.$ac_ext <<_ACEOF
   3738 /* confdefs.h.  */
   3739 _ACEOF
   3740 cat confdefs.h >>conftest.$ac_ext
   3741 cat >>conftest.$ac_ext <<_ACEOF
   3742 /* end confdefs.h.  */
   3743 $ac_includes_default
   3744 
   3745 #include <$ac_header>
   3746 _ACEOF
   3747 rm -f conftest.$ac_objext
   3748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3749   (eval $ac_compile) 2>conftest.er1
   3750   ac_status=$?
   3751   grep -v '^ *+' conftest.er1 >conftest.err
   3752   rm -f conftest.er1
   3753   cat conftest.err >&5
   3754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3755   (exit $ac_status); } &&
   3756 	 { ac_try='test -z "$ac_c_werror_flag"
   3757 			 || test ! -s conftest.err'
   3758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3759   (eval $ac_try) 2>&5
   3760   ac_status=$?
   3761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3762   (exit $ac_status); }; } &&
   3763 	 { ac_try='test -s conftest.$ac_objext'
   3764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3765   (eval $ac_try) 2>&5
   3766   ac_status=$?
   3767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3768   (exit $ac_status); }; }; then
   3769   eval "$as_ac_Header=yes"
   3770 else
   3771   echo "$as_me: failed program was:" >&5
   3772 sed 's/^/| /' conftest.$ac_ext >&5
   3773 
   3774 eval "$as_ac_Header=no"
   3775 fi
   3776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3777 fi
   3778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   3779 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   3780 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   3781   cat >>confdefs.h <<_ACEOF
   3782 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3783 _ACEOF
   3784 
   3785 fi
   3786 
   3787 done
   3788 
   3789 
   3790 if test "${ac_cv_header_minix_config_h+set}" = set; then
   3791   echo "$as_me:$LINENO: checking for minix/config.h" >&5
   3792 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
   3793 if test "${ac_cv_header_minix_config_h+set}" = set; then
   3794   echo $ECHO_N "(cached) $ECHO_C" >&6
   3795 fi
   3796 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
   3797 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
   3798 else
   3799   # Is the header compilable?
   3800 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
   3801 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
   3802 cat >conftest.$ac_ext <<_ACEOF
   3803 /* confdefs.h.  */
   3804 _ACEOF
   3805 cat confdefs.h >>conftest.$ac_ext
   3806 cat >>conftest.$ac_ext <<_ACEOF
   3807 /* end confdefs.h.  */
   3808 $ac_includes_default
   3809 #include <minix/config.h>
   3810 _ACEOF
   3811 rm -f conftest.$ac_objext
   3812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3813   (eval $ac_compile) 2>conftest.er1
   3814   ac_status=$?
   3815   grep -v '^ *+' conftest.er1 >conftest.err
   3816   rm -f conftest.er1
   3817   cat conftest.err >&5
   3818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3819   (exit $ac_status); } &&
   3820 	 { ac_try='test -z "$ac_c_werror_flag"
   3821 			 || test ! -s conftest.err'
   3822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3823   (eval $ac_try) 2>&5
   3824   ac_status=$?
   3825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3826   (exit $ac_status); }; } &&
   3827 	 { ac_try='test -s conftest.$ac_objext'
   3828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3829   (eval $ac_try) 2>&5
   3830   ac_status=$?
   3831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3832   (exit $ac_status); }; }; then
   3833   ac_header_compiler=yes
   3834 else
   3835   echo "$as_me: failed program was:" >&5
   3836 sed 's/^/| /' conftest.$ac_ext >&5
   3837 
   3838 ac_header_compiler=no
   3839 fi
   3840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3841 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   3842 echo "${ECHO_T}$ac_header_compiler" >&6
   3843 
   3844 # Is the header present?
   3845 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
   3846 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
   3847 cat >conftest.$ac_ext <<_ACEOF
   3848 /* confdefs.h.  */
   3849 _ACEOF
   3850 cat confdefs.h >>conftest.$ac_ext
   3851 cat >>conftest.$ac_ext <<_ACEOF
   3852 /* end confdefs.h.  */
   3853 #include <minix/config.h>
   3854 _ACEOF
   3855 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   3856   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   3857   ac_status=$?
   3858   grep -v '^ *+' conftest.er1 >conftest.err
   3859   rm -f conftest.er1
   3860   cat conftest.err >&5
   3861   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3862   (exit $ac_status); } >/dev/null; then
   3863   if test -s conftest.err; then
   3864     ac_cpp_err=$ac_c_preproc_warn_flag
   3865     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   3866   else
   3867     ac_cpp_err=
   3868   fi
   3869 else
   3870   ac_cpp_err=yes
   3871 fi
   3872 if test -z "$ac_cpp_err"; then
   3873   ac_header_preproc=yes
   3874 else
   3875   echo "$as_me: failed program was:" >&5
   3876 sed 's/^/| /' conftest.$ac_ext >&5
   3877 
   3878   ac_header_preproc=no
   3879 fi
   3880 rm -f conftest.err conftest.$ac_ext
   3881 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   3882 echo "${ECHO_T}$ac_header_preproc" >&6
   3883 
   3884 # So?  What about this header?
   3885 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   3886   yes:no: )
   3887     { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
   3888 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   3889     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
   3890 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
   3891     ac_header_preproc=yes
   3892     ;;
   3893   no:yes:* )
   3894     { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
   3895 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
   3896     { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
   3897 echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
   3898     { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
   3899 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
   3900     { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
   3901 echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   3902     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
   3903 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
   3904     { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
   3905 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
   3906     (
   3907       cat <<\_ASBOX
   3908 ## -------------------------------------- ##
   3909 ## Report this to the GNU Texinfo lists.  ##
   3910 ## -------------------------------------- ##
   3911 _ASBOX
   3912     ) |
   3913       sed "s/^/$as_me: WARNING:     /" >&2
   3914     ;;
   3915 esac
   3916 echo "$as_me:$LINENO: checking for minix/config.h" >&5
   3917 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
   3918 if test "${ac_cv_header_minix_config_h+set}" = set; then
   3919   echo $ECHO_N "(cached) $ECHO_C" >&6
   3920 else
   3921   ac_cv_header_minix_config_h=$ac_header_preproc
   3922 fi
   3923 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
   3924 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
   3925 
   3926 fi
   3927 if test $ac_cv_header_minix_config_h = yes; then
   3928   MINIX=yes
   3929 else
   3930   MINIX=
   3931 fi
   3932 
   3933 
   3934 if test "$MINIX" = yes; then
   3935 
   3936 cat >>confdefs.h <<\_ACEOF
   3937 #define _POSIX_SOURCE 1
   3938 _ACEOF
   3939 
   3940 
   3941 cat >>confdefs.h <<\_ACEOF
   3942 #define _POSIX_1_SOURCE 2
   3943 _ACEOF
   3944 
   3945 
   3946 cat >>confdefs.h <<\_ACEOF
   3947 #define _MINIX 1
   3948 _ACEOF
   3949 
   3950 fi
   3951 
   3952 
   3953 # Needed on sysV68 for sigblock, sigsetmask.  But check for it in libc first.
   3954 echo "$as_me:$LINENO: checking for sigblock" >&5
   3955 echo $ECHO_N "checking for sigblock... $ECHO_C" >&6
   3956 if test "${ac_cv_func_sigblock+set}" = set; then
   3957   echo $ECHO_N "(cached) $ECHO_C" >&6
   3958 else
   3959   cat >conftest.$ac_ext <<_ACEOF
   3960 /* confdefs.h.  */
   3961 _ACEOF
   3962 cat confdefs.h >>conftest.$ac_ext
   3963 cat >>conftest.$ac_ext <<_ACEOF
   3964 /* end confdefs.h.  */
   3965 /* Define sigblock to an innocuous variant, in case <limits.h> declares sigblock.
   3966    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   3967 #define sigblock innocuous_sigblock
   3968 
   3969 /* System header to define __stub macros and hopefully few prototypes,
   3970     which can conflict with char sigblock (); below.
   3971     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3972     <limits.h> exists even on freestanding compilers.  */
   3973 
   3974 #ifdef __STDC__
   3975 # include <limits.h>
   3976 #else
   3977 # include <assert.h>
   3978 #endif
   3979 
   3980 #undef sigblock
   3981 
   3982 /* Override any gcc2 internal prototype to avoid an error.  */
   3983 #ifdef __cplusplus
   3984 extern "C"
   3985 {
   3986 #endif
   3987 /* We use char because int might match the return type of a gcc2
   3988    builtin and then its argument prototype would still apply.  */
   3989 char sigblock ();
   3990 /* The GNU C library defines this for functions which it implements
   3991     to always fail with ENOSYS.  Some functions are actually named
   3992     something starting with __ and the normal name is an alias.  */
   3993 #if defined (__stub_sigblock) || defined (__stub___sigblock)
   3994 choke me
   3995 #else
   3996 char (*f) () = sigblock;
   3997 #endif
   3998 #ifdef __cplusplus
   3999 }
   4000 #endif
   4001 
   4002 int
   4003 main ()
   4004 {
   4005 return f != sigblock;
   4006   ;
   4007   return 0;
   4008 }
   4009 _ACEOF
   4010 rm -f conftest.$ac_objext conftest$ac_exeext
   4011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4012   (eval $ac_link) 2>conftest.er1
   4013   ac_status=$?
   4014   grep -v '^ *+' conftest.er1 >conftest.err
   4015   rm -f conftest.er1
   4016   cat conftest.err >&5
   4017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4018   (exit $ac_status); } &&
   4019 	 { ac_try='test -z "$ac_c_werror_flag"
   4020 			 || test ! -s conftest.err'
   4021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4022   (eval $ac_try) 2>&5
   4023   ac_status=$?
   4024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4025   (exit $ac_status); }; } &&
   4026 	 { ac_try='test -s conftest$ac_exeext'
   4027   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4028   (eval $ac_try) 2>&5
   4029   ac_status=$?
   4030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4031   (exit $ac_status); }; }; then
   4032   ac_cv_func_sigblock=yes
   4033 else
   4034   echo "$as_me: failed program was:" >&5
   4035 sed 's/^/| /' conftest.$ac_ext >&5
   4036 
   4037 ac_cv_func_sigblock=no
   4038 fi
   4039 rm -f conftest.err conftest.$ac_objext \
   4040       conftest$ac_exeext conftest.$ac_ext
   4041 fi
   4042 echo "$as_me:$LINENO: result: $ac_cv_func_sigblock" >&5
   4043 echo "${ECHO_T}$ac_cv_func_sigblock" >&6
   4044 if test $ac_cv_func_sigblock = yes; then
   4045   :
   4046 else
   4047 
   4048 echo "$as_me:$LINENO: checking for sigblock in -lbsd" >&5
   4049 echo $ECHO_N "checking for sigblock in -lbsd... $ECHO_C" >&6
   4050 if test "${ac_cv_lib_bsd_sigblock+set}" = set; then
   4051   echo $ECHO_N "(cached) $ECHO_C" >&6
   4052 else
   4053   ac_check_lib_save_LIBS=$LIBS
   4054 LIBS="-lbsd  $LIBS"
   4055 cat >conftest.$ac_ext <<_ACEOF
   4056 /* confdefs.h.  */
   4057 _ACEOF
   4058 cat confdefs.h >>conftest.$ac_ext
   4059 cat >>conftest.$ac_ext <<_ACEOF
   4060 /* end confdefs.h.  */
   4061 
   4062 /* Override any gcc2 internal prototype to avoid an error.  */
   4063 #ifdef __cplusplus
   4064 extern "C"
   4065 #endif
   4066 /* We use char because int might match the return type of a gcc2
   4067    builtin and then its argument prototype would still apply.  */
   4068 char sigblock ();
   4069 int
   4070 main ()
   4071 {
   4072 sigblock ();
   4073   ;
   4074   return 0;
   4075 }
   4076 _ACEOF
   4077 rm -f conftest.$ac_objext conftest$ac_exeext
   4078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4079   (eval $ac_link) 2>conftest.er1
   4080   ac_status=$?
   4081   grep -v '^ *+' conftest.er1 >conftest.err
   4082   rm -f conftest.er1
   4083   cat conftest.err >&5
   4084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4085   (exit $ac_status); } &&
   4086 	 { ac_try='test -z "$ac_c_werror_flag"
   4087 			 || test ! -s conftest.err'
   4088   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4089   (eval $ac_try) 2>&5
   4090   ac_status=$?
   4091   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4092   (exit $ac_status); }; } &&
   4093 	 { ac_try='test -s conftest$ac_exeext'
   4094   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4095   (eval $ac_try) 2>&5
   4096   ac_status=$?
   4097   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4098   (exit $ac_status); }; }; then
   4099   ac_cv_lib_bsd_sigblock=yes
   4100 else
   4101   echo "$as_me: failed program was:" >&5
   4102 sed 's/^/| /' conftest.$ac_ext >&5
   4103 
   4104 ac_cv_lib_bsd_sigblock=no
   4105 fi
   4106 rm -f conftest.err conftest.$ac_objext \
   4107       conftest$ac_exeext conftest.$ac_ext
   4108 LIBS=$ac_check_lib_save_LIBS
   4109 fi
   4110 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_sigblock" >&5
   4111 echo "${ECHO_T}$ac_cv_lib_bsd_sigblock" >&6
   4112 if test $ac_cv_lib_bsd_sigblock = yes; then
   4113   cat >>confdefs.h <<_ACEOF
   4114 #define HAVE_LIBBSD 1
   4115 _ACEOF
   4116 
   4117   LIBS="-lbsd $LIBS"
   4118 
   4119 fi
   4120 
   4121 fi
   4122 
   4123 
   4124 # Checks for header files.
   4125 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
   4126 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
   4127 if test "${ac_cv_header_stat_broken+set}" = set; then
   4128   echo $ECHO_N "(cached) $ECHO_C" >&6
   4129 else
   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 <sys/types.h>
   4137 #include <sys/stat.h>
   4138 
   4139 #if defined(S_ISBLK) && defined(S_IFDIR)
   4140 # if S_ISBLK (S_IFDIR)
   4141 You lose.
   4142 # endif
   4143 #endif
   4144 
   4145 #if defined(S_ISBLK) && defined(S_IFCHR)
   4146 # if S_ISBLK (S_IFCHR)
   4147 You lose.
   4148 # endif
   4149 #endif
   4150 
   4151 #if defined(S_ISLNK) && defined(S_IFREG)
   4152 # if S_ISLNK (S_IFREG)
   4153 You lose.
   4154 # endif
   4155 #endif
   4156 
   4157 #if defined(S_ISSOCK) && defined(S_IFREG)
   4158 # if S_ISSOCK (S_IFREG)
   4159 You lose.
   4160 # endif
   4161 #endif
   4162 
   4163 _ACEOF
   4164 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4165   $EGREP "You lose" >/dev/null 2>&1; then
   4166   ac_cv_header_stat_broken=yes
   4167 else
   4168   ac_cv_header_stat_broken=no
   4169 fi
   4170 rm -f conftest*
   4171 
   4172 fi
   4173 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
   4174 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
   4175 if test $ac_cv_header_stat_broken = yes; then
   4176 
   4177 cat >>confdefs.h <<\_ACEOF
   4178 #define STAT_MACROS_BROKEN 1
   4179 _ACEOF
   4180 
   4181 fi
   4182 
   4183 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4184 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   4185 if test "${ac_cv_header_stdc+set}" = set; then
   4186   echo $ECHO_N "(cached) $ECHO_C" >&6
   4187 else
   4188   cat >conftest.$ac_ext <<_ACEOF
   4189 /* confdefs.h.  */
   4190 _ACEOF
   4191 cat confdefs.h >>conftest.$ac_ext
   4192 cat >>conftest.$ac_ext <<_ACEOF
   4193 /* end confdefs.h.  */
   4194 #include <stdlib.h>
   4195 #include <stdarg.h>
   4196 #include <string.h>
   4197 #include <float.h>
   4198 
   4199 int
   4200 main ()
   4201 {
   4202 
   4203   ;
   4204   return 0;
   4205 }
   4206 _ACEOF
   4207 rm -f conftest.$ac_objext
   4208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4209   (eval $ac_compile) 2>conftest.er1
   4210   ac_status=$?
   4211   grep -v '^ *+' conftest.er1 >conftest.err
   4212   rm -f conftest.er1
   4213   cat conftest.err >&5
   4214   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4215   (exit $ac_status); } &&
   4216 	 { ac_try='test -z "$ac_c_werror_flag"
   4217 			 || test ! -s conftest.err'
   4218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4219   (eval $ac_try) 2>&5
   4220   ac_status=$?
   4221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4222   (exit $ac_status); }; } &&
   4223 	 { ac_try='test -s conftest.$ac_objext'
   4224   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4225   (eval $ac_try) 2>&5
   4226   ac_status=$?
   4227   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4228   (exit $ac_status); }; }; then
   4229   ac_cv_header_stdc=yes
   4230 else
   4231   echo "$as_me: failed program was:" >&5
   4232 sed 's/^/| /' conftest.$ac_ext >&5
   4233 
   4234 ac_cv_header_stdc=no
   4235 fi
   4236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4237 
   4238 if test $ac_cv_header_stdc = yes; then
   4239   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4240   cat >conftest.$ac_ext <<_ACEOF
   4241 /* confdefs.h.  */
   4242 _ACEOF
   4243 cat confdefs.h >>conftest.$ac_ext
   4244 cat >>conftest.$ac_ext <<_ACEOF
   4245 /* end confdefs.h.  */
   4246 #include <string.h>
   4247 
   4248 _ACEOF
   4249 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4250   $EGREP "memchr" >/dev/null 2>&1; then
   4251   :
   4252 else
   4253   ac_cv_header_stdc=no
   4254 fi
   4255 rm -f conftest*
   4256 
   4257 fi
   4258 
   4259 if test $ac_cv_header_stdc = yes; then
   4260   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4261   cat >conftest.$ac_ext <<_ACEOF
   4262 /* confdefs.h.  */
   4263 _ACEOF
   4264 cat confdefs.h >>conftest.$ac_ext
   4265 cat >>conftest.$ac_ext <<_ACEOF
   4266 /* end confdefs.h.  */
   4267 #include <stdlib.h>
   4268 
   4269 _ACEOF
   4270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4271   $EGREP "free" >/dev/null 2>&1; then
   4272   :
   4273 else
   4274   ac_cv_header_stdc=no
   4275 fi
   4276 rm -f conftest*
   4277 
   4278 fi
   4279 
   4280 if test $ac_cv_header_stdc = yes; then
   4281   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4282   if test "$cross_compiling" = yes; then
   4283   :
   4284 else
   4285   cat >conftest.$ac_ext <<_ACEOF
   4286 /* confdefs.h.  */
   4287 _ACEOF
   4288 cat confdefs.h >>conftest.$ac_ext
   4289 cat >>conftest.$ac_ext <<_ACEOF
   4290 /* end confdefs.h.  */
   4291 #include <ctype.h>
   4292 #if ((' ' & 0x0FF) == 0x020)
   4293 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4294 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4295 #else
   4296 # define ISLOWER(c) \
   4297 		   (('a' <= (c) && (c) <= 'i') \
   4298 		     || ('j' <= (c) && (c) <= 'r') \
   4299 		     || ('s' <= (c) && (c) <= 'z'))
   4300 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4301 #endif
   4302 
   4303 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4304 int
   4305 main ()
   4306 {
   4307   int i;
   4308   for (i = 0; i < 256; i++)
   4309     if (XOR (islower (i), ISLOWER (i))
   4310 	|| toupper (i) != TOUPPER (i))
   4311       exit(2);
   4312   exit (0);
   4313 }
   4314 _ACEOF
   4315 rm -f conftest$ac_exeext
   4316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4317   (eval $ac_link) 2>&5
   4318   ac_status=$?
   4319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4320   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4321   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4322   (eval $ac_try) 2>&5
   4323   ac_status=$?
   4324   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4325   (exit $ac_status); }; }; then
   4326   :
   4327 else
   4328   echo "$as_me: program exited with status $ac_status" >&5
   4329 echo "$as_me: failed program was:" >&5
   4330 sed 's/^/| /' conftest.$ac_ext >&5
   4331 
   4332 ( exit $ac_status )
   4333 ac_cv_header_stdc=no
   4334 fi
   4335 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4336 fi
   4337 fi
   4338 fi
   4339 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4340 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   4341 if test $ac_cv_header_stdc = yes; then
   4342 
   4343 cat >>confdefs.h <<\_ACEOF
   4344 #define STDC_HEADERS 1
   4345 _ACEOF
   4346 
   4347 fi
   4348 
   4349 
   4350 
   4351 
   4352 
   4353 
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 for ac_header in fcntl.h io.h limits.h pwd.h string.h strings.h \
   4366   termcap.h termio.h termios.h unistd.h \
   4367   sys/fcntl.h sys/file.h sys/stream.h sys/time.h sys/ttold.h sys/wait.h
   4368 do
   4369 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4370 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4371   echo "$as_me:$LINENO: checking for $ac_header" >&5
   4372 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4373 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4374   echo $ECHO_N "(cached) $ECHO_C" >&6
   4375 fi
   4376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4378 else
   4379   # Is the header compilable?
   4380 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   4381 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   4382 cat >conftest.$ac_ext <<_ACEOF
   4383 /* confdefs.h.  */
   4384 _ACEOF
   4385 cat confdefs.h >>conftest.$ac_ext
   4386 cat >>conftest.$ac_ext <<_ACEOF
   4387 /* end confdefs.h.  */
   4388 $ac_includes_default
   4389 #include <$ac_header>
   4390 _ACEOF
   4391 rm -f conftest.$ac_objext
   4392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4393   (eval $ac_compile) 2>conftest.er1
   4394   ac_status=$?
   4395   grep -v '^ *+' conftest.er1 >conftest.err
   4396   rm -f conftest.er1
   4397   cat conftest.err >&5
   4398   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4399   (exit $ac_status); } &&
   4400 	 { ac_try='test -z "$ac_c_werror_flag"
   4401 			 || test ! -s conftest.err'
   4402   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4403   (eval $ac_try) 2>&5
   4404   ac_status=$?
   4405   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4406   (exit $ac_status); }; } &&
   4407 	 { ac_try='test -s conftest.$ac_objext'
   4408   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4409   (eval $ac_try) 2>&5
   4410   ac_status=$?
   4411   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4412   (exit $ac_status); }; }; then
   4413   ac_header_compiler=yes
   4414 else
   4415   echo "$as_me: failed program was:" >&5
   4416 sed 's/^/| /' conftest.$ac_ext >&5
   4417 
   4418 ac_header_compiler=no
   4419 fi
   4420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4421 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4422 echo "${ECHO_T}$ac_header_compiler" >&6
   4423 
   4424 # Is the header present?
   4425 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   4426 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   4427 cat >conftest.$ac_ext <<_ACEOF
   4428 /* confdefs.h.  */
   4429 _ACEOF
   4430 cat confdefs.h >>conftest.$ac_ext
   4431 cat >>conftest.$ac_ext <<_ACEOF
   4432 /* end confdefs.h.  */
   4433 #include <$ac_header>
   4434 _ACEOF
   4435 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4436   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4437   ac_status=$?
   4438   grep -v '^ *+' conftest.er1 >conftest.err
   4439   rm -f conftest.er1
   4440   cat conftest.err >&5
   4441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4442   (exit $ac_status); } >/dev/null; then
   4443   if test -s conftest.err; then
   4444     ac_cpp_err=$ac_c_preproc_warn_flag
   4445     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4446   else
   4447     ac_cpp_err=
   4448   fi
   4449 else
   4450   ac_cpp_err=yes
   4451 fi
   4452 if test -z "$ac_cpp_err"; then
   4453   ac_header_preproc=yes
   4454 else
   4455   echo "$as_me: failed program was:" >&5
   4456 sed 's/^/| /' conftest.$ac_ext >&5
   4457 
   4458   ac_header_preproc=no
   4459 fi
   4460 rm -f conftest.err conftest.$ac_ext
   4461 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4462 echo "${ECHO_T}$ac_header_preproc" >&6
   4463 
   4464 # So?  What about this header?
   4465 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4466   yes:no: )
   4467     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   4468 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4469     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   4470 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   4471     ac_header_preproc=yes
   4472     ;;
   4473   no:yes:* )
   4474     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   4475 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   4476     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   4477 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   4478     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   4479 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   4480     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   4481 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   4482     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   4483 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   4484     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   4485 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   4486     (
   4487       cat <<\_ASBOX
   4488 ## -------------------------------------- ##
   4489 ## Report this to the GNU Texinfo lists.  ##
   4490 ## -------------------------------------- ##
   4491 _ASBOX
   4492     ) |
   4493       sed "s/^/$as_me: WARNING:     /" >&2
   4494     ;;
   4495 esac
   4496 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4497 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4498 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4499   echo $ECHO_N "(cached) $ECHO_C" >&6
   4500 else
   4501   eval "$as_ac_Header=\$ac_header_preproc"
   4502 fi
   4503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4505 
   4506 fi
   4507 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4508   cat >>confdefs.h <<_ACEOF
   4509 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4510 _ACEOF
   4511 
   4512 fi
   4513 
   4514 done
   4515 
   4516 
   4517 # sys/ptem.h requires sys/stream.h for mblk_t on Solaris.
   4518 
   4519 for ac_header in sys/ptem.h
   4520 do
   4521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4522 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4525   echo $ECHO_N "(cached) $ECHO_C" >&6
   4526 else
   4527   cat >conftest.$ac_ext <<_ACEOF
   4528 /* confdefs.h.  */
   4529 _ACEOF
   4530 cat confdefs.h >>conftest.$ac_ext
   4531 cat >>conftest.$ac_ext <<_ACEOF
   4532 /* end confdefs.h.  */
   4533 #if HAVE_SYS_STREAM_H
   4534 #include <sys/stream.h>
   4535 #endif
   4536 
   4537 
   4538 #include <$ac_header>
   4539 _ACEOF
   4540 rm -f conftest.$ac_objext
   4541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4542   (eval $ac_compile) 2>conftest.er1
   4543   ac_status=$?
   4544   grep -v '^ *+' conftest.er1 >conftest.err
   4545   rm -f conftest.er1
   4546   cat conftest.err >&5
   4547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4548   (exit $ac_status); } &&
   4549 	 { ac_try='test -z "$ac_c_werror_flag"
   4550 			 || test ! -s conftest.err'
   4551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4552   (eval $ac_try) 2>&5
   4553   ac_status=$?
   4554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4555   (exit $ac_status); }; } &&
   4556 	 { ac_try='test -s conftest.$ac_objext'
   4557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4558   (eval $ac_try) 2>&5
   4559   ac_status=$?
   4560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4561   (exit $ac_status); }; }; then
   4562   eval "$as_ac_Header=yes"
   4563 else
   4564   echo "$as_me: failed program was:" >&5
   4565 sed 's/^/| /' conftest.$ac_ext >&5
   4566 
   4567 eval "$as_ac_Header=no"
   4568 fi
   4569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4570 fi
   4571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4573 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4574   cat >>confdefs.h <<_ACEOF
   4575 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4576 _ACEOF
   4577 
   4578 fi
   4579 
   4580 done
   4581 
   4582 
   4583 echo "$as_me:$LINENO: checking POSIX termios" >&5
   4584 echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6
   4585 if test "${ac_cv_sys_posix_termios+set}" = set; then
   4586   echo $ECHO_N "(cached) $ECHO_C" >&6
   4587 else
   4588   cat >conftest.$ac_ext <<_ACEOF
   4589 /* confdefs.h.  */
   4590 _ACEOF
   4591 cat confdefs.h >>conftest.$ac_ext
   4592 cat >>conftest.$ac_ext <<_ACEOF
   4593 /* end confdefs.h.  */
   4594 #include <sys/types.h>
   4595 #include <unistd.h>
   4596 #include <termios.h>
   4597 
   4598 int
   4599 main ()
   4600 {
   4601 /* SunOS 4.0.3 has termios.h but not the library calls.  */
   4602    tcgetattr(0, 0);
   4603   ;
   4604   return 0;
   4605 }
   4606 _ACEOF
   4607 rm -f conftest.$ac_objext conftest$ac_exeext
   4608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4609   (eval $ac_link) 2>conftest.er1
   4610   ac_status=$?
   4611   grep -v '^ *+' conftest.er1 >conftest.err
   4612   rm -f conftest.er1
   4613   cat conftest.err >&5
   4614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4615   (exit $ac_status); } &&
   4616 	 { ac_try='test -z "$ac_c_werror_flag"
   4617 			 || test ! -s conftest.err'
   4618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4619   (eval $ac_try) 2>&5
   4620   ac_status=$?
   4621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4622   (exit $ac_status); }; } &&
   4623 	 { ac_try='test -s conftest$ac_exeext'
   4624   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4625   (eval $ac_try) 2>&5
   4626   ac_status=$?
   4627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4628   (exit $ac_status); }; }; then
   4629   ac_cv_sys_posix_termios=yes
   4630 else
   4631   echo "$as_me: failed program was:" >&5
   4632 sed 's/^/| /' conftest.$ac_ext >&5
   4633 
   4634 ac_cv_sys_posix_termios=no
   4635 fi
   4636 rm -f conftest.err conftest.$ac_objext \
   4637       conftest$ac_exeext conftest.$ac_ext
   4638 fi
   4639 echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5
   4640 echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6
   4641 
   4642 echo "$as_me:$LINENO: checking whether termios.h defines TIOCGWINSZ" >&5
   4643 echo $ECHO_N "checking whether termios.h defines TIOCGWINSZ... $ECHO_C" >&6
   4644 if test "${ac_cv_sys_tiocgwinsz_in_termios_h+set}" = set; then
   4645   echo $ECHO_N "(cached) $ECHO_C" >&6
   4646 else
   4647   cat >conftest.$ac_ext <<_ACEOF
   4648 /* confdefs.h.  */
   4649 _ACEOF
   4650 cat confdefs.h >>conftest.$ac_ext
   4651 cat >>conftest.$ac_ext <<_ACEOF
   4652 /* end confdefs.h.  */
   4653 #include <sys/types.h>
   4654 #include <termios.h>
   4655 #ifdef TIOCGWINSZ
   4656   yes
   4657 #endif
   4658 
   4659 _ACEOF
   4660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4661   $EGREP "yes" >/dev/null 2>&1; then
   4662   ac_cv_sys_tiocgwinsz_in_termios_h=yes
   4663 else
   4664   ac_cv_sys_tiocgwinsz_in_termios_h=no
   4665 fi
   4666 rm -f conftest*
   4667 
   4668 fi
   4669 echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
   4670 echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_termios_h" >&6
   4671 
   4672 if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
   4673   echo "$as_me:$LINENO: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
   4674 echo $ECHO_N "checking whether sys/ioctl.h defines TIOCGWINSZ... $ECHO_C" >&6
   4675 if test "${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+set}" = set; then
   4676   echo $ECHO_N "(cached) $ECHO_C" >&6
   4677 else
   4678   cat >conftest.$ac_ext <<_ACEOF
   4679 /* confdefs.h.  */
   4680 _ACEOF
   4681 cat confdefs.h >>conftest.$ac_ext
   4682 cat >>conftest.$ac_ext <<_ACEOF
   4683 /* end confdefs.h.  */
   4684 #include <sys/types.h>
   4685 #include <sys/ioctl.h>
   4686 #ifdef TIOCGWINSZ
   4687   yes
   4688 #endif
   4689 
   4690 _ACEOF
   4691 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4692   $EGREP "yes" >/dev/null 2>&1; then
   4693   ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes
   4694 else
   4695   ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no
   4696 fi
   4697 rm -f conftest*
   4698 
   4699 fi
   4700 echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
   4701 echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6
   4702 
   4703   if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
   4704 
   4705 cat >>confdefs.h <<\_ACEOF
   4706 #define GWINSZ_IN_SYS_IOCTL 1
   4707 _ACEOF
   4708 
   4709   fi
   4710 fi
   4711 
   4712 
   4713 # Checks for typedefs, structures, and compiler characteristics.
   4714 echo "$as_me:$LINENO: checking for off_t" >&5
   4715 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
   4716 if test "${ac_cv_type_off_t+set}" = set; then
   4717   echo $ECHO_N "(cached) $ECHO_C" >&6
   4718 else
   4719   cat >conftest.$ac_ext <<_ACEOF
   4720 /* confdefs.h.  */
   4721 _ACEOF
   4722 cat confdefs.h >>conftest.$ac_ext
   4723 cat >>conftest.$ac_ext <<_ACEOF
   4724 /* end confdefs.h.  */
   4725 $ac_includes_default
   4726 int
   4727 main ()
   4728 {
   4729 if ((off_t *) 0)
   4730   return 0;
   4731 if (sizeof (off_t))
   4732   return 0;
   4733   ;
   4734   return 0;
   4735 }
   4736 _ACEOF
   4737 rm -f conftest.$ac_objext
   4738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4739   (eval $ac_compile) 2>conftest.er1
   4740   ac_status=$?
   4741   grep -v '^ *+' conftest.er1 >conftest.err
   4742   rm -f conftest.er1
   4743   cat conftest.err >&5
   4744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4745   (exit $ac_status); } &&
   4746 	 { ac_try='test -z "$ac_c_werror_flag"
   4747 			 || test ! -s conftest.err'
   4748   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4749   (eval $ac_try) 2>&5
   4750   ac_status=$?
   4751   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4752   (exit $ac_status); }; } &&
   4753 	 { ac_try='test -s conftest.$ac_objext'
   4754   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4755   (eval $ac_try) 2>&5
   4756   ac_status=$?
   4757   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4758   (exit $ac_status); }; }; then
   4759   ac_cv_type_off_t=yes
   4760 else
   4761   echo "$as_me: failed program was:" >&5
   4762 sed 's/^/| /' conftest.$ac_ext >&5
   4763 
   4764 ac_cv_type_off_t=no
   4765 fi
   4766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4767 fi
   4768 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
   4769 echo "${ECHO_T}$ac_cv_type_off_t" >&6
   4770 if test $ac_cv_type_off_t = yes; then
   4771   :
   4772 else
   4773 
   4774 cat >>confdefs.h <<_ACEOF
   4775 #define off_t long
   4776 _ACEOF
   4777 
   4778 fi
   4779 
   4780 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
   4781 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
   4782 if test "${ac_cv_type_signal+set}" = set; then
   4783   echo $ECHO_N "(cached) $ECHO_C" >&6
   4784 else
   4785   cat >conftest.$ac_ext <<_ACEOF
   4786 /* confdefs.h.  */
   4787 _ACEOF
   4788 cat confdefs.h >>conftest.$ac_ext
   4789 cat >>conftest.$ac_ext <<_ACEOF
   4790 /* end confdefs.h.  */
   4791 #include <sys/types.h>
   4792 #include <signal.h>
   4793 #ifdef signal
   4794 # undef signal
   4795 #endif
   4796 #ifdef __cplusplus
   4797 extern "C" void (*signal (int, void (*)(int)))(int);
   4798 #else
   4799 void (*signal ()) ();
   4800 #endif
   4801 
   4802 int
   4803 main ()
   4804 {
   4805 int i;
   4806   ;
   4807   return 0;
   4808 }
   4809 _ACEOF
   4810 rm -f conftest.$ac_objext
   4811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4812   (eval $ac_compile) 2>conftest.er1
   4813   ac_status=$?
   4814   grep -v '^ *+' conftest.er1 >conftest.err
   4815   rm -f conftest.er1
   4816   cat conftest.err >&5
   4817   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4818   (exit $ac_status); } &&
   4819 	 { ac_try='test -z "$ac_c_werror_flag"
   4820 			 || test ! -s conftest.err'
   4821   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4822   (eval $ac_try) 2>&5
   4823   ac_status=$?
   4824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4825   (exit $ac_status); }; } &&
   4826 	 { ac_try='test -s conftest.$ac_objext'
   4827   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4828   (eval $ac_try) 2>&5
   4829   ac_status=$?
   4830   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4831   (exit $ac_status); }; }; then
   4832   ac_cv_type_signal=void
   4833 else
   4834   echo "$as_me: failed program was:" >&5
   4835 sed 's/^/| /' conftest.$ac_ext >&5
   4836 
   4837 ac_cv_type_signal=int
   4838 fi
   4839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4840 fi
   4841 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
   4842 echo "${ECHO_T}$ac_cv_type_signal" >&6
   4843 
   4844 cat >>confdefs.h <<_ACEOF
   4845 #define RETSIGTYPE $ac_cv_type_signal
   4846 _ACEOF
   4847 
   4848 
   4849 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
   4850 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
   4851 if test "${ac_cv_c_const+set}" = set; then
   4852   echo $ECHO_N "(cached) $ECHO_C" >&6
   4853 else
   4854   cat >conftest.$ac_ext <<_ACEOF
   4855 /* confdefs.h.  */
   4856 _ACEOF
   4857 cat confdefs.h >>conftest.$ac_ext
   4858 cat >>conftest.$ac_ext <<_ACEOF
   4859 /* end confdefs.h.  */
   4860 
   4861 int
   4862 main ()
   4863 {
   4864 /* FIXME: Include the comments suggested by Paul. */
   4865 #ifndef __cplusplus
   4866   /* Ultrix mips cc rejects this.  */
   4867   typedef int charset[2];
   4868   const charset x;
   4869   /* SunOS 4.1.1 cc rejects this.  */
   4870   char const *const *ccp;
   4871   char **p;
   4872   /* NEC SVR4.0.2 mips cc rejects this.  */
   4873   struct point {int x, y;};
   4874   static struct point const zero = {0,0};
   4875   /* AIX XL C 1.02.0.0 rejects this.
   4876      It does not let you subtract one const X* pointer from another in
   4877      an arm of an if-expression whose if-part is not a constant
   4878      expression */
   4879   const char *g = "string";
   4880   ccp = &g + (g ? g-g : 0);
   4881   /* HPUX 7.0 cc rejects these. */
   4882   ++ccp;
   4883   p = (char**) ccp;
   4884   ccp = (char const *const *) p;
   4885   { /* SCO 3.2v4 cc rejects this.  */
   4886     char *t;
   4887     char const *s = 0 ? (char *) 0 : (char const *) 0;
   4888 
   4889     *t++ = 0;
   4890   }
   4891   { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
   4892     int x[] = {25, 17};
   4893     const int *foo = &x[0];
   4894     ++foo;
   4895   }
   4896   { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
   4897     typedef const int *iptr;
   4898     iptr p = 0;
   4899     ++p;
   4900   }
   4901   { /* AIX XL C 1.02.0.0 rejects this saying
   4902        "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
   4903     struct s { int j; const int *ap[3]; };
   4904     struct s *b; b->j = 5;
   4905   }
   4906   { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
   4907     const int foo = 10;
   4908   }
   4909 #endif
   4910 
   4911   ;
   4912   return 0;
   4913 }
   4914 _ACEOF
   4915 rm -f conftest.$ac_objext
   4916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4917   (eval $ac_compile) 2>conftest.er1
   4918   ac_status=$?
   4919   grep -v '^ *+' conftest.er1 >conftest.err
   4920   rm -f conftest.er1
   4921   cat conftest.err >&5
   4922   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4923   (exit $ac_status); } &&
   4924 	 { ac_try='test -z "$ac_c_werror_flag"
   4925 			 || test ! -s conftest.err'
   4926   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4927   (eval $ac_try) 2>&5
   4928   ac_status=$?
   4929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4930   (exit $ac_status); }; } &&
   4931 	 { ac_try='test -s conftest.$ac_objext'
   4932   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4933   (eval $ac_try) 2>&5
   4934   ac_status=$?
   4935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4936   (exit $ac_status); }; }; then
   4937   ac_cv_c_const=yes
   4938 else
   4939   echo "$as_me: failed program was:" >&5
   4940 sed 's/^/| /' conftest.$ac_ext >&5
   4941 
   4942 ac_cv_c_const=no
   4943 fi
   4944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4945 fi
   4946 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
   4947 echo "${ECHO_T}$ac_cv_c_const" >&6
   4948 if test $ac_cv_c_const = no; then
   4949 
   4950 cat >>confdefs.h <<\_ACEOF
   4951 #define const
   4952 _ACEOF
   4953 
   4954 fi
   4955 
   4956 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
   4957 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
   4958 if test "${ac_cv_struct_tm+set}" = set; then
   4959   echo $ECHO_N "(cached) $ECHO_C" >&6
   4960 else
   4961   cat >conftest.$ac_ext <<_ACEOF
   4962 /* confdefs.h.  */
   4963 _ACEOF
   4964 cat confdefs.h >>conftest.$ac_ext
   4965 cat >>conftest.$ac_ext <<_ACEOF
   4966 /* end confdefs.h.  */
   4967 #include <sys/types.h>
   4968 #include <time.h>
   4969 
   4970 int
   4971 main ()
   4972 {
   4973 struct tm *tp; tp->tm_sec;
   4974   ;
   4975   return 0;
   4976 }
   4977 _ACEOF
   4978 rm -f conftest.$ac_objext
   4979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4980   (eval $ac_compile) 2>conftest.er1
   4981   ac_status=$?
   4982   grep -v '^ *+' conftest.er1 >conftest.err
   4983   rm -f conftest.er1
   4984   cat conftest.err >&5
   4985   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4986   (exit $ac_status); } &&
   4987 	 { ac_try='test -z "$ac_c_werror_flag"
   4988 			 || test ! -s conftest.err'
   4989   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4990   (eval $ac_try) 2>&5
   4991   ac_status=$?
   4992   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4993   (exit $ac_status); }; } &&
   4994 	 { ac_try='test -s conftest.$ac_objext'
   4995   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4996   (eval $ac_try) 2>&5
   4997   ac_status=$?
   4998   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4999   (exit $ac_status); }; }; then
   5000   ac_cv_struct_tm=time.h
   5001 else
   5002   echo "$as_me: failed program was:" >&5
   5003 sed 's/^/| /' conftest.$ac_ext >&5
   5004 
   5005 ac_cv_struct_tm=sys/time.h
   5006 fi
   5007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5008 fi
   5009 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
   5010 echo "${ECHO_T}$ac_cv_struct_tm" >&6
   5011 if test $ac_cv_struct_tm = sys/time.h; then
   5012 
   5013 cat >>confdefs.h <<\_ACEOF
   5014 #define TM_IN_SYS_TIME 1
   5015 _ACEOF
   5016 
   5017 fi
   5018 
   5019 
   5020 # Checks for function declarations.
   5021 echo "$as_me:$LINENO: checking whether memchr is declared" >&5
   5022 echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
   5023 if test "${ac_cv_have_decl_memchr+set}" = set; then
   5024   echo $ECHO_N "(cached) $ECHO_C" >&6
   5025 else
   5026   cat >conftest.$ac_ext <<_ACEOF
   5027 /* confdefs.h.  */
   5028 _ACEOF
   5029 cat confdefs.h >>conftest.$ac_ext
   5030 cat >>conftest.$ac_ext <<_ACEOF
   5031 /* end confdefs.h.  */
   5032 $ac_includes_default
   5033 int
   5034 main ()
   5035 {
   5036 #ifndef memchr
   5037   char *p = (char *) memchr;
   5038 #endif
   5039 
   5040   ;
   5041   return 0;
   5042 }
   5043 _ACEOF
   5044 rm -f conftest.$ac_objext
   5045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5046   (eval $ac_compile) 2>conftest.er1
   5047   ac_status=$?
   5048   grep -v '^ *+' conftest.er1 >conftest.err
   5049   rm -f conftest.er1
   5050   cat conftest.err >&5
   5051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5052   (exit $ac_status); } &&
   5053 	 { ac_try='test -z "$ac_c_werror_flag"
   5054 			 || test ! -s conftest.err'
   5055   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5056   (eval $ac_try) 2>&5
   5057   ac_status=$?
   5058   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5059   (exit $ac_status); }; } &&
   5060 	 { ac_try='test -s conftest.$ac_objext'
   5061   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5062   (eval $ac_try) 2>&5
   5063   ac_status=$?
   5064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5065   (exit $ac_status); }; }; then
   5066   ac_cv_have_decl_memchr=yes
   5067 else
   5068   echo "$as_me: failed program was:" >&5
   5069 sed 's/^/| /' conftest.$ac_ext >&5
   5070 
   5071 ac_cv_have_decl_memchr=no
   5072 fi
   5073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5074 fi
   5075 echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5
   5076 echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
   5077 if test $ac_cv_have_decl_memchr = yes; then
   5078 
   5079 cat >>confdefs.h <<_ACEOF
   5080 #define HAVE_DECL_MEMCHR 1
   5081 _ACEOF
   5082 
   5083 
   5084 else
   5085   cat >>confdefs.h <<_ACEOF
   5086 #define HAVE_DECL_MEMCHR 0
   5087 _ACEOF
   5088 
   5089 
   5090 fi
   5091 echo "$as_me:$LINENO: checking whether strcoll is declared" >&5
   5092 echo $ECHO_N "checking whether strcoll is declared... $ECHO_C" >&6
   5093 if test "${ac_cv_have_decl_strcoll+set}" = set; then
   5094   echo $ECHO_N "(cached) $ECHO_C" >&6
   5095 else
   5096   cat >conftest.$ac_ext <<_ACEOF
   5097 /* confdefs.h.  */
   5098 _ACEOF
   5099 cat confdefs.h >>conftest.$ac_ext
   5100 cat >>conftest.$ac_ext <<_ACEOF
   5101 /* end confdefs.h.  */
   5102 $ac_includes_default
   5103 int
   5104 main ()
   5105 {
   5106 #ifndef strcoll
   5107   char *p = (char *) strcoll;
   5108 #endif
   5109 
   5110   ;
   5111   return 0;
   5112 }
   5113 _ACEOF
   5114 rm -f conftest.$ac_objext
   5115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5116   (eval $ac_compile) 2>conftest.er1
   5117   ac_status=$?
   5118   grep -v '^ *+' conftest.er1 >conftest.err
   5119   rm -f conftest.er1
   5120   cat conftest.err >&5
   5121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5122   (exit $ac_status); } &&
   5123 	 { ac_try='test -z "$ac_c_werror_flag"
   5124 			 || test ! -s conftest.err'
   5125   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5126   (eval $ac_try) 2>&5
   5127   ac_status=$?
   5128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5129   (exit $ac_status); }; } &&
   5130 	 { ac_try='test -s conftest.$ac_objext'
   5131   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5132   (eval $ac_try) 2>&5
   5133   ac_status=$?
   5134   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5135   (exit $ac_status); }; }; then
   5136   ac_cv_have_decl_strcoll=yes
   5137 else
   5138   echo "$as_me: failed program was:" >&5
   5139 sed 's/^/| /' conftest.$ac_ext >&5
   5140 
   5141 ac_cv_have_decl_strcoll=no
   5142 fi
   5143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5144 fi
   5145 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strcoll" >&5
   5146 echo "${ECHO_T}$ac_cv_have_decl_strcoll" >&6
   5147 if test $ac_cv_have_decl_strcoll = yes; then
   5148 
   5149 cat >>confdefs.h <<_ACEOF
   5150 #define HAVE_DECL_STRCOLL 1
   5151 _ACEOF
   5152 
   5153 
   5154 else
   5155   cat >>confdefs.h <<_ACEOF
   5156 #define HAVE_DECL_STRCOLL 0
   5157 _ACEOF
   5158 
   5159 
   5160 fi
   5161 echo "$as_me:$LINENO: checking whether strerror is declared" >&5
   5162 echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
   5163 if test "${ac_cv_have_decl_strerror+set}" = set; then
   5164   echo $ECHO_N "(cached) $ECHO_C" >&6
   5165 else
   5166   cat >conftest.$ac_ext <<_ACEOF
   5167 /* confdefs.h.  */
   5168 _ACEOF
   5169 cat confdefs.h >>conftest.$ac_ext
   5170 cat >>conftest.$ac_ext <<_ACEOF
   5171 /* end confdefs.h.  */
   5172 $ac_includes_default
   5173 int
   5174 main ()
   5175 {
   5176 #ifndef strerror
   5177   char *p = (char *) strerror;
   5178 #endif
   5179 
   5180   ;
   5181   return 0;
   5182 }
   5183 _ACEOF
   5184 rm -f conftest.$ac_objext
   5185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   5186   (eval $ac_compile) 2>conftest.er1
   5187   ac_status=$?
   5188   grep -v '^ *+' conftest.er1 >conftest.err
   5189   rm -f conftest.er1
   5190   cat conftest.err >&5
   5191   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5192   (exit $ac_status); } &&
   5193 	 { ac_try='test -z "$ac_c_werror_flag"
   5194 			 || test ! -s conftest.err'
   5195   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5196   (eval $ac_try) 2>&5
   5197   ac_status=$?
   5198   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5199   (exit $ac_status); }; } &&
   5200 	 { ac_try='test -s conftest.$ac_objext'
   5201   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5202   (eval $ac_try) 2>&5
   5203   ac_status=$?
   5204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5205   (exit $ac_status); }; }; then
   5206   ac_cv_have_decl_strerror=yes
   5207 else
   5208   echo "$as_me: failed program was:" >&5
   5209 sed 's/^/| /' conftest.$ac_ext >&5
   5210 
   5211 ac_cv_have_decl_strerror=no
   5212 fi
   5213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   5214 fi
   5215 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
   5216 echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
   5217 if test $ac_cv_have_decl_strerror = yes; then
   5218 
   5219 cat >>confdefs.h <<_ACEOF
   5220 #define HAVE_DECL_STRERROR 1
   5221 _ACEOF
   5222 
   5223 
   5224 else
   5225   cat >>confdefs.h <<_ACEOF
   5226 #define HAVE_DECL_STRERROR 0
   5227 _ACEOF
   5228 
   5229 
   5230 fi
   5231 
   5232 
   5233 
   5234 # Checks for library functions.
   5235 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
   5236 # for constant arguments.  Useless!
   5237 echo "$as_me:$LINENO: checking for working alloca.h" >&5
   5238 echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
   5239 if test "${ac_cv_working_alloca_h+set}" = set; then
   5240   echo $ECHO_N "(cached) $ECHO_C" >&6
   5241 else
   5242   cat >conftest.$ac_ext <<_ACEOF
   5243 /* confdefs.h.  */
   5244 _ACEOF
   5245 cat confdefs.h >>conftest.$ac_ext
   5246 cat >>conftest.$ac_ext <<_ACEOF
   5247 /* end confdefs.h.  */
   5248 #include <alloca.h>
   5249 int
   5250 main ()
   5251 {
   5252 char *p = (char *) alloca (2 * sizeof (int));
   5253   ;
   5254   return 0;
   5255 }
   5256 _ACEOF
   5257 rm -f conftest.$ac_objext conftest$ac_exeext
   5258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5259   (eval $ac_link) 2>conftest.er1
   5260   ac_status=$?
   5261   grep -v '^ *+' conftest.er1 >conftest.err
   5262   rm -f conftest.er1
   5263   cat conftest.err >&5
   5264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5265   (exit $ac_status); } &&
   5266 	 { ac_try='test -z "$ac_c_werror_flag"
   5267 			 || test ! -s conftest.err'
   5268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5269   (eval $ac_try) 2>&5
   5270   ac_status=$?
   5271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5272   (exit $ac_status); }; } &&
   5273 	 { ac_try='test -s conftest$ac_exeext'
   5274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5275   (eval $ac_try) 2>&5
   5276   ac_status=$?
   5277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5278   (exit $ac_status); }; }; then
   5279   ac_cv_working_alloca_h=yes
   5280 else
   5281   echo "$as_me: failed program was:" >&5
   5282 sed 's/^/| /' conftest.$ac_ext >&5
   5283 
   5284 ac_cv_working_alloca_h=no
   5285 fi
   5286 rm -f conftest.err conftest.$ac_objext \
   5287       conftest$ac_exeext conftest.$ac_ext
   5288 fi
   5289 echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
   5290 echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
   5291 if test $ac_cv_working_alloca_h = yes; then
   5292 
   5293 cat >>confdefs.h <<\_ACEOF
   5294 #define HAVE_ALLOCA_H 1
   5295 _ACEOF
   5296 
   5297 fi
   5298 
   5299 echo "$as_me:$LINENO: checking for alloca" >&5
   5300 echo $ECHO_N "checking for alloca... $ECHO_C" >&6
   5301 if test "${ac_cv_func_alloca_works+set}" = set; then
   5302   echo $ECHO_N "(cached) $ECHO_C" >&6
   5303 else
   5304   cat >conftest.$ac_ext <<_ACEOF
   5305 /* confdefs.h.  */
   5306 _ACEOF
   5307 cat confdefs.h >>conftest.$ac_ext
   5308 cat >>conftest.$ac_ext <<_ACEOF
   5309 /* end confdefs.h.  */
   5310 #ifdef __GNUC__
   5311 # define alloca __builtin_alloca
   5312 #else
   5313 # ifdef _MSC_VER
   5314 #  include <malloc.h>
   5315 #  define alloca _alloca
   5316 # else
   5317 #  if HAVE_ALLOCA_H
   5318 #   include <alloca.h>
   5319 #  else
   5320 #   ifdef _AIX
   5321  #pragma alloca
   5322 #   else
   5323 #    ifndef alloca /* predefined by HP cc +Olibcalls */
   5324 char *alloca ();
   5325 #    endif
   5326 #   endif
   5327 #  endif
   5328 # endif
   5329 #endif
   5330 
   5331 int
   5332 main ()
   5333 {
   5334 char *p = (char *) alloca (1);
   5335   ;
   5336   return 0;
   5337 }
   5338 _ACEOF
   5339 rm -f conftest.$ac_objext conftest$ac_exeext
   5340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5341   (eval $ac_link) 2>conftest.er1
   5342   ac_status=$?
   5343   grep -v '^ *+' conftest.er1 >conftest.err
   5344   rm -f conftest.er1
   5345   cat conftest.err >&5
   5346   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5347   (exit $ac_status); } &&
   5348 	 { ac_try='test -z "$ac_c_werror_flag"
   5349 			 || test ! -s conftest.err'
   5350   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5351   (eval $ac_try) 2>&5
   5352   ac_status=$?
   5353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5354   (exit $ac_status); }; } &&
   5355 	 { ac_try='test -s conftest$ac_exeext'
   5356   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5357   (eval $ac_try) 2>&5
   5358   ac_status=$?
   5359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5360   (exit $ac_status); }; }; then
   5361   ac_cv_func_alloca_works=yes
   5362 else
   5363   echo "$as_me: failed program was:" >&5
   5364 sed 's/^/| /' conftest.$ac_ext >&5
   5365 
   5366 ac_cv_func_alloca_works=no
   5367 fi
   5368 rm -f conftest.err conftest.$ac_objext \
   5369       conftest$ac_exeext conftest.$ac_ext
   5370 fi
   5371 echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
   5372 echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
   5373 
   5374 if test $ac_cv_func_alloca_works = yes; then
   5375 
   5376 cat >>confdefs.h <<\_ACEOF
   5377 #define HAVE_ALLOCA 1
   5378 _ACEOF
   5379 
   5380 else
   5381   # The SVR3 libPW and SVR4 libucb both contain incompatible functions
   5382 # that cause trouble.  Some versions do not even contain alloca or
   5383 # contain a buggy version.  If you still want to use their alloca,
   5384 # use ar to extract alloca.o from them instead of compiling alloca.c.
   5385 
   5386 ALLOCA=alloca.$ac_objext
   5387 
   5388 cat >>confdefs.h <<\_ACEOF
   5389 #define C_ALLOCA 1
   5390 _ACEOF
   5391 
   5392 
   5393 echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
   5394 echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
   5395 if test "${ac_cv_os_cray+set}" = set; then
   5396   echo $ECHO_N "(cached) $ECHO_C" >&6
   5397 else
   5398   cat >conftest.$ac_ext <<_ACEOF
   5399 /* confdefs.h.  */
   5400 _ACEOF
   5401 cat confdefs.h >>conftest.$ac_ext
   5402 cat >>conftest.$ac_ext <<_ACEOF
   5403 /* end confdefs.h.  */
   5404 #if defined(CRAY) && ! defined(CRAY2)
   5405 webecray
   5406 #else
   5407 wenotbecray
   5408 #endif
   5409 
   5410 _ACEOF
   5411 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   5412   $EGREP "webecray" >/dev/null 2>&1; then
   5413   ac_cv_os_cray=yes
   5414 else
   5415   ac_cv_os_cray=no
   5416 fi
   5417 rm -f conftest*
   5418 
   5419 fi
   5420 echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
   5421 echo "${ECHO_T}$ac_cv_os_cray" >&6
   5422 if test $ac_cv_os_cray = yes; then
   5423   for ac_func in _getb67 GETB67 getb67; do
   5424     as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5425 echo "$as_me:$LINENO: checking for $ac_func" >&5
   5426 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   5427 if eval "test \"\${$as_ac_var+set}\" = set"; then
   5428   echo $ECHO_N "(cached) $ECHO_C" >&6
   5429 else
   5430   cat >conftest.$ac_ext <<_ACEOF
   5431 /* confdefs.h.  */
   5432 _ACEOF
   5433 cat confdefs.h >>conftest.$ac_ext
   5434 cat >>conftest.$ac_ext <<_ACEOF
   5435 /* end confdefs.h.  */
   5436 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   5437    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5438 #define $ac_func innocuous_$ac_func
   5439 
   5440 /* System header to define __stub macros and hopefully few prototypes,
   5441     which can conflict with char $ac_func (); below.
   5442     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5443     <limits.h> exists even on freestanding compilers.  */
   5444 
   5445 #ifdef __STDC__
   5446 # include <limits.h>
   5447 #else
   5448 # include <assert.h>
   5449 #endif
   5450 
   5451 #undef $ac_func
   5452 
   5453 /* Override any gcc2 internal prototype to avoid an error.  */
   5454 #ifdef __cplusplus
   5455 extern "C"
   5456 {
   5457 #endif
   5458 /* We use char because int might match the return type of a gcc2
   5459    builtin and then its argument prototype would still apply.  */
   5460 char $ac_func ();
   5461 /* The GNU C library defines this for functions which it implements
   5462     to always fail with ENOSYS.  Some functions are actually named
   5463     something starting with __ and the normal name is an alias.  */
   5464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   5465 choke me
   5466 #else
   5467 char (*f) () = $ac_func;
   5468 #endif
   5469 #ifdef __cplusplus
   5470 }
   5471 #endif
   5472 
   5473 int
   5474 main ()
   5475 {
   5476 return f != $ac_func;
   5477   ;
   5478   return 0;
   5479 }
   5480 _ACEOF
   5481 rm -f conftest.$ac_objext conftest$ac_exeext
   5482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5483   (eval $ac_link) 2>conftest.er1
   5484   ac_status=$?
   5485   grep -v '^ *+' conftest.er1 >conftest.err
   5486   rm -f conftest.er1
   5487   cat conftest.err >&5
   5488   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5489   (exit $ac_status); } &&
   5490 	 { ac_try='test -z "$ac_c_werror_flag"
   5491 			 || test ! -s conftest.err'
   5492   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5493   (eval $ac_try) 2>&5
   5494   ac_status=$?
   5495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5496   (exit $ac_status); }; } &&
   5497 	 { ac_try='test -s conftest$ac_exeext'
   5498   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5499   (eval $ac_try) 2>&5
   5500   ac_status=$?
   5501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5502   (exit $ac_status); }; }; then
   5503   eval "$as_ac_var=yes"
   5504 else
   5505   echo "$as_me: failed program was:" >&5
   5506 sed 's/^/| /' conftest.$ac_ext >&5
   5507 
   5508 eval "$as_ac_var=no"
   5509 fi
   5510 rm -f conftest.err conftest.$ac_objext \
   5511       conftest$ac_exeext conftest.$ac_ext
   5512 fi
   5513 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   5514 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   5515 if test `eval echo '${'$as_ac_var'}'` = yes; then
   5516 
   5517 cat >>confdefs.h <<_ACEOF
   5518 #define CRAY_STACKSEG_END $ac_func
   5519 _ACEOF
   5520 
   5521     break
   5522 fi
   5523 
   5524   done
   5525 fi
   5526 
   5527 echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
   5528 echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
   5529 if test "${ac_cv_c_stack_direction+set}" = set; then
   5530   echo $ECHO_N "(cached) $ECHO_C" >&6
   5531 else
   5532   if test "$cross_compiling" = yes; then
   5533   ac_cv_c_stack_direction=0
   5534 else
   5535   cat >conftest.$ac_ext <<_ACEOF
   5536 /* confdefs.h.  */
   5537 _ACEOF
   5538 cat confdefs.h >>conftest.$ac_ext
   5539 cat >>conftest.$ac_ext <<_ACEOF
   5540 /* end confdefs.h.  */
   5541 int
   5542 find_stack_direction ()
   5543 {
   5544   static char *addr = 0;
   5545   auto char dummy;
   5546   if (addr == 0)
   5547     {
   5548       addr = &dummy;
   5549       return find_stack_direction ();
   5550     }
   5551   else
   5552     return (&dummy > addr) ? 1 : -1;
   5553 }
   5554 
   5555 int
   5556 main ()
   5557 {
   5558   exit (find_stack_direction () < 0);
   5559 }
   5560 _ACEOF
   5561 rm -f conftest$ac_exeext
   5562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5563   (eval $ac_link) 2>&5
   5564   ac_status=$?
   5565   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5566   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5568   (eval $ac_try) 2>&5
   5569   ac_status=$?
   5570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5571   (exit $ac_status); }; }; then
   5572   ac_cv_c_stack_direction=1
   5573 else
   5574   echo "$as_me: program exited with status $ac_status" >&5
   5575 echo "$as_me: failed program was:" >&5
   5576 sed 's/^/| /' conftest.$ac_ext >&5
   5577 
   5578 ( exit $ac_status )
   5579 ac_cv_c_stack_direction=-1
   5580 fi
   5581 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5582 fi
   5583 fi
   5584 echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
   5585 echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
   5586 
   5587 cat >>confdefs.h <<_ACEOF
   5588 #define STACK_DIRECTION $ac_cv_c_stack_direction
   5589 _ACEOF
   5590 
   5591 
   5592 fi
   5593 
   5594 echo "$as_me:$LINENO: checking for working strcoll" >&5
   5595 echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6
   5596 if test "${ac_cv_func_strcoll_works+set}" = set; then
   5597   echo $ECHO_N "(cached) $ECHO_C" >&6
   5598 else
   5599   if test "$cross_compiling" = yes; then
   5600   ac_cv_func_strcoll_works=no
   5601 else
   5602   cat >conftest.$ac_ext <<_ACEOF
   5603 /* confdefs.h.  */
   5604 _ACEOF
   5605 cat confdefs.h >>conftest.$ac_ext
   5606 cat >>conftest.$ac_ext <<_ACEOF
   5607 /* end confdefs.h.  */
   5608 $ac_includes_default
   5609 int
   5610 main ()
   5611 {
   5612 exit (strcoll ("abc", "def") >= 0 ||
   5613 	 strcoll ("ABC", "DEF") >= 0 ||
   5614 	 strcoll ("123", "456") >= 0)
   5615   ;
   5616   return 0;
   5617 }
   5618 _ACEOF
   5619 rm -f conftest$ac_exeext
   5620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5621   (eval $ac_link) 2>&5
   5622   ac_status=$?
   5623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5624   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   5625   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5626   (eval $ac_try) 2>&5
   5627   ac_status=$?
   5628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5629   (exit $ac_status); }; }; then
   5630   ac_cv_func_strcoll_works=yes
   5631 else
   5632   echo "$as_me: program exited with status $ac_status" >&5
   5633 echo "$as_me: failed program was:" >&5
   5634 sed 's/^/| /' conftest.$ac_ext >&5
   5635 
   5636 ( exit $ac_status )
   5637 ac_cv_func_strcoll_works=no
   5638 fi
   5639 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   5640 fi
   5641 fi
   5642 echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
   5643 echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6
   5644 if test $ac_cv_func_strcoll_works = yes; then
   5645 
   5646 cat >>confdefs.h <<\_ACEOF
   5647 #define HAVE_STRCOLL 1
   5648 _ACEOF
   5649 
   5650 fi
   5651 
   5652 
   5653 for ac_func in vprintf
   5654 do
   5655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5656 echo "$as_me:$LINENO: checking for $ac_func" >&5
   5657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   5658 if eval "test \"\${$as_ac_var+set}\" = set"; then
   5659   echo $ECHO_N "(cached) $ECHO_C" >&6
   5660 else
   5661   cat >conftest.$ac_ext <<_ACEOF
   5662 /* confdefs.h.  */
   5663 _ACEOF
   5664 cat confdefs.h >>conftest.$ac_ext
   5665 cat >>conftest.$ac_ext <<_ACEOF
   5666 /* end confdefs.h.  */
   5667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   5668    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5669 #define $ac_func innocuous_$ac_func
   5670 
   5671 /* System header to define __stub macros and hopefully few prototypes,
   5672     which can conflict with char $ac_func (); below.
   5673     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5674     <limits.h> exists even on freestanding compilers.  */
   5675 
   5676 #ifdef __STDC__
   5677 # include <limits.h>
   5678 #else
   5679 # include <assert.h>
   5680 #endif
   5681 
   5682 #undef $ac_func
   5683 
   5684 /* Override any gcc2 internal prototype to avoid an error.  */
   5685 #ifdef __cplusplus
   5686 extern "C"
   5687 {
   5688 #endif
   5689 /* We use char because int might match the return type of a gcc2
   5690    builtin and then its argument prototype would still apply.  */
   5691 char $ac_func ();
   5692 /* The GNU C library defines this for functions which it implements
   5693     to always fail with ENOSYS.  Some functions are actually named
   5694     something starting with __ and the normal name is an alias.  */
   5695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   5696 choke me
   5697 #else
   5698 char (*f) () = $ac_func;
   5699 #endif
   5700 #ifdef __cplusplus
   5701 }
   5702 #endif
   5703 
   5704 int
   5705 main ()
   5706 {
   5707 return f != $ac_func;
   5708   ;
   5709   return 0;
   5710 }
   5711 _ACEOF
   5712 rm -f conftest.$ac_objext conftest$ac_exeext
   5713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5714   (eval $ac_link) 2>conftest.er1
   5715   ac_status=$?
   5716   grep -v '^ *+' conftest.er1 >conftest.err
   5717   rm -f conftest.er1
   5718   cat conftest.err >&5
   5719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5720   (exit $ac_status); } &&
   5721 	 { ac_try='test -z "$ac_c_werror_flag"
   5722 			 || test ! -s conftest.err'
   5723   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5724   (eval $ac_try) 2>&5
   5725   ac_status=$?
   5726   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5727   (exit $ac_status); }; } &&
   5728 	 { ac_try='test -s conftest$ac_exeext'
   5729   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5730   (eval $ac_try) 2>&5
   5731   ac_status=$?
   5732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5733   (exit $ac_status); }; }; then
   5734   eval "$as_ac_var=yes"
   5735 else
   5736   echo "$as_me: failed program was:" >&5
   5737 sed 's/^/| /' conftest.$ac_ext >&5
   5738 
   5739 eval "$as_ac_var=no"
   5740 fi
   5741 rm -f conftest.err conftest.$ac_objext \
   5742       conftest$ac_exeext conftest.$ac_ext
   5743 fi
   5744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   5745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   5746 if test `eval echo '${'$as_ac_var'}'` = yes; then
   5747   cat >>confdefs.h <<_ACEOF
   5748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5749 _ACEOF
   5750 
   5751 echo "$as_me:$LINENO: checking for _doprnt" >&5
   5752 echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
   5753 if test "${ac_cv_func__doprnt+set}" = set; then
   5754   echo $ECHO_N "(cached) $ECHO_C" >&6
   5755 else
   5756   cat >conftest.$ac_ext <<_ACEOF
   5757 /* confdefs.h.  */
   5758 _ACEOF
   5759 cat confdefs.h >>conftest.$ac_ext
   5760 cat >>conftest.$ac_ext <<_ACEOF
   5761 /* end confdefs.h.  */
   5762 /* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
   5763    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5764 #define _doprnt innocuous__doprnt
   5765 
   5766 /* System header to define __stub macros and hopefully few prototypes,
   5767     which can conflict with char _doprnt (); below.
   5768     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5769     <limits.h> exists even on freestanding compilers.  */
   5770 
   5771 #ifdef __STDC__
   5772 # include <limits.h>
   5773 #else
   5774 # include <assert.h>
   5775 #endif
   5776 
   5777 #undef _doprnt
   5778 
   5779 /* Override any gcc2 internal prototype to avoid an error.  */
   5780 #ifdef __cplusplus
   5781 extern "C"
   5782 {
   5783 #endif
   5784 /* We use char because int might match the return type of a gcc2
   5785    builtin and then its argument prototype would still apply.  */
   5786 char _doprnt ();
   5787 /* The GNU C library defines this for functions which it implements
   5788     to always fail with ENOSYS.  Some functions are actually named
   5789     something starting with __ and the normal name is an alias.  */
   5790 #if defined (__stub__doprnt) || defined (__stub____doprnt)
   5791 choke me
   5792 #else
   5793 char (*f) () = _doprnt;
   5794 #endif
   5795 #ifdef __cplusplus
   5796 }
   5797 #endif
   5798 
   5799 int
   5800 main ()
   5801 {
   5802 return f != _doprnt;
   5803   ;
   5804   return 0;
   5805 }
   5806 _ACEOF
   5807 rm -f conftest.$ac_objext conftest$ac_exeext
   5808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5809   (eval $ac_link) 2>conftest.er1
   5810   ac_status=$?
   5811   grep -v '^ *+' conftest.er1 >conftest.err
   5812   rm -f conftest.er1
   5813   cat conftest.err >&5
   5814   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5815   (exit $ac_status); } &&
   5816 	 { ac_try='test -z "$ac_c_werror_flag"
   5817 			 || test ! -s conftest.err'
   5818   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5819   (eval $ac_try) 2>&5
   5820   ac_status=$?
   5821   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5822   (exit $ac_status); }; } &&
   5823 	 { ac_try='test -s conftest$ac_exeext'
   5824   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5825   (eval $ac_try) 2>&5
   5826   ac_status=$?
   5827   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5828   (exit $ac_status); }; }; then
   5829   ac_cv_func__doprnt=yes
   5830 else
   5831   echo "$as_me: failed program was:" >&5
   5832 sed 's/^/| /' conftest.$ac_ext >&5
   5833 
   5834 ac_cv_func__doprnt=no
   5835 fi
   5836 rm -f conftest.err conftest.$ac_objext \
   5837       conftest$ac_exeext conftest.$ac_ext
   5838 fi
   5839 echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
   5840 echo "${ECHO_T}$ac_cv_func__doprnt" >&6
   5841 if test $ac_cv_func__doprnt = yes; then
   5842 
   5843 cat >>confdefs.h <<\_ACEOF
   5844 #define HAVE_DOPRNT 1
   5845 _ACEOF
   5846 
   5847 fi
   5848 
   5849 fi
   5850 done
   5851 
   5852 
   5853 # in theory only pre-sysvr3 systems needed this and it's not likely
   5854 # that anyone compiling new texinfo still has such a thing? we'll see.
   5855 # AC_FUNC_SETVBUF_REVERSED
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 for ac_func in bzero getcwd memset setvbuf sigaction sigprocmask \
   5865                sigsetmask strchr
   5866 do
   5867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5868 echo "$as_me:$LINENO: checking for $ac_func" >&5
   5869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   5870 if eval "test \"\${$as_ac_var+set}\" = set"; then
   5871   echo $ECHO_N "(cached) $ECHO_C" >&6
   5872 else
   5873   cat >conftest.$ac_ext <<_ACEOF
   5874 /* confdefs.h.  */
   5875 _ACEOF
   5876 cat confdefs.h >>conftest.$ac_ext
   5877 cat >>conftest.$ac_ext <<_ACEOF
   5878 /* end confdefs.h.  */
   5879 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   5880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5881 #define $ac_func innocuous_$ac_func
   5882 
   5883 /* System header to define __stub macros and hopefully few prototypes,
   5884     which can conflict with char $ac_func (); below.
   5885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5886     <limits.h> exists even on freestanding compilers.  */
   5887 
   5888 #ifdef __STDC__
   5889 # include <limits.h>
   5890 #else
   5891 # include <assert.h>
   5892 #endif
   5893 
   5894 #undef $ac_func
   5895 
   5896 /* Override any gcc2 internal prototype to avoid an error.  */
   5897 #ifdef __cplusplus
   5898 extern "C"
   5899 {
   5900 #endif
   5901 /* We use char because int might match the return type of a gcc2
   5902    builtin and then its argument prototype would still apply.  */
   5903 char $ac_func ();
   5904 /* The GNU C library defines this for functions which it implements
   5905     to always fail with ENOSYS.  Some functions are actually named
   5906     something starting with __ and the normal name is an alias.  */
   5907 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   5908 choke me
   5909 #else
   5910 char (*f) () = $ac_func;
   5911 #endif
   5912 #ifdef __cplusplus
   5913 }
   5914 #endif
   5915 
   5916 int
   5917 main ()
   5918 {
   5919 return f != $ac_func;
   5920   ;
   5921   return 0;
   5922 }
   5923 _ACEOF
   5924 rm -f conftest.$ac_objext conftest$ac_exeext
   5925 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   5926   (eval $ac_link) 2>conftest.er1
   5927   ac_status=$?
   5928   grep -v '^ *+' conftest.er1 >conftest.err
   5929   rm -f conftest.er1
   5930   cat conftest.err >&5
   5931   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5932   (exit $ac_status); } &&
   5933 	 { ac_try='test -z "$ac_c_werror_flag"
   5934 			 || test ! -s conftest.err'
   5935   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5936   (eval $ac_try) 2>&5
   5937   ac_status=$?
   5938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5939   (exit $ac_status); }; } &&
   5940 	 { ac_try='test -s conftest$ac_exeext'
   5941   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   5942   (eval $ac_try) 2>&5
   5943   ac_status=$?
   5944   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   5945   (exit $ac_status); }; }; then
   5946   eval "$as_ac_var=yes"
   5947 else
   5948   echo "$as_me: failed program was:" >&5
   5949 sed 's/^/| /' conftest.$ac_ext >&5
   5950 
   5951 eval "$as_ac_var=no"
   5952 fi
   5953 rm -f conftest.err conftest.$ac_objext \
   5954       conftest$ac_exeext conftest.$ac_ext
   5955 fi
   5956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   5957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   5958 if test `eval echo '${'$as_ac_var'}'` = yes; then
   5959   cat >>confdefs.h <<_ACEOF
   5960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   5961 _ACEOF
   5962 
   5963 fi
   5964 done
   5965 
   5966 
   5967 
   5968 
   5969 
   5970 for ac_func in memcpy memmove strdup strerror
   5971 do
   5972 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   5973 echo "$as_me:$LINENO: checking for $ac_func" >&5
   5974 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   5975 if eval "test \"\${$as_ac_var+set}\" = set"; then
   5976   echo $ECHO_N "(cached) $ECHO_C" >&6
   5977 else
   5978   cat >conftest.$ac_ext <<_ACEOF
   5979 /* confdefs.h.  */
   5980 _ACEOF
   5981 cat confdefs.h >>conftest.$ac_ext
   5982 cat >>conftest.$ac_ext <<_ACEOF
   5983 /* end confdefs.h.  */
   5984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   5985    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   5986 #define $ac_func innocuous_$ac_func
   5987 
   5988 /* System header to define __stub macros and hopefully few prototypes,
   5989     which can conflict with char $ac_func (); below.
   5990     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   5991     <limits.h> exists even on freestanding compilers.  */
   5992 
   5993 #ifdef __STDC__
   5994 # include <limits.h>
   5995 #else
   5996 # include <assert.h>
   5997 #endif
   5998 
   5999 #undef $ac_func
   6000 
   6001 /* Override any gcc2 internal prototype to avoid an error.  */
   6002 #ifdef __cplusplus
   6003 extern "C"
   6004 {
   6005 #endif
   6006 /* We use char because int might match the return type of a gcc2
   6007    builtin and then its argument prototype would still apply.  */
   6008 char $ac_func ();
   6009 /* The GNU C library defines this for functions which it implements
   6010     to always fail with ENOSYS.  Some functions are actually named
   6011     something starting with __ and the normal name is an alias.  */
   6012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   6013 choke me
   6014 #else
   6015 char (*f) () = $ac_func;
   6016 #endif
   6017 #ifdef __cplusplus
   6018 }
   6019 #endif
   6020 
   6021 int
   6022 main ()
   6023 {
   6024 return f != $ac_func;
   6025   ;
   6026   return 0;
   6027 }
   6028 _ACEOF
   6029 rm -f conftest.$ac_objext conftest$ac_exeext
   6030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6031   (eval $ac_link) 2>conftest.er1
   6032   ac_status=$?
   6033   grep -v '^ *+' conftest.er1 >conftest.err
   6034   rm -f conftest.er1
   6035   cat conftest.err >&5
   6036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6037   (exit $ac_status); } &&
   6038 	 { ac_try='test -z "$ac_c_werror_flag"
   6039 			 || test ! -s conftest.err'
   6040   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6041   (eval $ac_try) 2>&5
   6042   ac_status=$?
   6043   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6044   (exit $ac_status); }; } &&
   6045 	 { ac_try='test -s conftest$ac_exeext'
   6046   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6047   (eval $ac_try) 2>&5
   6048   ac_status=$?
   6049   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6050   (exit $ac_status); }; }; then
   6051   eval "$as_ac_var=yes"
   6052 else
   6053   echo "$as_me: failed program was:" >&5
   6054 sed 's/^/| /' conftest.$ac_ext >&5
   6055 
   6056 eval "$as_ac_var=no"
   6057 fi
   6058 rm -f conftest.err conftest.$ac_objext \
   6059       conftest$ac_exeext conftest.$ac_ext
   6060 fi
   6061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   6062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   6063 if test `eval echo '${'$as_ac_var'}'` = yes; then
   6064   cat >>confdefs.h <<_ACEOF
   6065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   6066 _ACEOF
   6067 
   6068 else
   6069   case $LIBOBJS in
   6070     "$ac_func.$ac_objext"   | \
   6071   *" $ac_func.$ac_objext"   | \
   6072     "$ac_func.$ac_objext "* | \
   6073   *" $ac_func.$ac_objext "* ) ;;
   6074   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   6075 esac
   6076 
   6077 fi
   6078 done
   6079 
   6080 
   6081 
   6082 # strcasecmp and strncasecmp, gnulib-style.
   6083 
   6084 
   6085 
   6086 for ac_func in strcasecmp
   6087 do
   6088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6089 echo "$as_me:$LINENO: checking for $ac_func" >&5
   6090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   6091 if eval "test \"\${$as_ac_var+set}\" = set"; then
   6092   echo $ECHO_N "(cached) $ECHO_C" >&6
   6093 else
   6094   cat >conftest.$ac_ext <<_ACEOF
   6095 /* confdefs.h.  */
   6096 _ACEOF
   6097 cat confdefs.h >>conftest.$ac_ext
   6098 cat >>conftest.$ac_ext <<_ACEOF
   6099 /* end confdefs.h.  */
   6100 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   6101    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   6102 #define $ac_func innocuous_$ac_func
   6103 
   6104 /* System header to define __stub macros and hopefully few prototypes,
   6105     which can conflict with char $ac_func (); below.
   6106     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6107     <limits.h> exists even on freestanding compilers.  */
   6108 
   6109 #ifdef __STDC__
   6110 # include <limits.h>
   6111 #else
   6112 # include <assert.h>
   6113 #endif
   6114 
   6115 #undef $ac_func
   6116 
   6117 /* Override any gcc2 internal prototype to avoid an error.  */
   6118 #ifdef __cplusplus
   6119 extern "C"
   6120 {
   6121 #endif
   6122 /* We use char because int might match the return type of a gcc2
   6123    builtin and then its argument prototype would still apply.  */
   6124 char $ac_func ();
   6125 /* The GNU C library defines this for functions which it implements
   6126     to always fail with ENOSYS.  Some functions are actually named
   6127     something starting with __ and the normal name is an alias.  */
   6128 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   6129 choke me
   6130 #else
   6131 char (*f) () = $ac_func;
   6132 #endif
   6133 #ifdef __cplusplus
   6134 }
   6135 #endif
   6136 
   6137 int
   6138 main ()
   6139 {
   6140 return f != $ac_func;
   6141   ;
   6142   return 0;
   6143 }
   6144 _ACEOF
   6145 rm -f conftest.$ac_objext conftest$ac_exeext
   6146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6147   (eval $ac_link) 2>conftest.er1
   6148   ac_status=$?
   6149   grep -v '^ *+' conftest.er1 >conftest.err
   6150   rm -f conftest.er1
   6151   cat conftest.err >&5
   6152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6153   (exit $ac_status); } &&
   6154 	 { ac_try='test -z "$ac_c_werror_flag"
   6155 			 || test ! -s conftest.err'
   6156   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6157   (eval $ac_try) 2>&5
   6158   ac_status=$?
   6159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6160   (exit $ac_status); }; } &&
   6161 	 { ac_try='test -s conftest$ac_exeext'
   6162   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6163   (eval $ac_try) 2>&5
   6164   ac_status=$?
   6165   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6166   (exit $ac_status); }; }; then
   6167   eval "$as_ac_var=yes"
   6168 else
   6169   echo "$as_me: failed program was:" >&5
   6170 sed 's/^/| /' conftest.$ac_ext >&5
   6171 
   6172 eval "$as_ac_var=no"
   6173 fi
   6174 rm -f conftest.err conftest.$ac_objext \
   6175       conftest$ac_exeext conftest.$ac_ext
   6176 fi
   6177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   6178 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   6179 if test `eval echo '${'$as_ac_var'}'` = yes; then
   6180   cat >>confdefs.h <<_ACEOF
   6181 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   6182 _ACEOF
   6183 
   6184 else
   6185   case $LIBOBJS in
   6186     "$ac_func.$ac_objext"   | \
   6187   *" $ac_func.$ac_objext"   | \
   6188     "$ac_func.$ac_objext "* | \
   6189   *" $ac_func.$ac_objext "* ) ;;
   6190   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   6191 esac
   6192 
   6193 fi
   6194 done
   6195 
   6196 
   6197   if test $ac_cv_func_strcasecmp = no; then
   6198 
   6199   :
   6200 
   6201   fi
   6202 
   6203 
   6204 
   6205 for ac_func in strncasecmp
   6206 do
   6207 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   6208 echo "$as_me:$LINENO: checking for $ac_func" >&5
   6209 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   6210 if eval "test \"\${$as_ac_var+set}\" = set"; then
   6211   echo $ECHO_N "(cached) $ECHO_C" >&6
   6212 else
   6213   cat >conftest.$ac_ext <<_ACEOF
   6214 /* confdefs.h.  */
   6215 _ACEOF
   6216 cat confdefs.h >>conftest.$ac_ext
   6217 cat >>conftest.$ac_ext <<_ACEOF
   6218 /* end confdefs.h.  */
   6219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   6220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   6221 #define $ac_func innocuous_$ac_func
   6222 
   6223 /* System header to define __stub macros and hopefully few prototypes,
   6224     which can conflict with char $ac_func (); below.
   6225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   6226     <limits.h> exists even on freestanding compilers.  */
   6227 
   6228 #ifdef __STDC__
   6229 # include <limits.h>
   6230 #else
   6231 # include <assert.h>
   6232 #endif
   6233 
   6234 #undef $ac_func
   6235 
   6236 /* Override any gcc2 internal prototype to avoid an error.  */
   6237 #ifdef __cplusplus
   6238 extern "C"
   6239 {
   6240 #endif
   6241 /* We use char because int might match the return type of a gcc2
   6242    builtin and then its argument prototype would still apply.  */
   6243 char $ac_func ();
   6244 /* The GNU C library defines this for functions which it implements
   6245     to always fail with ENOSYS.  Some functions are actually named
   6246     something starting with __ and the normal name is an alias.  */
   6247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   6248 choke me
   6249 #else
   6250 char (*f) () = $ac_func;
   6251 #endif
   6252 #ifdef __cplusplus
   6253 }
   6254 #endif
   6255 
   6256 int
   6257 main ()
   6258 {
   6259 return f != $ac_func;
   6260   ;
   6261   return 0;
   6262 }
   6263 _ACEOF
   6264 rm -f conftest.$ac_objext conftest$ac_exeext
   6265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6266   (eval $ac_link) 2>conftest.er1
   6267   ac_status=$?
   6268   grep -v '^ *+' conftest.er1 >conftest.err
   6269   rm -f conftest.er1
   6270   cat conftest.err >&5
   6271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6272   (exit $ac_status); } &&
   6273 	 { ac_try='test -z "$ac_c_werror_flag"
   6274 			 || test ! -s conftest.err'
   6275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6276   (eval $ac_try) 2>&5
   6277   ac_status=$?
   6278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6279   (exit $ac_status); }; } &&
   6280 	 { ac_try='test -s conftest$ac_exeext'
   6281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6282   (eval $ac_try) 2>&5
   6283   ac_status=$?
   6284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6285   (exit $ac_status); }; }; then
   6286   eval "$as_ac_var=yes"
   6287 else
   6288   echo "$as_me: failed program was:" >&5
   6289 sed 's/^/| /' conftest.$ac_ext >&5
   6290 
   6291 eval "$as_ac_var=no"
   6292 fi
   6293 rm -f conftest.err conftest.$ac_objext \
   6294       conftest$ac_exeext conftest.$ac_ext
   6295 fi
   6296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   6297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   6298 if test `eval echo '${'$as_ac_var'}'` = yes; then
   6299   cat >>confdefs.h <<_ACEOF
   6300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   6301 _ACEOF
   6302 
   6303 else
   6304   case $LIBOBJS in
   6305     "$ac_func.$ac_objext"   | \
   6306   *" $ac_func.$ac_objext"   | \
   6307     "$ac_func.$ac_objext "* | \
   6308   *" $ac_func.$ac_objext "* ) ;;
   6309   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   6310 esac
   6311 
   6312 fi
   6313 done
   6314 
   6315 
   6316   if test $ac_cv_func_strncasecmp = no; then
   6317 
   6318   :
   6319 
   6320   fi
   6321 
   6322 
   6323 
   6324 # We want to recognize djgpp to avoid the useless warning about no
   6325 # term library.
   6326 # Make sure we can run config.sub.
   6327 $ac_config_sub sun4 >/dev/null 2>&1 ||
   6328   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   6329 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   6330    { (exit 1); exit 1; }; }
   6331 
   6332 echo "$as_me:$LINENO: checking build system type" >&5
   6333 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   6334 if test "${ac_cv_build+set}" = set; then
   6335   echo $ECHO_N "(cached) $ECHO_C" >&6
   6336 else
   6337   ac_cv_build_alias=$build_alias
   6338 test -z "$ac_cv_build_alias" &&
   6339   ac_cv_build_alias=`$ac_config_guess`
   6340 test -z "$ac_cv_build_alias" &&
   6341   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   6342 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   6343    { (exit 1); exit 1; }; }
   6344 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   6345   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   6346 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   6347    { (exit 1); exit 1; }; }
   6348 
   6349 fi
   6350 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   6351 echo "${ECHO_T}$ac_cv_build" >&6
   6352 build=$ac_cv_build
   6353 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   6354 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   6355 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   6356 
   6357 
   6358 
   6359 # We need to run some of our own binaries, most notably makedoc, but as
   6360 # long as we have this process, we also use our own makeinfo and
   6361 # install-info.
   6362 #
   6363 # This means that if we are cross compiling, we have to configure the
   6364 # package twice: once with the native compiler (this is done in a
   6365 # subdirectory $native_tools), and once with the cross compiler.
   6366 # The former is invoked automatically here, with --host=$build.
   6367 # $native_tools is also added to SUBDIRS in the main Makefile.am,
   6368 # so that make compiles the native tools first.
   6369 #
   6370 if test "$cross_compiling" = no; then
   6371   native_tools=
   6372 else
   6373   native_tools=tools
   6374   test -d "$native_tools" || mkdir "$native_tools"
   6375   confdir=`(cd "$srcdir";pwd)`
   6376   # Make sure the secondary configure won't fail with
   6377   # "error: source directory already configured".
   6378   rm -f config.status
   6379   { echo "$as_me:$LINENO: Doing configure of native tools (${build})." >&5
   6380 echo "$as_me: Doing configure of native tools (${build})." >&6;}
   6381   cd "$native_tools" || exit 1
   6382   # Run secondary configure in alternate environment or
   6383   # it gets the wrong CC etc.  env -i gives this build host configure
   6384   # a clean environment.
   6385   env -i CC="${BUILD_CC}" AR="${BUILD_AR}" RANLIB="${BUILD_RANLIB}" \
   6386       PATH="${PATH}" \
   6387       tools_only=1 \
   6388     ${confdir}/configure --build=${build} --host=${build} \
   6389                          --disable-rpath --disable-nls
   6390   cd .. || exit 1
   6391   { echo "$as_me:$LINENO: Continuing with main configure (${host})." >&5
   6392 echo "$as_me: Continuing with main configure (${host})." >&6;}
   6393 fi
   6394 
   6395 
   6396 
   6397 if test "x$tools_only" = x1; then
   6398   TOOLS_ONLY_TRUE=
   6399   TOOLS_ONLY_FALSE='#'
   6400 else
   6401   TOOLS_ONLY_TRUE='#'
   6402   TOOLS_ONLY_FALSE=
   6403 fi
   6404 
   6405 
   6406 # Some GNU/Linux systems (e.g., SuSE 4.3, 1996) don't have curses, but
   6407 # rather ncurses.  So we check for it.
   6408 TERMLIBS=
   6409 # Check for termlib before termcap because Solaris termcap needs libucb.
   6410 TERMLIB_VARIANTS="ncurses curses termlib termcap terminfo"
   6411 for termlib in ${TERMLIB_VARIANTS}; do
   6412   as_ac_Lib=`echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh`
   6413 echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5
   6414 echo $ECHO_N "checking for tgetent in -l${termlib}... $ECHO_C" >&6
   6415 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
   6416   echo $ECHO_N "(cached) $ECHO_C" >&6
   6417 else
   6418   ac_check_lib_save_LIBS=$LIBS
   6419 LIBS="-l${termlib}  $LIBS"
   6420 cat >conftest.$ac_ext <<_ACEOF
   6421 /* confdefs.h.  */
   6422 _ACEOF
   6423 cat confdefs.h >>conftest.$ac_ext
   6424 cat >>conftest.$ac_ext <<_ACEOF
   6425 /* end confdefs.h.  */
   6426 
   6427 /* Override any gcc2 internal prototype to avoid an error.  */
   6428 #ifdef __cplusplus
   6429 extern "C"
   6430 #endif
   6431 /* We use char because int might match the return type of a gcc2
   6432    builtin and then its argument prototype would still apply.  */
   6433 char tgetent ();
   6434 int
   6435 main ()
   6436 {
   6437 tgetent ();
   6438   ;
   6439   return 0;
   6440 }
   6441 _ACEOF
   6442 rm -f conftest.$ac_objext conftest$ac_exeext
   6443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6444   (eval $ac_link) 2>conftest.er1
   6445   ac_status=$?
   6446   grep -v '^ *+' conftest.er1 >conftest.err
   6447   rm -f conftest.er1
   6448   cat conftest.err >&5
   6449   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6450   (exit $ac_status); } &&
   6451 	 { ac_try='test -z "$ac_c_werror_flag"
   6452 			 || test ! -s conftest.err'
   6453   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6454   (eval $ac_try) 2>&5
   6455   ac_status=$?
   6456   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6457   (exit $ac_status); }; } &&
   6458 	 { ac_try='test -s conftest$ac_exeext'
   6459   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6460   (eval $ac_try) 2>&5
   6461   ac_status=$?
   6462   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6463   (exit $ac_status); }; }; then
   6464   eval "$as_ac_Lib=yes"
   6465 else
   6466   echo "$as_me: failed program was:" >&5
   6467 sed 's/^/| /' conftest.$ac_ext >&5
   6468 
   6469 eval "$as_ac_Lib=no"
   6470 fi
   6471 rm -f conftest.err conftest.$ac_objext \
   6472       conftest$ac_exeext conftest.$ac_ext
   6473 LIBS=$ac_check_lib_save_LIBS
   6474 fi
   6475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
   6476 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
   6477 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
   6478   TERMLIBS="${TERMLIBS} -l${termlib}"; break
   6479 fi
   6480 
   6481 done
   6482 # don't bother warning on djgpp, it doesn't have a term library, it
   6483 # ports each termcap-needing program separately according to its needs.
   6484 if test -z "$TERMLIBS" && echo "$build" | grep -v djgpp >/dev/null; then
   6485   { echo "$as_me:$LINENO: WARNING: probably need a terminal library, one of: ${TERMLIB_VARIANTS}" >&5
   6486 echo "$as_me: WARNING: probably need a terminal library, one of: ${TERMLIB_VARIANTS}" >&2;}
   6487 fi
   6488 
   6489 # Checks for variables.
   6490 # HP-UX 9 (at least) needs -lncurses which defines termcap variables PC etc.
   6491 echo "$as_me:$LINENO: checking for library with termcap variables" >&5
   6492 echo $ECHO_N "checking for library with termcap variables... $ECHO_C" >&6
   6493 if test "${ac_cv_var_ospeed+set}" = set; then
   6494   echo $ECHO_N "(cached) $ECHO_C" >&6
   6495 else
   6496   oldLIBS=$LIBS
   6497 for trylib in $termlib ${TERMLIB_VARIANTS}; do
   6498    if test "x$trylib" != "x$termlib"; then
   6499      LIBS="$oldLIBS -l$termlib -l$trylib"
   6500    else
   6501      LIBS="$oldLIBS -l$termlib"
   6502    fi
   6503    cat >conftest.$ac_ext <<_ACEOF
   6504 /* confdefs.h.  */
   6505 _ACEOF
   6506 cat confdefs.h >>conftest.$ac_ext
   6507 cat >>conftest.$ac_ext <<_ACEOF
   6508 /* end confdefs.h.  */
   6509 
   6510 int
   6511 main ()
   6512 {
   6513 #ifdef HAVE_NCURSES_TERMCAP_H
   6514 #include <ncurses/termcap.h>
   6515 #else
   6516 #ifdef HAVE_TERMCAP_H
   6517 #include <termcap.h>
   6518 #else
   6519 #undef PC
   6520 char *BC;
   6521 char **UP;
   6522 char PC;
   6523 short ospeed;
   6524 #endif
   6525 #endif
   6526 /* Make sure all variables actually exist.  AIX 4.3 has ospeed but no BC.
   6527    --Andreas Ley <andy@rz.uni-karlsruhe.de> 24 Aug 2000.  */
   6528 BC++;
   6529 UP++;
   6530 PC++;
   6531 return ospeed != 0;
   6532 
   6533   ;
   6534   return 0;
   6535 }
   6536 _ACEOF
   6537 rm -f conftest.$ac_objext conftest$ac_exeext
   6538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6539   (eval $ac_link) 2>conftest.er1
   6540   ac_status=$?
   6541   grep -v '^ *+' conftest.er1 >conftest.err
   6542   rm -f conftest.er1
   6543   cat conftest.err >&5
   6544   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6545   (exit $ac_status); } &&
   6546 	 { ac_try='test -z "$ac_c_werror_flag"
   6547 			 || test ! -s conftest.err'
   6548   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6549   (eval $ac_try) 2>&5
   6550   ac_status=$?
   6551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6552   (exit $ac_status); }; } &&
   6553 	 { ac_try='test -s conftest$ac_exeext'
   6554   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6555   (eval $ac_try) 2>&5
   6556   ac_status=$?
   6557   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6558   (exit $ac_status); }; }; then
   6559   ac_cv_var_ospeed=$trylib; break
   6560 else
   6561   echo "$as_me: failed program was:" >&5
   6562 sed 's/^/| /' conftest.$ac_ext >&5
   6563 
   6564 fi
   6565 rm -f conftest.err conftest.$ac_objext \
   6566       conftest$ac_exeext conftest.$ac_ext
   6567 done
   6568 LIBS=$oldLIBS
   6569 
   6570 fi
   6571 
   6572 echo "$as_me:$LINENO: result: $ac_cv_var_ospeed" >&5
   6573 echo "${ECHO_T}$ac_cv_var_ospeed" >&6
   6574 if test -n "$ac_cv_var_ospeed" \
   6575    && test "x$termlib" != "x$ac_cv_var_ospeed"; then
   6576   TERMLIBS="${TERMLIBS} -l${ac_cv_var_ospeed}"
   6577 fi
   6578 #
   6579 
   6580 # Do not use <ncurses/termcap.h> unless we're linking with ncurses.
   6581 # Must come after the termlib tests.
   6582 if test "x$termlib" = xncurses; then
   6583   # Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined.
   6584 
   6585 for ac_header in ncurses/termcap.h
   6586 do
   6587 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6588 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6589   echo "$as_me:$LINENO: checking for $ac_header" >&5
   6590 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   6591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6592   echo $ECHO_N "(cached) $ECHO_C" >&6
   6593 fi
   6594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   6595 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   6596 else
   6597   # Is the header compilable?
   6598 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   6599 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   6600 cat >conftest.$ac_ext <<_ACEOF
   6601 /* confdefs.h.  */
   6602 _ACEOF
   6603 cat confdefs.h >>conftest.$ac_ext
   6604 cat >>conftest.$ac_ext <<_ACEOF
   6605 /* end confdefs.h.  */
   6606 $ac_includes_default
   6607 #include <$ac_header>
   6608 _ACEOF
   6609 rm -f conftest.$ac_objext
   6610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6611   (eval $ac_compile) 2>conftest.er1
   6612   ac_status=$?
   6613   grep -v '^ *+' conftest.er1 >conftest.err
   6614   rm -f conftest.er1
   6615   cat conftest.err >&5
   6616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6617   (exit $ac_status); } &&
   6618 	 { ac_try='test -z "$ac_c_werror_flag"
   6619 			 || test ! -s conftest.err'
   6620   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6621   (eval $ac_try) 2>&5
   6622   ac_status=$?
   6623   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6624   (exit $ac_status); }; } &&
   6625 	 { ac_try='test -s conftest.$ac_objext'
   6626   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6627   (eval $ac_try) 2>&5
   6628   ac_status=$?
   6629   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6630   (exit $ac_status); }; }; then
   6631   ac_header_compiler=yes
   6632 else
   6633   echo "$as_me: failed program was:" >&5
   6634 sed 's/^/| /' conftest.$ac_ext >&5
   6635 
   6636 ac_header_compiler=no
   6637 fi
   6638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   6640 echo "${ECHO_T}$ac_header_compiler" >&6
   6641 
   6642 # Is the header present?
   6643 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   6644 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   6645 cat >conftest.$ac_ext <<_ACEOF
   6646 /* confdefs.h.  */
   6647 _ACEOF
   6648 cat confdefs.h >>conftest.$ac_ext
   6649 cat >>conftest.$ac_ext <<_ACEOF
   6650 /* end confdefs.h.  */
   6651 #include <$ac_header>
   6652 _ACEOF
   6653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   6654   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   6655   ac_status=$?
   6656   grep -v '^ *+' conftest.er1 >conftest.err
   6657   rm -f conftest.er1
   6658   cat conftest.err >&5
   6659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6660   (exit $ac_status); } >/dev/null; then
   6661   if test -s conftest.err; then
   6662     ac_cpp_err=$ac_c_preproc_warn_flag
   6663     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   6664   else
   6665     ac_cpp_err=
   6666   fi
   6667 else
   6668   ac_cpp_err=yes
   6669 fi
   6670 if test -z "$ac_cpp_err"; then
   6671   ac_header_preproc=yes
   6672 else
   6673   echo "$as_me: failed program was:" >&5
   6674 sed 's/^/| /' conftest.$ac_ext >&5
   6675 
   6676   ac_header_preproc=no
   6677 fi
   6678 rm -f conftest.err conftest.$ac_ext
   6679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   6680 echo "${ECHO_T}$ac_header_preproc" >&6
   6681 
   6682 # So?  What about this header?
   6683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   6684   yes:no: )
   6685     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   6686 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   6687     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   6688 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   6689     ac_header_preproc=yes
   6690     ;;
   6691   no:yes:* )
   6692     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   6693 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   6694     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   6695 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   6696     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   6697 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   6698     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   6699 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   6700     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   6701 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   6702     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   6703 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   6704     (
   6705       cat <<\_ASBOX
   6706 ## -------------------------------------- ##
   6707 ## Report this to the GNU Texinfo lists.  ##
   6708 ## -------------------------------------- ##
   6709 _ASBOX
   6710     ) |
   6711       sed "s/^/$as_me: WARNING:     /" >&2
   6712     ;;
   6713 esac
   6714 echo "$as_me:$LINENO: checking for $ac_header" >&5
   6715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   6716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6717   echo $ECHO_N "(cached) $ECHO_C" >&6
   6718 else
   6719   eval "$as_ac_Header=\$ac_header_preproc"
   6720 fi
   6721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   6722 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   6723 
   6724 fi
   6725 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   6726   cat >>confdefs.h <<_ACEOF
   6727 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6728 _ACEOF
   6729 
   6730 fi
   6731 
   6732 done
   6733 
   6734 fi
   6735 
   6736 # gnulib.
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 for ac_header in $gl_header_list
   6743 do
   6744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6745 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6746   echo "$as_me:$LINENO: checking for $ac_header" >&5
   6747 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   6748 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6749   echo $ECHO_N "(cached) $ECHO_C" >&6
   6750 fi
   6751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   6752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   6753 else
   6754   # Is the header compilable?
   6755 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   6756 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   6757 cat >conftest.$ac_ext <<_ACEOF
   6758 /* confdefs.h.  */
   6759 _ACEOF
   6760 cat confdefs.h >>conftest.$ac_ext
   6761 cat >>conftest.$ac_ext <<_ACEOF
   6762 /* end confdefs.h.  */
   6763 $ac_includes_default
   6764 #include <$ac_header>
   6765 _ACEOF
   6766 rm -f conftest.$ac_objext
   6767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6768   (eval $ac_compile) 2>conftest.er1
   6769   ac_status=$?
   6770   grep -v '^ *+' conftest.er1 >conftest.err
   6771   rm -f conftest.er1
   6772   cat conftest.err >&5
   6773   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6774   (exit $ac_status); } &&
   6775 	 { ac_try='test -z "$ac_c_werror_flag"
   6776 			 || test ! -s conftest.err'
   6777   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6778   (eval $ac_try) 2>&5
   6779   ac_status=$?
   6780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6781   (exit $ac_status); }; } &&
   6782 	 { ac_try='test -s conftest.$ac_objext'
   6783   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6784   (eval $ac_try) 2>&5
   6785   ac_status=$?
   6786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6787   (exit $ac_status); }; }; then
   6788   ac_header_compiler=yes
   6789 else
   6790   echo "$as_me: failed program was:" >&5
   6791 sed 's/^/| /' conftest.$ac_ext >&5
   6792 
   6793 ac_header_compiler=no
   6794 fi
   6795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6796 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   6797 echo "${ECHO_T}$ac_header_compiler" >&6
   6798 
   6799 # Is the header present?
   6800 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   6801 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   6802 cat >conftest.$ac_ext <<_ACEOF
   6803 /* confdefs.h.  */
   6804 _ACEOF
   6805 cat confdefs.h >>conftest.$ac_ext
   6806 cat >>conftest.$ac_ext <<_ACEOF
   6807 /* end confdefs.h.  */
   6808 #include <$ac_header>
   6809 _ACEOF
   6810 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   6811   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   6812   ac_status=$?
   6813   grep -v '^ *+' conftest.er1 >conftest.err
   6814   rm -f conftest.er1
   6815   cat conftest.err >&5
   6816   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6817   (exit $ac_status); } >/dev/null; then
   6818   if test -s conftest.err; then
   6819     ac_cpp_err=$ac_c_preproc_warn_flag
   6820     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   6821   else
   6822     ac_cpp_err=
   6823   fi
   6824 else
   6825   ac_cpp_err=yes
   6826 fi
   6827 if test -z "$ac_cpp_err"; then
   6828   ac_header_preproc=yes
   6829 else
   6830   echo "$as_me: failed program was:" >&5
   6831 sed 's/^/| /' conftest.$ac_ext >&5
   6832 
   6833   ac_header_preproc=no
   6834 fi
   6835 rm -f conftest.err conftest.$ac_ext
   6836 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   6837 echo "${ECHO_T}$ac_header_preproc" >&6
   6838 
   6839 # So?  What about this header?
   6840 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   6841   yes:no: )
   6842     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   6843 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   6844     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   6845 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   6846     ac_header_preproc=yes
   6847     ;;
   6848   no:yes:* )
   6849     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   6850 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   6851     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   6852 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   6853     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   6854 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   6855     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   6856 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   6857     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   6858 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   6859     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   6860 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   6861     (
   6862       cat <<\_ASBOX
   6863 ## -------------------------------------- ##
   6864 ## Report this to the GNU Texinfo lists.  ##
   6865 ## -------------------------------------- ##
   6866 _ASBOX
   6867     ) |
   6868       sed "s/^/$as_me: WARNING:     /" >&2
   6869     ;;
   6870 esac
   6871 echo "$as_me:$LINENO: checking for $ac_header" >&5
   6872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   6873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6874   echo $ECHO_N "(cached) $ECHO_C" >&6
   6875 else
   6876   eval "$as_ac_Header=\$ac_header_preproc"
   6877 fi
   6878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   6879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   6880 
   6881 fi
   6882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   6883   cat >>confdefs.h <<_ACEOF
   6884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6885 _ACEOF
   6886 
   6887 fi
   6888 
   6889 done
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909       echo "$as_me:$LINENO: checking whether getenv is declared" >&5
   6910 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
   6911 if test "${ac_cv_have_decl_getenv+set}" = set; then
   6912   echo $ECHO_N "(cached) $ECHO_C" >&6
   6913 else
   6914   cat >conftest.$ac_ext <<_ACEOF
   6915 /* confdefs.h.  */
   6916 _ACEOF
   6917 cat confdefs.h >>conftest.$ac_ext
   6918 cat >>conftest.$ac_ext <<_ACEOF
   6919 /* end confdefs.h.  */
   6920 $ac_includes_default
   6921 int
   6922 main ()
   6923 {
   6924 #ifndef getenv
   6925   char *p = (char *) getenv;
   6926 #endif
   6927 
   6928   ;
   6929   return 0;
   6930 }
   6931 _ACEOF
   6932 rm -f conftest.$ac_objext
   6933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6934   (eval $ac_compile) 2>conftest.er1
   6935   ac_status=$?
   6936   grep -v '^ *+' conftest.er1 >conftest.err
   6937   rm -f conftest.er1
   6938   cat conftest.err >&5
   6939   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6940   (exit $ac_status); } &&
   6941 	 { ac_try='test -z "$ac_c_werror_flag"
   6942 			 || test ! -s conftest.err'
   6943   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6944   (eval $ac_try) 2>&5
   6945   ac_status=$?
   6946   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6947   (exit $ac_status); }; } &&
   6948 	 { ac_try='test -s conftest.$ac_objext'
   6949   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6950   (eval $ac_try) 2>&5
   6951   ac_status=$?
   6952   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6953   (exit $ac_status); }; }; then
   6954   ac_cv_have_decl_getenv=yes
   6955 else
   6956   echo "$as_me: failed program was:" >&5
   6957 sed 's/^/| /' conftest.$ac_ext >&5
   6958 
   6959 ac_cv_have_decl_getenv=no
   6960 fi
   6961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6962 fi
   6963 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
   6964 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
   6965 if test $ac_cv_have_decl_getenv = yes; then
   6966 
   6967 cat >>confdefs.h <<_ACEOF
   6968 #define HAVE_DECL_GETENV 1
   6969 _ACEOF
   6970 
   6971 
   6972 else
   6973   cat >>confdefs.h <<_ACEOF
   6974 #define HAVE_DECL_GETENV 0
   6975 _ACEOF
   6976 
   6977 
   6978 fi
   6979 
   6980 
   6981 
   6982 
   6983   echo "$as_me:$LINENO: checking for inttypes.h" >&5
   6984 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
   6985 if test "${gl_cv_header_inttypes_h+set}" = set; then
   6986   echo $ECHO_N "(cached) $ECHO_C" >&6
   6987 else
   6988   cat >conftest.$ac_ext <<_ACEOF
   6989 /* confdefs.h.  */
   6990 _ACEOF
   6991 cat confdefs.h >>conftest.$ac_ext
   6992 cat >>conftest.$ac_ext <<_ACEOF
   6993 /* end confdefs.h.  */
   6994 #include <sys/types.h>
   6995 #include <inttypes.h>
   6996 int
   6997 main ()
   6998 {
   6999 uintmax_t i = (uintmax_t) -1;
   7000   ;
   7001   return 0;
   7002 }
   7003 _ACEOF
   7004 rm -f conftest.$ac_objext
   7005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7006   (eval $ac_compile) 2>conftest.er1
   7007   ac_status=$?
   7008   grep -v '^ *+' conftest.er1 >conftest.err
   7009   rm -f conftest.er1
   7010   cat conftest.err >&5
   7011   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7012   (exit $ac_status); } &&
   7013 	 { ac_try='test -z "$ac_c_werror_flag"
   7014 			 || test ! -s conftest.err'
   7015   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7016   (eval $ac_try) 2>&5
   7017   ac_status=$?
   7018   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7019   (exit $ac_status); }; } &&
   7020 	 { ac_try='test -s conftest.$ac_objext'
   7021   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7022   (eval $ac_try) 2>&5
   7023   ac_status=$?
   7024   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7025   (exit $ac_status); }; }; then
   7026   gl_cv_header_inttypes_h=yes
   7027 else
   7028   echo "$as_me: failed program was:" >&5
   7029 sed 's/^/| /' conftest.$ac_ext >&5
   7030 
   7031 gl_cv_header_inttypes_h=no
   7032 fi
   7033 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7034 fi
   7035 echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
   7036 echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6
   7037   if test $gl_cv_header_inttypes_h = yes; then
   7038 
   7039 cat >>confdefs.h <<_ACEOF
   7040 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
   7041 _ACEOF
   7042 
   7043   fi
   7044 
   7045 
   7046   echo "$as_me:$LINENO: checking for stdint.h" >&5
   7047 echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
   7048 if test "${gl_cv_header_stdint_h+set}" = set; then
   7049   echo $ECHO_N "(cached) $ECHO_C" >&6
   7050 else
   7051   cat >conftest.$ac_ext <<_ACEOF
   7052 /* confdefs.h.  */
   7053 _ACEOF
   7054 cat confdefs.h >>conftest.$ac_ext
   7055 cat >>conftest.$ac_ext <<_ACEOF
   7056 /* end confdefs.h.  */
   7057 #include <sys/types.h>
   7058 #include <stdint.h>
   7059 int
   7060 main ()
   7061 {
   7062 uintmax_t i = (uintmax_t) -1;
   7063   ;
   7064   return 0;
   7065 }
   7066 _ACEOF
   7067 rm -f conftest.$ac_objext
   7068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7069   (eval $ac_compile) 2>conftest.er1
   7070   ac_status=$?
   7071   grep -v '^ *+' conftest.er1 >conftest.err
   7072   rm -f conftest.er1
   7073   cat conftest.err >&5
   7074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7075   (exit $ac_status); } &&
   7076 	 { ac_try='test -z "$ac_c_werror_flag"
   7077 			 || test ! -s conftest.err'
   7078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7079   (eval $ac_try) 2>&5
   7080   ac_status=$?
   7081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7082   (exit $ac_status); }; } &&
   7083 	 { ac_try='test -s conftest.$ac_objext'
   7084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7085   (eval $ac_try) 2>&5
   7086   ac_status=$?
   7087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7088   (exit $ac_status); }; }; then
   7089   gl_cv_header_stdint_h=yes
   7090 else
   7091   echo "$as_me: failed program was:" >&5
   7092 sed 's/^/| /' conftest.$ac_ext >&5
   7093 
   7094 gl_cv_header_stdint_h=no
   7095 fi
   7096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7097 fi
   7098 echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
   7099 echo "${ECHO_T}$gl_cv_header_stdint_h" >&6
   7100   if test $gl_cv_header_stdint_h = yes; then
   7101 
   7102 cat >>confdefs.h <<_ACEOF
   7103 #define HAVE_STDINT_H_WITH_UINTMAX 1
   7104 _ACEOF
   7105 
   7106   fi
   7107 
   7108 
   7109   echo "$as_me:$LINENO: checking for unsigned long long" >&5
   7110 echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
   7111 if test "${ac_cv_type_unsigned_long_long+set}" = set; then
   7112   echo $ECHO_N "(cached) $ECHO_C" >&6
   7113 else
   7114   cat >conftest.$ac_ext <<_ACEOF
   7115 /* confdefs.h.  */
   7116 _ACEOF
   7117 cat confdefs.h >>conftest.$ac_ext
   7118 cat >>conftest.$ac_ext <<_ACEOF
   7119 /* end confdefs.h.  */
   7120 unsigned long long ull = 1ULL; int i = 63;
   7121 int
   7122 main ()
   7123 {
   7124 unsigned long long ullmax = (unsigned long long) -1;
   7125      return ull << i | ull >> i | ullmax / ull | ullmax % ull;
   7126   ;
   7127   return 0;
   7128 }
   7129 _ACEOF
   7130 rm -f conftest.$ac_objext conftest$ac_exeext
   7131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7132   (eval $ac_link) 2>conftest.er1
   7133   ac_status=$?
   7134   grep -v '^ *+' conftest.er1 >conftest.err
   7135   rm -f conftest.er1
   7136   cat conftest.err >&5
   7137   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7138   (exit $ac_status); } &&
   7139 	 { ac_try='test -z "$ac_c_werror_flag"
   7140 			 || test ! -s conftest.err'
   7141   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7142   (eval $ac_try) 2>&5
   7143   ac_status=$?
   7144   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7145   (exit $ac_status); }; } &&
   7146 	 { ac_try='test -s conftest$ac_exeext'
   7147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7148   (eval $ac_try) 2>&5
   7149   ac_status=$?
   7150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7151   (exit $ac_status); }; }; then
   7152   ac_cv_type_unsigned_long_long=yes
   7153 else
   7154   echo "$as_me: failed program was:" >&5
   7155 sed 's/^/| /' conftest.$ac_ext >&5
   7156 
   7157 ac_cv_type_unsigned_long_long=no
   7158 fi
   7159 rm -f conftest.err conftest.$ac_objext \
   7160       conftest$ac_exeext conftest.$ac_ext
   7161 fi
   7162 echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
   7163 echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
   7164   if test $ac_cv_type_unsigned_long_long = yes; then
   7165 
   7166 cat >>confdefs.h <<\_ACEOF
   7167 #define HAVE_UNSIGNED_LONG_LONG 1
   7168 _ACEOF
   7169 
   7170   fi
   7171 
   7172 
   7173 
   7174 
   7175   if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
   7176 
   7177     test $ac_cv_type_unsigned_long_long = yes \
   7178       && ac_type='unsigned long long' \
   7179       || ac_type='unsigned long'
   7180 
   7181 cat >>confdefs.h <<_ACEOF
   7182 #define uintmax_t $ac_type
   7183 _ACEOF
   7184 
   7185   else
   7186 
   7187 cat >>confdefs.h <<\_ACEOF
   7188 #define HAVE_UINTMAX_T 1
   7189 _ACEOF
   7190 
   7191   fi
   7192 
   7193 
   7194 for ac_func in mkstemp
   7195 do
   7196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7197 echo "$as_me:$LINENO: checking for $ac_func" >&5
   7198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   7199 if eval "test \"\${$as_ac_var+set}\" = set"; then
   7200   echo $ECHO_N "(cached) $ECHO_C" >&6
   7201 else
   7202   cat >conftest.$ac_ext <<_ACEOF
   7203 /* confdefs.h.  */
   7204 _ACEOF
   7205 cat confdefs.h >>conftest.$ac_ext
   7206 cat >>conftest.$ac_ext <<_ACEOF
   7207 /* end confdefs.h.  */
   7208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   7209    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7210 #define $ac_func innocuous_$ac_func
   7211 
   7212 /* System header to define __stub macros and hopefully few prototypes,
   7213     which can conflict with char $ac_func (); below.
   7214     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7215     <limits.h> exists even on freestanding compilers.  */
   7216 
   7217 #ifdef __STDC__
   7218 # include <limits.h>
   7219 #else
   7220 # include <assert.h>
   7221 #endif
   7222 
   7223 #undef $ac_func
   7224 
   7225 /* Override any gcc2 internal prototype to avoid an error.  */
   7226 #ifdef __cplusplus
   7227 extern "C"
   7228 {
   7229 #endif
   7230 /* We use char because int might match the return type of a gcc2
   7231    builtin and then its argument prototype would still apply.  */
   7232 char $ac_func ();
   7233 /* The GNU C library defines this for functions which it implements
   7234     to always fail with ENOSYS.  Some functions are actually named
   7235     something starting with __ and the normal name is an alias.  */
   7236 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   7237 choke me
   7238 #else
   7239 char (*f) () = $ac_func;
   7240 #endif
   7241 #ifdef __cplusplus
   7242 }
   7243 #endif
   7244 
   7245 int
   7246 main ()
   7247 {
   7248 return f != $ac_func;
   7249   ;
   7250   return 0;
   7251 }
   7252 _ACEOF
   7253 rm -f conftest.$ac_objext conftest$ac_exeext
   7254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7255   (eval $ac_link) 2>conftest.er1
   7256   ac_status=$?
   7257   grep -v '^ *+' conftest.er1 >conftest.err
   7258   rm -f conftest.er1
   7259   cat conftest.err >&5
   7260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7261   (exit $ac_status); } &&
   7262 	 { ac_try='test -z "$ac_c_werror_flag"
   7263 			 || test ! -s conftest.err'
   7264   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7265   (eval $ac_try) 2>&5
   7266   ac_status=$?
   7267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7268   (exit $ac_status); }; } &&
   7269 	 { ac_try='test -s conftest$ac_exeext'
   7270   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7271   (eval $ac_try) 2>&5
   7272   ac_status=$?
   7273   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7274   (exit $ac_status); }; }; then
   7275   eval "$as_ac_var=yes"
   7276 else
   7277   echo "$as_me: failed program was:" >&5
   7278 sed 's/^/| /' conftest.$ac_ext >&5
   7279 
   7280 eval "$as_ac_var=no"
   7281 fi
   7282 rm -f conftest.err conftest.$ac_objext \
   7283       conftest$ac_exeext conftest.$ac_ext
   7284 fi
   7285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   7286 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   7287 if test `eval echo '${'$as_ac_var'}'` = yes; then
   7288   cat >>confdefs.h <<_ACEOF
   7289 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7290 _ACEOF
   7291 
   7292 else
   7293   case $LIBOBJS in
   7294     "$ac_func.$ac_objext"   | \
   7295   *" $ac_func.$ac_objext"   | \
   7296     "$ac_func.$ac_objext "* | \
   7297   *" $ac_func.$ac_objext "* ) ;;
   7298   *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
   7299 esac
   7300 
   7301 fi
   7302 done
   7303 
   7304 
   7305   if test $ac_cv_func_mkstemp = no; then
   7306     gl_cv_func_mkstemp_limitations=yes
   7307   else
   7308     echo "$as_me:$LINENO: checking for mkstemp limitations" >&5
   7309 echo $ECHO_N "checking for mkstemp limitations... $ECHO_C" >&6
   7310 if test "${gl_cv_func_mkstemp_limitations+set}" = set; then
   7311   echo $ECHO_N "(cached) $ECHO_C" >&6
   7312 else
   7313 
   7314 	if test "$cross_compiling" = yes; then
   7315   gl_cv_func_mkstemp_limitations=yes
   7316 
   7317 else
   7318   cat >conftest.$ac_ext <<_ACEOF
   7319 /* confdefs.h.  */
   7320 _ACEOF
   7321 cat confdefs.h >>conftest.$ac_ext
   7322 cat >>conftest.$ac_ext <<_ACEOF
   7323 /* end confdefs.h.  */
   7324 
   7325 #         include <stdlib.h>
   7326 	  int main ()
   7327 	  {
   7328 	    int i;
   7329 	    for (i = 0; i < 70; i++)
   7330 	      {
   7331 		char template[] = "conftestXXXXXX";
   7332 		int fd = mkstemp (template);
   7333 		if (fd == -1)
   7334 		  exit (1);
   7335 		close (fd);
   7336 	      }
   7337 	    exit (0);
   7338 	  }
   7339 
   7340 _ACEOF
   7341 rm -f conftest$ac_exeext
   7342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7343   (eval $ac_link) 2>&5
   7344   ac_status=$?
   7345   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7346   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   7347   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7348   (eval $ac_try) 2>&5
   7349   ac_status=$?
   7350   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7351   (exit $ac_status); }; }; then
   7352   gl_cv_func_mkstemp_limitations=no
   7353 else
   7354   echo "$as_me: program exited with status $ac_status" >&5
   7355 echo "$as_me: failed program was:" >&5
   7356 sed 's/^/| /' conftest.$ac_ext >&5
   7357 
   7358 ( exit $ac_status )
   7359 gl_cv_func_mkstemp_limitations=yes
   7360 fi
   7361 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   7362 fi
   7363 
   7364 
   7365 fi
   7366 echo "$as_me:$LINENO: result: $gl_cv_func_mkstemp_limitations" >&5
   7367 echo "${ECHO_T}$gl_cv_func_mkstemp_limitations" >&6
   7368   fi
   7369 
   7370   if test $gl_cv_func_mkstemp_limitations = yes; then
   7371     case $LIBOBJS in
   7372     "mkstemp.$ac_objext"   | \
   7373   *" mkstemp.$ac_objext"   | \
   7374     "mkstemp.$ac_objext "* | \
   7375   *" mkstemp.$ac_objext "* ) ;;
   7376   *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
   7377 esac
   7378 
   7379     case $LIBOBJS in
   7380     "tempname.$ac_objext"   | \
   7381   *" tempname.$ac_objext"   | \
   7382     "tempname.$ac_objext "* | \
   7383   *" tempname.$ac_objext "* ) ;;
   7384   *) LIBOBJS="$LIBOBJS tempname.$ac_objext" ;;
   7385 esac
   7386 
   7387 
   7388 cat >>confdefs.h <<\_ACEOF
   7389 #define mkstemp rpl_mkstemp
   7390 _ACEOF
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397   :
   7398 
   7399 
   7400 
   7401 
   7402 
   7403 
   7404 
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 for ac_header in stdint.h
   7411 do
   7412 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7413 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7414   echo "$as_me:$LINENO: checking for $ac_header" >&5
   7415 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   7416 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7417   echo $ECHO_N "(cached) $ECHO_C" >&6
   7418 fi
   7419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   7420 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   7421 else
   7422   # Is the header compilable?
   7423 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   7424 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   7425 cat >conftest.$ac_ext <<_ACEOF
   7426 /* confdefs.h.  */
   7427 _ACEOF
   7428 cat confdefs.h >>conftest.$ac_ext
   7429 cat >>conftest.$ac_ext <<_ACEOF
   7430 /* end confdefs.h.  */
   7431 $ac_includes_default
   7432 #include <$ac_header>
   7433 _ACEOF
   7434 rm -f conftest.$ac_objext
   7435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   7436   (eval $ac_compile) 2>conftest.er1
   7437   ac_status=$?
   7438   grep -v '^ *+' conftest.er1 >conftest.err
   7439   rm -f conftest.er1
   7440   cat conftest.err >&5
   7441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7442   (exit $ac_status); } &&
   7443 	 { ac_try='test -z "$ac_c_werror_flag"
   7444 			 || test ! -s conftest.err'
   7445   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7446   (eval $ac_try) 2>&5
   7447   ac_status=$?
   7448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7449   (exit $ac_status); }; } &&
   7450 	 { ac_try='test -s conftest.$ac_objext'
   7451   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7452   (eval $ac_try) 2>&5
   7453   ac_status=$?
   7454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7455   (exit $ac_status); }; }; then
   7456   ac_header_compiler=yes
   7457 else
   7458   echo "$as_me: failed program was:" >&5
   7459 sed 's/^/| /' conftest.$ac_ext >&5
   7460 
   7461 ac_header_compiler=no
   7462 fi
   7463 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   7464 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   7465 echo "${ECHO_T}$ac_header_compiler" >&6
   7466 
   7467 # Is the header present?
   7468 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   7469 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   7470 cat >conftest.$ac_ext <<_ACEOF
   7471 /* confdefs.h.  */
   7472 _ACEOF
   7473 cat confdefs.h >>conftest.$ac_ext
   7474 cat >>conftest.$ac_ext <<_ACEOF
   7475 /* end confdefs.h.  */
   7476 #include <$ac_header>
   7477 _ACEOF
   7478 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   7479   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   7480   ac_status=$?
   7481   grep -v '^ *+' conftest.er1 >conftest.err
   7482   rm -f conftest.er1
   7483   cat conftest.err >&5
   7484   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7485   (exit $ac_status); } >/dev/null; then
   7486   if test -s conftest.err; then
   7487     ac_cpp_err=$ac_c_preproc_warn_flag
   7488     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   7489   else
   7490     ac_cpp_err=
   7491   fi
   7492 else
   7493   ac_cpp_err=yes
   7494 fi
   7495 if test -z "$ac_cpp_err"; then
   7496   ac_header_preproc=yes
   7497 else
   7498   echo "$as_me: failed program was:" >&5
   7499 sed 's/^/| /' conftest.$ac_ext >&5
   7500 
   7501   ac_header_preproc=no
   7502 fi
   7503 rm -f conftest.err conftest.$ac_ext
   7504 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   7505 echo "${ECHO_T}$ac_header_preproc" >&6
   7506 
   7507 # So?  What about this header?
   7508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   7509   yes:no: )
   7510     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   7511 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   7512     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   7513 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   7514     ac_header_preproc=yes
   7515     ;;
   7516   no:yes:* )
   7517     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   7518 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   7519     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   7520 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   7521     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   7522 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   7523     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   7524 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   7525     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   7526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   7527     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   7528 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   7529     (
   7530       cat <<\_ASBOX
   7531 ## -------------------------------------- ##
   7532 ## Report this to the GNU Texinfo lists.  ##
   7533 ## -------------------------------------- ##
   7534 _ASBOX
   7535     ) |
   7536       sed "s/^/$as_me: WARNING:     /" >&2
   7537     ;;
   7538 esac
   7539 echo "$as_me:$LINENO: checking for $ac_header" >&5
   7540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   7541 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   7542   echo $ECHO_N "(cached) $ECHO_C" >&6
   7543 else
   7544   eval "$as_ac_Header=\$ac_header_preproc"
   7545 fi
   7546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   7547 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   7548 
   7549 fi
   7550 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   7551   cat >>confdefs.h <<_ACEOF
   7552 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7553 _ACEOF
   7554 
   7555 fi
   7556 
   7557 done
   7558 
   7559 
   7560 
   7561 for ac_func in __secure_getenv gettimeofday
   7562 do
   7563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   7564 echo "$as_me:$LINENO: checking for $ac_func" >&5
   7565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   7566 if eval "test \"\${$as_ac_var+set}\" = set"; then
   7567   echo $ECHO_N "(cached) $ECHO_C" >&6
   7568 else
   7569   cat >conftest.$ac_ext <<_ACEOF
   7570 /* confdefs.h.  */
   7571 _ACEOF
   7572 cat confdefs.h >>conftest.$ac_ext
   7573 cat >>conftest.$ac_ext <<_ACEOF
   7574 /* end confdefs.h.  */
   7575 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   7576    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   7577 #define $ac_func innocuous_$ac_func
   7578 
   7579 /* System header to define __stub macros and hopefully few prototypes,
   7580     which can conflict with char $ac_func (); below.
   7581     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7582     <limits.h> exists even on freestanding compilers.  */
   7583 
   7584 #ifdef __STDC__
   7585 # include <limits.h>
   7586 #else
   7587 # include <assert.h>
   7588 #endif
   7589 
   7590 #undef $ac_func
   7591 
   7592 /* Override any gcc2 internal prototype to avoid an error.  */
   7593 #ifdef __cplusplus
   7594 extern "C"
   7595 {
   7596 #endif
   7597 /* We use char because int might match the return type of a gcc2
   7598    builtin and then its argument prototype would still apply.  */
   7599 char $ac_func ();
   7600 /* The GNU C library defines this for functions which it implements
   7601     to always fail with ENOSYS.  Some functions are actually named
   7602     something starting with __ and the normal name is an alias.  */
   7603 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   7604 choke me
   7605 #else
   7606 char (*f) () = $ac_func;
   7607 #endif
   7608 #ifdef __cplusplus
   7609 }
   7610 #endif
   7611 
   7612 int
   7613 main ()
   7614 {
   7615 return f != $ac_func;
   7616   ;
   7617   return 0;
   7618 }
   7619 _ACEOF
   7620 rm -f conftest.$ac_objext conftest$ac_exeext
   7621 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   7622   (eval $ac_link) 2>conftest.er1
   7623   ac_status=$?
   7624   grep -v '^ *+' conftest.er1 >conftest.err
   7625   rm -f conftest.er1
   7626   cat conftest.err >&5
   7627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7628   (exit $ac_status); } &&
   7629 	 { ac_try='test -z "$ac_c_werror_flag"
   7630 			 || test ! -s conftest.err'
   7631   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7632   (eval $ac_try) 2>&5
   7633   ac_status=$?
   7634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7635   (exit $ac_status); }; } &&
   7636 	 { ac_try='test -s conftest$ac_exeext'
   7637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   7638   (eval $ac_try) 2>&5
   7639   ac_status=$?
   7640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7641   (exit $ac_status); }; }; then
   7642   eval "$as_ac_var=yes"
   7643 else
   7644   echo "$as_me: failed program was:" >&5
   7645 sed 's/^/| /' conftest.$ac_ext >&5
   7646 
   7647 eval "$as_ac_var=no"
   7648 fi
   7649 rm -f conftest.err conftest.$ac_objext \
   7650       conftest$ac_exeext conftest.$ac_ext
   7651 fi
   7652 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   7653 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   7654 if test `eval echo '${'$as_ac_var'}'` = yes; then
   7655   cat >>confdefs.h <<_ACEOF
   7656 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   7657 _ACEOF
   7658 
   7659 fi
   7660 done
   7661 
   7662 
   7663   :
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671   fi
   7672 
   7673 
   7674 # For teTeX and TeX Live.
   7675 echo "$as_me:$LINENO: checking host system type" >&5
   7676 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   7677 if test "${ac_cv_host+set}" = set; then
   7678   echo $ECHO_N "(cached) $ECHO_C" >&6
   7679 else
   7680   ac_cv_host_alias=$host_alias
   7681 test -z "$ac_cv_host_alias" &&
   7682   ac_cv_host_alias=$ac_cv_build_alias
   7683 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   7684   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   7685 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   7686    { (exit 1); exit 1; }; }
   7687 
   7688 fi
   7689 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   7690 echo "${ECHO_T}$ac_cv_host" >&6
   7691 host=$ac_cv_host
   7692 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   7693 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   7694 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   7695 
   7696 
   7697 # Check whether --enable-multiplatform or --disable-multiplatform was given.
   7698 if test "${enable_multiplatform+set}" = set; then
   7699   enableval="$enable_multiplatform"
   7700 
   7701 fi;
   7702 # if enable_multiplatform is set in the environment, use that.
   7703 test "x$enable_multiplatform" = xyes \
   7704 && test "x$bindir" = 'x${exec_prefix}/bin' \
   7705 && bindir="$bindir/$host"
   7706 
   7707 # Taken from the example in
   7708 # http://www.gnu.org/software/automake/manual/html_node/Conditionals.html.
   7709 # Check whether --enable-install-warnings or --disable-install-warnings was given.
   7710 if test "${enable_install_warnings+set}" = set; then
   7711   enableval="$enable_install_warnings"
   7712   case "${enableval}" in
   7713      yes) install_warnings=true ;;
   7714       no) install_warnings=false ;;
   7715        *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-install-warnings" >&5
   7716 echo "$as_me: error: bad value ${enableval} for --enable-install-warnings" >&2;}
   7717    { (exit 1); exit 1; }; } ;;
   7718    esac
   7719 else
   7720   install_warnings=true
   7721 fi;
   7722 
   7723 
   7724 if test x"$install_warnings" = xtrue || test x"$install_warnings" = xyes; then
   7725   INSTALL_WARNINGS_TRUE=
   7726   INSTALL_WARNINGS_FALSE='#'
   7727 else
   7728   INSTALL_WARNINGS_TRUE='#'
   7729   INSTALL_WARNINGS_FALSE=
   7730 fi
   7731 
   7732 
   7733 # i18n support.  To update to a new version of gettext, run:
   7734 # gettextize -f -c --intl
   7735 
   7736 
   7737         MKINSTALLDIRS=
   7738   if test -n "$ac_aux_dir"; then
   7739     case "$ac_aux_dir" in
   7740       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   7741       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   7742     esac
   7743   fi
   7744   if test -z "$MKINSTALLDIRS"; then
   7745     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   7746   fi
   7747 
   7748 
   7749 
   7750   echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   7751 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   7752     # Check whether --enable-nls or --disable-nls was given.
   7753 if test "${enable_nls+set}" = set; then
   7754   enableval="$enable_nls"
   7755   USE_NLS=$enableval
   7756 else
   7757   USE_NLS=yes
   7758 fi;
   7759   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   7760 echo "${ECHO_T}$USE_NLS" >&6
   7761 
   7762 
   7763 
   7764 
   7765 
   7766 
   7767 # Prepare PATH_SEPARATOR.
   7768 # The user is always right.
   7769 if test "${PATH_SEPARATOR+set}" != set; then
   7770   echo "#! /bin/sh" >conf$$.sh
   7771   echo  "exit 0"   >>conf$$.sh
   7772   chmod +x conf$$.sh
   7773   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   7774     PATH_SEPARATOR=';'
   7775   else
   7776     PATH_SEPARATOR=:
   7777   fi
   7778   rm -f conf$$.sh
   7779 fi
   7780 
   7781 # Find out how to test for executable files. Don't use a zero-byte file,
   7782 # as systems may use methods other than mode bits to determine executability.
   7783 cat >conf$$.file <<_ASEOF
   7784 #! /bin/sh
   7785 exit 0
   7786 _ASEOF
   7787 chmod +x conf$$.file
   7788 if test -x conf$$.file >/dev/null 2>&1; then
   7789   ac_executable_p="test -x"
   7790 else
   7791   ac_executable_p="test -f"
   7792 fi
   7793 rm -f conf$$.file
   7794 
   7795 # Extract the first word of "msgfmt", so it can be a program name with args.
   7796 set dummy msgfmt; ac_word=$2
   7797 echo "$as_me:$LINENO: checking for $ac_word" >&5
   7798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   7799 if test "${ac_cv_path_MSGFMT+set}" = set; then
   7800   echo $ECHO_N "(cached) $ECHO_C" >&6
   7801 else
   7802   case "$MSGFMT" in
   7803   [\\/]* | ?:[\\/]*)
   7804     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   7805     ;;
   7806   *)
   7807     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   7808     for ac_dir in $PATH; do
   7809       IFS="$ac_save_IFS"
   7810       test -z "$ac_dir" && ac_dir=.
   7811       for ac_exec_ext in '' $ac_executable_extensions; do
   7812         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   7813           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   7814      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   7815             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   7816             break 2
   7817           fi
   7818         fi
   7819       done
   7820     done
   7821     IFS="$ac_save_IFS"
   7822   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   7823     ;;
   7824 esac
   7825 fi
   7826 MSGFMT="$ac_cv_path_MSGFMT"
   7827 if test "$MSGFMT" != ":"; then
   7828   echo "$as_me:$LINENO: result: $MSGFMT" >&5
   7829 echo "${ECHO_T}$MSGFMT" >&6
   7830 else
   7831   echo "$as_me:$LINENO: result: no" >&5
   7832 echo "${ECHO_T}no" >&6
   7833 fi
   7834 
   7835   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   7836 set dummy gmsgfmt; ac_word=$2
   7837 echo "$as_me:$LINENO: checking for $ac_word" >&5
   7838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   7839 if test "${ac_cv_path_GMSGFMT+set}" = set; then
   7840   echo $ECHO_N "(cached) $ECHO_C" >&6
   7841 else
   7842   case $GMSGFMT in
   7843   [\\/]* | ?:[\\/]*)
   7844   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   7845   ;;
   7846   *)
   7847   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7848 for as_dir in $PATH
   7849 do
   7850   IFS=$as_save_IFS
   7851   test -z "$as_dir" && as_dir=.
   7852   for ac_exec_ext in '' $ac_executable_extensions; do
   7853   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7854     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   7855     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   7856     break 2
   7857   fi
   7858 done
   7859 done
   7860 
   7861   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   7862   ;;
   7863 esac
   7864 fi
   7865 GMSGFMT=$ac_cv_path_GMSGFMT
   7866 
   7867 if test -n "$GMSGFMT"; then
   7868   echo "$as_me:$LINENO: result: $GMSGFMT" >&5
   7869 echo "${ECHO_T}$GMSGFMT" >&6
   7870 else
   7871   echo "$as_me:$LINENO: result: no" >&5
   7872 echo "${ECHO_T}no" >&6
   7873 fi
   7874 
   7875 
   7876 
   7877 # Prepare PATH_SEPARATOR.
   7878 # The user is always right.
   7879 if test "${PATH_SEPARATOR+set}" != set; then
   7880   echo "#! /bin/sh" >conf$$.sh
   7881   echo  "exit 0"   >>conf$$.sh
   7882   chmod +x conf$$.sh
   7883   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   7884     PATH_SEPARATOR=';'
   7885   else
   7886     PATH_SEPARATOR=:
   7887   fi
   7888   rm -f conf$$.sh
   7889 fi
   7890 
   7891 # Find out how to test for executable files. Don't use a zero-byte file,
   7892 # as systems may use methods other than mode bits to determine executability.
   7893 cat >conf$$.file <<_ASEOF
   7894 #! /bin/sh
   7895 exit 0
   7896 _ASEOF
   7897 chmod +x conf$$.file
   7898 if test -x conf$$.file >/dev/null 2>&1; then
   7899   ac_executable_p="test -x"
   7900 else
   7901   ac_executable_p="test -f"
   7902 fi
   7903 rm -f conf$$.file
   7904 
   7905 # Extract the first word of "xgettext", so it can be a program name with args.
   7906 set dummy xgettext; ac_word=$2
   7907 echo "$as_me:$LINENO: checking for $ac_word" >&5
   7908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   7909 if test "${ac_cv_path_XGETTEXT+set}" = set; then
   7910   echo $ECHO_N "(cached) $ECHO_C" >&6
   7911 else
   7912   case "$XGETTEXT" in
   7913   [\\/]* | ?:[\\/]*)
   7914     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   7915     ;;
   7916   *)
   7917     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   7918     for ac_dir in $PATH; do
   7919       IFS="$ac_save_IFS"
   7920       test -z "$ac_dir" && ac_dir=.
   7921       for ac_exec_ext in '' $ac_executable_extensions; do
   7922         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   7923           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   7924      (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
   7925             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   7926             break 2
   7927           fi
   7928         fi
   7929       done
   7930     done
   7931     IFS="$ac_save_IFS"
   7932   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   7933     ;;
   7934 esac
   7935 fi
   7936 XGETTEXT="$ac_cv_path_XGETTEXT"
   7937 if test "$XGETTEXT" != ":"; then
   7938   echo "$as_me:$LINENO: result: $XGETTEXT" >&5
   7939 echo "${ECHO_T}$XGETTEXT" >&6
   7940 else
   7941   echo "$as_me:$LINENO: result: no" >&5
   7942 echo "${ECHO_T}no" >&6
   7943 fi
   7944 
   7945     rm -f messages.po
   7946 
   7947 
   7948 # Prepare PATH_SEPARATOR.
   7949 # The user is always right.
   7950 if test "${PATH_SEPARATOR+set}" != set; then
   7951   echo "#! /bin/sh" >conf$$.sh
   7952   echo  "exit 0"   >>conf$$.sh
   7953   chmod +x conf$$.sh
   7954   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   7955     PATH_SEPARATOR=';'
   7956   else
   7957     PATH_SEPARATOR=:
   7958   fi
   7959   rm -f conf$$.sh
   7960 fi
   7961 
   7962 # Find out how to test for executable files. Don't use a zero-byte file,
   7963 # as systems may use methods other than mode bits to determine executability.
   7964 cat >conf$$.file <<_ASEOF
   7965 #! /bin/sh
   7966 exit 0
   7967 _ASEOF
   7968 chmod +x conf$$.file
   7969 if test -x conf$$.file >/dev/null 2>&1; then
   7970   ac_executable_p="test -x"
   7971 else
   7972   ac_executable_p="test -f"
   7973 fi
   7974 rm -f conf$$.file
   7975 
   7976 # Extract the first word of "msgmerge", so it can be a program name with args.
   7977 set dummy msgmerge; ac_word=$2
   7978 echo "$as_me:$LINENO: checking for $ac_word" >&5
   7979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   7980 if test "${ac_cv_path_MSGMERGE+set}" = set; then
   7981   echo $ECHO_N "(cached) $ECHO_C" >&6
   7982 else
   7983   case "$MSGMERGE" in
   7984   [\\/]* | ?:[\\/]*)
   7985     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   7986     ;;
   7987   *)
   7988     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   7989     for ac_dir in $PATH; do
   7990       IFS="$ac_save_IFS"
   7991       test -z "$ac_dir" && ac_dir=.
   7992       for ac_exec_ext in '' $ac_executable_extensions; do
   7993         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   7994           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   7995             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   7996             break 2
   7997           fi
   7998         fi
   7999       done
   8000     done
   8001     IFS="$ac_save_IFS"
   8002   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   8003     ;;
   8004 esac
   8005 fi
   8006 MSGMERGE="$ac_cv_path_MSGMERGE"
   8007 if test "$MSGMERGE" != ":"; then
   8008   echo "$as_me:$LINENO: result: $MSGMERGE" >&5
   8009 echo "${ECHO_T}$MSGMERGE" >&6
   8010 else
   8011   echo "$as_me:$LINENO: result: no" >&5
   8012 echo "${ECHO_T}no" >&6
   8013 fi
   8014 
   8015 
   8016       if test "$GMSGFMT" != ":"; then
   8017             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   8018        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   8019       : ;
   8020     else
   8021       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   8022       echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   8023 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
   8024       GMSGFMT=":"
   8025     fi
   8026   fi
   8027 
   8028       if test "$XGETTEXT" != ":"; then
   8029             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   8030        (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
   8031       : ;
   8032     else
   8033       echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
   8034 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
   8035       XGETTEXT=":"
   8036     fi
   8037         rm -f messages.po
   8038   fi
   8039 
   8040             ac_config_commands="$ac_config_commands default-1"
   8041 
   8042 
   8043 
   8044   echo "$as_me:$LINENO: checking for signed" >&5
   8045 echo $ECHO_N "checking for signed... $ECHO_C" >&6
   8046 if test "${bh_cv_c_signed+set}" = set; then
   8047   echo $ECHO_N "(cached) $ECHO_C" >&6
   8048 else
   8049   cat >conftest.$ac_ext <<_ACEOF
   8050 /* confdefs.h.  */
   8051 _ACEOF
   8052 cat confdefs.h >>conftest.$ac_ext
   8053 cat >>conftest.$ac_ext <<_ACEOF
   8054 /* end confdefs.h.  */
   8055 
   8056 int
   8057 main ()
   8058 {
   8059 signed char x;
   8060   ;
   8061   return 0;
   8062 }
   8063 _ACEOF
   8064 rm -f conftest.$ac_objext
   8065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8066   (eval $ac_compile) 2>conftest.er1
   8067   ac_status=$?
   8068   grep -v '^ *+' conftest.er1 >conftest.err
   8069   rm -f conftest.er1
   8070   cat conftest.err >&5
   8071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8072   (exit $ac_status); } &&
   8073 	 { ac_try='test -z "$ac_c_werror_flag"
   8074 			 || test ! -s conftest.err'
   8075   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8076   (eval $ac_try) 2>&5
   8077   ac_status=$?
   8078   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8079   (exit $ac_status); }; } &&
   8080 	 { ac_try='test -s conftest.$ac_objext'
   8081   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8082   (eval $ac_try) 2>&5
   8083   ac_status=$?
   8084   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8085   (exit $ac_status); }; }; then
   8086   bh_cv_c_signed=yes
   8087 else
   8088   echo "$as_me: failed program was:" >&5
   8089 sed 's/^/| /' conftest.$ac_ext >&5
   8090 
   8091 bh_cv_c_signed=no
   8092 fi
   8093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8094 fi
   8095 echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
   8096 echo "${ECHO_T}$bh_cv_c_signed" >&6
   8097   if test $bh_cv_c_signed = no; then
   8098 
   8099 cat >>confdefs.h <<\_ACEOF
   8100 #define signed
   8101 _ACEOF
   8102 
   8103   fi
   8104 
   8105 echo "$as_me:$LINENO: checking for inline" >&5
   8106 echo $ECHO_N "checking for inline... $ECHO_C" >&6
   8107 if test "${ac_cv_c_inline+set}" = set; then
   8108   echo $ECHO_N "(cached) $ECHO_C" >&6
   8109 else
   8110   ac_cv_c_inline=no
   8111 for ac_kw in inline __inline__ __inline; do
   8112   cat >conftest.$ac_ext <<_ACEOF
   8113 /* confdefs.h.  */
   8114 _ACEOF
   8115 cat confdefs.h >>conftest.$ac_ext
   8116 cat >>conftest.$ac_ext <<_ACEOF
   8117 /* end confdefs.h.  */
   8118 #ifndef __cplusplus
   8119 typedef int foo_t;
   8120 static $ac_kw foo_t static_foo () {return 0; }
   8121 $ac_kw foo_t foo () {return 0; }
   8122 #endif
   8123 
   8124 _ACEOF
   8125 rm -f conftest.$ac_objext
   8126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8127   (eval $ac_compile) 2>conftest.er1
   8128   ac_status=$?
   8129   grep -v '^ *+' conftest.er1 >conftest.err
   8130   rm -f conftest.er1
   8131   cat conftest.err >&5
   8132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8133   (exit $ac_status); } &&
   8134 	 { ac_try='test -z "$ac_c_werror_flag"
   8135 			 || test ! -s conftest.err'
   8136   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8137   (eval $ac_try) 2>&5
   8138   ac_status=$?
   8139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8140   (exit $ac_status); }; } &&
   8141 	 { ac_try='test -s conftest.$ac_objext'
   8142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8143   (eval $ac_try) 2>&5
   8144   ac_status=$?
   8145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8146   (exit $ac_status); }; }; then
   8147   ac_cv_c_inline=$ac_kw; break
   8148 else
   8149   echo "$as_me: failed program was:" >&5
   8150 sed 's/^/| /' conftest.$ac_ext >&5
   8151 
   8152 fi
   8153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8154 done
   8155 
   8156 fi
   8157 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
   8158 echo "${ECHO_T}$ac_cv_c_inline" >&6
   8159 
   8160 
   8161 case $ac_cv_c_inline in
   8162   inline | yes) ;;
   8163   *)
   8164     case $ac_cv_c_inline in
   8165       no) ac_val=;;
   8166       *) ac_val=$ac_cv_c_inline;;
   8167     esac
   8168     cat >>confdefs.h <<_ACEOF
   8169 #ifndef __cplusplus
   8170 #define inline $ac_val
   8171 #endif
   8172 _ACEOF
   8173     ;;
   8174 esac
   8175 
   8176 echo "$as_me:$LINENO: checking for size_t" >&5
   8177 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
   8178 if test "${ac_cv_type_size_t+set}" = set; then
   8179   echo $ECHO_N "(cached) $ECHO_C" >&6
   8180 else
   8181   cat >conftest.$ac_ext <<_ACEOF
   8182 /* confdefs.h.  */
   8183 _ACEOF
   8184 cat confdefs.h >>conftest.$ac_ext
   8185 cat >>conftest.$ac_ext <<_ACEOF
   8186 /* end confdefs.h.  */
   8187 $ac_includes_default
   8188 int
   8189 main ()
   8190 {
   8191 if ((size_t *) 0)
   8192   return 0;
   8193 if (sizeof (size_t))
   8194   return 0;
   8195   ;
   8196   return 0;
   8197 }
   8198 _ACEOF
   8199 rm -f conftest.$ac_objext
   8200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8201   (eval $ac_compile) 2>conftest.er1
   8202   ac_status=$?
   8203   grep -v '^ *+' conftest.er1 >conftest.err
   8204   rm -f conftest.er1
   8205   cat conftest.err >&5
   8206   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8207   (exit $ac_status); } &&
   8208 	 { ac_try='test -z "$ac_c_werror_flag"
   8209 			 || test ! -s conftest.err'
   8210   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8211   (eval $ac_try) 2>&5
   8212   ac_status=$?
   8213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8214   (exit $ac_status); }; } &&
   8215 	 { ac_try='test -s conftest.$ac_objext'
   8216   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8217   (eval $ac_try) 2>&5
   8218   ac_status=$?
   8219   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8220   (exit $ac_status); }; }; then
   8221   ac_cv_type_size_t=yes
   8222 else
   8223   echo "$as_me: failed program was:" >&5
   8224 sed 's/^/| /' conftest.$ac_ext >&5
   8225 
   8226 ac_cv_type_size_t=no
   8227 fi
   8228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8229 fi
   8230 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
   8231 echo "${ECHO_T}$ac_cv_type_size_t" >&6
   8232 if test $ac_cv_type_size_t = yes; then
   8233   :
   8234 else
   8235 
   8236 cat >>confdefs.h <<_ACEOF
   8237 #define size_t unsigned
   8238 _ACEOF
   8239 
   8240 fi
   8241 
   8242 
   8243   echo "$as_me:$LINENO: checking for long long" >&5
   8244 echo $ECHO_N "checking for long long... $ECHO_C" >&6
   8245 if test "${ac_cv_type_long_long+set}" = set; then
   8246   echo $ECHO_N "(cached) $ECHO_C" >&6
   8247 else
   8248   cat >conftest.$ac_ext <<_ACEOF
   8249 /* confdefs.h.  */
   8250 _ACEOF
   8251 cat confdefs.h >>conftest.$ac_ext
   8252 cat >>conftest.$ac_ext <<_ACEOF
   8253 /* end confdefs.h.  */
   8254 long long ll = 1LL; int i = 63;
   8255 int
   8256 main ()
   8257 {
   8258 long long llmax = (long long) -1;
   8259      return ll << i | ll >> i | llmax / ll | llmax % ll;
   8260   ;
   8261   return 0;
   8262 }
   8263 _ACEOF
   8264 rm -f conftest.$ac_objext conftest$ac_exeext
   8265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8266   (eval $ac_link) 2>conftest.er1
   8267   ac_status=$?
   8268   grep -v '^ *+' conftest.er1 >conftest.err
   8269   rm -f conftest.er1
   8270   cat conftest.err >&5
   8271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8272   (exit $ac_status); } &&
   8273 	 { ac_try='test -z "$ac_c_werror_flag"
   8274 			 || test ! -s conftest.err'
   8275   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8276   (eval $ac_try) 2>&5
   8277   ac_status=$?
   8278   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8279   (exit $ac_status); }; } &&
   8280 	 { ac_try='test -s conftest$ac_exeext'
   8281   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8282   (eval $ac_try) 2>&5
   8283   ac_status=$?
   8284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8285   (exit $ac_status); }; }; then
   8286   ac_cv_type_long_long=yes
   8287 else
   8288   echo "$as_me: failed program was:" >&5
   8289 sed 's/^/| /' conftest.$ac_ext >&5
   8290 
   8291 ac_cv_type_long_long=no
   8292 fi
   8293 rm -f conftest.err conftest.$ac_objext \
   8294       conftest$ac_exeext conftest.$ac_ext
   8295 fi
   8296 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
   8297 echo "${ECHO_T}$ac_cv_type_long_long" >&6
   8298   if test $ac_cv_type_long_long = yes; then
   8299 
   8300 cat >>confdefs.h <<\_ACEOF
   8301 #define HAVE_LONG_LONG 1
   8302 _ACEOF
   8303 
   8304   fi
   8305 
   8306 
   8307   echo "$as_me:$LINENO: checking for long double" >&5
   8308 echo $ECHO_N "checking for long double... $ECHO_C" >&6
   8309 if test "${gt_cv_c_long_double+set}" = set; then
   8310   echo $ECHO_N "(cached) $ECHO_C" >&6
   8311 else
   8312   if test "$GCC" = yes; then
   8313        gt_cv_c_long_double=yes
   8314      else
   8315        cat >conftest.$ac_ext <<_ACEOF
   8316 /* confdefs.h.  */
   8317 _ACEOF
   8318 cat confdefs.h >>conftest.$ac_ext
   8319 cat >>conftest.$ac_ext <<_ACEOF
   8320 /* end confdefs.h.  */
   8321 
   8322          /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
   8323          long double foo = 0.0;
   8324          /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
   8325          int array [2*(sizeof(long double) >= sizeof(double)) - 1];
   8326 
   8327 int
   8328 main ()
   8329 {
   8330 
   8331   ;
   8332   return 0;
   8333 }
   8334 _ACEOF
   8335 rm -f conftest.$ac_objext
   8336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8337   (eval $ac_compile) 2>conftest.er1
   8338   ac_status=$?
   8339   grep -v '^ *+' conftest.er1 >conftest.err
   8340   rm -f conftest.er1
   8341   cat conftest.err >&5
   8342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8343   (exit $ac_status); } &&
   8344 	 { ac_try='test -z "$ac_c_werror_flag"
   8345 			 || test ! -s conftest.err'
   8346   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8347   (eval $ac_try) 2>&5
   8348   ac_status=$?
   8349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8350   (exit $ac_status); }; } &&
   8351 	 { ac_try='test -s conftest.$ac_objext'
   8352   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8353   (eval $ac_try) 2>&5
   8354   ac_status=$?
   8355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8356   (exit $ac_status); }; }; then
   8357   gt_cv_c_long_double=yes
   8358 else
   8359   echo "$as_me: failed program was:" >&5
   8360 sed 's/^/| /' conftest.$ac_ext >&5
   8361 
   8362 gt_cv_c_long_double=no
   8363 fi
   8364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8365      fi
   8366 fi
   8367 echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
   8368 echo "${ECHO_T}$gt_cv_c_long_double" >&6
   8369   if test $gt_cv_c_long_double = yes; then
   8370 
   8371 cat >>confdefs.h <<\_ACEOF
   8372 #define HAVE_LONG_DOUBLE 1
   8373 _ACEOF
   8374 
   8375   fi
   8376 
   8377 
   8378   echo "$as_me:$LINENO: checking for wchar_t" >&5
   8379 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
   8380 if test "${gt_cv_c_wchar_t+set}" = set; then
   8381   echo $ECHO_N "(cached) $ECHO_C" >&6
   8382 else
   8383   cat >conftest.$ac_ext <<_ACEOF
   8384 /* confdefs.h.  */
   8385 _ACEOF
   8386 cat confdefs.h >>conftest.$ac_ext
   8387 cat >>conftest.$ac_ext <<_ACEOF
   8388 /* end confdefs.h.  */
   8389 #include <stddef.h>
   8390        wchar_t foo = (wchar_t)'\0';
   8391 int
   8392 main ()
   8393 {
   8394 
   8395   ;
   8396   return 0;
   8397 }
   8398 _ACEOF
   8399 rm -f conftest.$ac_objext
   8400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8401   (eval $ac_compile) 2>conftest.er1
   8402   ac_status=$?
   8403   grep -v '^ *+' conftest.er1 >conftest.err
   8404   rm -f conftest.er1
   8405   cat conftest.err >&5
   8406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8407   (exit $ac_status); } &&
   8408 	 { ac_try='test -z "$ac_c_werror_flag"
   8409 			 || test ! -s conftest.err'
   8410   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8411   (eval $ac_try) 2>&5
   8412   ac_status=$?
   8413   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8414   (exit $ac_status); }; } &&
   8415 	 { ac_try='test -s conftest.$ac_objext'
   8416   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8417   (eval $ac_try) 2>&5
   8418   ac_status=$?
   8419   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8420   (exit $ac_status); }; }; then
   8421   gt_cv_c_wchar_t=yes
   8422 else
   8423   echo "$as_me: failed program was:" >&5
   8424 sed 's/^/| /' conftest.$ac_ext >&5
   8425 
   8426 gt_cv_c_wchar_t=no
   8427 fi
   8428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8429 fi
   8430 echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
   8431 echo "${ECHO_T}$gt_cv_c_wchar_t" >&6
   8432   if test $gt_cv_c_wchar_t = yes; then
   8433 
   8434 cat >>confdefs.h <<\_ACEOF
   8435 #define HAVE_WCHAR_T 1
   8436 _ACEOF
   8437 
   8438   fi
   8439 
   8440 
   8441   echo "$as_me:$LINENO: checking for wint_t" >&5
   8442 echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
   8443 if test "${gt_cv_c_wint_t+set}" = set; then
   8444   echo $ECHO_N "(cached) $ECHO_C" >&6
   8445 else
   8446   cat >conftest.$ac_ext <<_ACEOF
   8447 /* confdefs.h.  */
   8448 _ACEOF
   8449 cat confdefs.h >>conftest.$ac_ext
   8450 cat >>conftest.$ac_ext <<_ACEOF
   8451 /* end confdefs.h.  */
   8452 #include <wchar.h>
   8453        wint_t foo = (wchar_t)'\0';
   8454 int
   8455 main ()
   8456 {
   8457 
   8458   ;
   8459   return 0;
   8460 }
   8461 _ACEOF
   8462 rm -f conftest.$ac_objext
   8463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8464   (eval $ac_compile) 2>conftest.er1
   8465   ac_status=$?
   8466   grep -v '^ *+' conftest.er1 >conftest.err
   8467   rm -f conftest.er1
   8468   cat conftest.err >&5
   8469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8470   (exit $ac_status); } &&
   8471 	 { ac_try='test -z "$ac_c_werror_flag"
   8472 			 || test ! -s conftest.err'
   8473   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8474   (eval $ac_try) 2>&5
   8475   ac_status=$?
   8476   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8477   (exit $ac_status); }; } &&
   8478 	 { ac_try='test -s conftest.$ac_objext'
   8479   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8480   (eval $ac_try) 2>&5
   8481   ac_status=$?
   8482   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8483   (exit $ac_status); }; }; then
   8484   gt_cv_c_wint_t=yes
   8485 else
   8486   echo "$as_me: failed program was:" >&5
   8487 sed 's/^/| /' conftest.$ac_ext >&5
   8488 
   8489 gt_cv_c_wint_t=no
   8490 fi
   8491 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8492 fi
   8493 echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
   8494 echo "${ECHO_T}$gt_cv_c_wint_t" >&6
   8495   if test $gt_cv_c_wint_t = yes; then
   8496 
   8497 cat >>confdefs.h <<\_ACEOF
   8498 #define HAVE_WINT_T 1
   8499 _ACEOF
   8500 
   8501   fi
   8502 
   8503 
   8504 
   8505 
   8506   echo "$as_me:$LINENO: checking for intmax_t" >&5
   8507 echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
   8508 if test "${gt_cv_c_intmax_t+set}" = set; then
   8509   echo $ECHO_N "(cached) $ECHO_C" >&6
   8510 else
   8511   cat >conftest.$ac_ext <<_ACEOF
   8512 /* confdefs.h.  */
   8513 _ACEOF
   8514 cat confdefs.h >>conftest.$ac_ext
   8515 cat >>conftest.$ac_ext <<_ACEOF
   8516 /* end confdefs.h.  */
   8517 
   8518 #include <stddef.h>
   8519 #include <stdlib.h>
   8520 #if HAVE_STDINT_H_WITH_UINTMAX
   8521 #include <stdint.h>
   8522 #endif
   8523 #if HAVE_INTTYPES_H_WITH_UINTMAX
   8524 #include <inttypes.h>
   8525 #endif
   8526 
   8527 int
   8528 main ()
   8529 {
   8530 intmax_t x = -1;
   8531   ;
   8532   return 0;
   8533 }
   8534 _ACEOF
   8535 rm -f conftest.$ac_objext
   8536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8537   (eval $ac_compile) 2>conftest.er1
   8538   ac_status=$?
   8539   grep -v '^ *+' conftest.er1 >conftest.err
   8540   rm -f conftest.er1
   8541   cat conftest.err >&5
   8542   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8543   (exit $ac_status); } &&
   8544 	 { ac_try='test -z "$ac_c_werror_flag"
   8545 			 || test ! -s conftest.err'
   8546   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8547   (eval $ac_try) 2>&5
   8548   ac_status=$?
   8549   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8550   (exit $ac_status); }; } &&
   8551 	 { ac_try='test -s conftest.$ac_objext'
   8552   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8553   (eval $ac_try) 2>&5
   8554   ac_status=$?
   8555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8556   (exit $ac_status); }; }; then
   8557   gt_cv_c_intmax_t=yes
   8558 else
   8559   echo "$as_me: failed program was:" >&5
   8560 sed 's/^/| /' conftest.$ac_ext >&5
   8561 
   8562 gt_cv_c_intmax_t=no
   8563 fi
   8564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8565 fi
   8566 echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
   8567 echo "${ECHO_T}$gt_cv_c_intmax_t" >&6
   8568   if test $gt_cv_c_intmax_t = yes; then
   8569 
   8570 cat >>confdefs.h <<\_ACEOF
   8571 #define HAVE_INTMAX_T 1
   8572 _ACEOF
   8573 
   8574   fi
   8575 
   8576 
   8577 
   8578   echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
   8579 echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6
   8580 if test "${gt_cv_func_printf_posix+set}" = set; then
   8581   echo $ECHO_N "(cached) $ECHO_C" >&6
   8582 else
   8583 
   8584       if test "$cross_compiling" = yes; then
   8585 
   8586         cat >conftest.$ac_ext <<_ACEOF
   8587 /* confdefs.h.  */
   8588 _ACEOF
   8589 cat confdefs.h >>conftest.$ac_ext
   8590 cat >>conftest.$ac_ext <<_ACEOF
   8591 /* end confdefs.h.  */
   8592 
   8593 #if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
   8594   notposix
   8595 #endif
   8596 
   8597 _ACEOF
   8598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   8599   $EGREP "notposix" >/dev/null 2>&1; then
   8600   gt_cv_func_printf_posix="guessing no"
   8601 else
   8602   gt_cv_func_printf_posix="guessing yes"
   8603 fi
   8604 rm -f conftest*
   8605 
   8606 
   8607 else
   8608   cat >conftest.$ac_ext <<_ACEOF
   8609 /* confdefs.h.  */
   8610 _ACEOF
   8611 cat confdefs.h >>conftest.$ac_ext
   8612 cat >>conftest.$ac_ext <<_ACEOF
   8613 /* end confdefs.h.  */
   8614 
   8615 #include <stdio.h>
   8616 #include <string.h>
   8617 /* The string "%2$d %1$d", with dollar characters protected from the shell's
   8618    dollar expansion (possibly an autoconf bug).  */
   8619 static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
   8620 static char buf[100];
   8621 int main ()
   8622 {
   8623   sprintf (buf, format, 33, 55);
   8624   return (strcmp (buf, "55 33") != 0);
   8625 }
   8626 _ACEOF
   8627 rm -f conftest$ac_exeext
   8628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8629   (eval $ac_link) 2>&5
   8630   ac_status=$?
   8631   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8632   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   8633   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8634   (eval $ac_try) 2>&5
   8635   ac_status=$?
   8636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8637   (exit $ac_status); }; }; then
   8638   gt_cv_func_printf_posix=yes
   8639 else
   8640   echo "$as_me: program exited with status $ac_status" >&5
   8641 echo "$as_me: failed program was:" >&5
   8642 sed 's/^/| /' conftest.$ac_ext >&5
   8643 
   8644 ( exit $ac_status )
   8645 gt_cv_func_printf_posix=no
   8646 fi
   8647 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   8648 fi
   8649 
   8650 fi
   8651 echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
   8652 echo "${ECHO_T}$gt_cv_func_printf_posix" >&6
   8653   case $gt_cv_func_printf_posix in
   8654     *yes)
   8655 
   8656 cat >>confdefs.h <<\_ACEOF
   8657 #define HAVE_POSIX_PRINTF 1
   8658 _ACEOF
   8659 
   8660       ;;
   8661   esac
   8662 
   8663 
   8664 
   8665 for ac_header in stdlib.h unistd.h
   8666 do
   8667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   8668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8669   echo "$as_me:$LINENO: checking for $ac_header" >&5
   8670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   8671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8672   echo $ECHO_N "(cached) $ECHO_C" >&6
   8673 fi
   8674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   8675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   8676 else
   8677   # Is the header compilable?
   8678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   8679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   8680 cat >conftest.$ac_ext <<_ACEOF
   8681 /* confdefs.h.  */
   8682 _ACEOF
   8683 cat confdefs.h >>conftest.$ac_ext
   8684 cat >>conftest.$ac_ext <<_ACEOF
   8685 /* end confdefs.h.  */
   8686 $ac_includes_default
   8687 #include <$ac_header>
   8688 _ACEOF
   8689 rm -f conftest.$ac_objext
   8690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8691   (eval $ac_compile) 2>conftest.er1
   8692   ac_status=$?
   8693   grep -v '^ *+' conftest.er1 >conftest.err
   8694   rm -f conftest.er1
   8695   cat conftest.err >&5
   8696   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8697   (exit $ac_status); } &&
   8698 	 { ac_try='test -z "$ac_c_werror_flag"
   8699 			 || test ! -s conftest.err'
   8700   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8701   (eval $ac_try) 2>&5
   8702   ac_status=$?
   8703   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8704   (exit $ac_status); }; } &&
   8705 	 { ac_try='test -s conftest.$ac_objext'
   8706   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8707   (eval $ac_try) 2>&5
   8708   ac_status=$?
   8709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8710   (exit $ac_status); }; }; then
   8711   ac_header_compiler=yes
   8712 else
   8713   echo "$as_me: failed program was:" >&5
   8714 sed 's/^/| /' conftest.$ac_ext >&5
   8715 
   8716 ac_header_compiler=no
   8717 fi
   8718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   8719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   8720 echo "${ECHO_T}$ac_header_compiler" >&6
   8721 
   8722 # Is the header present?
   8723 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   8724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   8725 cat >conftest.$ac_ext <<_ACEOF
   8726 /* confdefs.h.  */
   8727 _ACEOF
   8728 cat confdefs.h >>conftest.$ac_ext
   8729 cat >>conftest.$ac_ext <<_ACEOF
   8730 /* end confdefs.h.  */
   8731 #include <$ac_header>
   8732 _ACEOF
   8733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   8734   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   8735   ac_status=$?
   8736   grep -v '^ *+' conftest.er1 >conftest.err
   8737   rm -f conftest.er1
   8738   cat conftest.err >&5
   8739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8740   (exit $ac_status); } >/dev/null; then
   8741   if test -s conftest.err; then
   8742     ac_cpp_err=$ac_c_preproc_warn_flag
   8743     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   8744   else
   8745     ac_cpp_err=
   8746   fi
   8747 else
   8748   ac_cpp_err=yes
   8749 fi
   8750 if test -z "$ac_cpp_err"; then
   8751   ac_header_preproc=yes
   8752 else
   8753   echo "$as_me: failed program was:" >&5
   8754 sed 's/^/| /' conftest.$ac_ext >&5
   8755 
   8756   ac_header_preproc=no
   8757 fi
   8758 rm -f conftest.err conftest.$ac_ext
   8759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   8760 echo "${ECHO_T}$ac_header_preproc" >&6
   8761 
   8762 # So?  What about this header?
   8763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   8764   yes:no: )
   8765     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   8766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   8767     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   8768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   8769     ac_header_preproc=yes
   8770     ;;
   8771   no:yes:* )
   8772     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   8773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   8774     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   8775 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   8776     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   8777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   8778     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   8779 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   8780     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   8781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   8782     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   8783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   8784     (
   8785       cat <<\_ASBOX
   8786 ## -------------------------------------- ##
   8787 ## Report this to the GNU Texinfo lists.  ##
   8788 ## -------------------------------------- ##
   8789 _ASBOX
   8790     ) |
   8791       sed "s/^/$as_me: WARNING:     /" >&2
   8792     ;;
   8793 esac
   8794 echo "$as_me:$LINENO: checking for $ac_header" >&5
   8795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   8796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   8797   echo $ECHO_N "(cached) $ECHO_C" >&6
   8798 else
   8799   eval "$as_ac_Header=\$ac_header_preproc"
   8800 fi
   8801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   8802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   8803 
   8804 fi
   8805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   8806   cat >>confdefs.h <<_ACEOF
   8807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   8808 _ACEOF
   8809 
   8810 fi
   8811 
   8812 done
   8813 
   8814 
   8815 for ac_func in getpagesize
   8816 do
   8817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   8818 echo "$as_me:$LINENO: checking for $ac_func" >&5
   8819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   8820 if eval "test \"\${$as_ac_var+set}\" = set"; then
   8821   echo $ECHO_N "(cached) $ECHO_C" >&6
   8822 else
   8823   cat >conftest.$ac_ext <<_ACEOF
   8824 /* confdefs.h.  */
   8825 _ACEOF
   8826 cat confdefs.h >>conftest.$ac_ext
   8827 cat >>conftest.$ac_ext <<_ACEOF
   8828 /* end confdefs.h.  */
   8829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   8830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   8831 #define $ac_func innocuous_$ac_func
   8832 
   8833 /* System header to define __stub macros and hopefully few prototypes,
   8834     which can conflict with char $ac_func (); below.
   8835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   8836     <limits.h> exists even on freestanding compilers.  */
   8837 
   8838 #ifdef __STDC__
   8839 # include <limits.h>
   8840 #else
   8841 # include <assert.h>
   8842 #endif
   8843 
   8844 #undef $ac_func
   8845 
   8846 /* Override any gcc2 internal prototype to avoid an error.  */
   8847 #ifdef __cplusplus
   8848 extern "C"
   8849 {
   8850 #endif
   8851 /* We use char because int might match the return type of a gcc2
   8852    builtin and then its argument prototype would still apply.  */
   8853 char $ac_func ();
   8854 /* The GNU C library defines this for functions which it implements
   8855     to always fail with ENOSYS.  Some functions are actually named
   8856     something starting with __ and the normal name is an alias.  */
   8857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   8858 choke me
   8859 #else
   8860 char (*f) () = $ac_func;
   8861 #endif
   8862 #ifdef __cplusplus
   8863 }
   8864 #endif
   8865 
   8866 int
   8867 main ()
   8868 {
   8869 return f != $ac_func;
   8870   ;
   8871   return 0;
   8872 }
   8873 _ACEOF
   8874 rm -f conftest.$ac_objext conftest$ac_exeext
   8875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8876   (eval $ac_link) 2>conftest.er1
   8877   ac_status=$?
   8878   grep -v '^ *+' conftest.er1 >conftest.err
   8879   rm -f conftest.er1
   8880   cat conftest.err >&5
   8881   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8882   (exit $ac_status); } &&
   8883 	 { ac_try='test -z "$ac_c_werror_flag"
   8884 			 || test ! -s conftest.err'
   8885   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8886   (eval $ac_try) 2>&5
   8887   ac_status=$?
   8888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8889   (exit $ac_status); }; } &&
   8890 	 { ac_try='test -s conftest$ac_exeext'
   8891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8892   (eval $ac_try) 2>&5
   8893   ac_status=$?
   8894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8895   (exit $ac_status); }; }; then
   8896   eval "$as_ac_var=yes"
   8897 else
   8898   echo "$as_me: failed program was:" >&5
   8899 sed 's/^/| /' conftest.$ac_ext >&5
   8900 
   8901 eval "$as_ac_var=no"
   8902 fi
   8903 rm -f conftest.err conftest.$ac_objext \
   8904       conftest$ac_exeext conftest.$ac_ext
   8905 fi
   8906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   8907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   8908 if test `eval echo '${'$as_ac_var'}'` = yes; then
   8909   cat >>confdefs.h <<_ACEOF
   8910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   8911 _ACEOF
   8912 
   8913 fi
   8914 done
   8915 
   8916 echo "$as_me:$LINENO: checking for working mmap" >&5
   8917 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
   8918 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
   8919   echo $ECHO_N "(cached) $ECHO_C" >&6
   8920 else
   8921   if test "$cross_compiling" = yes; then
   8922   ac_cv_func_mmap_fixed_mapped=no
   8923 else
   8924   cat >conftest.$ac_ext <<_ACEOF
   8925 /* confdefs.h.  */
   8926 _ACEOF
   8927 cat confdefs.h >>conftest.$ac_ext
   8928 cat >>conftest.$ac_ext <<_ACEOF
   8929 /* end confdefs.h.  */
   8930 $ac_includes_default
   8931 /* malloc might have been renamed as rpl_malloc. */
   8932 #undef malloc
   8933 
   8934 /* Thanks to Mike Haertel and Jim Avera for this test.
   8935    Here is a matrix of mmap possibilities:
   8936 	mmap private not fixed
   8937 	mmap private fixed at somewhere currently unmapped
   8938 	mmap private fixed at somewhere already mapped
   8939 	mmap shared not fixed
   8940 	mmap shared fixed at somewhere currently unmapped
   8941 	mmap shared fixed at somewhere already mapped
   8942    For private mappings, we should verify that changes cannot be read()
   8943    back from the file, nor mmap's back from the file at a different
   8944    address.  (There have been systems where private was not correctly
   8945    implemented like the infamous i386 svr4.0, and systems where the
   8946    VM page cache was not coherent with the file system buffer cache
   8947    like early versions of FreeBSD and possibly contemporary NetBSD.)
   8948    For shared mappings, we should conversely verify that changes get
   8949    propagated back to all the places they're supposed to be.
   8950 
   8951    Grep wants private fixed already mapped.
   8952    The main things grep needs to know about mmap are:
   8953    * does it exist and is it safe to write into the mmap'd area
   8954    * how to use it (BSD variants)  */
   8955 
   8956 #include <fcntl.h>
   8957 #include <sys/mman.h>
   8958 
   8959 #if !STDC_HEADERS && !HAVE_STDLIB_H
   8960 char *malloc ();
   8961 #endif
   8962 
   8963 /* This mess was copied from the GNU getpagesize.h.  */
   8964 #if !HAVE_GETPAGESIZE
   8965 /* Assume that all systems that can run configure have sys/param.h.  */
   8966 # if !HAVE_SYS_PARAM_H
   8967 #  define HAVE_SYS_PARAM_H 1
   8968 # endif
   8969 
   8970 # ifdef _SC_PAGESIZE
   8971 #  define getpagesize() sysconf(_SC_PAGESIZE)
   8972 # else /* no _SC_PAGESIZE */
   8973 #  if HAVE_SYS_PARAM_H
   8974 #   include <sys/param.h>
   8975 #   ifdef EXEC_PAGESIZE
   8976 #    define getpagesize() EXEC_PAGESIZE
   8977 #   else /* no EXEC_PAGESIZE */
   8978 #    ifdef NBPG
   8979 #     define getpagesize() NBPG * CLSIZE
   8980 #     ifndef CLSIZE
   8981 #      define CLSIZE 1
   8982 #     endif /* no CLSIZE */
   8983 #    else /* no NBPG */
   8984 #     ifdef NBPC
   8985 #      define getpagesize() NBPC
   8986 #     else /* no NBPC */
   8987 #      ifdef PAGESIZE
   8988 #       define getpagesize() PAGESIZE
   8989 #      endif /* PAGESIZE */
   8990 #     endif /* no NBPC */
   8991 #    endif /* no NBPG */
   8992 #   endif /* no EXEC_PAGESIZE */
   8993 #  else /* no HAVE_SYS_PARAM_H */
   8994 #   define getpagesize() 8192	/* punt totally */
   8995 #  endif /* no HAVE_SYS_PARAM_H */
   8996 # endif /* no _SC_PAGESIZE */
   8997 
   8998 #endif /* no HAVE_GETPAGESIZE */
   8999 
   9000 int
   9001 main ()
   9002 {
   9003   char *data, *data2, *data3;
   9004   int i, pagesize;
   9005   int fd;
   9006 
   9007   pagesize = getpagesize ();
   9008 
   9009   /* First, make a file with some known garbage in it. */
   9010   data = (char *) malloc (pagesize);
   9011   if (!data)
   9012     exit (1);
   9013   for (i = 0; i < pagesize; ++i)
   9014     *(data + i) = rand ();
   9015   umask (0);
   9016   fd = creat ("conftest.mmap", 0600);
   9017   if (fd < 0)
   9018     exit (1);
   9019   if (write (fd, data, pagesize) != pagesize)
   9020     exit (1);
   9021   close (fd);
   9022 
   9023   /* Next, try to mmap the file at a fixed address which already has
   9024      something else allocated at it.  If we can, also make sure that
   9025      we see the same garbage.  */
   9026   fd = open ("conftest.mmap", O_RDWR);
   9027   if (fd < 0)
   9028     exit (1);
   9029   data2 = (char *) malloc (2 * pagesize);
   9030   if (!data2)
   9031     exit (1);
   9032   data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
   9033   if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
   9034 		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
   9035     exit (1);
   9036   for (i = 0; i < pagesize; ++i)
   9037     if (*(data + i) != *(data2 + i))
   9038       exit (1);
   9039 
   9040   /* Finally, make sure that changes to the mapped area do not
   9041      percolate back to the file as seen by read().  (This is a bug on
   9042      some variants of i386 svr4.0.)  */
   9043   for (i = 0; i < pagesize; ++i)
   9044     *(data2 + i) = *(data2 + i) + 1;
   9045   data3 = (char *) malloc (pagesize);
   9046   if (!data3)
   9047     exit (1);
   9048   if (read (fd, data3, pagesize) != pagesize)
   9049     exit (1);
   9050   for (i = 0; i < pagesize; ++i)
   9051     if (*(data + i) != *(data3 + i))
   9052       exit (1);
   9053   close (fd);
   9054   exit (0);
   9055 }
   9056 _ACEOF
   9057 rm -f conftest$ac_exeext
   9058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9059   (eval $ac_link) 2>&5
   9060   ac_status=$?
   9061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9062   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   9063   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9064   (eval $ac_try) 2>&5
   9065   ac_status=$?
   9066   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9067   (exit $ac_status); }; }; then
   9068   ac_cv_func_mmap_fixed_mapped=yes
   9069 else
   9070   echo "$as_me: program exited with status $ac_status" >&5
   9071 echo "$as_me: failed program was:" >&5
   9072 sed 's/^/| /' conftest.$ac_ext >&5
   9073 
   9074 ( exit $ac_status )
   9075 ac_cv_func_mmap_fixed_mapped=no
   9076 fi
   9077 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   9078 fi
   9079 fi
   9080 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
   9081 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
   9082 if test $ac_cv_func_mmap_fixed_mapped = yes; then
   9083 
   9084 cat >>confdefs.h <<\_ACEOF
   9085 #define HAVE_MMAP 1
   9086 _ACEOF
   9087 
   9088 fi
   9089 rm -f conftest.mmap
   9090 
   9091 
   9092     echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
   9093 echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
   9094 if test "${ac_cv_gnu_library_2_1+set}" = set; then
   9095   echo $ECHO_N "(cached) $ECHO_C" >&6
   9096 else
   9097   cat >conftest.$ac_ext <<_ACEOF
   9098 /* confdefs.h.  */
   9099 _ACEOF
   9100 cat confdefs.h >>conftest.$ac_ext
   9101 cat >>conftest.$ac_ext <<_ACEOF
   9102 /* end confdefs.h.  */
   9103 
   9104 #include <features.h>
   9105 #ifdef __GNU_LIBRARY__
   9106  #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
   9107   Lucky GNU user
   9108  #endif
   9109 #endif
   9110 
   9111 _ACEOF
   9112 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9113   $EGREP "Lucky GNU user" >/dev/null 2>&1; then
   9114   ac_cv_gnu_library_2_1=yes
   9115 else
   9116   ac_cv_gnu_library_2_1=no
   9117 fi
   9118 rm -f conftest*
   9119 
   9120 
   9121 
   9122 fi
   9123 echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
   9124 echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
   9125 
   9126     GLIBC21="$ac_cv_gnu_library_2_1"
   9127 
   9128 
   9129 
   9130 
   9131   echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
   9132 echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
   9133 if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
   9134   echo $ECHO_N "(cached) $ECHO_C" >&6
   9135 else
   9136 
   9137       if test "$cross_compiling" = yes; then
   9138 
   9139           # Guess based on the CPU.
   9140           case "$host_cpu" in
   9141             alpha* | i3456786 | m68k | s390*)
   9142               gt_cv_int_divbyzero_sigfpe="guessing yes";;
   9143             *)
   9144               gt_cv_int_divbyzero_sigfpe="guessing no";;
   9145           esac
   9146 
   9147 else
   9148   cat >conftest.$ac_ext <<_ACEOF
   9149 /* confdefs.h.  */
   9150 _ACEOF
   9151 cat confdefs.h >>conftest.$ac_ext
   9152 cat >>conftest.$ac_ext <<_ACEOF
   9153 /* end confdefs.h.  */
   9154 
   9155 #include <stdlib.h>
   9156 #include <signal.h>
   9157 
   9158 static void
   9159 #ifdef __cplusplus
   9160 sigfpe_handler (int sig)
   9161 #else
   9162 sigfpe_handler (sig) int sig;
   9163 #endif
   9164 {
   9165   /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
   9166   exit (sig != SIGFPE);
   9167 }
   9168 
   9169 int x = 1;
   9170 int y = 0;
   9171 int z;
   9172 int nan;
   9173 
   9174 int main ()
   9175 {
   9176   signal (SIGFPE, sigfpe_handler);
   9177 /* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP.  */
   9178 #if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
   9179   signal (SIGTRAP, sigfpe_handler);
   9180 #endif
   9181 /* Linux/SPARC yields signal SIGILL.  */
   9182 #if defined (__sparc__) && defined (__linux__)
   9183   signal (SIGILL, sigfpe_handler);
   9184 #endif
   9185 
   9186   z = x / y;
   9187   nan = y / y;
   9188   exit (1);
   9189 }
   9190 
   9191 _ACEOF
   9192 rm -f conftest$ac_exeext
   9193 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9194   (eval $ac_link) 2>&5
   9195   ac_status=$?
   9196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9197   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   9198   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9199   (eval $ac_try) 2>&5
   9200   ac_status=$?
   9201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9202   (exit $ac_status); }; }; then
   9203   gt_cv_int_divbyzero_sigfpe=yes
   9204 else
   9205   echo "$as_me: program exited with status $ac_status" >&5
   9206 echo "$as_me: failed program was:" >&5
   9207 sed 's/^/| /' conftest.$ac_ext >&5
   9208 
   9209 ( exit $ac_status )
   9210 gt_cv_int_divbyzero_sigfpe=no
   9211 fi
   9212 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   9213 fi
   9214 
   9215 fi
   9216 echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
   9217 echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
   9218   case "$gt_cv_int_divbyzero_sigfpe" in
   9219     *yes) value=1;;
   9220     *) value=0;;
   9221   esac
   9222 
   9223 cat >>confdefs.h <<_ACEOF
   9224 #define INTDIV0_RAISES_SIGFPE $value
   9225 _ACEOF
   9226 
   9227 
   9228 
   9229   echo "$as_me:$LINENO: checking for inttypes.h" >&5
   9230 echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
   9231 if test "${gt_cv_header_inttypes_h+set}" = set; then
   9232   echo $ECHO_N "(cached) $ECHO_C" >&6
   9233 else
   9234 
   9235     cat >conftest.$ac_ext <<_ACEOF
   9236 /* confdefs.h.  */
   9237 _ACEOF
   9238 cat confdefs.h >>conftest.$ac_ext
   9239 cat >>conftest.$ac_ext <<_ACEOF
   9240 /* end confdefs.h.  */
   9241 #include <sys/types.h>
   9242 #include <inttypes.h>
   9243 int
   9244 main ()
   9245 {
   9246 
   9247   ;
   9248   return 0;
   9249 }
   9250 _ACEOF
   9251 rm -f conftest.$ac_objext
   9252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9253   (eval $ac_compile) 2>conftest.er1
   9254   ac_status=$?
   9255   grep -v '^ *+' conftest.er1 >conftest.err
   9256   rm -f conftest.er1
   9257   cat conftest.err >&5
   9258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9259   (exit $ac_status); } &&
   9260 	 { ac_try='test -z "$ac_c_werror_flag"
   9261 			 || test ! -s conftest.err'
   9262   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9263   (eval $ac_try) 2>&5
   9264   ac_status=$?
   9265   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9266   (exit $ac_status); }; } &&
   9267 	 { ac_try='test -s conftest.$ac_objext'
   9268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9269   (eval $ac_try) 2>&5
   9270   ac_status=$?
   9271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9272   (exit $ac_status); }; }; then
   9273   gt_cv_header_inttypes_h=yes
   9274 else
   9275   echo "$as_me: failed program was:" >&5
   9276 sed 's/^/| /' conftest.$ac_ext >&5
   9277 
   9278 gt_cv_header_inttypes_h=no
   9279 fi
   9280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9281 
   9282 fi
   9283 echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
   9284 echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
   9285   if test $gt_cv_header_inttypes_h = yes; then
   9286 
   9287 cat >>confdefs.h <<_ACEOF
   9288 #define HAVE_INTTYPES_H 1
   9289 _ACEOF
   9290 
   9291   fi
   9292 
   9293 
   9294 
   9295   if test $gt_cv_header_inttypes_h = yes; then
   9296     echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
   9297 echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
   9298 if test "${gt_cv_inttypes_pri_broken+set}" = set; then
   9299   echo $ECHO_N "(cached) $ECHO_C" >&6
   9300 else
   9301 
   9302         cat >conftest.$ac_ext <<_ACEOF
   9303 /* confdefs.h.  */
   9304 _ACEOF
   9305 cat confdefs.h >>conftest.$ac_ext
   9306 cat >>conftest.$ac_ext <<_ACEOF
   9307 /* end confdefs.h.  */
   9308 #include <inttypes.h>
   9309 #ifdef PRId32
   9310 char *p = PRId32;
   9311 #endif
   9312 
   9313 int
   9314 main ()
   9315 {
   9316 
   9317   ;
   9318   return 0;
   9319 }
   9320 _ACEOF
   9321 rm -f conftest.$ac_objext
   9322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9323   (eval $ac_compile) 2>conftest.er1
   9324   ac_status=$?
   9325   grep -v '^ *+' conftest.er1 >conftest.err
   9326   rm -f conftest.er1
   9327   cat conftest.err >&5
   9328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9329   (exit $ac_status); } &&
   9330 	 { ac_try='test -z "$ac_c_werror_flag"
   9331 			 || test ! -s conftest.err'
   9332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9333   (eval $ac_try) 2>&5
   9334   ac_status=$?
   9335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9336   (exit $ac_status); }; } &&
   9337 	 { ac_try='test -s conftest.$ac_objext'
   9338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9339   (eval $ac_try) 2>&5
   9340   ac_status=$?
   9341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9342   (exit $ac_status); }; }; then
   9343   gt_cv_inttypes_pri_broken=no
   9344 else
   9345   echo "$as_me: failed program was:" >&5
   9346 sed 's/^/| /' conftest.$ac_ext >&5
   9347 
   9348 gt_cv_inttypes_pri_broken=yes
   9349 fi
   9350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9351 
   9352 fi
   9353 echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
   9354 echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
   9355   fi
   9356   if test "$gt_cv_inttypes_pri_broken" = yes; then
   9357 
   9358 cat >>confdefs.h <<_ACEOF
   9359 #define PRI_MACROS_BROKEN 1
   9360 _ACEOF
   9361 
   9362   fi
   9363 
   9364 
   9365 
   9366 for ac_header in stdint.h
   9367 do
   9368 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   9369 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9370   echo "$as_me:$LINENO: checking for $ac_header" >&5
   9371 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   9372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9373   echo $ECHO_N "(cached) $ECHO_C" >&6
   9374 fi
   9375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   9376 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   9377 else
   9378   # Is the header compilable?
   9379 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   9380 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   9381 cat >conftest.$ac_ext <<_ACEOF
   9382 /* confdefs.h.  */
   9383 _ACEOF
   9384 cat confdefs.h >>conftest.$ac_ext
   9385 cat >>conftest.$ac_ext <<_ACEOF
   9386 /* end confdefs.h.  */
   9387 $ac_includes_default
   9388 #include <$ac_header>
   9389 _ACEOF
   9390 rm -f conftest.$ac_objext
   9391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9392   (eval $ac_compile) 2>conftest.er1
   9393   ac_status=$?
   9394   grep -v '^ *+' conftest.er1 >conftest.err
   9395   rm -f conftest.er1
   9396   cat conftest.err >&5
   9397   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9398   (exit $ac_status); } &&
   9399 	 { ac_try='test -z "$ac_c_werror_flag"
   9400 			 || test ! -s conftest.err'
   9401   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9402   (eval $ac_try) 2>&5
   9403   ac_status=$?
   9404   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9405   (exit $ac_status); }; } &&
   9406 	 { ac_try='test -s conftest.$ac_objext'
   9407   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9408   (eval $ac_try) 2>&5
   9409   ac_status=$?
   9410   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9411   (exit $ac_status); }; }; then
   9412   ac_header_compiler=yes
   9413 else
   9414   echo "$as_me: failed program was:" >&5
   9415 sed 's/^/| /' conftest.$ac_ext >&5
   9416 
   9417 ac_header_compiler=no
   9418 fi
   9419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9420 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   9421 echo "${ECHO_T}$ac_header_compiler" >&6
   9422 
   9423 # Is the header present?
   9424 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   9425 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   9426 cat >conftest.$ac_ext <<_ACEOF
   9427 /* confdefs.h.  */
   9428 _ACEOF
   9429 cat confdefs.h >>conftest.$ac_ext
   9430 cat >>conftest.$ac_ext <<_ACEOF
   9431 /* end confdefs.h.  */
   9432 #include <$ac_header>
   9433 _ACEOF
   9434 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   9435   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   9436   ac_status=$?
   9437   grep -v '^ *+' conftest.er1 >conftest.err
   9438   rm -f conftest.er1
   9439   cat conftest.err >&5
   9440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9441   (exit $ac_status); } >/dev/null; then
   9442   if test -s conftest.err; then
   9443     ac_cpp_err=$ac_c_preproc_warn_flag
   9444     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   9445   else
   9446     ac_cpp_err=
   9447   fi
   9448 else
   9449   ac_cpp_err=yes
   9450 fi
   9451 if test -z "$ac_cpp_err"; then
   9452   ac_header_preproc=yes
   9453 else
   9454   echo "$as_me: failed program was:" >&5
   9455 sed 's/^/| /' conftest.$ac_ext >&5
   9456 
   9457   ac_header_preproc=no
   9458 fi
   9459 rm -f conftest.err conftest.$ac_ext
   9460 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   9461 echo "${ECHO_T}$ac_header_preproc" >&6
   9462 
   9463 # So?  What about this header?
   9464 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   9465   yes:no: )
   9466     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   9467 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   9468     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   9469 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   9470     ac_header_preproc=yes
   9471     ;;
   9472   no:yes:* )
   9473     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   9474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   9475     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   9476 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   9477     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   9478 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   9479     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   9480 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   9481     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   9482 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   9483     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   9484 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   9485     (
   9486       cat <<\_ASBOX
   9487 ## -------------------------------------- ##
   9488 ## Report this to the GNU Texinfo lists.  ##
   9489 ## -------------------------------------- ##
   9490 _ASBOX
   9491     ) |
   9492       sed "s/^/$as_me: WARNING:     /" >&2
   9493     ;;
   9494 esac
   9495 echo "$as_me:$LINENO: checking for $ac_header" >&5
   9496 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   9497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   9498   echo $ECHO_N "(cached) $ECHO_C" >&6
   9499 else
   9500   eval "$as_ac_Header=\$ac_header_preproc"
   9501 fi
   9502 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   9503 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   9504 
   9505 fi
   9506 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   9507   cat >>confdefs.h <<_ACEOF
   9508 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   9509 _ACEOF
   9510 
   9511 fi
   9512 
   9513 done
   9514 
   9515     echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
   9516 echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
   9517   result=
   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 
   9525 #include <limits.h>
   9526 #if HAVE_STDINT_H
   9527 #include <stdint.h>
   9528 #endif
   9529 #ifdef SIZE_MAX
   9530 Found it
   9531 #endif
   9532 
   9533 _ACEOF
   9534 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   9535   $EGREP "Found it" >/dev/null 2>&1; then
   9536   result=yes
   9537 fi
   9538 rm -f conftest*
   9539 
   9540   if test -z "$result"; then
   9541                     if test "$cross_compiling" = yes; then
   9542   # Depending upon the size, compute the lo and hi bounds.
   9543 cat >conftest.$ac_ext <<_ACEOF
   9544 /* confdefs.h.  */
   9545 _ACEOF
   9546 cat confdefs.h >>conftest.$ac_ext
   9547 cat >>conftest.$ac_ext <<_ACEOF
   9548 /* end confdefs.h.  */
   9549 #include <stddef.h>
   9550 int
   9551 main ()
   9552 {
   9553 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
   9554 test_array [0] = 0
   9555 
   9556   ;
   9557   return 0;
   9558 }
   9559 _ACEOF
   9560 rm -f conftest.$ac_objext
   9561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9562   (eval $ac_compile) 2>conftest.er1
   9563   ac_status=$?
   9564   grep -v '^ *+' conftest.er1 >conftest.err
   9565   rm -f conftest.er1
   9566   cat conftest.err >&5
   9567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9568   (exit $ac_status); } &&
   9569 	 { ac_try='test -z "$ac_c_werror_flag"
   9570 			 || test ! -s conftest.err'
   9571   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9572   (eval $ac_try) 2>&5
   9573   ac_status=$?
   9574   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9575   (exit $ac_status); }; } &&
   9576 	 { ac_try='test -s conftest.$ac_objext'
   9577   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9578   (eval $ac_try) 2>&5
   9579   ac_status=$?
   9580   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9581   (exit $ac_status); }; }; then
   9582   ac_lo=0 ac_mid=0
   9583   while :; do
   9584     cat >conftest.$ac_ext <<_ACEOF
   9585 /* confdefs.h.  */
   9586 _ACEOF
   9587 cat confdefs.h >>conftest.$ac_ext
   9588 cat >>conftest.$ac_ext <<_ACEOF
   9589 /* end confdefs.h.  */
   9590 #include <stddef.h>
   9591 int
   9592 main ()
   9593 {
   9594 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
   9595 test_array [0] = 0
   9596 
   9597   ;
   9598   return 0;
   9599 }
   9600 _ACEOF
   9601 rm -f conftest.$ac_objext
   9602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9603   (eval $ac_compile) 2>conftest.er1
   9604   ac_status=$?
   9605   grep -v '^ *+' conftest.er1 >conftest.err
   9606   rm -f conftest.er1
   9607   cat conftest.err >&5
   9608   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9609   (exit $ac_status); } &&
   9610 	 { ac_try='test -z "$ac_c_werror_flag"
   9611 			 || test ! -s conftest.err'
   9612   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9613   (eval $ac_try) 2>&5
   9614   ac_status=$?
   9615   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9616   (exit $ac_status); }; } &&
   9617 	 { ac_try='test -s conftest.$ac_objext'
   9618   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9619   (eval $ac_try) 2>&5
   9620   ac_status=$?
   9621   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9622   (exit $ac_status); }; }; then
   9623   ac_hi=$ac_mid; break
   9624 else
   9625   echo "$as_me: failed program was:" >&5
   9626 sed 's/^/| /' conftest.$ac_ext >&5
   9627 
   9628 ac_lo=`expr $ac_mid + 1`
   9629 		    if test $ac_lo -le $ac_mid; then
   9630 		      ac_lo= ac_hi=
   9631 		      break
   9632 		    fi
   9633 		    ac_mid=`expr 2 '*' $ac_mid + 1`
   9634 fi
   9635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9636   done
   9637 else
   9638   echo "$as_me: failed program was:" >&5
   9639 sed 's/^/| /' conftest.$ac_ext >&5
   9640 
   9641 cat >conftest.$ac_ext <<_ACEOF
   9642 /* confdefs.h.  */
   9643 _ACEOF
   9644 cat confdefs.h >>conftest.$ac_ext
   9645 cat >>conftest.$ac_ext <<_ACEOF
   9646 /* end confdefs.h.  */
   9647 #include <stddef.h>
   9648 int
   9649 main ()
   9650 {
   9651 static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
   9652 test_array [0] = 0
   9653 
   9654   ;
   9655   return 0;
   9656 }
   9657 _ACEOF
   9658 rm -f conftest.$ac_objext
   9659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9660   (eval $ac_compile) 2>conftest.er1
   9661   ac_status=$?
   9662   grep -v '^ *+' conftest.er1 >conftest.err
   9663   rm -f conftest.er1
   9664   cat conftest.err >&5
   9665   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9666   (exit $ac_status); } &&
   9667 	 { ac_try='test -z "$ac_c_werror_flag"
   9668 			 || test ! -s conftest.err'
   9669   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9670   (eval $ac_try) 2>&5
   9671   ac_status=$?
   9672   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9673   (exit $ac_status); }; } &&
   9674 	 { ac_try='test -s conftest.$ac_objext'
   9675   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9676   (eval $ac_try) 2>&5
   9677   ac_status=$?
   9678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9679   (exit $ac_status); }; }; then
   9680   ac_hi=-1 ac_mid=-1
   9681   while :; do
   9682     cat >conftest.$ac_ext <<_ACEOF
   9683 /* confdefs.h.  */
   9684 _ACEOF
   9685 cat confdefs.h >>conftest.$ac_ext
   9686 cat >>conftest.$ac_ext <<_ACEOF
   9687 /* end confdefs.h.  */
   9688 #include <stddef.h>
   9689 int
   9690 main ()
   9691 {
   9692 static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
   9693 test_array [0] = 0
   9694 
   9695   ;
   9696   return 0;
   9697 }
   9698 _ACEOF
   9699 rm -f conftest.$ac_objext
   9700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9701   (eval $ac_compile) 2>conftest.er1
   9702   ac_status=$?
   9703   grep -v '^ *+' conftest.er1 >conftest.err
   9704   rm -f conftest.er1
   9705   cat conftest.err >&5
   9706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9707   (exit $ac_status); } &&
   9708 	 { ac_try='test -z "$ac_c_werror_flag"
   9709 			 || test ! -s conftest.err'
   9710   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9711   (eval $ac_try) 2>&5
   9712   ac_status=$?
   9713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9714   (exit $ac_status); }; } &&
   9715 	 { ac_try='test -s conftest.$ac_objext'
   9716   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9717   (eval $ac_try) 2>&5
   9718   ac_status=$?
   9719   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9720   (exit $ac_status); }; }; then
   9721   ac_lo=$ac_mid; break
   9722 else
   9723   echo "$as_me: failed program was:" >&5
   9724 sed 's/^/| /' conftest.$ac_ext >&5
   9725 
   9726 ac_hi=`expr '(' $ac_mid ')' - 1`
   9727 		       if test $ac_mid -le $ac_hi; then
   9728 			 ac_lo= ac_hi=
   9729 			 break
   9730 		       fi
   9731 		       ac_mid=`expr 2 '*' $ac_mid`
   9732 fi
   9733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9734   done
   9735 else
   9736   echo "$as_me: failed program was:" >&5
   9737 sed 's/^/| /' conftest.$ac_ext >&5
   9738 
   9739 ac_lo= ac_hi=
   9740 fi
   9741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9742 fi
   9743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9744 # Binary search between lo and hi bounds.
   9745 while test "x$ac_lo" != "x$ac_hi"; do
   9746   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   9747   cat >conftest.$ac_ext <<_ACEOF
   9748 /* confdefs.h.  */
   9749 _ACEOF
   9750 cat confdefs.h >>conftest.$ac_ext
   9751 cat >>conftest.$ac_ext <<_ACEOF
   9752 /* end confdefs.h.  */
   9753 #include <stddef.h>
   9754 int
   9755 main ()
   9756 {
   9757 static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
   9758 test_array [0] = 0
   9759 
   9760   ;
   9761   return 0;
   9762 }
   9763 _ACEOF
   9764 rm -f conftest.$ac_objext
   9765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9766   (eval $ac_compile) 2>conftest.er1
   9767   ac_status=$?
   9768   grep -v '^ *+' conftest.er1 >conftest.err
   9769   rm -f conftest.er1
   9770   cat conftest.err >&5
   9771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9772   (exit $ac_status); } &&
   9773 	 { ac_try='test -z "$ac_c_werror_flag"
   9774 			 || test ! -s conftest.err'
   9775   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9776   (eval $ac_try) 2>&5
   9777   ac_status=$?
   9778   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9779   (exit $ac_status); }; } &&
   9780 	 { ac_try='test -s conftest.$ac_objext'
   9781   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9782   (eval $ac_try) 2>&5
   9783   ac_status=$?
   9784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9785   (exit $ac_status); }; }; then
   9786   ac_hi=$ac_mid
   9787 else
   9788   echo "$as_me: failed program was:" >&5
   9789 sed 's/^/| /' conftest.$ac_ext >&5
   9790 
   9791 ac_lo=`expr '(' $ac_mid ')' + 1`
   9792 fi
   9793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9794 done
   9795 case $ac_lo in
   9796 ?*) res_hi=$ac_lo;;
   9797 '') result=? ;;
   9798 esac
   9799 else
   9800   if test "$cross_compiling" = yes; then
   9801   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   9802 See \`config.log' for more details." >&5
   9803 echo "$as_me: error: cannot run test program while cross compiling
   9804 See \`config.log' for more details." >&2;}
   9805    { (exit 1); exit 1; }; }
   9806 else
   9807   cat >conftest.$ac_ext <<_ACEOF
   9808 /* confdefs.h.  */
   9809 _ACEOF
   9810 cat confdefs.h >>conftest.$ac_ext
   9811 cat >>conftest.$ac_ext <<_ACEOF
   9812 /* end confdefs.h.  */
   9813 #include <stddef.h>
   9814 long longval () { return ~(size_t)0 / 10; }
   9815 unsigned long ulongval () { return ~(size_t)0 / 10; }
   9816 #include <stdio.h>
   9817 #include <stdlib.h>
   9818 int
   9819 main ()
   9820 {
   9821 
   9822   FILE *f = fopen ("conftest.val", "w");
   9823   if (! f)
   9824     exit (1);
   9825   if ((~(size_t)0 / 10) < 0)
   9826     {
   9827       long i = longval ();
   9828       if (i != (~(size_t)0 / 10))
   9829 	exit (1);
   9830       fprintf (f, "%ld\n", i);
   9831     }
   9832   else
   9833     {
   9834       unsigned long i = ulongval ();
   9835       if (i != (~(size_t)0 / 10))
   9836 	exit (1);
   9837       fprintf (f, "%lu\n", i);
   9838     }
   9839   exit (ferror (f) || fclose (f) != 0);
   9840 
   9841   ;
   9842   return 0;
   9843 }
   9844 _ACEOF
   9845 rm -f conftest$ac_exeext
   9846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9847   (eval $ac_link) 2>&5
   9848   ac_status=$?
   9849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9850   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   9851   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9852   (eval $ac_try) 2>&5
   9853   ac_status=$?
   9854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9855   (exit $ac_status); }; }; then
   9856   res_hi=`cat conftest.val`
   9857 else
   9858   echo "$as_me: program exited with status $ac_status" >&5
   9859 echo "$as_me: failed program was:" >&5
   9860 sed 's/^/| /' conftest.$ac_ext >&5
   9861 
   9862 ( exit $ac_status )
   9863 result=?
   9864 fi
   9865 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   9866 fi
   9867 fi
   9868 rm -f conftest.val
   9869     if test "$cross_compiling" = yes; then
   9870   # Depending upon the size, compute the lo and hi bounds.
   9871 cat >conftest.$ac_ext <<_ACEOF
   9872 /* confdefs.h.  */
   9873 _ACEOF
   9874 cat confdefs.h >>conftest.$ac_ext
   9875 cat >>conftest.$ac_ext <<_ACEOF
   9876 /* end confdefs.h.  */
   9877 #include <stddef.h>
   9878 int
   9879 main ()
   9880 {
   9881 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
   9882 test_array [0] = 0
   9883 
   9884   ;
   9885   return 0;
   9886 }
   9887 _ACEOF
   9888 rm -f conftest.$ac_objext
   9889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9890   (eval $ac_compile) 2>conftest.er1
   9891   ac_status=$?
   9892   grep -v '^ *+' conftest.er1 >conftest.err
   9893   rm -f conftest.er1
   9894   cat conftest.err >&5
   9895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9896   (exit $ac_status); } &&
   9897 	 { ac_try='test -z "$ac_c_werror_flag"
   9898 			 || test ! -s conftest.err'
   9899   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9900   (eval $ac_try) 2>&5
   9901   ac_status=$?
   9902   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9903   (exit $ac_status); }; } &&
   9904 	 { ac_try='test -s conftest.$ac_objext'
   9905   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9906   (eval $ac_try) 2>&5
   9907   ac_status=$?
   9908   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9909   (exit $ac_status); }; }; then
   9910   ac_lo=0 ac_mid=0
   9911   while :; do
   9912     cat >conftest.$ac_ext <<_ACEOF
   9913 /* confdefs.h.  */
   9914 _ACEOF
   9915 cat confdefs.h >>conftest.$ac_ext
   9916 cat >>conftest.$ac_ext <<_ACEOF
   9917 /* end confdefs.h.  */
   9918 #include <stddef.h>
   9919 int
   9920 main ()
   9921 {
   9922 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
   9923 test_array [0] = 0
   9924 
   9925   ;
   9926   return 0;
   9927 }
   9928 _ACEOF
   9929 rm -f conftest.$ac_objext
   9930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9931   (eval $ac_compile) 2>conftest.er1
   9932   ac_status=$?
   9933   grep -v '^ *+' conftest.er1 >conftest.err
   9934   rm -f conftest.er1
   9935   cat conftest.err >&5
   9936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9937   (exit $ac_status); } &&
   9938 	 { ac_try='test -z "$ac_c_werror_flag"
   9939 			 || test ! -s conftest.err'
   9940   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9941   (eval $ac_try) 2>&5
   9942   ac_status=$?
   9943   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9944   (exit $ac_status); }; } &&
   9945 	 { ac_try='test -s conftest.$ac_objext'
   9946   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9947   (eval $ac_try) 2>&5
   9948   ac_status=$?
   9949   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9950   (exit $ac_status); }; }; then
   9951   ac_hi=$ac_mid; break
   9952 else
   9953   echo "$as_me: failed program was:" >&5
   9954 sed 's/^/| /' conftest.$ac_ext >&5
   9955 
   9956 ac_lo=`expr $ac_mid + 1`
   9957 		    if test $ac_lo -le $ac_mid; then
   9958 		      ac_lo= ac_hi=
   9959 		      break
   9960 		    fi
   9961 		    ac_mid=`expr 2 '*' $ac_mid + 1`
   9962 fi
   9963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   9964   done
   9965 else
   9966   echo "$as_me: failed program was:" >&5
   9967 sed 's/^/| /' conftest.$ac_ext >&5
   9968 
   9969 cat >conftest.$ac_ext <<_ACEOF
   9970 /* confdefs.h.  */
   9971 _ACEOF
   9972 cat confdefs.h >>conftest.$ac_ext
   9973 cat >>conftest.$ac_ext <<_ACEOF
   9974 /* end confdefs.h.  */
   9975 #include <stddef.h>
   9976 int
   9977 main ()
   9978 {
   9979 static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
   9980 test_array [0] = 0
   9981 
   9982   ;
   9983   return 0;
   9984 }
   9985 _ACEOF
   9986 rm -f conftest.$ac_objext
   9987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   9988   (eval $ac_compile) 2>conftest.er1
   9989   ac_status=$?
   9990   grep -v '^ *+' conftest.er1 >conftest.err
   9991   rm -f conftest.er1
   9992   cat conftest.err >&5
   9993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9994   (exit $ac_status); } &&
   9995 	 { ac_try='test -z "$ac_c_werror_flag"
   9996 			 || test ! -s conftest.err'
   9997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9998   (eval $ac_try) 2>&5
   9999   ac_status=$?
   10000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10001   (exit $ac_status); }; } &&
   10002 	 { ac_try='test -s conftest.$ac_objext'
   10003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10004   (eval $ac_try) 2>&5
   10005   ac_status=$?
   10006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10007   (exit $ac_status); }; }; then
   10008   ac_hi=-1 ac_mid=-1
   10009   while :; do
   10010     cat >conftest.$ac_ext <<_ACEOF
   10011 /* confdefs.h.  */
   10012 _ACEOF
   10013 cat confdefs.h >>conftest.$ac_ext
   10014 cat >>conftest.$ac_ext <<_ACEOF
   10015 /* end confdefs.h.  */
   10016 #include <stddef.h>
   10017 int
   10018 main ()
   10019 {
   10020 static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
   10021 test_array [0] = 0
   10022 
   10023   ;
   10024   return 0;
   10025 }
   10026 _ACEOF
   10027 rm -f conftest.$ac_objext
   10028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10029   (eval $ac_compile) 2>conftest.er1
   10030   ac_status=$?
   10031   grep -v '^ *+' conftest.er1 >conftest.err
   10032   rm -f conftest.er1
   10033   cat conftest.err >&5
   10034   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10035   (exit $ac_status); } &&
   10036 	 { ac_try='test -z "$ac_c_werror_flag"
   10037 			 || test ! -s conftest.err'
   10038   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10039   (eval $ac_try) 2>&5
   10040   ac_status=$?
   10041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10042   (exit $ac_status); }; } &&
   10043 	 { ac_try='test -s conftest.$ac_objext'
   10044   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10045   (eval $ac_try) 2>&5
   10046   ac_status=$?
   10047   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10048   (exit $ac_status); }; }; then
   10049   ac_lo=$ac_mid; break
   10050 else
   10051   echo "$as_me: failed program was:" >&5
   10052 sed 's/^/| /' conftest.$ac_ext >&5
   10053 
   10054 ac_hi=`expr '(' $ac_mid ')' - 1`
   10055 		       if test $ac_mid -le $ac_hi; then
   10056 			 ac_lo= ac_hi=
   10057 			 break
   10058 		       fi
   10059 		       ac_mid=`expr 2 '*' $ac_mid`
   10060 fi
   10061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10062   done
   10063 else
   10064   echo "$as_me: failed program was:" >&5
   10065 sed 's/^/| /' conftest.$ac_ext >&5
   10066 
   10067 ac_lo= ac_hi=
   10068 fi
   10069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10070 fi
   10071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10072 # Binary search between lo and hi bounds.
   10073 while test "x$ac_lo" != "x$ac_hi"; do
   10074   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   10075   cat >conftest.$ac_ext <<_ACEOF
   10076 /* confdefs.h.  */
   10077 _ACEOF
   10078 cat confdefs.h >>conftest.$ac_ext
   10079 cat >>conftest.$ac_ext <<_ACEOF
   10080 /* end confdefs.h.  */
   10081 #include <stddef.h>
   10082 int
   10083 main ()
   10084 {
   10085 static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
   10086 test_array [0] = 0
   10087 
   10088   ;
   10089   return 0;
   10090 }
   10091 _ACEOF
   10092 rm -f conftest.$ac_objext
   10093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10094   (eval $ac_compile) 2>conftest.er1
   10095   ac_status=$?
   10096   grep -v '^ *+' conftest.er1 >conftest.err
   10097   rm -f conftest.er1
   10098   cat conftest.err >&5
   10099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10100   (exit $ac_status); } &&
   10101 	 { ac_try='test -z "$ac_c_werror_flag"
   10102 			 || test ! -s conftest.err'
   10103   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10104   (eval $ac_try) 2>&5
   10105   ac_status=$?
   10106   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10107   (exit $ac_status); }; } &&
   10108 	 { ac_try='test -s conftest.$ac_objext'
   10109   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10110   (eval $ac_try) 2>&5
   10111   ac_status=$?
   10112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10113   (exit $ac_status); }; }; then
   10114   ac_hi=$ac_mid
   10115 else
   10116   echo "$as_me: failed program was:" >&5
   10117 sed 's/^/| /' conftest.$ac_ext >&5
   10118 
   10119 ac_lo=`expr '(' $ac_mid ')' + 1`
   10120 fi
   10121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10122 done
   10123 case $ac_lo in
   10124 ?*) res_lo=$ac_lo;;
   10125 '') result=? ;;
   10126 esac
   10127 else
   10128   if test "$cross_compiling" = yes; then
   10129   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   10130 See \`config.log' for more details." >&5
   10131 echo "$as_me: error: cannot run test program while cross compiling
   10132 See \`config.log' for more details." >&2;}
   10133    { (exit 1); exit 1; }; }
   10134 else
   10135   cat >conftest.$ac_ext <<_ACEOF
   10136 /* confdefs.h.  */
   10137 _ACEOF
   10138 cat confdefs.h >>conftest.$ac_ext
   10139 cat >>conftest.$ac_ext <<_ACEOF
   10140 /* end confdefs.h.  */
   10141 #include <stddef.h>
   10142 long longval () { return ~(size_t)0 % 10; }
   10143 unsigned long ulongval () { return ~(size_t)0 % 10; }
   10144 #include <stdio.h>
   10145 #include <stdlib.h>
   10146 int
   10147 main ()
   10148 {
   10149 
   10150   FILE *f = fopen ("conftest.val", "w");
   10151   if (! f)
   10152     exit (1);
   10153   if ((~(size_t)0 % 10) < 0)
   10154     {
   10155       long i = longval ();
   10156       if (i != (~(size_t)0 % 10))
   10157 	exit (1);
   10158       fprintf (f, "%ld\n", i);
   10159     }
   10160   else
   10161     {
   10162       unsigned long i = ulongval ();
   10163       if (i != (~(size_t)0 % 10))
   10164 	exit (1);
   10165       fprintf (f, "%lu\n", i);
   10166     }
   10167   exit (ferror (f) || fclose (f) != 0);
   10168 
   10169   ;
   10170   return 0;
   10171 }
   10172 _ACEOF
   10173 rm -f conftest$ac_exeext
   10174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10175   (eval $ac_link) 2>&5
   10176   ac_status=$?
   10177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10178   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   10179   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10180   (eval $ac_try) 2>&5
   10181   ac_status=$?
   10182   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10183   (exit $ac_status); }; }; then
   10184   res_lo=`cat conftest.val`
   10185 else
   10186   echo "$as_me: program exited with status $ac_status" >&5
   10187 echo "$as_me: failed program was:" >&5
   10188 sed 's/^/| /' conftest.$ac_ext >&5
   10189 
   10190 ( exit $ac_status )
   10191 result=?
   10192 fi
   10193 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   10194 fi
   10195 fi
   10196 rm -f conftest.val
   10197     if test "$cross_compiling" = yes; then
   10198   # Depending upon the size, compute the lo and hi bounds.
   10199 cat >conftest.$ac_ext <<_ACEOF
   10200 /* confdefs.h.  */
   10201 _ACEOF
   10202 cat confdefs.h >>conftest.$ac_ext
   10203 cat >>conftest.$ac_ext <<_ACEOF
   10204 /* end confdefs.h.  */
   10205 #include <stddef.h>
   10206 int
   10207 main ()
   10208 {
   10209 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
   10210 test_array [0] = 0
   10211 
   10212   ;
   10213   return 0;
   10214 }
   10215 _ACEOF
   10216 rm -f conftest.$ac_objext
   10217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10218   (eval $ac_compile) 2>conftest.er1
   10219   ac_status=$?
   10220   grep -v '^ *+' conftest.er1 >conftest.err
   10221   rm -f conftest.er1
   10222   cat conftest.err >&5
   10223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10224   (exit $ac_status); } &&
   10225 	 { ac_try='test -z "$ac_c_werror_flag"
   10226 			 || test ! -s conftest.err'
   10227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10228   (eval $ac_try) 2>&5
   10229   ac_status=$?
   10230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10231   (exit $ac_status); }; } &&
   10232 	 { ac_try='test -s conftest.$ac_objext'
   10233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10234   (eval $ac_try) 2>&5
   10235   ac_status=$?
   10236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10237   (exit $ac_status); }; }; then
   10238   ac_lo=0 ac_mid=0
   10239   while :; do
   10240     cat >conftest.$ac_ext <<_ACEOF
   10241 /* confdefs.h.  */
   10242 _ACEOF
   10243 cat confdefs.h >>conftest.$ac_ext
   10244 cat >>conftest.$ac_ext <<_ACEOF
   10245 /* end confdefs.h.  */
   10246 #include <stddef.h>
   10247 int
   10248 main ()
   10249 {
   10250 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
   10251 test_array [0] = 0
   10252 
   10253   ;
   10254   return 0;
   10255 }
   10256 _ACEOF
   10257 rm -f conftest.$ac_objext
   10258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10259   (eval $ac_compile) 2>conftest.er1
   10260   ac_status=$?
   10261   grep -v '^ *+' conftest.er1 >conftest.err
   10262   rm -f conftest.er1
   10263   cat conftest.err >&5
   10264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10265   (exit $ac_status); } &&
   10266 	 { ac_try='test -z "$ac_c_werror_flag"
   10267 			 || test ! -s conftest.err'
   10268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10269   (eval $ac_try) 2>&5
   10270   ac_status=$?
   10271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10272   (exit $ac_status); }; } &&
   10273 	 { ac_try='test -s conftest.$ac_objext'
   10274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10275   (eval $ac_try) 2>&5
   10276   ac_status=$?
   10277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10278   (exit $ac_status); }; }; then
   10279   ac_hi=$ac_mid; break
   10280 else
   10281   echo "$as_me: failed program was:" >&5
   10282 sed 's/^/| /' conftest.$ac_ext >&5
   10283 
   10284 ac_lo=`expr $ac_mid + 1`
   10285 		    if test $ac_lo -le $ac_mid; then
   10286 		      ac_lo= ac_hi=
   10287 		      break
   10288 		    fi
   10289 		    ac_mid=`expr 2 '*' $ac_mid + 1`
   10290 fi
   10291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10292   done
   10293 else
   10294   echo "$as_me: failed program was:" >&5
   10295 sed 's/^/| /' conftest.$ac_ext >&5
   10296 
   10297 cat >conftest.$ac_ext <<_ACEOF
   10298 /* confdefs.h.  */
   10299 _ACEOF
   10300 cat confdefs.h >>conftest.$ac_ext
   10301 cat >>conftest.$ac_ext <<_ACEOF
   10302 /* end confdefs.h.  */
   10303 #include <stddef.h>
   10304 int
   10305 main ()
   10306 {
   10307 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
   10308 test_array [0] = 0
   10309 
   10310   ;
   10311   return 0;
   10312 }
   10313 _ACEOF
   10314 rm -f conftest.$ac_objext
   10315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10316   (eval $ac_compile) 2>conftest.er1
   10317   ac_status=$?
   10318   grep -v '^ *+' conftest.er1 >conftest.err
   10319   rm -f conftest.er1
   10320   cat conftest.err >&5
   10321   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10322   (exit $ac_status); } &&
   10323 	 { ac_try='test -z "$ac_c_werror_flag"
   10324 			 || test ! -s conftest.err'
   10325   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10326   (eval $ac_try) 2>&5
   10327   ac_status=$?
   10328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10329   (exit $ac_status); }; } &&
   10330 	 { ac_try='test -s conftest.$ac_objext'
   10331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10332   (eval $ac_try) 2>&5
   10333   ac_status=$?
   10334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10335   (exit $ac_status); }; }; then
   10336   ac_hi=-1 ac_mid=-1
   10337   while :; do
   10338     cat >conftest.$ac_ext <<_ACEOF
   10339 /* confdefs.h.  */
   10340 _ACEOF
   10341 cat confdefs.h >>conftest.$ac_ext
   10342 cat >>conftest.$ac_ext <<_ACEOF
   10343 /* end confdefs.h.  */
   10344 #include <stddef.h>
   10345 int
   10346 main ()
   10347 {
   10348 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
   10349 test_array [0] = 0
   10350 
   10351   ;
   10352   return 0;
   10353 }
   10354 _ACEOF
   10355 rm -f conftest.$ac_objext
   10356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10357   (eval $ac_compile) 2>conftest.er1
   10358   ac_status=$?
   10359   grep -v '^ *+' conftest.er1 >conftest.err
   10360   rm -f conftest.er1
   10361   cat conftest.err >&5
   10362   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10363   (exit $ac_status); } &&
   10364 	 { ac_try='test -z "$ac_c_werror_flag"
   10365 			 || test ! -s conftest.err'
   10366   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10367   (eval $ac_try) 2>&5
   10368   ac_status=$?
   10369   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10370   (exit $ac_status); }; } &&
   10371 	 { ac_try='test -s conftest.$ac_objext'
   10372   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10373   (eval $ac_try) 2>&5
   10374   ac_status=$?
   10375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10376   (exit $ac_status); }; }; then
   10377   ac_lo=$ac_mid; break
   10378 else
   10379   echo "$as_me: failed program was:" >&5
   10380 sed 's/^/| /' conftest.$ac_ext >&5
   10381 
   10382 ac_hi=`expr '(' $ac_mid ')' - 1`
   10383 		       if test $ac_mid -le $ac_hi; then
   10384 			 ac_lo= ac_hi=
   10385 			 break
   10386 		       fi
   10387 		       ac_mid=`expr 2 '*' $ac_mid`
   10388 fi
   10389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10390   done
   10391 else
   10392   echo "$as_me: failed program was:" >&5
   10393 sed 's/^/| /' conftest.$ac_ext >&5
   10394 
   10395 ac_lo= ac_hi=
   10396 fi
   10397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10398 fi
   10399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10400 # Binary search between lo and hi bounds.
   10401 while test "x$ac_lo" != "x$ac_hi"; do
   10402   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   10403   cat >conftest.$ac_ext <<_ACEOF
   10404 /* confdefs.h.  */
   10405 _ACEOF
   10406 cat confdefs.h >>conftest.$ac_ext
   10407 cat >>conftest.$ac_ext <<_ACEOF
   10408 /* end confdefs.h.  */
   10409 #include <stddef.h>
   10410 int
   10411 main ()
   10412 {
   10413 static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
   10414 test_array [0] = 0
   10415 
   10416   ;
   10417   return 0;
   10418 }
   10419 _ACEOF
   10420 rm -f conftest.$ac_objext
   10421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10422   (eval $ac_compile) 2>conftest.er1
   10423   ac_status=$?
   10424   grep -v '^ *+' conftest.er1 >conftest.err
   10425   rm -f conftest.er1
   10426   cat conftest.err >&5
   10427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10428   (exit $ac_status); } &&
   10429 	 { ac_try='test -z "$ac_c_werror_flag"
   10430 			 || test ! -s conftest.err'
   10431   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10432   (eval $ac_try) 2>&5
   10433   ac_status=$?
   10434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10435   (exit $ac_status); }; } &&
   10436 	 { ac_try='test -s conftest.$ac_objext'
   10437   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10438   (eval $ac_try) 2>&5
   10439   ac_status=$?
   10440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10441   (exit $ac_status); }; }; then
   10442   ac_hi=$ac_mid
   10443 else
   10444   echo "$as_me: failed program was:" >&5
   10445 sed 's/^/| /' conftest.$ac_ext >&5
   10446 
   10447 ac_lo=`expr '(' $ac_mid ')' + 1`
   10448 fi
   10449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10450 done
   10451 case $ac_lo in
   10452 ?*) fits_in_uint=$ac_lo;;
   10453 '') result=? ;;
   10454 esac
   10455 else
   10456   if test "$cross_compiling" = yes; then
   10457   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   10458 See \`config.log' for more details." >&5
   10459 echo "$as_me: error: cannot run test program while cross compiling
   10460 See \`config.log' for more details." >&2;}
   10461    { (exit 1); exit 1; }; }
   10462 else
   10463   cat >conftest.$ac_ext <<_ACEOF
   10464 /* confdefs.h.  */
   10465 _ACEOF
   10466 cat confdefs.h >>conftest.$ac_ext
   10467 cat >>conftest.$ac_ext <<_ACEOF
   10468 /* end confdefs.h.  */
   10469 #include <stddef.h>
   10470 long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
   10471 unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
   10472 #include <stdio.h>
   10473 #include <stdlib.h>
   10474 int
   10475 main ()
   10476 {
   10477 
   10478   FILE *f = fopen ("conftest.val", "w");
   10479   if (! f)
   10480     exit (1);
   10481   if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
   10482     {
   10483       long i = longval ();
   10484       if (i != (sizeof (size_t) <= sizeof (unsigned int)))
   10485 	exit (1);
   10486       fprintf (f, "%ld\n", i);
   10487     }
   10488   else
   10489     {
   10490       unsigned long i = ulongval ();
   10491       if (i != (sizeof (size_t) <= sizeof (unsigned int)))
   10492 	exit (1);
   10493       fprintf (f, "%lu\n", i);
   10494     }
   10495   exit (ferror (f) || fclose (f) != 0);
   10496 
   10497   ;
   10498   return 0;
   10499 }
   10500 _ACEOF
   10501 rm -f conftest$ac_exeext
   10502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10503   (eval $ac_link) 2>&5
   10504   ac_status=$?
   10505   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10506   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   10507   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10508   (eval $ac_try) 2>&5
   10509   ac_status=$?
   10510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10511   (exit $ac_status); }; }; then
   10512   fits_in_uint=`cat conftest.val`
   10513 else
   10514   echo "$as_me: program exited with status $ac_status" >&5
   10515 echo "$as_me: failed program was:" >&5
   10516 sed 's/^/| /' conftest.$ac_ext >&5
   10517 
   10518 ( exit $ac_status )
   10519 result=?
   10520 fi
   10521 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   10522 fi
   10523 fi
   10524 rm -f conftest.val
   10525     if test "$fits_in_uint" = 1; then
   10526                   cat >conftest.$ac_ext <<_ACEOF
   10527 /* confdefs.h.  */
   10528 _ACEOF
   10529 cat confdefs.h >>conftest.$ac_ext
   10530 cat >>conftest.$ac_ext <<_ACEOF
   10531 /* end confdefs.h.  */
   10532 #include <stddef.h>
   10533         extern size_t foo;
   10534         extern unsigned long foo;
   10535 
   10536 int
   10537 main ()
   10538 {
   10539 
   10540   ;
   10541   return 0;
   10542 }
   10543 _ACEOF
   10544 rm -f conftest.$ac_objext
   10545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10546   (eval $ac_compile) 2>conftest.er1
   10547   ac_status=$?
   10548   grep -v '^ *+' conftest.er1 >conftest.err
   10549   rm -f conftest.er1
   10550   cat conftest.err >&5
   10551   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10552   (exit $ac_status); } &&
   10553 	 { ac_try='test -z "$ac_c_werror_flag"
   10554 			 || test ! -s conftest.err'
   10555   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10556   (eval $ac_try) 2>&5
   10557   ac_status=$?
   10558   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10559   (exit $ac_status); }; } &&
   10560 	 { ac_try='test -s conftest.$ac_objext'
   10561   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10562   (eval $ac_try) 2>&5
   10563   ac_status=$?
   10564   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10565   (exit $ac_status); }; }; then
   10566   fits_in_uint=0
   10567 else
   10568   echo "$as_me: failed program was:" >&5
   10569 sed 's/^/| /' conftest.$ac_ext >&5
   10570 
   10571 fi
   10572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10573     fi
   10574     if test -z "$result"; then
   10575       if test "$fits_in_uint" = 1; then
   10576         result="$res_hi$res_lo"U
   10577       else
   10578         result="$res_hi$res_lo"UL
   10579       fi
   10580     else
   10581             result='~(size_t)0'
   10582     fi
   10583   fi
   10584   echo "$as_me:$LINENO: result: $result" >&5
   10585 echo "${ECHO_T}$result" >&6
   10586   if test "$result" != yes; then
   10587 
   10588 cat >>confdefs.h <<_ACEOF
   10589 #define SIZE_MAX $result
   10590 _ACEOF
   10591 
   10592   fi
   10593 
   10594 
   10595 
   10596 
   10597 for ac_header in stdint.h
   10598 do
   10599 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   10600 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   10601   echo "$as_me:$LINENO: checking for $ac_header" >&5
   10602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   10603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   10604   echo $ECHO_N "(cached) $ECHO_C" >&6
   10605 fi
   10606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   10607 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   10608 else
   10609   # Is the header compilable?
   10610 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   10611 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   10612 cat >conftest.$ac_ext <<_ACEOF
   10613 /* confdefs.h.  */
   10614 _ACEOF
   10615 cat confdefs.h >>conftest.$ac_ext
   10616 cat >>conftest.$ac_ext <<_ACEOF
   10617 /* end confdefs.h.  */
   10618 $ac_includes_default
   10619 #include <$ac_header>
   10620 _ACEOF
   10621 rm -f conftest.$ac_objext
   10622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   10623   (eval $ac_compile) 2>conftest.er1
   10624   ac_status=$?
   10625   grep -v '^ *+' conftest.er1 >conftest.err
   10626   rm -f conftest.er1
   10627   cat conftest.err >&5
   10628   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10629   (exit $ac_status); } &&
   10630 	 { ac_try='test -z "$ac_c_werror_flag"
   10631 			 || test ! -s conftest.err'
   10632   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10633   (eval $ac_try) 2>&5
   10634   ac_status=$?
   10635   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10636   (exit $ac_status); }; } &&
   10637 	 { ac_try='test -s conftest.$ac_objext'
   10638   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10639   (eval $ac_try) 2>&5
   10640   ac_status=$?
   10641   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10642   (exit $ac_status); }; }; then
   10643   ac_header_compiler=yes
   10644 else
   10645   echo "$as_me: failed program was:" >&5
   10646 sed 's/^/| /' conftest.$ac_ext >&5
   10647 
   10648 ac_header_compiler=no
   10649 fi
   10650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   10651 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   10652 echo "${ECHO_T}$ac_header_compiler" >&6
   10653 
   10654 # Is the header present?
   10655 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   10656 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   10657 cat >conftest.$ac_ext <<_ACEOF
   10658 /* confdefs.h.  */
   10659 _ACEOF
   10660 cat confdefs.h >>conftest.$ac_ext
   10661 cat >>conftest.$ac_ext <<_ACEOF
   10662 /* end confdefs.h.  */
   10663 #include <$ac_header>
   10664 _ACEOF
   10665 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   10666   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   10667   ac_status=$?
   10668   grep -v '^ *+' conftest.er1 >conftest.err
   10669   rm -f conftest.er1
   10670   cat conftest.err >&5
   10671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10672   (exit $ac_status); } >/dev/null; then
   10673   if test -s conftest.err; then
   10674     ac_cpp_err=$ac_c_preproc_warn_flag
   10675     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   10676   else
   10677     ac_cpp_err=
   10678   fi
   10679 else
   10680   ac_cpp_err=yes
   10681 fi
   10682 if test -z "$ac_cpp_err"; then
   10683   ac_header_preproc=yes
   10684 else
   10685   echo "$as_me: failed program was:" >&5
   10686 sed 's/^/| /' conftest.$ac_ext >&5
   10687 
   10688   ac_header_preproc=no
   10689 fi
   10690 rm -f conftest.err conftest.$ac_ext
   10691 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   10692 echo "${ECHO_T}$ac_header_preproc" >&6
   10693 
   10694 # So?  What about this header?
   10695 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   10696   yes:no: )
   10697     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   10698 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   10699     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   10700 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   10701     ac_header_preproc=yes
   10702     ;;
   10703   no:yes:* )
   10704     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   10705 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   10706     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   10707 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   10708     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   10709 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   10710     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   10711 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   10712     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   10713 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   10714     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   10715 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   10716     (
   10717       cat <<\_ASBOX
   10718 ## -------------------------------------- ##
   10719 ## Report this to the GNU Texinfo lists.  ##
   10720 ## -------------------------------------- ##
   10721 _ASBOX
   10722     ) |
   10723       sed "s/^/$as_me: WARNING:     /" >&2
   10724     ;;
   10725 esac
   10726 echo "$as_me:$LINENO: checking for $ac_header" >&5
   10727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   10728 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   10729   echo $ECHO_N "(cached) $ECHO_C" >&6
   10730 else
   10731   eval "$as_ac_Header=\$ac_header_preproc"
   10732 fi
   10733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   10734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   10735 
   10736 fi
   10737 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   10738   cat >>confdefs.h <<_ACEOF
   10739 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   10740 _ACEOF
   10741 
   10742 fi
   10743 
   10744 done
   10745 
   10746 
   10747 
   10748       if test "X$prefix" = "XNONE"; then
   10749     acl_final_prefix="$ac_default_prefix"
   10750   else
   10751     acl_final_prefix="$prefix"
   10752   fi
   10753   if test "X$exec_prefix" = "XNONE"; then
   10754     acl_final_exec_prefix='${prefix}'
   10755   else
   10756     acl_final_exec_prefix="$exec_prefix"
   10757   fi
   10758   acl_save_prefix="$prefix"
   10759   prefix="$acl_final_prefix"
   10760   eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
   10761   prefix="$acl_save_prefix"
   10762 
   10763 
   10764 # Check whether --with-gnu-ld or --without-gnu-ld was given.
   10765 if test "${with_gnu_ld+set}" = set; then
   10766   withval="$with_gnu_ld"
   10767   test "$withval" = no || with_gnu_ld=yes
   10768 else
   10769   with_gnu_ld=no
   10770 fi;
   10771 # Prepare PATH_SEPARATOR.
   10772 # The user is always right.
   10773 if test "${PATH_SEPARATOR+set}" != set; then
   10774   echo "#! /bin/sh" >conf$$.sh
   10775   echo  "exit 0"   >>conf$$.sh
   10776   chmod +x conf$$.sh
   10777   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   10778     PATH_SEPARATOR=';'
   10779   else
   10780     PATH_SEPARATOR=:
   10781   fi
   10782   rm -f conf$$.sh
   10783 fi
   10784 ac_prog=ld
   10785 if test "$GCC" = yes; then
   10786   # Check if gcc -print-prog-name=ld gives a path.
   10787   echo "$as_me:$LINENO: checking for ld used by GCC" >&5
   10788 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
   10789   case $host in
   10790   *-*-mingw*)
   10791     # gcc leaves a trailing carriage return which upsets mingw
   10792     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10793   *)
   10794     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10795   esac
   10796   case $ac_prog in
   10797     # Accept absolute paths.
   10798     [\\/]* | [A-Za-z]:[\\/]*)
   10799       re_direlt='/[^/][^/]*/\.\./'
   10800       # Canonicalize the path of ld
   10801       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
   10802       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
   10803 	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
   10804       done
   10805       test -z "$LD" && LD="$ac_prog"
   10806       ;;
   10807   "")
   10808     # If it fails, then pretend we aren't using GCC.
   10809     ac_prog=ld
   10810     ;;
   10811   *)
   10812     # If it is relative, then search for the first ld in PATH.
   10813     with_gnu_ld=unknown
   10814     ;;
   10815   esac
   10816 elif test "$with_gnu_ld" = yes; then
   10817   echo "$as_me:$LINENO: checking for GNU ld" >&5
   10818 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   10819 else
   10820   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   10821 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   10822 fi
   10823 if test "${acl_cv_path_LD+set}" = set; then
   10824   echo $ECHO_N "(cached) $ECHO_C" >&6
   10825 else
   10826   if test -z "$LD"; then
   10827   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
   10828   for ac_dir in $PATH; do
   10829     test -z "$ac_dir" && ac_dir=.
   10830     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10831       acl_cv_path_LD="$ac_dir/$ac_prog"
   10832       # Check to see if the program is GNU ld.  I'd rather use --version,
   10833       # but apparently some GNU ld's only accept -v.
   10834       # Break only if it was the GNU/non-GNU ld that we prefer.
   10835       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
   10836       *GNU* | *'with BFD'*)
   10837 	test "$with_gnu_ld" != no && break ;;
   10838       *)
   10839 	test "$with_gnu_ld" != yes && break ;;
   10840       esac
   10841     fi
   10842   done
   10843   IFS="$ac_save_ifs"
   10844 else
   10845   acl_cv_path_LD="$LD" # Let the user override the test with a path.
   10846 fi
   10847 fi
   10848 
   10849 LD="$acl_cv_path_LD"
   10850 if test -n "$LD"; then
   10851   echo "$as_me:$LINENO: result: $LD" >&5
   10852 echo "${ECHO_T}$LD" >&6
   10853 else
   10854   echo "$as_me:$LINENO: result: no" >&5
   10855 echo "${ECHO_T}no" >&6
   10856 fi
   10857 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   10858 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   10859    { (exit 1); exit 1; }; }
   10860 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   10861 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   10862 if test "${acl_cv_prog_gnu_ld+set}" = set; then
   10863   echo $ECHO_N "(cached) $ECHO_C" >&6
   10864 else
   10865   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
   10866 case `$LD -v 2>&1 </dev/null` in
   10867 *GNU* | *'with BFD'*)
   10868   acl_cv_prog_gnu_ld=yes ;;
   10869 *)
   10870   acl_cv_prog_gnu_ld=no ;;
   10871 esac
   10872 fi
   10873 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
   10874 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
   10875 with_gnu_ld=$acl_cv_prog_gnu_ld
   10876 
   10877 
   10878 
   10879                                                 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
   10880 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
   10881 if test "${acl_cv_rpath+set}" = set; then
   10882   echo $ECHO_N "(cached) $ECHO_C" >&6
   10883 else
   10884 
   10885     CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
   10886     ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
   10887     . ./conftest.sh
   10888     rm -f ./conftest.sh
   10889     acl_cv_rpath=done
   10890 
   10891 fi
   10892 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
   10893 echo "${ECHO_T}$acl_cv_rpath" >&6
   10894   wl="$acl_cv_wl"
   10895   libext="$acl_cv_libext"
   10896   shlibext="$acl_cv_shlibext"
   10897   hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
   10898   hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
   10899   hardcode_direct="$acl_cv_hardcode_direct"
   10900   hardcode_minus_L="$acl_cv_hardcode_minus_L"
   10901     # Check whether --enable-rpath or --disable-rpath was given.
   10902 if test "${enable_rpath+set}" = set; then
   10903   enableval="$enable_rpath"
   10904   :
   10905 else
   10906   enable_rpath=yes
   10907 fi;
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915     use_additional=yes
   10916 
   10917   acl_save_prefix="$prefix"
   10918   prefix="$acl_final_prefix"
   10919   acl_save_exec_prefix="$exec_prefix"
   10920   exec_prefix="$acl_final_exec_prefix"
   10921 
   10922     eval additional_includedir=\"$includedir\"
   10923     eval additional_libdir=\"$libdir\"
   10924 
   10925   exec_prefix="$acl_save_exec_prefix"
   10926   prefix="$acl_save_prefix"
   10927 
   10928 
   10929 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
   10930 if test "${with_libiconv_prefix+set}" = set; then
   10931   withval="$with_libiconv_prefix"
   10932 
   10933     if test "X$withval" = "Xno"; then
   10934       use_additional=no
   10935     else
   10936       if test "X$withval" = "X"; then
   10937 
   10938   acl_save_prefix="$prefix"
   10939   prefix="$acl_final_prefix"
   10940   acl_save_exec_prefix="$exec_prefix"
   10941   exec_prefix="$acl_final_exec_prefix"
   10942 
   10943           eval additional_includedir=\"$includedir\"
   10944           eval additional_libdir=\"$libdir\"
   10945 
   10946   exec_prefix="$acl_save_exec_prefix"
   10947   prefix="$acl_save_prefix"
   10948 
   10949       else
   10950         additional_includedir="$withval/include"
   10951         additional_libdir="$withval/lib"
   10952       fi
   10953     fi
   10954 
   10955 fi;
   10956       LIBICONV=
   10957   LTLIBICONV=
   10958   INCICONV=
   10959   rpathdirs=
   10960   ltrpathdirs=
   10961   names_already_handled=
   10962   names_next_round='iconv '
   10963   while test -n "$names_next_round"; do
   10964     names_this_round="$names_next_round"
   10965     names_next_round=
   10966     for name in $names_this_round; do
   10967       already_handled=
   10968       for n in $names_already_handled; do
   10969         if test "$n" = "$name"; then
   10970           already_handled=yes
   10971           break
   10972         fi
   10973       done
   10974       if test -z "$already_handled"; then
   10975         names_already_handled="$names_already_handled $name"
   10976                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   10977         eval value=\"\$HAVE_LIB$uppername\"
   10978         if test -n "$value"; then
   10979           if test "$value" = yes; then
   10980             eval value=\"\$LIB$uppername\"
   10981             test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
   10982             eval value=\"\$LTLIB$uppername\"
   10983             test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
   10984           else
   10985                                     :
   10986           fi
   10987         else
   10988                               found_dir=
   10989           found_la=
   10990           found_so=
   10991           found_a=
   10992           if test $use_additional = yes; then
   10993             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   10994               found_dir="$additional_libdir"
   10995               found_so="$additional_libdir/lib$name.$shlibext"
   10996               if test -f "$additional_libdir/lib$name.la"; then
   10997                 found_la="$additional_libdir/lib$name.la"
   10998               fi
   10999             else
   11000               if test -f "$additional_libdir/lib$name.$libext"; then
   11001                 found_dir="$additional_libdir"
   11002                 found_a="$additional_libdir/lib$name.$libext"
   11003                 if test -f "$additional_libdir/lib$name.la"; then
   11004                   found_la="$additional_libdir/lib$name.la"
   11005                 fi
   11006               fi
   11007             fi
   11008           fi
   11009           if test "X$found_dir" = "X"; then
   11010             for x in $LDFLAGS $LTLIBICONV; do
   11011 
   11012   acl_save_prefix="$prefix"
   11013   prefix="$acl_final_prefix"
   11014   acl_save_exec_prefix="$exec_prefix"
   11015   exec_prefix="$acl_final_exec_prefix"
   11016   eval x=\"$x\"
   11017   exec_prefix="$acl_save_exec_prefix"
   11018   prefix="$acl_save_prefix"
   11019 
   11020               case "$x" in
   11021                 -L*)
   11022                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   11023                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   11024                     found_dir="$dir"
   11025                     found_so="$dir/lib$name.$shlibext"
   11026                     if test -f "$dir/lib$name.la"; then
   11027                       found_la="$dir/lib$name.la"
   11028                     fi
   11029                   else
   11030                     if test -f "$dir/lib$name.$libext"; then
   11031                       found_dir="$dir"
   11032                       found_a="$dir/lib$name.$libext"
   11033                       if test -f "$dir/lib$name.la"; then
   11034                         found_la="$dir/lib$name.la"
   11035                       fi
   11036                     fi
   11037                   fi
   11038                   ;;
   11039               esac
   11040               if test "X$found_dir" != "X"; then
   11041                 break
   11042               fi
   11043             done
   11044           fi
   11045           if test "X$found_dir" != "X"; then
   11046                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
   11047             if test "X$found_so" != "X"; then
   11048                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   11049                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11050               else
   11051                                                                                 haveit=
   11052                 for x in $ltrpathdirs; do
   11053                   if test "X$x" = "X$found_dir"; then
   11054                     haveit=yes
   11055                     break
   11056                   fi
   11057                 done
   11058                 if test -z "$haveit"; then
   11059                   ltrpathdirs="$ltrpathdirs $found_dir"
   11060                 fi
   11061                                 if test "$hardcode_direct" = yes; then
   11062                                                       LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11063                 else
   11064                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   11065                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11066                                                             haveit=
   11067                     for x in $rpathdirs; do
   11068                       if test "X$x" = "X$found_dir"; then
   11069                         haveit=yes
   11070                         break
   11071                       fi
   11072                     done
   11073                     if test -z "$haveit"; then
   11074                       rpathdirs="$rpathdirs $found_dir"
   11075                     fi
   11076                   else
   11077                                                                                 haveit=
   11078                     for x in $LDFLAGS $LIBICONV; do
   11079 
   11080   acl_save_prefix="$prefix"
   11081   prefix="$acl_final_prefix"
   11082   acl_save_exec_prefix="$exec_prefix"
   11083   exec_prefix="$acl_final_exec_prefix"
   11084   eval x=\"$x\"
   11085   exec_prefix="$acl_save_exec_prefix"
   11086   prefix="$acl_save_prefix"
   11087 
   11088                       if test "X$x" = "X-L$found_dir"; then
   11089                         haveit=yes
   11090                         break
   11091                       fi
   11092                     done
   11093                     if test -z "$haveit"; then
   11094                       LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
   11095                     fi
   11096                     if test "$hardcode_minus_L" != no; then
   11097                                                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
   11098                     else
   11099                                                                                                                                                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   11100                     fi
   11101                   fi
   11102                 fi
   11103               fi
   11104             else
   11105               if test "X$found_a" != "X"; then
   11106                                 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
   11107               else
   11108                                                 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
   11109               fi
   11110             fi
   11111                         additional_includedir=
   11112             case "$found_dir" in
   11113               */lib | */lib/)
   11114                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   11115                 additional_includedir="$basedir/include"
   11116                 ;;
   11117             esac
   11118             if test "X$additional_includedir" != "X"; then
   11119                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   11120                 haveit=
   11121                 if test "X$additional_includedir" = "X/usr/local/include"; then
   11122                   if test -n "$GCC"; then
   11123                     case $host_os in
   11124                       linux*) haveit=yes;;
   11125                     esac
   11126                   fi
   11127                 fi
   11128                 if test -z "$haveit"; then
   11129                   for x in $CPPFLAGS $INCICONV; do
   11130 
   11131   acl_save_prefix="$prefix"
   11132   prefix="$acl_final_prefix"
   11133   acl_save_exec_prefix="$exec_prefix"
   11134   exec_prefix="$acl_final_exec_prefix"
   11135   eval x=\"$x\"
   11136   exec_prefix="$acl_save_exec_prefix"
   11137   prefix="$acl_save_prefix"
   11138 
   11139                     if test "X$x" = "X-I$additional_includedir"; then
   11140                       haveit=yes
   11141                       break
   11142                     fi
   11143                   done
   11144                   if test -z "$haveit"; then
   11145                     if test -d "$additional_includedir"; then
   11146                                             INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
   11147                     fi
   11148                   fi
   11149                 fi
   11150               fi
   11151             fi
   11152                         if test -n "$found_la"; then
   11153                                                         save_libdir="$libdir"
   11154               case "$found_la" in
   11155                 */* | *\\*) . "$found_la" ;;
   11156                 *) . "./$found_la" ;;
   11157               esac
   11158               libdir="$save_libdir"
   11159                             for dep in $dependency_libs; do
   11160                 case "$dep" in
   11161                   -L*)
   11162                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   11163                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   11164                       haveit=
   11165                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   11166                         if test -n "$GCC"; then
   11167                           case $host_os in
   11168                             linux*) haveit=yes;;
   11169                           esac
   11170                         fi
   11171                       fi
   11172                       if test -z "$haveit"; then
   11173                         haveit=
   11174                         for x in $LDFLAGS $LIBICONV; do
   11175 
   11176   acl_save_prefix="$prefix"
   11177   prefix="$acl_final_prefix"
   11178   acl_save_exec_prefix="$exec_prefix"
   11179   exec_prefix="$acl_final_exec_prefix"
   11180   eval x=\"$x\"
   11181   exec_prefix="$acl_save_exec_prefix"
   11182   prefix="$acl_save_prefix"
   11183 
   11184                           if test "X$x" = "X-L$additional_libdir"; then
   11185                             haveit=yes
   11186                             break
   11187                           fi
   11188                         done
   11189                         if test -z "$haveit"; then
   11190                           if test -d "$additional_libdir"; then
   11191                                                         LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
   11192                           fi
   11193                         fi
   11194                         haveit=
   11195                         for x in $LDFLAGS $LTLIBICONV; do
   11196 
   11197   acl_save_prefix="$prefix"
   11198   prefix="$acl_final_prefix"
   11199   acl_save_exec_prefix="$exec_prefix"
   11200   exec_prefix="$acl_final_exec_prefix"
   11201   eval x=\"$x\"
   11202   exec_prefix="$acl_save_exec_prefix"
   11203   prefix="$acl_save_prefix"
   11204 
   11205                           if test "X$x" = "X-L$additional_libdir"; then
   11206                             haveit=yes
   11207                             break
   11208                           fi
   11209                         done
   11210                         if test -z "$haveit"; then
   11211                           if test -d "$additional_libdir"; then
   11212                                                         LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
   11213                           fi
   11214                         fi
   11215                       fi
   11216                     fi
   11217                     ;;
   11218                   -R*)
   11219                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   11220                     if test "$enable_rpath" != no; then
   11221                                                                   haveit=
   11222                       for x in $rpathdirs; do
   11223                         if test "X$x" = "X$dir"; then
   11224                           haveit=yes
   11225                           break
   11226                         fi
   11227                       done
   11228                       if test -z "$haveit"; then
   11229                         rpathdirs="$rpathdirs $dir"
   11230                       fi
   11231                                                                   haveit=
   11232                       for x in $ltrpathdirs; do
   11233                         if test "X$x" = "X$dir"; then
   11234                           haveit=yes
   11235                           break
   11236                         fi
   11237                       done
   11238                       if test -z "$haveit"; then
   11239                         ltrpathdirs="$ltrpathdirs $dir"
   11240                       fi
   11241                     fi
   11242                     ;;
   11243                   -l*)
   11244                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   11245                     ;;
   11246                   *.la)
   11247                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   11248                     ;;
   11249                   *)
   11250                                         LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
   11251                     LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
   11252                     ;;
   11253                 esac
   11254               done
   11255             fi
   11256           else
   11257                                                             LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
   11258             LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
   11259           fi
   11260         fi
   11261       fi
   11262     done
   11263   done
   11264   if test "X$rpathdirs" != "X"; then
   11265     if test -n "$hardcode_libdir_separator"; then
   11266                         alldirs=
   11267       for found_dir in $rpathdirs; do
   11268         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   11269       done
   11270             acl_save_libdir="$libdir"
   11271       libdir="$alldirs"
   11272       eval flag=\"$hardcode_libdir_flag_spec\"
   11273       libdir="$acl_save_libdir"
   11274       LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   11275     else
   11276             for found_dir in $rpathdirs; do
   11277         acl_save_libdir="$libdir"
   11278         libdir="$found_dir"
   11279         eval flag=\"$hardcode_libdir_flag_spec\"
   11280         libdir="$acl_save_libdir"
   11281         LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
   11282       done
   11283     fi
   11284   fi
   11285   if test "X$ltrpathdirs" != "X"; then
   11286             for found_dir in $ltrpathdirs; do
   11287       LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
   11288     done
   11289   fi
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298   echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
   11299 echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
   11300 if test "${ac_cv_type_ptrdiff_t+set}" = set; then
   11301   echo $ECHO_N "(cached) $ECHO_C" >&6
   11302 else
   11303   cat >conftest.$ac_ext <<_ACEOF
   11304 /* confdefs.h.  */
   11305 _ACEOF
   11306 cat confdefs.h >>conftest.$ac_ext
   11307 cat >>conftest.$ac_ext <<_ACEOF
   11308 /* end confdefs.h.  */
   11309 $ac_includes_default
   11310 int
   11311 main ()
   11312 {
   11313 if ((ptrdiff_t *) 0)
   11314   return 0;
   11315 if (sizeof (ptrdiff_t))
   11316   return 0;
   11317   ;
   11318   return 0;
   11319 }
   11320 _ACEOF
   11321 rm -f conftest.$ac_objext
   11322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11323   (eval $ac_compile) 2>conftest.er1
   11324   ac_status=$?
   11325   grep -v '^ *+' conftest.er1 >conftest.err
   11326   rm -f conftest.er1
   11327   cat conftest.err >&5
   11328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11329   (exit $ac_status); } &&
   11330 	 { ac_try='test -z "$ac_c_werror_flag"
   11331 			 || test ! -s conftest.err'
   11332   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11333   (eval $ac_try) 2>&5
   11334   ac_status=$?
   11335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11336   (exit $ac_status); }; } &&
   11337 	 { ac_try='test -s conftest.$ac_objext'
   11338   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11339   (eval $ac_try) 2>&5
   11340   ac_status=$?
   11341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11342   (exit $ac_status); }; }; then
   11343   ac_cv_type_ptrdiff_t=yes
   11344 else
   11345   echo "$as_me: failed program was:" >&5
   11346 sed 's/^/| /' conftest.$ac_ext >&5
   11347 
   11348 ac_cv_type_ptrdiff_t=no
   11349 fi
   11350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11351 fi
   11352 echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
   11353 echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
   11354 if test $ac_cv_type_ptrdiff_t = yes; then
   11355   :
   11356 else
   11357 
   11358 cat >>confdefs.h <<\_ACEOF
   11359 #define ptrdiff_t long
   11360 _ACEOF
   11361 
   11362 
   11363 fi
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
   11376 stdlib.h string.h unistd.h sys/param.h
   11377 do
   11378 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11379 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11380   echo "$as_me:$LINENO: checking for $ac_header" >&5
   11381 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   11382 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11383   echo $ECHO_N "(cached) $ECHO_C" >&6
   11384 fi
   11385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   11386 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   11387 else
   11388   # Is the header compilable?
   11389 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   11390 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   11391 cat >conftest.$ac_ext <<_ACEOF
   11392 /* confdefs.h.  */
   11393 _ACEOF
   11394 cat confdefs.h >>conftest.$ac_ext
   11395 cat >>conftest.$ac_ext <<_ACEOF
   11396 /* end confdefs.h.  */
   11397 $ac_includes_default
   11398 #include <$ac_header>
   11399 _ACEOF
   11400 rm -f conftest.$ac_objext
   11401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11402   (eval $ac_compile) 2>conftest.er1
   11403   ac_status=$?
   11404   grep -v '^ *+' conftest.er1 >conftest.err
   11405   rm -f conftest.er1
   11406   cat conftest.err >&5
   11407   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11408   (exit $ac_status); } &&
   11409 	 { ac_try='test -z "$ac_c_werror_flag"
   11410 			 || test ! -s conftest.err'
   11411   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11412   (eval $ac_try) 2>&5
   11413   ac_status=$?
   11414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11415   (exit $ac_status); }; } &&
   11416 	 { ac_try='test -s conftest.$ac_objext'
   11417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11418   (eval $ac_try) 2>&5
   11419   ac_status=$?
   11420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11421   (exit $ac_status); }; }; then
   11422   ac_header_compiler=yes
   11423 else
   11424   echo "$as_me: failed program was:" >&5
   11425 sed 's/^/| /' conftest.$ac_ext >&5
   11426 
   11427 ac_header_compiler=no
   11428 fi
   11429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11430 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   11431 echo "${ECHO_T}$ac_header_compiler" >&6
   11432 
   11433 # Is the header present?
   11434 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   11435 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   11436 cat >conftest.$ac_ext <<_ACEOF
   11437 /* confdefs.h.  */
   11438 _ACEOF
   11439 cat confdefs.h >>conftest.$ac_ext
   11440 cat >>conftest.$ac_ext <<_ACEOF
   11441 /* end confdefs.h.  */
   11442 #include <$ac_header>
   11443 _ACEOF
   11444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   11445   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   11446   ac_status=$?
   11447   grep -v '^ *+' conftest.er1 >conftest.err
   11448   rm -f conftest.er1
   11449   cat conftest.err >&5
   11450   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11451   (exit $ac_status); } >/dev/null; then
   11452   if test -s conftest.err; then
   11453     ac_cpp_err=$ac_c_preproc_warn_flag
   11454     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   11455   else
   11456     ac_cpp_err=
   11457   fi
   11458 else
   11459   ac_cpp_err=yes
   11460 fi
   11461 if test -z "$ac_cpp_err"; then
   11462   ac_header_preproc=yes
   11463 else
   11464   echo "$as_me: failed program was:" >&5
   11465 sed 's/^/| /' conftest.$ac_ext >&5
   11466 
   11467   ac_header_preproc=no
   11468 fi
   11469 rm -f conftest.err conftest.$ac_ext
   11470 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   11471 echo "${ECHO_T}$ac_header_preproc" >&6
   11472 
   11473 # So?  What about this header?
   11474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   11475   yes:no: )
   11476     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   11477 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   11478     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   11479 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   11480     ac_header_preproc=yes
   11481     ;;
   11482   no:yes:* )
   11483     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   11484 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   11485     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   11486 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   11487     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   11488 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   11489     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   11490 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   11491     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   11492 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   11493     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   11494 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   11495     (
   11496       cat <<\_ASBOX
   11497 ## -------------------------------------- ##
   11498 ## Report this to the GNU Texinfo lists.  ##
   11499 ## -------------------------------------- ##
   11500 _ASBOX
   11501     ) |
   11502       sed "s/^/$as_me: WARNING:     /" >&2
   11503     ;;
   11504 esac
   11505 echo "$as_me:$LINENO: checking for $ac_header" >&5
   11506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   11507 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11508   echo $ECHO_N "(cached) $ECHO_C" >&6
   11509 else
   11510   eval "$as_ac_Header=\$ac_header_preproc"
   11511 fi
   11512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   11513 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   11514 
   11515 fi
   11516 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   11517   cat >>confdefs.h <<_ACEOF
   11518 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11519 _ACEOF
   11520 
   11521 fi
   11522 
   11523 done
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541 
   11542 
   11543 
   11544 
   11545 
   11546 
   11547 
   11548 for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
   11549 mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
   11550 strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
   11551 __fsetlocking
   11552 do
   11553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11554 echo "$as_me:$LINENO: checking for $ac_func" >&5
   11555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   11556 if eval "test \"\${$as_ac_var+set}\" = set"; then
   11557   echo $ECHO_N "(cached) $ECHO_C" >&6
   11558 else
   11559   cat >conftest.$ac_ext <<_ACEOF
   11560 /* confdefs.h.  */
   11561 _ACEOF
   11562 cat confdefs.h >>conftest.$ac_ext
   11563 cat >>conftest.$ac_ext <<_ACEOF
   11564 /* end confdefs.h.  */
   11565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   11566    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11567 #define $ac_func innocuous_$ac_func
   11568 
   11569 /* System header to define __stub macros and hopefully few prototypes,
   11570     which can conflict with char $ac_func (); below.
   11571     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11572     <limits.h> exists even on freestanding compilers.  */
   11573 
   11574 #ifdef __STDC__
   11575 # include <limits.h>
   11576 #else
   11577 # include <assert.h>
   11578 #endif
   11579 
   11580 #undef $ac_func
   11581 
   11582 /* Override any gcc2 internal prototype to avoid an error.  */
   11583 #ifdef __cplusplus
   11584 extern "C"
   11585 {
   11586 #endif
   11587 /* We use char because int might match the return type of a gcc2
   11588    builtin and then its argument prototype would still apply.  */
   11589 char $ac_func ();
   11590 /* The GNU C library defines this for functions which it implements
   11591     to always fail with ENOSYS.  Some functions are actually named
   11592     something starting with __ and the normal name is an alias.  */
   11593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   11594 choke me
   11595 #else
   11596 char (*f) () = $ac_func;
   11597 #endif
   11598 #ifdef __cplusplus
   11599 }
   11600 #endif
   11601 
   11602 int
   11603 main ()
   11604 {
   11605 return f != $ac_func;
   11606   ;
   11607   return 0;
   11608 }
   11609 _ACEOF
   11610 rm -f conftest.$ac_objext conftest$ac_exeext
   11611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11612   (eval $ac_link) 2>conftest.er1
   11613   ac_status=$?
   11614   grep -v '^ *+' conftest.er1 >conftest.err
   11615   rm -f conftest.er1
   11616   cat conftest.err >&5
   11617   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11618   (exit $ac_status); } &&
   11619 	 { ac_try='test -z "$ac_c_werror_flag"
   11620 			 || test ! -s conftest.err'
   11621   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11622   (eval $ac_try) 2>&5
   11623   ac_status=$?
   11624   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11625   (exit $ac_status); }; } &&
   11626 	 { ac_try='test -s conftest$ac_exeext'
   11627   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11628   (eval $ac_try) 2>&5
   11629   ac_status=$?
   11630   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11631   (exit $ac_status); }; }; then
   11632   eval "$as_ac_var=yes"
   11633 else
   11634   echo "$as_me: failed program was:" >&5
   11635 sed 's/^/| /' conftest.$ac_ext >&5
   11636 
   11637 eval "$as_ac_var=no"
   11638 fi
   11639 rm -f conftest.err conftest.$ac_objext \
   11640       conftest$ac_exeext conftest.$ac_ext
   11641 fi
   11642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   11643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   11644 if test `eval echo '${'$as_ac_var'}'` = yes; then
   11645   cat >>confdefs.h <<_ACEOF
   11646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11647 _ACEOF
   11648 
   11649 fi
   11650 done
   11651 
   11652 
   11653 
   11654   echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
   11655 echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6
   11656 if test "${ac_cv_have_decl__snprintf+set}" = set; then
   11657   echo $ECHO_N "(cached) $ECHO_C" >&6
   11658 else
   11659   cat >conftest.$ac_ext <<_ACEOF
   11660 /* confdefs.h.  */
   11661 _ACEOF
   11662 cat confdefs.h >>conftest.$ac_ext
   11663 cat >>conftest.$ac_ext <<_ACEOF
   11664 /* end confdefs.h.  */
   11665 #include <stdio.h>
   11666 int
   11667 main ()
   11668 {
   11669 
   11670 #ifndef _snprintf
   11671   char *p = (char *) _snprintf;
   11672 #endif
   11673 
   11674   ;
   11675   return 0;
   11676 }
   11677 _ACEOF
   11678 rm -f conftest.$ac_objext
   11679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11680   (eval $ac_compile) 2>conftest.er1
   11681   ac_status=$?
   11682   grep -v '^ *+' conftest.er1 >conftest.err
   11683   rm -f conftest.er1
   11684   cat conftest.err >&5
   11685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11686   (exit $ac_status); } &&
   11687 	 { ac_try='test -z "$ac_c_werror_flag"
   11688 			 || test ! -s conftest.err'
   11689   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11690   (eval $ac_try) 2>&5
   11691   ac_status=$?
   11692   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11693   (exit $ac_status); }; } &&
   11694 	 { ac_try='test -s conftest.$ac_objext'
   11695   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11696   (eval $ac_try) 2>&5
   11697   ac_status=$?
   11698   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11699   (exit $ac_status); }; }; then
   11700   ac_cv_have_decl__snprintf=yes
   11701 else
   11702   echo "$as_me: failed program was:" >&5
   11703 sed 's/^/| /' conftest.$ac_ext >&5
   11704 
   11705 ac_cv_have_decl__snprintf=no
   11706 fi
   11707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11708 fi
   11709 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
   11710 echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6
   11711   if test $ac_cv_have_decl__snprintf = yes; then
   11712     gt_value=1
   11713   else
   11714     gt_value=0
   11715   fi
   11716 
   11717 cat >>confdefs.h <<_ACEOF
   11718 #define HAVE_DECL__SNPRINTF $gt_value
   11719 _ACEOF
   11720 
   11721 
   11722 
   11723   echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
   11724 echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6
   11725 if test "${ac_cv_have_decl__snwprintf+set}" = set; then
   11726   echo $ECHO_N "(cached) $ECHO_C" >&6
   11727 else
   11728   cat >conftest.$ac_ext <<_ACEOF
   11729 /* confdefs.h.  */
   11730 _ACEOF
   11731 cat confdefs.h >>conftest.$ac_ext
   11732 cat >>conftest.$ac_ext <<_ACEOF
   11733 /* end confdefs.h.  */
   11734 #include <stdio.h>
   11735 int
   11736 main ()
   11737 {
   11738 
   11739 #ifndef _snwprintf
   11740   char *p = (char *) _snwprintf;
   11741 #endif
   11742 
   11743   ;
   11744   return 0;
   11745 }
   11746 _ACEOF
   11747 rm -f conftest.$ac_objext
   11748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11749   (eval $ac_compile) 2>conftest.er1
   11750   ac_status=$?
   11751   grep -v '^ *+' conftest.er1 >conftest.err
   11752   rm -f conftest.er1
   11753   cat conftest.err >&5
   11754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11755   (exit $ac_status); } &&
   11756 	 { ac_try='test -z "$ac_c_werror_flag"
   11757 			 || test ! -s conftest.err'
   11758   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11759   (eval $ac_try) 2>&5
   11760   ac_status=$?
   11761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11762   (exit $ac_status); }; } &&
   11763 	 { ac_try='test -s conftest.$ac_objext'
   11764   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11765   (eval $ac_try) 2>&5
   11766   ac_status=$?
   11767   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11768   (exit $ac_status); }; }; then
   11769   ac_cv_have_decl__snwprintf=yes
   11770 else
   11771   echo "$as_me: failed program was:" >&5
   11772 sed 's/^/| /' conftest.$ac_ext >&5
   11773 
   11774 ac_cv_have_decl__snwprintf=no
   11775 fi
   11776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11777 fi
   11778 echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
   11779 echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6
   11780   if test $ac_cv_have_decl__snwprintf = yes; then
   11781     gt_value=1
   11782   else
   11783     gt_value=0
   11784   fi
   11785 
   11786 cat >>confdefs.h <<_ACEOF
   11787 #define HAVE_DECL__SNWPRINTF $gt_value
   11788 _ACEOF
   11789 
   11790 
   11791 
   11792 
   11793   echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
   11794 echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
   11795 if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
   11796   echo $ECHO_N "(cached) $ECHO_C" >&6
   11797 else
   11798   cat >conftest.$ac_ext <<_ACEOF
   11799 /* confdefs.h.  */
   11800 _ACEOF
   11801 cat confdefs.h >>conftest.$ac_ext
   11802 cat >>conftest.$ac_ext <<_ACEOF
   11803 /* end confdefs.h.  */
   11804 #include <stdio.h>
   11805 int
   11806 main ()
   11807 {
   11808 
   11809 #ifndef feof_unlocked
   11810   char *p = (char *) feof_unlocked;
   11811 #endif
   11812 
   11813   ;
   11814   return 0;
   11815 }
   11816 _ACEOF
   11817 rm -f conftest.$ac_objext
   11818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11819   (eval $ac_compile) 2>conftest.er1
   11820   ac_status=$?
   11821   grep -v '^ *+' conftest.er1 >conftest.err
   11822   rm -f conftest.er1
   11823   cat conftest.err >&5
   11824   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11825   (exit $ac_status); } &&
   11826 	 { ac_try='test -z "$ac_c_werror_flag"
   11827 			 || test ! -s conftest.err'
   11828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11829   (eval $ac_try) 2>&5
   11830   ac_status=$?
   11831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11832   (exit $ac_status); }; } &&
   11833 	 { ac_try='test -s conftest.$ac_objext'
   11834   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11835   (eval $ac_try) 2>&5
   11836   ac_status=$?
   11837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11838   (exit $ac_status); }; }; then
   11839   ac_cv_have_decl_feof_unlocked=yes
   11840 else
   11841   echo "$as_me: failed program was:" >&5
   11842 sed 's/^/| /' conftest.$ac_ext >&5
   11843 
   11844 ac_cv_have_decl_feof_unlocked=no
   11845 fi
   11846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11847 fi
   11848 echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
   11849 echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
   11850   if test $ac_cv_have_decl_feof_unlocked = yes; then
   11851     gt_value=1
   11852   else
   11853     gt_value=0
   11854   fi
   11855 
   11856 cat >>confdefs.h <<_ACEOF
   11857 #define HAVE_DECL_FEOF_UNLOCKED $gt_value
   11858 _ACEOF
   11859 
   11860 
   11861 
   11862   echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
   11863 echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
   11864 if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
   11865   echo $ECHO_N "(cached) $ECHO_C" >&6
   11866 else
   11867   cat >conftest.$ac_ext <<_ACEOF
   11868 /* confdefs.h.  */
   11869 _ACEOF
   11870 cat confdefs.h >>conftest.$ac_ext
   11871 cat >>conftest.$ac_ext <<_ACEOF
   11872 /* end confdefs.h.  */
   11873 #include <stdio.h>
   11874 int
   11875 main ()
   11876 {
   11877 
   11878 #ifndef fgets_unlocked
   11879   char *p = (char *) fgets_unlocked;
   11880 #endif
   11881 
   11882   ;
   11883   return 0;
   11884 }
   11885 _ACEOF
   11886 rm -f conftest.$ac_objext
   11887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11888   (eval $ac_compile) 2>conftest.er1
   11889   ac_status=$?
   11890   grep -v '^ *+' conftest.er1 >conftest.err
   11891   rm -f conftest.er1
   11892   cat conftest.err >&5
   11893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11894   (exit $ac_status); } &&
   11895 	 { ac_try='test -z "$ac_c_werror_flag"
   11896 			 || test ! -s conftest.err'
   11897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11898   (eval $ac_try) 2>&5
   11899   ac_status=$?
   11900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11901   (exit $ac_status); }; } &&
   11902 	 { ac_try='test -s conftest.$ac_objext'
   11903   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11904   (eval $ac_try) 2>&5
   11905   ac_status=$?
   11906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11907   (exit $ac_status); }; }; then
   11908   ac_cv_have_decl_fgets_unlocked=yes
   11909 else
   11910   echo "$as_me: failed program was:" >&5
   11911 sed 's/^/| /' conftest.$ac_ext >&5
   11912 
   11913 ac_cv_have_decl_fgets_unlocked=no
   11914 fi
   11915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11916 fi
   11917 echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
   11918 echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
   11919   if test $ac_cv_have_decl_fgets_unlocked = yes; then
   11920     gt_value=1
   11921   else
   11922     gt_value=0
   11923   fi
   11924 
   11925 cat >>confdefs.h <<_ACEOF
   11926 #define HAVE_DECL_FGETS_UNLOCKED $gt_value
   11927 _ACEOF
   11928 
   11929 
   11930 
   11931   echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
   11932 echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
   11933 if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
   11934   echo $ECHO_N "(cached) $ECHO_C" >&6
   11935 else
   11936   cat >conftest.$ac_ext <<_ACEOF
   11937 /* confdefs.h.  */
   11938 _ACEOF
   11939 cat confdefs.h >>conftest.$ac_ext
   11940 cat >>conftest.$ac_ext <<_ACEOF
   11941 /* end confdefs.h.  */
   11942 #include <stdio.h>
   11943 int
   11944 main ()
   11945 {
   11946 
   11947 #ifndef getc_unlocked
   11948   char *p = (char *) getc_unlocked;
   11949 #endif
   11950 
   11951   ;
   11952   return 0;
   11953 }
   11954 _ACEOF
   11955 rm -f conftest.$ac_objext
   11956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11957   (eval $ac_compile) 2>conftest.er1
   11958   ac_status=$?
   11959   grep -v '^ *+' conftest.er1 >conftest.err
   11960   rm -f conftest.er1
   11961   cat conftest.err >&5
   11962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11963   (exit $ac_status); } &&
   11964 	 { ac_try='test -z "$ac_c_werror_flag"
   11965 			 || test ! -s conftest.err'
   11966   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11967   (eval $ac_try) 2>&5
   11968   ac_status=$?
   11969   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11970   (exit $ac_status); }; } &&
   11971 	 { ac_try='test -s conftest.$ac_objext'
   11972   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11973   (eval $ac_try) 2>&5
   11974   ac_status=$?
   11975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11976   (exit $ac_status); }; }; then
   11977   ac_cv_have_decl_getc_unlocked=yes
   11978 else
   11979   echo "$as_me: failed program was:" >&5
   11980 sed 's/^/| /' conftest.$ac_ext >&5
   11981 
   11982 ac_cv_have_decl_getc_unlocked=no
   11983 fi
   11984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11985 fi
   11986 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
   11987 echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
   11988   if test $ac_cv_have_decl_getc_unlocked = yes; then
   11989     gt_value=1
   11990   else
   11991     gt_value=0
   11992   fi
   11993 
   11994 cat >>confdefs.h <<_ACEOF
   11995 #define HAVE_DECL_GETC_UNLOCKED $gt_value
   11996 _ACEOF
   11997 
   11998 
   11999 
   12000   case $gt_cv_func_printf_posix in
   12001     *yes) HAVE_POSIX_PRINTF=1 ;;
   12002     *) HAVE_POSIX_PRINTF=0 ;;
   12003   esac
   12004 
   12005   if test "$ac_cv_func_asprintf" = yes; then
   12006     HAVE_ASPRINTF=1
   12007   else
   12008     HAVE_ASPRINTF=0
   12009   fi
   12010 
   12011   if test "$ac_cv_func_snprintf" = yes; then
   12012     HAVE_SNPRINTF=1
   12013   else
   12014     HAVE_SNPRINTF=0
   12015   fi
   12016 
   12017   if test "$ac_cv_func_wprintf" = yes; then
   12018     HAVE_WPRINTF=1
   12019   else
   12020     HAVE_WPRINTF=0
   12021   fi
   12022 
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029           am_save_CPPFLAGS="$CPPFLAGS"
   12030 
   12031   for element in $INCICONV; do
   12032     haveit=
   12033     for x in $CPPFLAGS; do
   12034 
   12035   acl_save_prefix="$prefix"
   12036   prefix="$acl_final_prefix"
   12037   acl_save_exec_prefix="$exec_prefix"
   12038   exec_prefix="$acl_final_exec_prefix"
   12039   eval x=\"$x\"
   12040   exec_prefix="$acl_save_exec_prefix"
   12041   prefix="$acl_save_prefix"
   12042 
   12043       if test "X$x" = "X$element"; then
   12044         haveit=yes
   12045         break
   12046       fi
   12047     done
   12048     if test -z "$haveit"; then
   12049       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   12050     fi
   12051   done
   12052 
   12053 
   12054   echo "$as_me:$LINENO: checking for iconv" >&5
   12055 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
   12056 if test "${am_cv_func_iconv+set}" = set; then
   12057   echo $ECHO_N "(cached) $ECHO_C" >&6
   12058 else
   12059 
   12060     am_cv_func_iconv="no, consider installing GNU libiconv"
   12061     am_cv_lib_iconv=no
   12062     cat >conftest.$ac_ext <<_ACEOF
   12063 /* confdefs.h.  */
   12064 _ACEOF
   12065 cat confdefs.h >>conftest.$ac_ext
   12066 cat >>conftest.$ac_ext <<_ACEOF
   12067 /* end confdefs.h.  */
   12068 #include <stdlib.h>
   12069 #include <iconv.h>
   12070 int
   12071 main ()
   12072 {
   12073 iconv_t cd = iconv_open("","");
   12074        iconv(cd,NULL,NULL,NULL,NULL);
   12075        iconv_close(cd);
   12076   ;
   12077   return 0;
   12078 }
   12079 _ACEOF
   12080 rm -f conftest.$ac_objext conftest$ac_exeext
   12081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12082   (eval $ac_link) 2>conftest.er1
   12083   ac_status=$?
   12084   grep -v '^ *+' conftest.er1 >conftest.err
   12085   rm -f conftest.er1
   12086   cat conftest.err >&5
   12087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12088   (exit $ac_status); } &&
   12089 	 { ac_try='test -z "$ac_c_werror_flag"
   12090 			 || test ! -s conftest.err'
   12091   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12092   (eval $ac_try) 2>&5
   12093   ac_status=$?
   12094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12095   (exit $ac_status); }; } &&
   12096 	 { ac_try='test -s conftest$ac_exeext'
   12097   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12098   (eval $ac_try) 2>&5
   12099   ac_status=$?
   12100   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12101   (exit $ac_status); }; }; then
   12102   am_cv_func_iconv=yes
   12103 else
   12104   echo "$as_me: failed program was:" >&5
   12105 sed 's/^/| /' conftest.$ac_ext >&5
   12106 
   12107 fi
   12108 rm -f conftest.err conftest.$ac_objext \
   12109       conftest$ac_exeext conftest.$ac_ext
   12110     if test "$am_cv_func_iconv" != yes; then
   12111       am_save_LIBS="$LIBS"
   12112       LIBS="$LIBS $LIBICONV"
   12113       cat >conftest.$ac_ext <<_ACEOF
   12114 /* confdefs.h.  */
   12115 _ACEOF
   12116 cat confdefs.h >>conftest.$ac_ext
   12117 cat >>conftest.$ac_ext <<_ACEOF
   12118 /* end confdefs.h.  */
   12119 #include <stdlib.h>
   12120 #include <iconv.h>
   12121 int
   12122 main ()
   12123 {
   12124 iconv_t cd = iconv_open("","");
   12125          iconv(cd,NULL,NULL,NULL,NULL);
   12126          iconv_close(cd);
   12127   ;
   12128   return 0;
   12129 }
   12130 _ACEOF
   12131 rm -f conftest.$ac_objext conftest$ac_exeext
   12132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12133   (eval $ac_link) 2>conftest.er1
   12134   ac_status=$?
   12135   grep -v '^ *+' conftest.er1 >conftest.err
   12136   rm -f conftest.er1
   12137   cat conftest.err >&5
   12138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12139   (exit $ac_status); } &&
   12140 	 { ac_try='test -z "$ac_c_werror_flag"
   12141 			 || test ! -s conftest.err'
   12142   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12143   (eval $ac_try) 2>&5
   12144   ac_status=$?
   12145   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12146   (exit $ac_status); }; } &&
   12147 	 { ac_try='test -s conftest$ac_exeext'
   12148   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12149   (eval $ac_try) 2>&5
   12150   ac_status=$?
   12151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12152   (exit $ac_status); }; }; then
   12153   am_cv_lib_iconv=yes
   12154         am_cv_func_iconv=yes
   12155 else
   12156   echo "$as_me: failed program was:" >&5
   12157 sed 's/^/| /' conftest.$ac_ext >&5
   12158 
   12159 fi
   12160 rm -f conftest.err conftest.$ac_objext \
   12161       conftest$ac_exeext conftest.$ac_ext
   12162       LIBS="$am_save_LIBS"
   12163     fi
   12164 
   12165 fi
   12166 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
   12167 echo "${ECHO_T}$am_cv_func_iconv" >&6
   12168   if test "$am_cv_func_iconv" = yes; then
   12169 
   12170 cat >>confdefs.h <<\_ACEOF
   12171 #define HAVE_ICONV 1
   12172 _ACEOF
   12173 
   12174   fi
   12175   if test "$am_cv_lib_iconv" = yes; then
   12176     echo "$as_me:$LINENO: checking how to link with libiconv" >&5
   12177 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
   12178     echo "$as_me:$LINENO: result: $LIBICONV" >&5
   12179 echo "${ECHO_T}$LIBICONV" >&6
   12180   else
   12181             CPPFLAGS="$am_save_CPPFLAGS"
   12182     LIBICONV=
   12183     LTLIBICONV=
   12184   fi
   12185 
   12186 
   12187 
   12188   if test "$am_cv_func_iconv" = yes; then
   12189     echo "$as_me:$LINENO: checking for iconv declaration" >&5
   12190 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
   12191     if test "${am_cv_proto_iconv+set}" = set; then
   12192   echo $ECHO_N "(cached) $ECHO_C" >&6
   12193 else
   12194 
   12195       cat >conftest.$ac_ext <<_ACEOF
   12196 /* confdefs.h.  */
   12197 _ACEOF
   12198 cat confdefs.h >>conftest.$ac_ext
   12199 cat >>conftest.$ac_ext <<_ACEOF
   12200 /* end confdefs.h.  */
   12201 
   12202 #include <stdlib.h>
   12203 #include <iconv.h>
   12204 extern
   12205 #ifdef __cplusplus
   12206 "C"
   12207 #endif
   12208 #if defined(__STDC__) || defined(__cplusplus)
   12209 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
   12210 #else
   12211 size_t iconv();
   12212 #endif
   12213 
   12214 int
   12215 main ()
   12216 {
   12217 
   12218   ;
   12219   return 0;
   12220 }
   12221 _ACEOF
   12222 rm -f conftest.$ac_objext
   12223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12224   (eval $ac_compile) 2>conftest.er1
   12225   ac_status=$?
   12226   grep -v '^ *+' conftest.er1 >conftest.err
   12227   rm -f conftest.er1
   12228   cat conftest.err >&5
   12229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12230   (exit $ac_status); } &&
   12231 	 { ac_try='test -z "$ac_c_werror_flag"
   12232 			 || test ! -s conftest.err'
   12233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12234   (eval $ac_try) 2>&5
   12235   ac_status=$?
   12236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12237   (exit $ac_status); }; } &&
   12238 	 { ac_try='test -s conftest.$ac_objext'
   12239   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12240   (eval $ac_try) 2>&5
   12241   ac_status=$?
   12242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12243   (exit $ac_status); }; }; then
   12244   am_cv_proto_iconv_arg1=""
   12245 else
   12246   echo "$as_me: failed program was:" >&5
   12247 sed 's/^/| /' conftest.$ac_ext >&5
   12248 
   12249 am_cv_proto_iconv_arg1="const"
   12250 fi
   12251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   12252       am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
   12253 fi
   12254 
   12255     am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
   12256     echo "$as_me:$LINENO: result: ${ac_t:-
   12257          }$am_cv_proto_iconv" >&5
   12258 echo "${ECHO_T}${ac_t:-
   12259          }$am_cv_proto_iconv" >&6
   12260 
   12261 cat >>confdefs.h <<_ACEOF
   12262 #define ICONV_CONST $am_cv_proto_iconv_arg1
   12263 _ACEOF
   12264 
   12265   fi
   12266 
   12267 
   12268   echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
   12269 echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
   12270 if test "${am_cv_langinfo_codeset+set}" = set; then
   12271   echo $ECHO_N "(cached) $ECHO_C" >&6
   12272 else
   12273   cat >conftest.$ac_ext <<_ACEOF
   12274 /* confdefs.h.  */
   12275 _ACEOF
   12276 cat confdefs.h >>conftest.$ac_ext
   12277 cat >>conftest.$ac_ext <<_ACEOF
   12278 /* end confdefs.h.  */
   12279 #include <langinfo.h>
   12280 int
   12281 main ()
   12282 {
   12283 char* cs = nl_langinfo(CODESET);
   12284   ;
   12285   return 0;
   12286 }
   12287 _ACEOF
   12288 rm -f conftest.$ac_objext conftest$ac_exeext
   12289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12290   (eval $ac_link) 2>conftest.er1
   12291   ac_status=$?
   12292   grep -v '^ *+' conftest.er1 >conftest.err
   12293   rm -f conftest.er1
   12294   cat conftest.err >&5
   12295   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12296   (exit $ac_status); } &&
   12297 	 { ac_try='test -z "$ac_c_werror_flag"
   12298 			 || test ! -s conftest.err'
   12299   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12300   (eval $ac_try) 2>&5
   12301   ac_status=$?
   12302   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12303   (exit $ac_status); }; } &&
   12304 	 { ac_try='test -s conftest$ac_exeext'
   12305   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12306   (eval $ac_try) 2>&5
   12307   ac_status=$?
   12308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12309   (exit $ac_status); }; }; then
   12310   am_cv_langinfo_codeset=yes
   12311 else
   12312   echo "$as_me: failed program was:" >&5
   12313 sed 's/^/| /' conftest.$ac_ext >&5
   12314 
   12315 am_cv_langinfo_codeset=no
   12316 fi
   12317 rm -f conftest.err conftest.$ac_objext \
   12318       conftest$ac_exeext conftest.$ac_ext
   12319 
   12320 fi
   12321 echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
   12322 echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
   12323   if test $am_cv_langinfo_codeset = yes; then
   12324 
   12325 cat >>confdefs.h <<\_ACEOF
   12326 #define HAVE_LANGINFO_CODESET 1
   12327 _ACEOF
   12328 
   12329   fi
   12330 
   12331   if test $ac_cv_header_locale_h = yes; then
   12332 
   12333   echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
   12334 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
   12335 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
   12336   echo $ECHO_N "(cached) $ECHO_C" >&6
   12337 else
   12338   cat >conftest.$ac_ext <<_ACEOF
   12339 /* confdefs.h.  */
   12340 _ACEOF
   12341 cat confdefs.h >>conftest.$ac_ext
   12342 cat >>conftest.$ac_ext <<_ACEOF
   12343 /* end confdefs.h.  */
   12344 #include <locale.h>
   12345 int
   12346 main ()
   12347 {
   12348 return LC_MESSAGES
   12349   ;
   12350   return 0;
   12351 }
   12352 _ACEOF
   12353 rm -f conftest.$ac_objext conftest$ac_exeext
   12354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12355   (eval $ac_link) 2>conftest.er1
   12356   ac_status=$?
   12357   grep -v '^ *+' conftest.er1 >conftest.err
   12358   rm -f conftest.er1
   12359   cat conftest.err >&5
   12360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12361   (exit $ac_status); } &&
   12362 	 { ac_try='test -z "$ac_c_werror_flag"
   12363 			 || test ! -s conftest.err'
   12364   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12365   (eval $ac_try) 2>&5
   12366   ac_status=$?
   12367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12368   (exit $ac_status); }; } &&
   12369 	 { ac_try='test -s conftest$ac_exeext'
   12370   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12371   (eval $ac_try) 2>&5
   12372   ac_status=$?
   12373   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12374   (exit $ac_status); }; }; then
   12375   am_cv_val_LC_MESSAGES=yes
   12376 else
   12377   echo "$as_me: failed program was:" >&5
   12378 sed 's/^/| /' conftest.$ac_ext >&5
   12379 
   12380 am_cv_val_LC_MESSAGES=no
   12381 fi
   12382 rm -f conftest.err conftest.$ac_objext \
   12383       conftest$ac_exeext conftest.$ac_ext
   12384 fi
   12385 echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
   12386 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
   12387   if test $am_cv_val_LC_MESSAGES = yes; then
   12388 
   12389 cat >>confdefs.h <<\_ACEOF
   12390 #define HAVE_LC_MESSAGES 1
   12391 _ACEOF
   12392 
   12393   fi
   12394 
   12395   fi
   12396 
   12397                       for ac_prog in bison
   12398 do
   12399   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12400 set dummy $ac_prog; ac_word=$2
   12401 echo "$as_me:$LINENO: checking for $ac_word" >&5
   12402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   12403 if test "${ac_cv_prog_INTLBISON+set}" = set; then
   12404   echo $ECHO_N "(cached) $ECHO_C" >&6
   12405 else
   12406   if test -n "$INTLBISON"; then
   12407   ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
   12408 else
   12409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12410 for as_dir in $PATH
   12411 do
   12412   IFS=$as_save_IFS
   12413   test -z "$as_dir" && as_dir=.
   12414   for ac_exec_ext in '' $ac_executable_extensions; do
   12415   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12416     ac_cv_prog_INTLBISON="$ac_prog"
   12417     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   12418     break 2
   12419   fi
   12420 done
   12421 done
   12422 
   12423 fi
   12424 fi
   12425 INTLBISON=$ac_cv_prog_INTLBISON
   12426 if test -n "$INTLBISON"; then
   12427   echo "$as_me:$LINENO: result: $INTLBISON" >&5
   12428 echo "${ECHO_T}$INTLBISON" >&6
   12429 else
   12430   echo "$as_me:$LINENO: result: no" >&5
   12431 echo "${ECHO_T}no" >&6
   12432 fi
   12433 
   12434   test -n "$INTLBISON" && break
   12435 done
   12436 
   12437   if test -z "$INTLBISON"; then
   12438     ac_verc_fail=yes
   12439   else
   12440         echo "$as_me:$LINENO: checking version of bison" >&5
   12441 echo $ECHO_N "checking version of bison... $ECHO_C" >&6
   12442     ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
   12443     case $ac_prog_version in
   12444       '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
   12445       1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
   12446          ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
   12447       *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
   12448     esac
   12449     echo "$as_me:$LINENO: result: $ac_prog_version" >&5
   12450 echo "${ECHO_T}$ac_prog_version" >&6
   12451   fi
   12452   if test $ac_verc_fail = yes; then
   12453     INTLBISON=:
   12454   fi
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471   echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   12472 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   12473     # Check whether --enable-nls or --disable-nls was given.
   12474 if test "${enable_nls+set}" = set; then
   12475   enableval="$enable_nls"
   12476   USE_NLS=$enableval
   12477 else
   12478   USE_NLS=yes
   12479 fi;
   12480   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   12481 echo "${ECHO_T}$USE_NLS" >&6
   12482 
   12483 
   12484 
   12485 
   12486     BUILD_INCLUDED_LIBINTL=no
   12487     USE_INCLUDED_LIBINTL=no
   12488 
   12489   LIBINTL=
   12490   LTLIBINTL=
   12491   POSUB=
   12492 
   12493     if test "$USE_NLS" = "yes"; then
   12494     gt_use_preinstalled_gnugettext=no
   12495 
   12496       echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
   12497 echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
   12498 
   12499 # Check whether --with-included-gettext or --without-included-gettext was given.
   12500 if test "${with_included_gettext+set}" = set; then
   12501   withval="$with_included_gettext"
   12502   nls_cv_force_use_gnu_gettext=$withval
   12503 else
   12504   nls_cv_force_use_gnu_gettext=no
   12505 fi;
   12506       echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
   12507 echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
   12508 
   12509       nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
   12510       if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
   12511 
   12512 
   12513 
   12514 
   12515 
   12516 
   12517         echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
   12518 echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
   12519 if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
   12520   echo $ECHO_N "(cached) $ECHO_C" >&6
   12521 else
   12522   cat >conftest.$ac_ext <<_ACEOF
   12523 /* confdefs.h.  */
   12524 _ACEOF
   12525 cat confdefs.h >>conftest.$ac_ext
   12526 cat >>conftest.$ac_ext <<_ACEOF
   12527 /* end confdefs.h.  */
   12528 #include <libintl.h>
   12529 extern int _nl_msg_cat_cntr;
   12530 extern int *_nl_domain_bindings;
   12531 int
   12532 main ()
   12533 {
   12534 bindtextdomain ("", "");
   12535 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
   12536   ;
   12537   return 0;
   12538 }
   12539 _ACEOF
   12540 rm -f conftest.$ac_objext conftest$ac_exeext
   12541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12542   (eval $ac_link) 2>conftest.er1
   12543   ac_status=$?
   12544   grep -v '^ *+' conftest.er1 >conftest.err
   12545   rm -f conftest.er1
   12546   cat conftest.err >&5
   12547   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12548   (exit $ac_status); } &&
   12549 	 { ac_try='test -z "$ac_c_werror_flag"
   12550 			 || test ! -s conftest.err'
   12551   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12552   (eval $ac_try) 2>&5
   12553   ac_status=$?
   12554   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12555   (exit $ac_status); }; } &&
   12556 	 { ac_try='test -s conftest$ac_exeext'
   12557   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12558   (eval $ac_try) 2>&5
   12559   ac_status=$?
   12560   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12561   (exit $ac_status); }; }; then
   12562   gt_cv_func_gnugettext1_libc=yes
   12563 else
   12564   echo "$as_me: failed program was:" >&5
   12565 sed 's/^/| /' conftest.$ac_ext >&5
   12566 
   12567 gt_cv_func_gnugettext1_libc=no
   12568 fi
   12569 rm -f conftest.err conftest.$ac_objext \
   12570       conftest$ac_exeext conftest.$ac_ext
   12571 fi
   12572 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
   12573 echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
   12574 
   12575         if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
   12576 
   12577 
   12578 
   12579     use_additional=yes
   12580 
   12581   acl_save_prefix="$prefix"
   12582   prefix="$acl_final_prefix"
   12583   acl_save_exec_prefix="$exec_prefix"
   12584   exec_prefix="$acl_final_exec_prefix"
   12585 
   12586     eval additional_includedir=\"$includedir\"
   12587     eval additional_libdir=\"$libdir\"
   12588 
   12589   exec_prefix="$acl_save_exec_prefix"
   12590   prefix="$acl_save_prefix"
   12591 
   12592 
   12593 # Check whether --with-libintl-prefix or --without-libintl-prefix was given.
   12594 if test "${with_libintl_prefix+set}" = set; then
   12595   withval="$with_libintl_prefix"
   12596 
   12597     if test "X$withval" = "Xno"; then
   12598       use_additional=no
   12599     else
   12600       if test "X$withval" = "X"; then
   12601 
   12602   acl_save_prefix="$prefix"
   12603   prefix="$acl_final_prefix"
   12604   acl_save_exec_prefix="$exec_prefix"
   12605   exec_prefix="$acl_final_exec_prefix"
   12606 
   12607           eval additional_includedir=\"$includedir\"
   12608           eval additional_libdir=\"$libdir\"
   12609 
   12610   exec_prefix="$acl_save_exec_prefix"
   12611   prefix="$acl_save_prefix"
   12612 
   12613       else
   12614         additional_includedir="$withval/include"
   12615         additional_libdir="$withval/lib"
   12616       fi
   12617     fi
   12618 
   12619 fi;
   12620       LIBINTL=
   12621   LTLIBINTL=
   12622   INCINTL=
   12623   rpathdirs=
   12624   ltrpathdirs=
   12625   names_already_handled=
   12626   names_next_round='intl '
   12627   while test -n "$names_next_round"; do
   12628     names_this_round="$names_next_round"
   12629     names_next_round=
   12630     for name in $names_this_round; do
   12631       already_handled=
   12632       for n in $names_already_handled; do
   12633         if test "$n" = "$name"; then
   12634           already_handled=yes
   12635           break
   12636         fi
   12637       done
   12638       if test -z "$already_handled"; then
   12639         names_already_handled="$names_already_handled $name"
   12640                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
   12641         eval value=\"\$HAVE_LIB$uppername\"
   12642         if test -n "$value"; then
   12643           if test "$value" = yes; then
   12644             eval value=\"\$LIB$uppername\"
   12645             test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
   12646             eval value=\"\$LTLIB$uppername\"
   12647             test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
   12648           else
   12649                                     :
   12650           fi
   12651         else
   12652                               found_dir=
   12653           found_la=
   12654           found_so=
   12655           found_a=
   12656           if test $use_additional = yes; then
   12657             if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
   12658               found_dir="$additional_libdir"
   12659               found_so="$additional_libdir/lib$name.$shlibext"
   12660               if test -f "$additional_libdir/lib$name.la"; then
   12661                 found_la="$additional_libdir/lib$name.la"
   12662               fi
   12663             else
   12664               if test -f "$additional_libdir/lib$name.$libext"; then
   12665                 found_dir="$additional_libdir"
   12666                 found_a="$additional_libdir/lib$name.$libext"
   12667                 if test -f "$additional_libdir/lib$name.la"; then
   12668                   found_la="$additional_libdir/lib$name.la"
   12669                 fi
   12670               fi
   12671             fi
   12672           fi
   12673           if test "X$found_dir" = "X"; then
   12674             for x in $LDFLAGS $LTLIBINTL; do
   12675 
   12676   acl_save_prefix="$prefix"
   12677   prefix="$acl_final_prefix"
   12678   acl_save_exec_prefix="$exec_prefix"
   12679   exec_prefix="$acl_final_exec_prefix"
   12680   eval x=\"$x\"
   12681   exec_prefix="$acl_save_exec_prefix"
   12682   prefix="$acl_save_prefix"
   12683 
   12684               case "$x" in
   12685                 -L*)
   12686                   dir=`echo "X$x" | sed -e 's/^X-L//'`
   12687                   if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
   12688                     found_dir="$dir"
   12689                     found_so="$dir/lib$name.$shlibext"
   12690                     if test -f "$dir/lib$name.la"; then
   12691                       found_la="$dir/lib$name.la"
   12692                     fi
   12693                   else
   12694                     if test -f "$dir/lib$name.$libext"; then
   12695                       found_dir="$dir"
   12696                       found_a="$dir/lib$name.$libext"
   12697                       if test -f "$dir/lib$name.la"; then
   12698                         found_la="$dir/lib$name.la"
   12699                       fi
   12700                     fi
   12701                   fi
   12702                   ;;
   12703               esac
   12704               if test "X$found_dir" != "X"; then
   12705                 break
   12706               fi
   12707             done
   12708           fi
   12709           if test "X$found_dir" != "X"; then
   12710                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
   12711             if test "X$found_so" != "X"; then
   12712                                                         if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
   12713                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12714               else
   12715                                                                                 haveit=
   12716                 for x in $ltrpathdirs; do
   12717                   if test "X$x" = "X$found_dir"; then
   12718                     haveit=yes
   12719                     break
   12720                   fi
   12721                 done
   12722                 if test -z "$haveit"; then
   12723                   ltrpathdirs="$ltrpathdirs $found_dir"
   12724                 fi
   12725                                 if test "$hardcode_direct" = yes; then
   12726                                                       LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12727                 else
   12728                   if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
   12729                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12730                                                             haveit=
   12731                     for x in $rpathdirs; do
   12732                       if test "X$x" = "X$found_dir"; then
   12733                         haveit=yes
   12734                         break
   12735                       fi
   12736                     done
   12737                     if test -z "$haveit"; then
   12738                       rpathdirs="$rpathdirs $found_dir"
   12739                     fi
   12740                   else
   12741                                                                                 haveit=
   12742                     for x in $LDFLAGS $LIBINTL; do
   12743 
   12744   acl_save_prefix="$prefix"
   12745   prefix="$acl_final_prefix"
   12746   acl_save_exec_prefix="$exec_prefix"
   12747   exec_prefix="$acl_final_exec_prefix"
   12748   eval x=\"$x\"
   12749   exec_prefix="$acl_save_exec_prefix"
   12750   prefix="$acl_save_prefix"
   12751 
   12752                       if test "X$x" = "X-L$found_dir"; then
   12753                         haveit=yes
   12754                         break
   12755                       fi
   12756                     done
   12757                     if test -z "$haveit"; then
   12758                       LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
   12759                     fi
   12760                     if test "$hardcode_minus_L" != no; then
   12761                                                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
   12762                     else
   12763                                                                                                                                                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   12764                     fi
   12765                   fi
   12766                 fi
   12767               fi
   12768             else
   12769               if test "X$found_a" != "X"; then
   12770                                 LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
   12771               else
   12772                                                 LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
   12773               fi
   12774             fi
   12775                         additional_includedir=
   12776             case "$found_dir" in
   12777               */lib | */lib/)
   12778                 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
   12779                 additional_includedir="$basedir/include"
   12780                 ;;
   12781             esac
   12782             if test "X$additional_includedir" != "X"; then
   12783                                                                                                                 if test "X$additional_includedir" != "X/usr/include"; then
   12784                 haveit=
   12785                 if test "X$additional_includedir" = "X/usr/local/include"; then
   12786                   if test -n "$GCC"; then
   12787                     case $host_os in
   12788                       linux*) haveit=yes;;
   12789                     esac
   12790                   fi
   12791                 fi
   12792                 if test -z "$haveit"; then
   12793                   for x in $CPPFLAGS $INCINTL; do
   12794 
   12795   acl_save_prefix="$prefix"
   12796   prefix="$acl_final_prefix"
   12797   acl_save_exec_prefix="$exec_prefix"
   12798   exec_prefix="$acl_final_exec_prefix"
   12799   eval x=\"$x\"
   12800   exec_prefix="$acl_save_exec_prefix"
   12801   prefix="$acl_save_prefix"
   12802 
   12803                     if test "X$x" = "X-I$additional_includedir"; then
   12804                       haveit=yes
   12805                       break
   12806                     fi
   12807                   done
   12808                   if test -z "$haveit"; then
   12809                     if test -d "$additional_includedir"; then
   12810                                             INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
   12811                     fi
   12812                   fi
   12813                 fi
   12814               fi
   12815             fi
   12816                         if test -n "$found_la"; then
   12817                                                         save_libdir="$libdir"
   12818               case "$found_la" in
   12819                 */* | *\\*) . "$found_la" ;;
   12820                 *) . "./$found_la" ;;
   12821               esac
   12822               libdir="$save_libdir"
   12823                             for dep in $dependency_libs; do
   12824                 case "$dep" in
   12825                   -L*)
   12826                     additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
   12827                                                                                                                                                                 if test "X$additional_libdir" != "X/usr/lib"; then
   12828                       haveit=
   12829                       if test "X$additional_libdir" = "X/usr/local/lib"; then
   12830                         if test -n "$GCC"; then
   12831                           case $host_os in
   12832                             linux*) haveit=yes;;
   12833                           esac
   12834                         fi
   12835                       fi
   12836                       if test -z "$haveit"; then
   12837                         haveit=
   12838                         for x in $LDFLAGS $LIBINTL; do
   12839 
   12840   acl_save_prefix="$prefix"
   12841   prefix="$acl_final_prefix"
   12842   acl_save_exec_prefix="$exec_prefix"
   12843   exec_prefix="$acl_final_exec_prefix"
   12844   eval x=\"$x\"
   12845   exec_prefix="$acl_save_exec_prefix"
   12846   prefix="$acl_save_prefix"
   12847 
   12848                           if test "X$x" = "X-L$additional_libdir"; then
   12849                             haveit=yes
   12850                             break
   12851                           fi
   12852                         done
   12853                         if test -z "$haveit"; then
   12854                           if test -d "$additional_libdir"; then
   12855                                                         LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
   12856                           fi
   12857                         fi
   12858                         haveit=
   12859                         for x in $LDFLAGS $LTLIBINTL; do
   12860 
   12861   acl_save_prefix="$prefix"
   12862   prefix="$acl_final_prefix"
   12863   acl_save_exec_prefix="$exec_prefix"
   12864   exec_prefix="$acl_final_exec_prefix"
   12865   eval x=\"$x\"
   12866   exec_prefix="$acl_save_exec_prefix"
   12867   prefix="$acl_save_prefix"
   12868 
   12869                           if test "X$x" = "X-L$additional_libdir"; then
   12870                             haveit=yes
   12871                             break
   12872                           fi
   12873                         done
   12874                         if test -z "$haveit"; then
   12875                           if test -d "$additional_libdir"; then
   12876                                                         LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
   12877                           fi
   12878                         fi
   12879                       fi
   12880                     fi
   12881                     ;;
   12882                   -R*)
   12883                     dir=`echo "X$dep" | sed -e 's/^X-R//'`
   12884                     if test "$enable_rpath" != no; then
   12885                                                                   haveit=
   12886                       for x in $rpathdirs; do
   12887                         if test "X$x" = "X$dir"; then
   12888                           haveit=yes
   12889                           break
   12890                         fi
   12891                       done
   12892                       if test -z "$haveit"; then
   12893                         rpathdirs="$rpathdirs $dir"
   12894                       fi
   12895                                                                   haveit=
   12896                       for x in $ltrpathdirs; do
   12897                         if test "X$x" = "X$dir"; then
   12898                           haveit=yes
   12899                           break
   12900                         fi
   12901                       done
   12902                       if test -z "$haveit"; then
   12903                         ltrpathdirs="$ltrpathdirs $dir"
   12904                       fi
   12905                     fi
   12906                     ;;
   12907                   -l*)
   12908                                         names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
   12909                     ;;
   12910                   *.la)
   12911                                                                                 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
   12912                     ;;
   12913                   *)
   12914                                         LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
   12915                     LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
   12916                     ;;
   12917                 esac
   12918               done
   12919             fi
   12920           else
   12921                                                             LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
   12922             LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
   12923           fi
   12924         fi
   12925       fi
   12926     done
   12927   done
   12928   if test "X$rpathdirs" != "X"; then
   12929     if test -n "$hardcode_libdir_separator"; then
   12930                         alldirs=
   12931       for found_dir in $rpathdirs; do
   12932         alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
   12933       done
   12934             acl_save_libdir="$libdir"
   12935       libdir="$alldirs"
   12936       eval flag=\"$hardcode_libdir_flag_spec\"
   12937       libdir="$acl_save_libdir"
   12938       LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   12939     else
   12940             for found_dir in $rpathdirs; do
   12941         acl_save_libdir="$libdir"
   12942         libdir="$found_dir"
   12943         eval flag=\"$hardcode_libdir_flag_spec\"
   12944         libdir="$acl_save_libdir"
   12945         LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
   12946       done
   12947     fi
   12948   fi
   12949   if test "X$ltrpathdirs" != "X"; then
   12950             for found_dir in $ltrpathdirs; do
   12951       LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
   12952     done
   12953   fi
   12954 
   12955           echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
   12956 echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
   12957 if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
   12958   echo $ECHO_N "(cached) $ECHO_C" >&6
   12959 else
   12960   gt_save_CPPFLAGS="$CPPFLAGS"
   12961             CPPFLAGS="$CPPFLAGS $INCINTL"
   12962             gt_save_LIBS="$LIBS"
   12963             LIBS="$LIBS $LIBINTL"
   12964                         cat >conftest.$ac_ext <<_ACEOF
   12965 /* confdefs.h.  */
   12966 _ACEOF
   12967 cat confdefs.h >>conftest.$ac_ext
   12968 cat >>conftest.$ac_ext <<_ACEOF
   12969 /* end confdefs.h.  */
   12970 #include <libintl.h>
   12971 extern int _nl_msg_cat_cntr;
   12972 extern
   12973 #ifdef __cplusplus
   12974 "C"
   12975 #endif
   12976 const char *_nl_expand_alias ();
   12977 int
   12978 main ()
   12979 {
   12980 bindtextdomain ("", "");
   12981 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   12982   ;
   12983   return 0;
   12984 }
   12985 _ACEOF
   12986 rm -f conftest.$ac_objext conftest$ac_exeext
   12987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12988   (eval $ac_link) 2>conftest.er1
   12989   ac_status=$?
   12990   grep -v '^ *+' conftest.er1 >conftest.err
   12991   rm -f conftest.er1
   12992   cat conftest.err >&5
   12993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12994   (exit $ac_status); } &&
   12995 	 { ac_try='test -z "$ac_c_werror_flag"
   12996 			 || test ! -s conftest.err'
   12997   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12998   (eval $ac_try) 2>&5
   12999   ac_status=$?
   13000   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13001   (exit $ac_status); }; } &&
   13002 	 { ac_try='test -s conftest$ac_exeext'
   13003   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13004   (eval $ac_try) 2>&5
   13005   ac_status=$?
   13006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13007   (exit $ac_status); }; }; then
   13008   gt_cv_func_gnugettext1_libintl=yes
   13009 else
   13010   echo "$as_me: failed program was:" >&5
   13011 sed 's/^/| /' conftest.$ac_ext >&5
   13012 
   13013 gt_cv_func_gnugettext1_libintl=no
   13014 fi
   13015 rm -f conftest.err conftest.$ac_objext \
   13016       conftest$ac_exeext conftest.$ac_ext
   13017                         if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
   13018               LIBS="$LIBS $LIBICONV"
   13019               cat >conftest.$ac_ext <<_ACEOF
   13020 /* confdefs.h.  */
   13021 _ACEOF
   13022 cat confdefs.h >>conftest.$ac_ext
   13023 cat >>conftest.$ac_ext <<_ACEOF
   13024 /* end confdefs.h.  */
   13025 #include <libintl.h>
   13026 extern int _nl_msg_cat_cntr;
   13027 extern
   13028 #ifdef __cplusplus
   13029 "C"
   13030 #endif
   13031 const char *_nl_expand_alias ();
   13032 int
   13033 main ()
   13034 {
   13035 bindtextdomain ("", "");
   13036 return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
   13037   ;
   13038   return 0;
   13039 }
   13040 _ACEOF
   13041 rm -f conftest.$ac_objext conftest$ac_exeext
   13042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13043   (eval $ac_link) 2>conftest.er1
   13044   ac_status=$?
   13045   grep -v '^ *+' conftest.er1 >conftest.err
   13046   rm -f conftest.er1
   13047   cat conftest.err >&5
   13048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13049   (exit $ac_status); } &&
   13050 	 { ac_try='test -z "$ac_c_werror_flag"
   13051 			 || test ! -s conftest.err'
   13052   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13053   (eval $ac_try) 2>&5
   13054   ac_status=$?
   13055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13056   (exit $ac_status); }; } &&
   13057 	 { ac_try='test -s conftest$ac_exeext'
   13058   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13059   (eval $ac_try) 2>&5
   13060   ac_status=$?
   13061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13062   (exit $ac_status); }; }; then
   13063   LIBINTL="$LIBINTL $LIBICONV"
   13064                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
   13065                 gt_cv_func_gnugettext1_libintl=yes
   13066 
   13067 else
   13068   echo "$as_me: failed program was:" >&5
   13069 sed 's/^/| /' conftest.$ac_ext >&5
   13070 
   13071 fi
   13072 rm -f conftest.err conftest.$ac_objext \
   13073       conftest$ac_exeext conftest.$ac_ext
   13074             fi
   13075             CPPFLAGS="$gt_save_CPPFLAGS"
   13076             LIBS="$gt_save_LIBS"
   13077 fi
   13078 echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
   13079 echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
   13080         fi
   13081 
   13082                                         if test "$gt_cv_func_gnugettext1_libc" = "yes" \
   13083            || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
   13084                 && test "$PACKAGE" != gettext-runtime \
   13085                 && test "$PACKAGE" != gettext-tools; }; then
   13086           gt_use_preinstalled_gnugettext=yes
   13087         else
   13088                     LIBINTL=
   13089           LTLIBINTL=
   13090           INCINTL=
   13091         fi
   13092 
   13093 
   13094         if test "$gt_use_preinstalled_gnugettext" != "yes"; then
   13095                               nls_cv_use_gnu_gettext=yes
   13096         fi
   13097       fi
   13098 
   13099       if test "$nls_cv_use_gnu_gettext" = "yes"; then
   13100                 BUILD_INCLUDED_LIBINTL=yes
   13101         USE_INCLUDED_LIBINTL=yes
   13102         LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
   13103         LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
   13104         LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
   13105       fi
   13106 
   13107       if test "$gt_use_preinstalled_gnugettext" = "yes" \
   13108          || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13109                 CATOBJEXT=.gmo
   13110       fi
   13111 
   13112 
   13113     if test "$gt_use_preinstalled_gnugettext" = "yes" \
   13114        || test "$nls_cv_use_gnu_gettext" = "yes"; then
   13115 
   13116 cat >>confdefs.h <<\_ACEOF
   13117 #define ENABLE_NLS 1
   13118 _ACEOF
   13119 
   13120     else
   13121       USE_NLS=no
   13122     fi
   13123   fi
   13124 
   13125   echo "$as_me:$LINENO: checking whether to use NLS" >&5
   13126 echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
   13127   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   13128 echo "${ECHO_T}$USE_NLS" >&6
   13129   if test "$USE_NLS" = "yes"; then
   13130     echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
   13131 echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
   13132     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13133       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   13134         gt_source="external libintl"
   13135       else
   13136         gt_source="libc"
   13137       fi
   13138     else
   13139       gt_source="included intl directory"
   13140     fi
   13141     echo "$as_me:$LINENO: result: $gt_source" >&5
   13142 echo "${ECHO_T}$gt_source" >&6
   13143   fi
   13144 
   13145   if test "$USE_NLS" = "yes"; then
   13146 
   13147     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
   13148       if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
   13149         echo "$as_me:$LINENO: checking how to link with libintl" >&5
   13150 echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
   13151         echo "$as_me:$LINENO: result: $LIBINTL" >&5
   13152 echo "${ECHO_T}$LIBINTL" >&6
   13153 
   13154   for element in $INCINTL; do
   13155     haveit=
   13156     for x in $CPPFLAGS; do
   13157 
   13158   acl_save_prefix="$prefix"
   13159   prefix="$acl_final_prefix"
   13160   acl_save_exec_prefix="$exec_prefix"
   13161   exec_prefix="$acl_final_exec_prefix"
   13162   eval x=\"$x\"
   13163   exec_prefix="$acl_save_exec_prefix"
   13164   prefix="$acl_save_prefix"
   13165 
   13166       if test "X$x" = "X$element"; then
   13167         haveit=yes
   13168         break
   13169       fi
   13170     done
   13171     if test -z "$haveit"; then
   13172       CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
   13173     fi
   13174   done
   13175 
   13176       fi
   13177 
   13178 
   13179 cat >>confdefs.h <<\_ACEOF
   13180 #define HAVE_GETTEXT 1
   13181 _ACEOF
   13182 
   13183 
   13184 cat >>confdefs.h <<\_ACEOF
   13185 #define HAVE_DCGETTEXT 1
   13186 _ACEOF
   13187 
   13188     fi
   13189 
   13190         POSUB=po
   13191   fi
   13192 
   13193 
   13194             if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
   13195       BUILD_INCLUDED_LIBINTL=yes
   13196     fi
   13197 
   13198 
   13199 
   13200 
   13201 
   13202         nls_cv_header_intl=
   13203     nls_cv_header_libgt=
   13204 
   13205         DATADIRNAME=share
   13206 
   13207 
   13208         INSTOBJEXT=.mo
   13209 
   13210 
   13211         GENCAT=gencat
   13212 
   13213 
   13214         if test "$USE_INCLUDED_LIBINTL" = yes; then
   13215       INTLOBJS="\$(GETTOBJS)"
   13216     fi
   13217 
   13218 
   13219         INTL_LIBTOOL_SUFFIX_PREFIX=
   13220 
   13221 
   13222 
   13223     INTLLIBS="$LIBINTL"
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 
   13231                                                                                                     ac_config_files="$ac_config_files Makefile doc/Makefile info/Makefile intl/Makefile lib/Makefile m4/Makefile makeinfo/Makefile makeinfo/tests/Makefile po/Makefile.in util/Makefile"
   13232 
   13233 cat >confcache <<\_ACEOF
   13234 # This file is a shell script that caches the results of configure
   13235 # tests run on this system so they can be shared between configure
   13236 # scripts and configure runs, see configure's option --config-cache.
   13237 # It is not useful on other systems.  If it contains results you don't
   13238 # want to keep, you may remove or edit it.
   13239 #
   13240 # config.status only pays attention to the cache file if you give it
   13241 # the --recheck option to rerun configure.
   13242 #
   13243 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13245 # following values.
   13246 
   13247 _ACEOF
   13248 
   13249 # The following way of writing the cache mishandles newlines in values,
   13250 # but we know of no workaround that is simple, portable, and efficient.
   13251 # So, don't put newlines in cache variables' values.
   13252 # Ultrix sh set writes to stderr and can't be redirected directly,
   13253 # and sets the high bit in the cache file unless we assign to the vars.
   13254 {
   13255   (set) 2>&1 |
   13256     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   13257     *ac_space=\ *)
   13258       # `set' does not quote correctly, so add quotes (double-quote
   13259       # substitution turns \\\\ into \\, and sed turns \\ into \).
   13260       sed -n \
   13261 	"s/'/'\\\\''/g;
   13262 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13263       ;;
   13264     *)
   13265       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13266       sed -n \
   13267 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   13268       ;;
   13269     esac;
   13270 } |
   13271   sed '
   13272      t clear
   13273      : clear
   13274      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13275      t end
   13276      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13277      : end' >>confcache
   13278 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   13279   if test -w $cache_file; then
   13280     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   13281     cat confcache >$cache_file
   13282   else
   13283     echo "not updating unwritable cache $cache_file"
   13284   fi
   13285 fi
   13286 rm -f confcache
   13287 
   13288 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13289 # Let make expand exec_prefix.
   13290 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13291 
   13292 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   13293 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   13294 # trailing colons and then remove the whole line if VPATH becomes empty
   13295 # (actually we leave an empty line to preserve line numbers).
   13296 if test "x$srcdir" = x.; then
   13297   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   13298 s/:*\$(srcdir):*/:/;
   13299 s/:*\${srcdir}:*/:/;
   13300 s/:*@srcdir@:*/:/;
   13301 s/^\([^=]*=[	 ]*\):*/\1/;
   13302 s/:*$//;
   13303 s/^[^=]*=[	 ]*$//;
   13304 }'
   13305 fi
   13306 
   13307 DEFS=-DHAVE_CONFIG_H
   13308 
   13309 ac_libobjs=
   13310 ac_ltlibobjs=
   13311 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13312   # 1. Remove the extension, and $U if already installed.
   13313   ac_i=`echo "$ac_i" |
   13314 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   13315   # 2. Add them.
   13316   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   13317   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   13318 done
   13319 LIBOBJS=$ac_libobjs
   13320 
   13321 LTLIBOBJS=$ac_ltlibobjs
   13322 
   13323 
   13324 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13325   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   13326 Usually this means the macro was only invoked conditionally." >&5
   13327 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   13328 Usually this means the macro was only invoked conditionally." >&2;}
   13329    { (exit 1); exit 1; }; }
   13330 fi
   13331 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13332   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   13333 Usually this means the macro was only invoked conditionally." >&5
   13334 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   13335 Usually this means the macro was only invoked conditionally." >&2;}
   13336    { (exit 1); exit 1; }; }
   13337 fi
   13338 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13339   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13340 Usually this means the macro was only invoked conditionally." >&5
   13341 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13342 Usually this means the macro was only invoked conditionally." >&2;}
   13343    { (exit 1); exit 1; }; }
   13344 fi
   13345 if test -z "${TOOLS_ONLY_TRUE}" && test -z "${TOOLS_ONLY_FALSE}"; then
   13346   { { echo "$as_me:$LINENO: error: conditional \"TOOLS_ONLY\" was never defined.
   13347 Usually this means the macro was only invoked conditionally." >&5
   13348 echo "$as_me: error: conditional \"TOOLS_ONLY\" was never defined.
   13349 Usually this means the macro was only invoked conditionally." >&2;}
   13350    { (exit 1); exit 1; }; }
   13351 fi
   13352 if test -z "${INSTALL_WARNINGS_TRUE}" && test -z "${INSTALL_WARNINGS_FALSE}"; then
   13353   { { echo "$as_me:$LINENO: error: conditional \"INSTALL_WARNINGS\" was never defined.
   13354 Usually this means the macro was only invoked conditionally." >&5
   13355 echo "$as_me: error: conditional \"INSTALL_WARNINGS\" was never defined.
   13356 Usually this means the macro was only invoked conditionally." >&2;}
   13357    { (exit 1); exit 1; }; }
   13358 fi
   13359 
   13360 : ${CONFIG_STATUS=./config.status}
   13361 ac_clean_files_save=$ac_clean_files
   13362 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13363 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   13364 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13365 cat >$CONFIG_STATUS <<_ACEOF
   13366 #! $SHELL
   13367 # Generated by $as_me.
   13368 # Run this file to recreate the current configuration.
   13369 # Compiler output produced by configure, useful for debugging
   13370 # configure, is in config.log if it exists.
   13371 
   13372 debug=false
   13373 ac_cs_recheck=false
   13374 ac_cs_silent=false
   13375 SHELL=\${CONFIG_SHELL-$SHELL}
   13376 _ACEOF
   13377 
   13378 cat >>$CONFIG_STATUS <<\_ACEOF
   13379 ## --------------------- ##
   13380 ## M4sh Initialization.  ##
   13381 ## --------------------- ##
   13382 
   13383 # Be Bourne compatible
   13384 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   13385   emulate sh
   13386   NULLCMD=:
   13387   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   13388   # is contrary to our usage.  Disable this feature.
   13389   alias -g '${1+"$@"}'='"$@"'
   13390 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   13391   set -o posix
   13392 fi
   13393 DUALCASE=1; export DUALCASE # for MKS sh
   13394 
   13395 # Support unset when possible.
   13396 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   13397   as_unset=unset
   13398 else
   13399   as_unset=false
   13400 fi
   13401 
   13402 
   13403 # Work around bugs in pre-3.0 UWIN ksh.
   13404 $as_unset ENV MAIL MAILPATH
   13405 PS1='$ '
   13406 PS2='> '
   13407 PS4='+ '
   13408 
   13409 # NLS nuisances.
   13410 for as_var in \
   13411   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   13412   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   13413   LC_TELEPHONE LC_TIME
   13414 do
   13415   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   13416     eval $as_var=C; export $as_var
   13417   else
   13418     $as_unset $as_var
   13419   fi
   13420 done
   13421 
   13422 # Required to use basename.
   13423 if expr a : '\(a\)' >/dev/null 2>&1; then
   13424   as_expr=expr
   13425 else
   13426   as_expr=false
   13427 fi
   13428 
   13429 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   13430   as_basename=basename
   13431 else
   13432   as_basename=false
   13433 fi
   13434 
   13435 
   13436 # Name of the executable.
   13437 as_me=`$as_basename "$0" ||
   13438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13439 	 X"$0" : 'X\(//\)$' \| \
   13440 	 X"$0" : 'X\(/\)$' \| \
   13441 	 .     : '\(.\)' 2>/dev/null ||
   13442 echo X/"$0" |
   13443     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   13444   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   13445   	  /^X\/\(\/\).*/{ s//\1/; q; }
   13446   	  s/.*/./; q'`
   13447 
   13448 
   13449 # PATH needs CR, and LINENO needs CR and PATH.
   13450 # Avoid depending upon Character Ranges.
   13451 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13452 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13453 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13454 as_cr_digits='0123456789'
   13455 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13456 
   13457 # The user is always right.
   13458 if test "${PATH_SEPARATOR+set}" != set; then
   13459   echo "#! /bin/sh" >conf$$.sh
   13460   echo  "exit 0"   >>conf$$.sh
   13461   chmod +x conf$$.sh
   13462   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13463     PATH_SEPARATOR=';'
   13464   else
   13465     PATH_SEPARATOR=:
   13466   fi
   13467   rm -f conf$$.sh
   13468 fi
   13469 
   13470 
   13471   as_lineno_1=$LINENO
   13472   as_lineno_2=$LINENO
   13473   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   13474   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13475   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   13476   # Find who we are.  Look in the path if we contain no path at all
   13477   # relative or not.
   13478   case $0 in
   13479     *[\\/]* ) as_myself=$0 ;;
   13480     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13481 for as_dir in $PATH
   13482 do
   13483   IFS=$as_save_IFS
   13484   test -z "$as_dir" && as_dir=.
   13485   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13486 done
   13487 
   13488        ;;
   13489   esac
   13490   # We did not find ourselves, most probably we were run as `sh COMMAND'
   13491   # in which case we are not to be found in the path.
   13492   if test "x$as_myself" = x; then
   13493     as_myself=$0
   13494   fi
   13495   if test ! -f "$as_myself"; then
   13496     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   13497 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   13498    { (exit 1); exit 1; }; }
   13499   fi
   13500   case $CONFIG_SHELL in
   13501   '')
   13502     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13503 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   13504 do
   13505   IFS=$as_save_IFS
   13506   test -z "$as_dir" && as_dir=.
   13507   for as_base in sh bash ksh sh5; do
   13508 	 case $as_dir in
   13509 	 /*)
   13510 	   if ("$as_dir/$as_base" -c '
   13511   as_lineno_1=$LINENO
   13512   as_lineno_2=$LINENO
   13513   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   13514   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13515   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   13516 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   13517 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   13518 	     CONFIG_SHELL=$as_dir/$as_base
   13519 	     export CONFIG_SHELL
   13520 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   13521 	   fi;;
   13522 	 esac
   13523        done
   13524 done
   13525 ;;
   13526   esac
   13527 
   13528   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   13529   # uniformly replaced by the line number.  The first 'sed' inserts a
   13530   # line-number line before each line; the second 'sed' does the real
   13531   # work.  The second script uses 'N' to pair each line-number line
   13532   # with the numbered line, and appends trailing '-' during
   13533   # substitution so that $LINENO is not a special case at line end.
   13534   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   13535   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   13536   sed '=' <$as_myself |
   13537     sed '
   13538       N
   13539       s,$,-,
   13540       : loop
   13541       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   13542       t loop
   13543       s,-$,,
   13544       s,^['$as_cr_digits']*\n,,
   13545     ' >$as_me.lineno &&
   13546   chmod +x $as_me.lineno ||
   13547     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   13548 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   13549    { (exit 1); exit 1; }; }
   13550 
   13551   # Don't try to exec as it changes $[0], causing all sort of problems
   13552   # (the dirname of $[0] is not the place where we might find the
   13553   # original and so on.  Autoconf is especially sensible to this).
   13554   . ./$as_me.lineno
   13555   # Exit status is that of the last command.
   13556   exit
   13557 }
   13558 
   13559 
   13560 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   13561   *c*,-n*) ECHO_N= ECHO_C='
   13562 ' ECHO_T='	' ;;
   13563   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   13564   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   13565 esac
   13566 
   13567 if expr a : '\(a\)' >/dev/null 2>&1; then
   13568   as_expr=expr
   13569 else
   13570   as_expr=false
   13571 fi
   13572 
   13573 rm -f conf$$ conf$$.exe conf$$.file
   13574 echo >conf$$.file
   13575 if ln -s conf$$.file conf$$ 2>/dev/null; then
   13576   # We could just check for DJGPP; but this test a) works b) is more generic
   13577   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   13578   if test -f conf$$.exe; then
   13579     # Don't use ln at all; we don't have any links
   13580     as_ln_s='cp -p'
   13581   else
   13582     as_ln_s='ln -s'
   13583   fi
   13584 elif ln conf$$.file conf$$ 2>/dev/null; then
   13585   as_ln_s=ln
   13586 else
   13587   as_ln_s='cp -p'
   13588 fi
   13589 rm -f conf$$ conf$$.exe conf$$.file
   13590 
   13591 if mkdir -p . 2>/dev/null; then
   13592   as_mkdir_p=:
   13593 else
   13594   test -d ./-p && rmdir ./-p
   13595   as_mkdir_p=false
   13596 fi
   13597 
   13598 as_executable_p="test -f"
   13599 
   13600 # Sed expression to map a string onto a valid CPP name.
   13601 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13602 
   13603 # Sed expression to map a string onto a valid variable name.
   13604 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13605 
   13606 
   13607 # IFS
   13608 # We need space, tab and new line, in precisely that order.
   13609 as_nl='
   13610 '
   13611 IFS=" 	$as_nl"
   13612 
   13613 # CDPATH.
   13614 $as_unset CDPATH
   13615 
   13616 exec 6>&1
   13617 
   13618 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   13619 # report actual input values of CONFIG_FILES etc. instead of their
   13620 # values after options handling.  Logging --version etc. is OK.
   13621 exec 5>>config.log
   13622 {
   13623   echo
   13624   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13625 ## Running $as_me. ##
   13626 _ASBOX
   13627 } >&5
   13628 cat >&5 <<_CSEOF
   13629 
   13630 This file was extended by GNU Texinfo $as_me 4.8, which was
   13631 generated by GNU Autoconf 2.59.  Invocation command line was
   13632 
   13633   CONFIG_FILES    = $CONFIG_FILES
   13634   CONFIG_HEADERS  = $CONFIG_HEADERS
   13635   CONFIG_LINKS    = $CONFIG_LINKS
   13636   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13637   $ $0 $@
   13638 
   13639 _CSEOF
   13640 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   13641 echo >&5
   13642 _ACEOF
   13643 
   13644 # Files that config.status was made for.
   13645 if test -n "$ac_config_files"; then
   13646   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   13647 fi
   13648 
   13649 if test -n "$ac_config_headers"; then
   13650   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   13651 fi
   13652 
   13653 if test -n "$ac_config_links"; then
   13654   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   13655 fi
   13656 
   13657 if test -n "$ac_config_commands"; then
   13658   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   13659 fi
   13660 
   13661 cat >>$CONFIG_STATUS <<\_ACEOF
   13662 
   13663 ac_cs_usage="\
   13664 \`$as_me' instantiates files from templates according to the
   13665 current configuration.
   13666 
   13667 Usage: $0 [OPTIONS] [FILE]...
   13668 
   13669   -h, --help       print this help, then exit
   13670   -V, --version    print version number, then exit
   13671   -q, --quiet      do not print progress messages
   13672   -d, --debug      don't remove temporary files
   13673       --recheck    update $as_me by reconfiguring in the same conditions
   13674   --file=FILE[:TEMPLATE]
   13675 		   instantiate the configuration file FILE
   13676   --header=FILE[:TEMPLATE]
   13677 		   instantiate the configuration header FILE
   13678 
   13679 Configuration files:
   13680 $config_files
   13681 
   13682 Configuration headers:
   13683 $config_headers
   13684 
   13685 Configuration commands:
   13686 $config_commands
   13687 
   13688 Report bugs to <bug-autoconf@gnu.org>."
   13689 _ACEOF
   13690 
   13691 cat >>$CONFIG_STATUS <<_ACEOF
   13692 ac_cs_version="\\
   13693 GNU Texinfo config.status 4.8
   13694 configured by $0, generated by GNU Autoconf 2.59,
   13695   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   13696 
   13697 Copyright (C) 2003 Free Software Foundation, Inc.
   13698 This config.status script is free software; the Free Software Foundation
   13699 gives unlimited permission to copy, distribute and modify it."
   13700 srcdir=$srcdir
   13701 INSTALL="$INSTALL"
   13702 _ACEOF
   13703 
   13704 cat >>$CONFIG_STATUS <<\_ACEOF
   13705 # If no file are specified by the user, then we need to provide default
   13706 # value.  By we need to know if files were specified by the user.
   13707 ac_need_defaults=:
   13708 while test $# != 0
   13709 do
   13710   case $1 in
   13711   --*=*)
   13712     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   13713     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   13714     ac_shift=:
   13715     ;;
   13716   -*)
   13717     ac_option=$1
   13718     ac_optarg=$2
   13719     ac_shift=shift
   13720     ;;
   13721   *) # This is not an option, so the user has probably given explicit
   13722      # arguments.
   13723      ac_option=$1
   13724      ac_need_defaults=false;;
   13725   esac
   13726 
   13727   case $ac_option in
   13728   # Handling of the options.
   13729 _ACEOF
   13730 cat >>$CONFIG_STATUS <<\_ACEOF
   13731   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13732     ac_cs_recheck=: ;;
   13733   --version | --vers* | -V )
   13734     echo "$ac_cs_version"; exit 0 ;;
   13735   --he | --h)
   13736     # Conflict between --help and --header
   13737     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   13738 Try \`$0 --help' for more information." >&5
   13739 echo "$as_me: error: ambiguous option: $1
   13740 Try \`$0 --help' for more information." >&2;}
   13741    { (exit 1); exit 1; }; };;
   13742   --help | --hel | -h )
   13743     echo "$ac_cs_usage"; exit 0 ;;
   13744   --debug | --d* | -d )
   13745     debug=: ;;
   13746   --file | --fil | --fi | --f )
   13747     $ac_shift
   13748     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   13749     ac_need_defaults=false;;
   13750   --header | --heade | --head | --hea )
   13751     $ac_shift
   13752     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   13753     ac_need_defaults=false;;
   13754   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   13755   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   13756     ac_cs_silent=: ;;
   13757 
   13758   # This is an error.
   13759   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   13760 Try \`$0 --help' for more information." >&5
   13761 echo "$as_me: error: unrecognized option: $1
   13762 Try \`$0 --help' for more information." >&2;}
   13763    { (exit 1); exit 1; }; } ;;
   13764 
   13765   *) ac_config_targets="$ac_config_targets $1" ;;
   13766 
   13767   esac
   13768   shift
   13769 done
   13770 
   13771 ac_configure_extra_args=
   13772 
   13773 if $ac_cs_silent; then
   13774   exec 6>/dev/null
   13775   ac_configure_extra_args="$ac_configure_extra_args --silent"
   13776 fi
   13777 
   13778 _ACEOF
   13779 cat >>$CONFIG_STATUS <<_ACEOF
   13780 if \$ac_cs_recheck; then
   13781   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   13782   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   13783 fi
   13784 
   13785 _ACEOF
   13786 
   13787 cat >>$CONFIG_STATUS <<_ACEOF
   13788 #
   13789 # INIT-COMMANDS section.
   13790 #
   13791 
   13792 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   13793 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   13794     # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
   13795     # from automake.
   13796     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   13797     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   13798     LINGUAS="${LINGUAS-%UNSET%}"
   13799 
   13800 
   13801 _ACEOF
   13802 
   13803 
   13804 
   13805 cat >>$CONFIG_STATUS <<\_ACEOF
   13806 for ac_config_target in $ac_config_targets
   13807 do
   13808   case "$ac_config_target" in
   13809   # Handling of arguments.
   13810   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   13811   "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
   13812   "info/Makefile" ) CONFIG_FILES="$CONFIG_FILES info/Makefile" ;;
   13813   "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
   13814   "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
   13815   "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
   13816   "makeinfo/Makefile" ) CONFIG_FILES="$CONFIG_FILES makeinfo/Makefile" ;;
   13817   "makeinfo/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES makeinfo/tests/Makefile" ;;
   13818   "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
   13819   "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
   13820   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   13821   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   13822   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   13823   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   13824 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   13825    { (exit 1); exit 1; }; };;
   13826   esac
   13827 done
   13828 
   13829 # If the user did not use the arguments to specify the items to instantiate,
   13830 # then the envvar interface is used.  Set only those that are not.
   13831 # We use the long form for the default assignment because of an extremely
   13832 # bizarre bug on SunOS 4.1.3.
   13833 if $ac_need_defaults; then
   13834   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   13835   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   13836   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   13837 fi
   13838 
   13839 # Have a temporary directory for convenience.  Make it in the build tree
   13840 # simply because there is no reason to put it here, and in addition,
   13841 # creating and moving files from /tmp can sometimes cause problems.
   13842 # Create a temporary directory, and hook for its removal unless debugging.
   13843 $debug ||
   13844 {
   13845   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   13846   trap '{ (exit 1); exit 1; }' 1 2 13 15
   13847 }
   13848 
   13849 # Create a (secure) tmp directory for tmp files.
   13850 
   13851 {
   13852   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   13853   test -n "$tmp" && test -d "$tmp"
   13854 }  ||
   13855 {
   13856   tmp=./confstat$$-$RANDOM
   13857   (umask 077 && mkdir $tmp)
   13858 } ||
   13859 {
   13860    echo "$me: cannot create a temporary directory in ." >&2
   13861    { (exit 1); exit 1; }
   13862 }
   13863 
   13864 _ACEOF
   13865 
   13866 cat >>$CONFIG_STATUS <<_ACEOF
   13867 
   13868 #
   13869 # CONFIG_FILES section.
   13870 #
   13871 
   13872 # No need to generate the scripts if there are no CONFIG_FILES.
   13873 # This happens for instance when ./config.status config.h
   13874 if test -n "\$CONFIG_FILES"; then
   13875   # Protect against being on the right side of a sed subst in config.status.
   13876   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   13877    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   13878 s,@SHELL@,$SHELL,;t t
   13879 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   13880 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   13881 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   13882 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   13883 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   13884 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   13885 s,@exec_prefix@,$exec_prefix,;t t
   13886 s,@prefix@,$prefix,;t t
   13887 s,@program_transform_name@,$program_transform_name,;t t
   13888 s,@bindir@,$bindir,;t t
   13889 s,@sbindir@,$sbindir,;t t
   13890 s,@libexecdir@,$libexecdir,;t t
   13891 s,@datadir@,$datadir,;t t
   13892 s,@sysconfdir@,$sysconfdir,;t t
   13893 s,@sharedstatedir@,$sharedstatedir,;t t
   13894 s,@localstatedir@,$localstatedir,;t t
   13895 s,@libdir@,$libdir,;t t
   13896 s,@includedir@,$includedir,;t t
   13897 s,@oldincludedir@,$oldincludedir,;t t
   13898 s,@infodir@,$infodir,;t t
   13899 s,@mandir@,$mandir,;t t
   13900 s,@build_alias@,$build_alias,;t t
   13901 s,@host_alias@,$host_alias,;t t
   13902 s,@target_alias@,$target_alias,;t t
   13903 s,@DEFS@,$DEFS,;t t
   13904 s,@ECHO_C@,$ECHO_C,;t t
   13905 s,@ECHO_N@,$ECHO_N,;t t
   13906 s,@ECHO_T@,$ECHO_T,;t t
   13907 s,@LIBS@,$LIBS,;t t
   13908 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   13909 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   13910 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   13911 s,@CYGPATH_W@,$CYGPATH_W,;t t
   13912 s,@PACKAGE@,$PACKAGE,;t t
   13913 s,@VERSION@,$VERSION,;t t
   13914 s,@ACLOCAL@,$ACLOCAL,;t t
   13915 s,@AUTOCONF@,$AUTOCONF,;t t
   13916 s,@AUTOMAKE@,$AUTOMAKE,;t t
   13917 s,@AUTOHEADER@,$AUTOHEADER,;t t
   13918 s,@MAKEINFO@,$MAKEINFO,;t t
   13919 s,@install_sh@,$install_sh,;t t
   13920 s,@STRIP@,$STRIP,;t t
   13921 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   13922 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
   13923 s,@mkdir_p@,$mkdir_p,;t t
   13924 s,@AWK@,$AWK,;t t
   13925 s,@SET_MAKE@,$SET_MAKE,;t t
   13926 s,@am__leading_dot@,$am__leading_dot,;t t
   13927 s,@AMTAR@,$AMTAR,;t t
   13928 s,@am__tar@,$am__tar,;t t
   13929 s,@am__untar@,$am__untar,;t t
   13930 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
   13931 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
   13932 s,@MAINT@,$MAINT,;t t
   13933 s,@CC@,$CC,;t t
   13934 s,@CFLAGS@,$CFLAGS,;t t
   13935 s,@LDFLAGS@,$LDFLAGS,;t t
   13936 s,@CPPFLAGS@,$CPPFLAGS,;t t
   13937 s,@ac_ct_CC@,$ac_ct_CC,;t t
   13938 s,@EXEEXT@,$EXEEXT,;t t
   13939 s,@OBJEXT@,$OBJEXT,;t t
   13940 s,@DEPDIR@,$DEPDIR,;t t
   13941 s,@am__include@,$am__include,;t t
   13942 s,@am__quote@,$am__quote,;t t
   13943 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
   13944 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
   13945 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
   13946 s,@CCDEPMODE@,$CCDEPMODE,;t t
   13947 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
   13948 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
   13949 s,@CPP@,$CPP,;t t
   13950 s,@EGREP@,$EGREP,;t t
   13951 s,@RANLIB@,$RANLIB,;t t
   13952 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   13953 s,@HELP2MAN@,$HELP2MAN,;t t
   13954 s,@ALLOCA@,$ALLOCA,;t t
   13955 s,@LIBOBJS@,$LIBOBJS,;t t
   13956 s,@build@,$build,;t t
   13957 s,@build_cpu@,$build_cpu,;t t
   13958 s,@build_vendor@,$build_vendor,;t t
   13959 s,@build_os@,$build_os,;t t
   13960 s,@native_tools@,$native_tools,;t t
   13961 s,@TOOLS_ONLY_TRUE@,$TOOLS_ONLY_TRUE,;t t
   13962 s,@TOOLS_ONLY_FALSE@,$TOOLS_ONLY_FALSE,;t t
   13963 s,@TERMLIBS@,$TERMLIBS,;t t
   13964 s,@host@,$host,;t t
   13965 s,@host_cpu@,$host_cpu,;t t
   13966 s,@host_vendor@,$host_vendor,;t t
   13967 s,@host_os@,$host_os,;t t
   13968 s,@INSTALL_WARNINGS_TRUE@,$INSTALL_WARNINGS_TRUE,;t t
   13969 s,@INSTALL_WARNINGS_FALSE@,$INSTALL_WARNINGS_FALSE,;t t
   13970 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
   13971 s,@USE_NLS@,$USE_NLS,;t t
   13972 s,@MSGFMT@,$MSGFMT,;t t
   13973 s,@GMSGFMT@,$GMSGFMT,;t t
   13974 s,@XGETTEXT@,$XGETTEXT,;t t
   13975 s,@MSGMERGE@,$MSGMERGE,;t t
   13976 s,@GLIBC21@,$GLIBC21,;t t
   13977 s,@HAVE_POSIX_PRINTF@,$HAVE_POSIX_PRINTF,;t t
   13978 s,@HAVE_ASPRINTF@,$HAVE_ASPRINTF,;t t
   13979 s,@HAVE_SNPRINTF@,$HAVE_SNPRINTF,;t t
   13980 s,@HAVE_WPRINTF@,$HAVE_WPRINTF,;t t
   13981 s,@LIBICONV@,$LIBICONV,;t t
   13982 s,@LTLIBICONV@,$LTLIBICONV,;t t
   13983 s,@INTLBISON@,$INTLBISON,;t t
   13984 s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
   13985 s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
   13986 s,@CATOBJEXT@,$CATOBJEXT,;t t
   13987 s,@DATADIRNAME@,$DATADIRNAME,;t t
   13988 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
   13989 s,@GENCAT@,$GENCAT,;t t
   13990 s,@INTLOBJS@,$INTLOBJS,;t t
   13991 s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
   13992 s,@INTLLIBS@,$INTLLIBS,;t t
   13993 s,@LIBINTL@,$LIBINTL,;t t
   13994 s,@LTLIBINTL@,$LTLIBINTL,;t t
   13995 s,@POSUB@,$POSUB,;t t
   13996 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   13997 CEOF
   13998 
   13999 _ACEOF
   14000 
   14001   cat >>$CONFIG_STATUS <<\_ACEOF
   14002   # Split the substitutions into bite-sized pieces for seds with
   14003   # small command number limits, like on Digital OSF/1 and HP-UX.
   14004   ac_max_sed_lines=48
   14005   ac_sed_frag=1 # Number of current file.
   14006   ac_beg=1 # First line for current file.
   14007   ac_end=$ac_max_sed_lines # Line after last line for current file.
   14008   ac_more_lines=:
   14009   ac_sed_cmds=
   14010   while $ac_more_lines; do
   14011     if test $ac_beg -gt 1; then
   14012       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   14013     else
   14014       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   14015     fi
   14016     if test ! -s $tmp/subs.frag; then
   14017       ac_more_lines=false
   14018     else
   14019       # The purpose of the label and of the branching condition is to
   14020       # speed up the sed processing (if there are no `@' at all, there
   14021       # is no need to browse any of the substitutions).
   14022       # These are the two extra sed commands mentioned above.
   14023       (echo ':t
   14024   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   14025       if test -z "$ac_sed_cmds"; then
   14026 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   14027       else
   14028 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   14029       fi
   14030       ac_sed_frag=`expr $ac_sed_frag + 1`
   14031       ac_beg=$ac_end
   14032       ac_end=`expr $ac_end + $ac_max_sed_lines`
   14033     fi
   14034   done
   14035   if test -z "$ac_sed_cmds"; then
   14036     ac_sed_cmds=cat
   14037   fi
   14038 fi # test -n "$CONFIG_FILES"
   14039 
   14040 _ACEOF
   14041 cat >>$CONFIG_STATUS <<\_ACEOF
   14042 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   14043   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   14044   case $ac_file in
   14045   - | *:- | *:-:* ) # input from stdin
   14046 	cat >$tmp/stdin
   14047 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14048 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14049   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14050 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14051   * )   ac_file_in=$ac_file.in ;;
   14052   esac
   14053 
   14054   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   14055   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   14056 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14057 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14058 	 X"$ac_file" : 'X\(//\)$' \| \
   14059 	 X"$ac_file" : 'X\(/\)' \| \
   14060 	 .     : '\(.\)' 2>/dev/null ||
   14061 echo X"$ac_file" |
   14062     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14063   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14064   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14065   	  /^X\(\/\).*/{ s//\1/; q; }
   14066   	  s/.*/./; q'`
   14067   { if $as_mkdir_p; then
   14068     mkdir -p "$ac_dir"
   14069   else
   14070     as_dir="$ac_dir"
   14071     as_dirs=
   14072     while test ! -d "$as_dir"; do
   14073       as_dirs="$as_dir $as_dirs"
   14074       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   14075 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14076 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14077 	 X"$as_dir" : 'X\(//\)$' \| \
   14078 	 X"$as_dir" : 'X\(/\)' \| \
   14079 	 .     : '\(.\)' 2>/dev/null ||
   14080 echo X"$as_dir" |
   14081     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14082   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14083   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14084   	  /^X\(\/\).*/{ s//\1/; q; }
   14085   	  s/.*/./; q'`
   14086     done
   14087     test ! -n "$as_dirs" || mkdir $as_dirs
   14088   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   14089 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   14090    { (exit 1); exit 1; }; }; }
   14091 
   14092   ac_builddir=.
   14093 
   14094 if test "$ac_dir" != .; then
   14095   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   14096   # A "../" for each directory in $ac_dir_suffix.
   14097   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   14098 else
   14099   ac_dir_suffix= ac_top_builddir=
   14100 fi
   14101 
   14102 case $srcdir in
   14103   .)  # No --srcdir option.  We are building in place.
   14104     ac_srcdir=.
   14105     if test -z "$ac_top_builddir"; then
   14106        ac_top_srcdir=.
   14107     else
   14108        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   14109     fi ;;
   14110   [\\/]* | ?:[\\/]* )  # Absolute path.
   14111     ac_srcdir=$srcdir$ac_dir_suffix;
   14112     ac_top_srcdir=$srcdir ;;
   14113   *) # Relative path.
   14114     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   14115     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   14116 esac
   14117 
   14118 # Do not use `cd foo && pwd` to compute absolute paths, because
   14119 # the directories may not exist.
   14120 case `pwd` in
   14121 .) ac_abs_builddir="$ac_dir";;
   14122 *)
   14123   case "$ac_dir" in
   14124   .) ac_abs_builddir=`pwd`;;
   14125   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   14126   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   14127   esac;;
   14128 esac
   14129 case $ac_abs_builddir in
   14130 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   14131 *)
   14132   case ${ac_top_builddir}. in
   14133   .) ac_abs_top_builddir=$ac_abs_builddir;;
   14134   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   14135   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   14136   esac;;
   14137 esac
   14138 case $ac_abs_builddir in
   14139 .) ac_abs_srcdir=$ac_srcdir;;
   14140 *)
   14141   case $ac_srcdir in
   14142   .) ac_abs_srcdir=$ac_abs_builddir;;
   14143   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   14144   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   14145   esac;;
   14146 esac
   14147 case $ac_abs_builddir in
   14148 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   14149 *)
   14150   case $ac_top_srcdir in
   14151   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   14152   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   14153   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   14154   esac;;
   14155 esac
   14156 
   14157 
   14158   case $INSTALL in
   14159   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14160   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   14161   esac
   14162 
   14163   if test x"$ac_file" != x-; then
   14164     { echo "$as_me:$LINENO: creating $ac_file" >&5
   14165 echo "$as_me: creating $ac_file" >&6;}
   14166     rm -f "$ac_file"
   14167   fi
   14168   # Let's still pretend it is `configure' which instantiates (i.e., don't
   14169   # use $as_me), people would be surprised to read:
   14170   #    /* config.h.  Generated by config.status.  */
   14171   if test x"$ac_file" = x-; then
   14172     configure_input=
   14173   else
   14174     configure_input="$ac_file.  "
   14175   fi
   14176   configure_input=$configure_input"Generated from `echo $ac_file_in |
   14177 				     sed 's,.*/,,'` by configure."
   14178 
   14179   # First look for the input files in the build tree, otherwise in the
   14180   # src tree.
   14181   ac_file_inputs=`IFS=:
   14182     for f in $ac_file_in; do
   14183       case $f in
   14184       -) echo $tmp/stdin ;;
   14185       [\\/$]*)
   14186 	 # Absolute (can't be DOS-style, as IFS=:)
   14187 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14188 echo "$as_me: error: cannot find input file: $f" >&2;}
   14189    { (exit 1); exit 1; }; }
   14190 	 echo "$f";;
   14191       *) # Relative
   14192 	 if test -f "$f"; then
   14193 	   # Build tree
   14194 	   echo "$f"
   14195 	 elif test -f "$srcdir/$f"; then
   14196 	   # Source tree
   14197 	   echo "$srcdir/$f"
   14198 	 else
   14199 	   # /dev/null tree
   14200 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14201 echo "$as_me: error: cannot find input file: $f" >&2;}
   14202    { (exit 1); exit 1; }; }
   14203 	 fi;;
   14204       esac
   14205     done` || { (exit 1); exit 1; }
   14206 _ACEOF
   14207 cat >>$CONFIG_STATUS <<_ACEOF
   14208   sed "$ac_vpsub
   14209 $extrasub
   14210 _ACEOF
   14211 cat >>$CONFIG_STATUS <<\_ACEOF
   14212 :t
   14213 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14214 s,@configure_input@,$configure_input,;t t
   14215 s,@srcdir@,$ac_srcdir,;t t
   14216 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   14217 s,@top_srcdir@,$ac_top_srcdir,;t t
   14218 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   14219 s,@builddir@,$ac_builddir,;t t
   14220 s,@abs_builddir@,$ac_abs_builddir,;t t
   14221 s,@top_builddir@,$ac_top_builddir,;t t
   14222 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   14223 s,@INSTALL@,$ac_INSTALL,;t t
   14224 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   14225   rm -f $tmp/stdin
   14226   if test x"$ac_file" != x-; then
   14227     mv $tmp/out $ac_file
   14228   else
   14229     cat $tmp/out
   14230     rm -f $tmp/out
   14231   fi
   14232 
   14233 done
   14234 _ACEOF
   14235 cat >>$CONFIG_STATUS <<\_ACEOF
   14236 
   14237 #
   14238 # CONFIG_HEADER section.
   14239 #
   14240 
   14241 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   14242 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   14243 #
   14244 # ac_d sets the value in "#define NAME VALUE" lines.
   14245 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   14246 ac_dB='[	 ].*$,\1#\2'
   14247 ac_dC=' '
   14248 ac_dD=',;t'
   14249 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   14250 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   14251 ac_uB='$,\1#\2define\3'
   14252 ac_uC=' '
   14253 ac_uD=',;t'
   14254 
   14255 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   14256   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   14257   case $ac_file in
   14258   - | *:- | *:-:* ) # input from stdin
   14259 	cat >$tmp/stdin
   14260 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14261 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14262   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14263 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14264   * )   ac_file_in=$ac_file.in ;;
   14265   esac
   14266 
   14267   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   14268 echo "$as_me: creating $ac_file" >&6;}
   14269 
   14270   # First look for the input files in the build tree, otherwise in the
   14271   # src tree.
   14272   ac_file_inputs=`IFS=:
   14273     for f in $ac_file_in; do
   14274       case $f in
   14275       -) echo $tmp/stdin ;;
   14276       [\\/$]*)
   14277 	 # Absolute (can't be DOS-style, as IFS=:)
   14278 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14279 echo "$as_me: error: cannot find input file: $f" >&2;}
   14280    { (exit 1); exit 1; }; }
   14281 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   14282 	 echo "$f";;
   14283       *) # Relative
   14284 	 if test -f "$f"; then
   14285 	   # Build tree
   14286 	   echo "$f"
   14287 	 elif test -f "$srcdir/$f"; then
   14288 	   # Source tree
   14289 	   echo "$srcdir/$f"
   14290 	 else
   14291 	   # /dev/null tree
   14292 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14293 echo "$as_me: error: cannot find input file: $f" >&2;}
   14294    { (exit 1); exit 1; }; }
   14295 	 fi;;
   14296       esac
   14297     done` || { (exit 1); exit 1; }
   14298   # Remove the trailing spaces.
   14299   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   14300 
   14301 _ACEOF
   14302 
   14303 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   14304 # `conftest.undefs', that substitutes the proper values into
   14305 # config.h.in to produce config.h.  The first handles `#define'
   14306 # templates, and the second `#undef' templates.
   14307 # And first: Protect against being on the right side of a sed subst in
   14308 # config.status.  Protect against being in an unquoted here document
   14309 # in config.status.
   14310 rm -f conftest.defines conftest.undefs
   14311 # Using a here document instead of a string reduces the quoting nightmare.
   14312 # Putting comments in sed scripts is not portable.
   14313 #
   14314 # `end' is used to avoid that the second main sed command (meant for
   14315 # 0-ary CPP macros) applies to n-ary macro definitions.
   14316 # See the Autoconf documentation for `clear'.
   14317 cat >confdef2sed.sed <<\_ACEOF
   14318 s/[\\&,]/\\&/g
   14319 s,[\\$`],\\&,g
   14320 t clear
   14321 : clear
   14322 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   14323 t end
   14324 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   14325 : end
   14326 _ACEOF
   14327 # If some macros were called several times there might be several times
   14328 # the same #defines, which is useless.  Nevertheless, we may not want to
   14329 # sort them, since we want the *last* AC-DEFINE to be honored.
   14330 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   14331 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   14332 rm -f confdef2sed.sed
   14333 
   14334 # This sed command replaces #undef with comments.  This is necessary, for
   14335 # example, in the case of _POSIX_SOURCE, which is predefined and required
   14336 # on some systems where configure will not decide to define it.
   14337 cat >>conftest.undefs <<\_ACEOF
   14338 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   14339 _ACEOF
   14340 
   14341 # Break up conftest.defines because some shells have a limit on the size
   14342 # of here documents, and old seds have small limits too (100 cmds).
   14343 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   14344 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   14345 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   14346 echo '  :' >>$CONFIG_STATUS
   14347 rm -f conftest.tail
   14348 while grep . conftest.defines >/dev/null
   14349 do
   14350   # Write a limited-size here document to $tmp/defines.sed.
   14351   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   14352   # Speed up: don't consider the non `#define' lines.
   14353   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   14354   # Work around the forget-to-reset-the-flag bug.
   14355   echo 't clr' >>$CONFIG_STATUS
   14356   echo ': clr' >>$CONFIG_STATUS
   14357   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   14358   echo 'CEOF
   14359   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   14360   rm -f $tmp/in
   14361   mv $tmp/out $tmp/in
   14362 ' >>$CONFIG_STATUS
   14363   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   14364   rm -f conftest.defines
   14365   mv conftest.tail conftest.defines
   14366 done
   14367 rm -f conftest.defines
   14368 echo '  fi # grep' >>$CONFIG_STATUS
   14369 echo >>$CONFIG_STATUS
   14370 
   14371 # Break up conftest.undefs because some shells have a limit on the size
   14372 # of here documents, and old seds have small limits too (100 cmds).
   14373 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   14374 rm -f conftest.tail
   14375 while grep . conftest.undefs >/dev/null
   14376 do
   14377   # Write a limited-size here document to $tmp/undefs.sed.
   14378   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   14379   # Speed up: don't consider the non `#undef'
   14380   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   14381   # Work around the forget-to-reset-the-flag bug.
   14382   echo 't clr' >>$CONFIG_STATUS
   14383   echo ': clr' >>$CONFIG_STATUS
   14384   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   14385   echo 'CEOF
   14386   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   14387   rm -f $tmp/in
   14388   mv $tmp/out $tmp/in
   14389 ' >>$CONFIG_STATUS
   14390   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   14391   rm -f conftest.undefs
   14392   mv conftest.tail conftest.undefs
   14393 done
   14394 rm -f conftest.undefs
   14395 
   14396 cat >>$CONFIG_STATUS <<\_ACEOF
   14397   # Let's still pretend it is `configure' which instantiates (i.e., don't
   14398   # use $as_me), people would be surprised to read:
   14399   #    /* config.h.  Generated by config.status.  */
   14400   if test x"$ac_file" = x-; then
   14401     echo "/* Generated by configure.  */" >$tmp/config.h
   14402   else
   14403     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   14404   fi
   14405   cat $tmp/in >>$tmp/config.h
   14406   rm -f $tmp/in
   14407   if test x"$ac_file" != x-; then
   14408     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   14409       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   14410 echo "$as_me: $ac_file is unchanged" >&6;}
   14411     else
   14412       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   14413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14414 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14415 	 X"$ac_file" : 'X\(//\)$' \| \
   14416 	 X"$ac_file" : 'X\(/\)' \| \
   14417 	 .     : '\(.\)' 2>/dev/null ||
   14418 echo X"$ac_file" |
   14419     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14420   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14421   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14422   	  /^X\(\/\).*/{ s//\1/; q; }
   14423   	  s/.*/./; q'`
   14424       { if $as_mkdir_p; then
   14425     mkdir -p "$ac_dir"
   14426   else
   14427     as_dir="$ac_dir"
   14428     as_dirs=
   14429     while test ! -d "$as_dir"; do
   14430       as_dirs="$as_dir $as_dirs"
   14431       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   14432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14433 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14434 	 X"$as_dir" : 'X\(//\)$' \| \
   14435 	 X"$as_dir" : 'X\(/\)' \| \
   14436 	 .     : '\(.\)' 2>/dev/null ||
   14437 echo X"$as_dir" |
   14438     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14439   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14440   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14441   	  /^X\(\/\).*/{ s//\1/; q; }
   14442   	  s/.*/./; q'`
   14443     done
   14444     test ! -n "$as_dirs" || mkdir $as_dirs
   14445   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   14446 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   14447    { (exit 1); exit 1; }; }; }
   14448 
   14449       rm -f $ac_file
   14450       mv $tmp/config.h $ac_file
   14451     fi
   14452   else
   14453     cat $tmp/config.h
   14454     rm -f $tmp/config.h
   14455   fi
   14456 # Compute $ac_file's index in $config_headers.
   14457 _am_stamp_count=1
   14458 for _am_header in $config_headers :; do
   14459   case $_am_header in
   14460     $ac_file | $ac_file:* )
   14461       break ;;
   14462     * )
   14463       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14464   esac
   14465 done
   14466 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
   14467 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14468 	 X$ac_file : 'X\(//\)[^/]' \| \
   14469 	 X$ac_file : 'X\(//\)$' \| \
   14470 	 X$ac_file : 'X\(/\)' \| \
   14471 	 .     : '\(.\)' 2>/dev/null ||
   14472 echo X$ac_file |
   14473     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14474   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14475   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14476   	  /^X\(\/\).*/{ s//\1/; q; }
   14477   	  s/.*/./; q'`/stamp-h$_am_stamp_count
   14478 done
   14479 _ACEOF
   14480 cat >>$CONFIG_STATUS <<\_ACEOF
   14481 
   14482 #
   14483 # CONFIG_COMMANDS section.
   14484 #
   14485 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   14486   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   14487   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14488   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
   14489 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14490 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
   14491 	 X"$ac_dest" : 'X\(//\)$' \| \
   14492 	 X"$ac_dest" : 'X\(/\)' \| \
   14493 	 .     : '\(.\)' 2>/dev/null ||
   14494 echo X"$ac_dest" |
   14495     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14496   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14497   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14498   	  /^X\(\/\).*/{ s//\1/; q; }
   14499   	  s/.*/./; q'`
   14500   { if $as_mkdir_p; then
   14501     mkdir -p "$ac_dir"
   14502   else
   14503     as_dir="$ac_dir"
   14504     as_dirs=
   14505     while test ! -d "$as_dir"; do
   14506       as_dirs="$as_dir $as_dirs"
   14507       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   14508 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14509 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14510 	 X"$as_dir" : 'X\(//\)$' \| \
   14511 	 X"$as_dir" : 'X\(/\)' \| \
   14512 	 .     : '\(.\)' 2>/dev/null ||
   14513 echo X"$as_dir" |
   14514     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14515   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14516   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14517   	  /^X\(\/\).*/{ s//\1/; q; }
   14518   	  s/.*/./; q'`
   14519     done
   14520     test ! -n "$as_dirs" || mkdir $as_dirs
   14521   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   14522 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   14523    { (exit 1); exit 1; }; }; }
   14524 
   14525   ac_builddir=.
   14526 
   14527 if test "$ac_dir" != .; then
   14528   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   14529   # A "../" for each directory in $ac_dir_suffix.
   14530   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   14531 else
   14532   ac_dir_suffix= ac_top_builddir=
   14533 fi
   14534 
   14535 case $srcdir in
   14536   .)  # No --srcdir option.  We are building in place.
   14537     ac_srcdir=.
   14538     if test -z "$ac_top_builddir"; then
   14539        ac_top_srcdir=.
   14540     else
   14541        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   14542     fi ;;
   14543   [\\/]* | ?:[\\/]* )  # Absolute path.
   14544     ac_srcdir=$srcdir$ac_dir_suffix;
   14545     ac_top_srcdir=$srcdir ;;
   14546   *) # Relative path.
   14547     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   14548     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   14549 esac
   14550 
   14551 # Do not use `cd foo && pwd` to compute absolute paths, because
   14552 # the directories may not exist.
   14553 case `pwd` in
   14554 .) ac_abs_builddir="$ac_dir";;
   14555 *)
   14556   case "$ac_dir" in
   14557   .) ac_abs_builddir=`pwd`;;
   14558   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   14559   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   14560   esac;;
   14561 esac
   14562 case $ac_abs_builddir in
   14563 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   14564 *)
   14565   case ${ac_top_builddir}. in
   14566   .) ac_abs_top_builddir=$ac_abs_builddir;;
   14567   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   14568   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   14569   esac;;
   14570 esac
   14571 case $ac_abs_builddir in
   14572 .) ac_abs_srcdir=$ac_srcdir;;
   14573 *)
   14574   case $ac_srcdir in
   14575   .) ac_abs_srcdir=$ac_abs_builddir;;
   14576   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   14577   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   14578   esac;;
   14579 esac
   14580 case $ac_abs_builddir in
   14581 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   14582 *)
   14583   case $ac_top_srcdir in
   14584   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   14585   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   14586   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   14587   esac;;
   14588 esac
   14589 
   14590 
   14591   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
   14592 echo "$as_me: executing $ac_dest commands" >&6;}
   14593   case $ac_dest in
   14594     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   14595   # Strip MF so we end up with the name of the file.
   14596   mf=`echo "$mf" | sed -e 's/:.*$//'`
   14597   # Check whether this is an Automake generated Makefile or not.
   14598   # We used to match only the files named `Makefile.in', but
   14599   # some people rename them; so instead we look at the file content.
   14600   # Grep'ing the first line is not enough: some people post-process
   14601   # each Makefile.in and add a new line on top of each file to say so.
   14602   # So let's grep whole file.
   14603   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   14604     dirpart=`(dirname "$mf") 2>/dev/null ||
   14605 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14606 	 X"$mf" : 'X\(//\)[^/]' \| \
   14607 	 X"$mf" : 'X\(//\)$' \| \
   14608 	 X"$mf" : 'X\(/\)' \| \
   14609 	 .     : '\(.\)' 2>/dev/null ||
   14610 echo X"$mf" |
   14611     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14612   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14613   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14614   	  /^X\(\/\).*/{ s//\1/; q; }
   14615   	  s/.*/./; q'`
   14616   else
   14617     continue
   14618   fi
   14619   # Extract the definition of DEPDIR, am__include, and am__quote
   14620   # from the Makefile without running `make'.
   14621   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   14622   test -z "$DEPDIR" && continue
   14623   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   14624   test -z "am__include" && continue
   14625   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   14626   # When using ansi2knr, U may be empty or an underscore; expand it
   14627   U=`sed -n 's/^U = //p' < "$mf"`
   14628   # Find all dependency output files, they are included files with
   14629   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   14630   # simplest approach to changing $(DEPDIR) to its actual value in the
   14631   # expansion.
   14632   for file in `sed -n "
   14633     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   14634        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   14635     # Make sure the directory exists.
   14636     test -f "$dirpart/$file" && continue
   14637     fdir=`(dirname "$file") 2>/dev/null ||
   14638 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14639 	 X"$file" : 'X\(//\)[^/]' \| \
   14640 	 X"$file" : 'X\(//\)$' \| \
   14641 	 X"$file" : 'X\(/\)' \| \
   14642 	 .     : '\(.\)' 2>/dev/null ||
   14643 echo X"$file" |
   14644     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14645   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14646   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14647   	  /^X\(\/\).*/{ s//\1/; q; }
   14648   	  s/.*/./; q'`
   14649     { if $as_mkdir_p; then
   14650     mkdir -p $dirpart/$fdir
   14651   else
   14652     as_dir=$dirpart/$fdir
   14653     as_dirs=
   14654     while test ! -d "$as_dir"; do
   14655       as_dirs="$as_dir $as_dirs"
   14656       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   14657 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14658 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14659 	 X"$as_dir" : 'X\(//\)$' \| \
   14660 	 X"$as_dir" : 'X\(/\)' \| \
   14661 	 .     : '\(.\)' 2>/dev/null ||
   14662 echo X"$as_dir" |
   14663     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14664   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14665   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14666   	  /^X\(\/\).*/{ s//\1/; q; }
   14667   	  s/.*/./; q'`
   14668     done
   14669     test ! -n "$as_dirs" || mkdir $as_dirs
   14670   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
   14671 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   14672    { (exit 1); exit 1; }; }; }
   14673 
   14674     # echo "creating $dirpart/$file"
   14675     echo '# dummy' > "$dirpart/$file"
   14676   done
   14677 done
   14678  ;;
   14679     default-1 )
   14680     for ac_file in $CONFIG_FILES; do
   14681       # Support "outfile[:infile[:infile...]]"
   14682       case "$ac_file" in
   14683         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   14684       esac
   14685       # PO directories have a Makefile.in generated from Makefile.in.in.
   14686       case "$ac_file" in */Makefile.in)
   14687         # Adjust a relative srcdir.
   14688         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   14689         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   14690         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   14691         # In autoconf-2.13 it is called $ac_given_srcdir.
   14692         # In autoconf-2.50 it is called $srcdir.
   14693         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   14694         case "$ac_given_srcdir" in
   14695           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   14696           /*) top_srcdir="$ac_given_srcdir" ;;
   14697           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   14698         esac
   14699         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   14700           rm -f "$ac_dir/POTFILES"
   14701           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   14702           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   14703           POMAKEFILEDEPS="POTFILES.in"
   14704           # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
   14705           # on $ac_dir but don't depend on user-specified configuration
   14706           # parameters.
   14707           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   14708             # The LINGUAS file contains the set of available languages.
   14709             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   14710               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   14711             fi
   14712             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   14713             # Hide the ALL_LINGUAS assigment from automake.
   14714             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   14715             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   14716           else
   14717             # The set of available languages was given in configure.in.
   14718             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   14719           fi
   14720           # Compute POFILES
   14721           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
   14722           # Compute UPDATEPOFILES
   14723           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
   14724           # Compute DUMMYPOFILES
   14725           # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
   14726           # Compute GMOFILES
   14727           # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
   14728           case "$ac_given_srcdir" in
   14729             .) srcdirpre= ;;
   14730             *) srcdirpre='$(srcdir)/' ;;
   14731           esac
   14732           POFILES=
   14733           UPDATEPOFILES=
   14734           DUMMYPOFILES=
   14735           GMOFILES=
   14736           for lang in $ALL_LINGUAS; do
   14737             POFILES="$POFILES $srcdirpre$lang.po"
   14738             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   14739             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   14740             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   14741           done
   14742           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   14743           # environment variable.
   14744           INST_LINGUAS=
   14745           if test -n "$ALL_LINGUAS"; then
   14746             for presentlang in $ALL_LINGUAS; do
   14747               useit=no
   14748               if test "%UNSET%" != "$LINGUAS"; then
   14749                 desiredlanguages="$LINGUAS"
   14750               else
   14751                 desiredlanguages="$ALL_LINGUAS"
   14752               fi
   14753               for desiredlang in $desiredlanguages; do
   14754                 # Use the presentlang catalog if desiredlang is
   14755                 #   a. equal to presentlang, or
   14756                 #   b. a variant of presentlang (because in this case,
   14757                 #      presentlang can be used as a fallback for messages
   14758                 #      which are not translated in the desiredlang catalog).
   14759                 case "$desiredlang" in
   14760                   "$presentlang"*) useit=yes;;
   14761                 esac
   14762               done
   14763               if test $useit = yes; then
   14764                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   14765               fi
   14766             done
   14767           fi
   14768           CATALOGS=
   14769           if test -n "$INST_LINGUAS"; then
   14770             for lang in $INST_LINGUAS; do
   14771               CATALOGS="$CATALOGS $lang.gmo"
   14772             done
   14773           fi
   14774           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   14775           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"
   14776           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   14777             if test -f "$f"; then
   14778               case "$f" in
   14779                 *.orig | *.bak | *~) ;;
   14780                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   14781               esac
   14782             fi
   14783           done
   14784         fi
   14785         ;;
   14786       esac
   14787     done ;;
   14788   esac
   14789 done
   14790 _ACEOF
   14791 
   14792 cat >>$CONFIG_STATUS <<\_ACEOF
   14793 
   14794 { (exit 0); exit 0; }
   14795 _ACEOF
   14796 chmod +x $CONFIG_STATUS
   14797 ac_clean_files=$ac_clean_files_save
   14798 
   14799 
   14800 # configure is writing to config.log, and then calls config.status.
   14801 # config.status does its own redirection, appending to config.log.
   14802 # Unfortunately, on DOS this fails, as config.log is still kept open
   14803 # by configure, so config.status won't be able to write to it; its
   14804 # output is simply discarded.  So we exec the FD to /dev/null,
   14805 # effectively closing config.log, so it can be properly (re)opened and
   14806 # appended to by config.status.  When coming back to configure, we
   14807 # need to make the FD available again.
   14808 if test "$no_create" != yes; then
   14809   ac_cs_success=:
   14810   ac_config_status_args=
   14811   test "$silent" = yes &&
   14812     ac_config_status_args="$ac_config_status_args --quiet"
   14813   exec 5>/dev/null
   14814   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   14815   exec 5>>config.log
   14816   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   14817   # would make configure fail if this is the last instruction.
   14818   $ac_cs_success || { (exit 1); exit 1; }
   14819 fi
   14820 
   14821