110015Speter#! /bin/sh
212496Speter# Guess values for system-dependent variables and create Makefiles.
310015Speter# Generated by GNU Autoconf 2.59 for GNU Texinfo 4.8.
410015Speter#
510015Speter# Copyright (C) 2003 Free Software Foundation, Inc.
610015Speter# This configure script is free software; the Free Software Foundation
710015Speter# gives unlimited permission to copy, distribute and modify it.
810015Speter## --------------------- ##
910015Speter## M4sh Initialization.  ##
1010015Speter## --------------------- ##
1110015Speter
1210015Speter# Be Bourne compatible
1310015Speterif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
1410015Speter  emulate sh
1510015Speter  NULLCMD=:
1610015Speter  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
1710015Speter  # is contrary to our usage.  Disable this feature.
1810015Speter  alias -g '${1+"$@"}'='"$@"'
1910015Speterelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2010015Speter  set -o posix
2110015Speterfi
2210015SpeterDUALCASE=1; export DUALCASE # for MKS sh
2310015Speter
2410015Speter# Support unset when possible.
2510015Speterif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2610015Speter  as_unset=unset
2710015Speterelse
2810015Speter  as_unset=false
2910015Speterfi
3010015Speter
3110015Speter
3210015Speter# Work around bugs in pre-3.0 UWIN ksh.
3318515Speter$as_unset ENV MAIL MAILPATH
3410015SpeterPS1='$ '
3510015SpeterPS2='> '
3610015SpeterPS4='+ '
3716322Sgpalmer
3816322Sgpalmer# NLS nuisances.
3916322Sgpalmerfor as_var in \
4010015Speter  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4110015Speter  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4210015Speter  LC_TELEPHONE LC_TIME
4310015Speterdo
4410015Speter  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4510015Speter    eval $as_var=C; export $as_var
4610015Speter  else
4710015Speter    $as_unset $as_var
4810015Speter  fi
4910015Speterdone
5010015Speter
5110015Speter# Required to use basename.
5210015Speterif expr a : '\(a\)' >/dev/null 2>&1; then
5310015Speter  as_expr=expr
5410015Speterelse
5515683Speter  as_expr=false
5612675Sjulianfi
5712675Sjulian
5812675Sjulianif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5910015Speter  as_basename=basename
6010015Speterelse
6110015Speter  as_basename=false
6212659Sbdefi
6312662Sdg
6412662Sdg
6512659Sbde# Name of the executable.
6610015Speteras_me=`$as_basename "$0" ||
6710015Speter$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6810015Speter	 X"$0" : 'X\(//\)$' \| \
6910015Speter	 X"$0" : 'X\(/\)$' \| \
7010015Speter	 .     : '\(.\)' 2>/dev/null ||
7110015Speterecho X/"$0" |
7213353Speter    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7310015Speter  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
7410015Speter  	  /^X\/\(\/\).*/{ s//\1/; q; }
7510015Speter  	  s/.*/./; q'`
7610015Speter
7710015Speter
7812496Speter# PATH needs CR, and LINENO needs CR and PATH.
7910015Speter# Avoid depending upon Character Ranges.
8010015Speteras_cr_letters='abcdefghijklmnopqrstuvwxyz'
8110015Speteras_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8210015Speteras_cr_Letters=$as_cr_letters$as_cr_LETTERS
8310015Speteras_cr_digits='0123456789'
8417547Speteras_cr_alnum=$as_cr_Letters$as_cr_digits
8517547Speter
8617547Speter# The user is always right.
8710047Speterif test "${PATH_SEPARATOR+set}" != set; then
8812496Speter  echo "#! /bin/sh" >conf$$.sh
8915639Speter  echo  "exit 0"   >>conf$$.sh
9015639Speter  chmod +x conf$$.sh
9110015Speter  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
9210015Speter    PATH_SEPARATOR=';'
9310015Speter  else
9410015Speter    PATH_SEPARATOR=:
9510015Speter  fi
9610015Speter  rm -f conf$$.sh
9710015Speterfi
9810015Speter
9910015Speter
10010015Speter  as_lineno_1=$LINENO
10110015Speter  as_lineno_2=$LINENO
10210015Speter  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
10310015Speter  test "x$as_lineno_1" != "x$as_lineno_2" &&
10410015Speter  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
10512724Sphk  # Find who we are.  Look in the path if we contain no path at all
10610015Speter  # relative or not.
10712724Sphk  case $0 in
10812724Sphk    *[\\/]* ) as_myself=$0 ;;
10910708Speter    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11010708Speterfor as_dir in $PATH
11112675Sjuliando
11212675Sjulian  IFS=$as_save_IFS
11312675Sjulian  test -z "$as_dir" && as_dir=.
11412675Sjulian  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
11512675Sjuliandone
11612675Sjulian
11712675Sjulian       ;;
11812675Sjulian  esac
11912675Sjulian  # We did not find ourselves, most probably we were run as `sh COMMAND'
12012675Sjulian  # in which case we are not to be found in the path.
12112731Sbde  if test "x$as_myself" = x; then
12212675Sjulian    as_myself=$0
12312675Sjulian  fi
12412678Sphk  if test ! -f "$as_myself"; then
12512675Sjulian    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
12612743Sbde   { (exit 1); exit 1; }; }
12712742Sbde  fi
12812675Sjulian  case $CONFIG_SHELL in
12912675Sjulian  '')
13012174Speter    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13113353Speterfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
13213353Speterdo
13313353Speter  IFS=$as_save_IFS
13410708Speter  test -z "$as_dir" && as_dir=.
13513353Speter  for as_base in sh bash ksh sh5; do
13610708Speter	 case $as_dir in
13713353Speter	 /*)
13810708Speter	   if ("$as_dir/$as_base" -c '
13910708Speter  as_lineno_1=$LINENO
14010708Speter  as_lineno_2=$LINENO
14110708Speter  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
14210962Speter  test "x$as_lineno_1" != "x$as_lineno_2" &&
14310962Speter  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
14410962Speter	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
14510015Speter	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
14610962Speter	     CONFIG_SHELL=$as_dir/$as_base
14710962Speter	     export CONFIG_SHELL
14812174Speter	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
14910015Speter	   fi;;
15010015Speter	 esac
15110015Speter       done
15210044Speterdone
15310044Speter;;
15410044Speter  esac
15510044Speter
15610044Speter  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15710044Speter  # uniformly replaced by the line number.  The first 'sed' inserts a
15810044Speter  # line-number line before each line; the second 'sed' does the real
15910044Speter  # work.  The second script uses 'N' to pair each line-number line
16010044Speter  # with the numbered line, and appends trailing '-' during
16110044Speter  # substitution so that $LINENO is not a special case at line end.
16210044Speter  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
16310044Speter  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
16412675Sjulian  sed '=' <$as_myself |
16512675Sjulian    sed '
16612675Sjulian      N
16712826Speter      s,$,-,
16812675Sjulian      : loop
16912675Sjulian      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
17012675Sjulian      t loop
17113165Speter      s,-$,,
17212675Sjulian      s,^['$as_cr_digits']*\n,,
17310044Speter    ' >$as_me.lineno &&
17412724Sphk  chmod +x $as_me.lineno ||
17510044Speter    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17612174Speter   { (exit 1); exit 1; }; }
17710015Speter
17810015Speter  # Don't try to exec as it changes $[0], causing all sort of problems
17910015Speter  # (the dirname of $[0] is not the place where we might find the
18010015Speter  # original and so on.  Autoconf is especially sensible to this).
18110015Speter  . ./$as_me.lineno
18210015Speter  # Exit status is that of the last command.
18310015Speter  exit
18410015Speter}
18510015Speter
18610015Speter
18710015Spetercase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18810015Speter  *c*,-n*) ECHO_N= ECHO_C='
18910015Speter' ECHO_T='	' ;;
19010015Speter  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
19110015Speter  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
19210015Speteresac
19310015Speter
19410015Speterif expr a : '\(a\)' >/dev/null 2>&1; then
19510015Speter  as_expr=expr
19610015Speterelse
19710015Speter  as_expr=false
19810015Speterfi
19910015Speter
20010015Speterrm -f conf$$ conf$$.exe conf$$.file
20110015Speterecho >conf$$.file
20210015Speterif ln -s conf$$.file conf$$ 2>/dev/null; then
20310015Speter  # We could just check for DJGPP; but this test a) works b) is more generic
20410015Speter  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20510015Speter  if test -f conf$$.exe; then
20610015Speter    # Don't use ln at all; we don't have any links
20710015Speter    as_ln_s='cp -p'
20810015Speter  else
20910015Speter    as_ln_s='ln -s'
21010015Speter  fi
21110015Speterelif ln conf$$.file conf$$ 2>/dev/null; then
21210015Speter  as_ln_s=ln
21310015Speterelse
21410015Speter  as_ln_s='cp -p'
21510015Speterfi
21610015Speterrm -f conf$$ conf$$.exe conf$$.file
21710015Speter
21810015Speterif mkdir -p . 2>/dev/null; then
21910015Speter  as_mkdir_p=:
22010047Speterelse
22110047Speter  test -d ./-p && rmdir ./-p
22210047Speter  as_mkdir_p=false
22310047Speterfi
22410047Speter
22510047Speteras_executable_p="test -f"
22610047Speter
22710047Speter# Sed expression to map a string onto a valid CPP name.
22810047Speteras_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22910047Speter
23010015Speter# Sed expression to map a string onto a valid variable name.
23115683Speteras_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
23217547Speter
23315639Speter
23416403Speter# IFS
23517547Speter# We need space, tab and new line, in precisely that order.
23615639Speteras_nl='
23710015Speter'
23810015SpeterIFS=" 	$as_nl"
23910015Speter
24010015Speter# CDPATH.
24110015Speter$as_unset CDPATH
24210015Speter
24310015Speter
24410015Speter# Name of the host.
24510015Speter# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
24610015Speter# so uname gets run too.
24710015Speterac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
24810015Speter
24910015Speterexec 6>&1
25010015Speter
25110015Speter#
25210015Speter# Initializations.
25310015Speter#
25412724Sphkac_default_prefix=/usr/local
25510015Speterac_config_libobj_dir=.
25610015Spetercross_compiling=no
25710015Spetersubdirs=
25810015SpeterMFLAGS=
25910015SpeterMAKEFLAGS=
26010015SpeterSHELL=${CONFIG_SHELL-/bin/sh}
26110015Speter
26210015Speter# Maximum number of lines to put in a shell here document.
26310015Speter# This variable seems obsolete.  It should probably be removed, and
26410015Speter# only ac_max_sed_lines should be used.
26517547Speter: ${ac_max_here_lines=38}
26617547Speter
26717547Speter# Identity of this package.
26817547SpeterPACKAGE_NAME='GNU Texinfo'
26915683SpeterPACKAGE_TARNAME='texinfo'
27010015SpeterPACKAGE_VERSION='4.8'
27110015SpeterPACKAGE_STRING='GNU Texinfo 4.8'
27210015SpeterPACKAGE_BUGREPORT=''
27312496Speter
27412496Speterac_unique_file="makeinfo/makeinfo.c"
27510015Speter# Factoring default headers for most tests.
27610015Speterac_includes_default="\
27710015Speter#include <stdio.h>
27810015Speter#if HAVE_SYS_TYPES_H
27910015Speter# include <sys/types.h>
28010015Speter#endif
28110015Speter#if HAVE_SYS_STAT_H
28212174Speter# include <sys/stat.h>
28312174Speter#endif
28410015Speter#if STDC_HEADERS
28510015Speter# include <stdlib.h>
28610015Speter# include <stddef.h>
28710015Speter#else
28810015Speter# if HAVE_STDLIB_H
28910015Speter#  include <stdlib.h>
29010015Speter# endif
29110015Speter#endif
29210015Speter#if HAVE_STRING_H
29310015Speter# if !STDC_HEADERS && HAVE_MEMORY_H
29410015Speter#  include <memory.h>
29510015Speter# endif
29610015Speter# include <string.h>
29710015Speter#endif
29810015Speter#if HAVE_STRINGS_H
29910015Speter# include <strings.h>
30010015Speter#endif
30110015Speter#if HAVE_INTTYPES_H
30210015Speter# include <inttypes.h>
30310015Speter#else
30410015Speter# if HAVE_STDINT_H
30510015Speter#  include <stdint.h>
30610015Speter# endif
30710015Speter#endif
30810015Speter#if HAVE_UNISTD_H
30910015Speter# include <unistd.h>
31010015Speter#endif"
31110015Speter
31210015Spetergl_header_list=
31310015Speterac_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'
31410015Speterac_subst_files=''
31510015Speter
31610015Speter# Initialize some variables set by options.
31710015Speterac_init_help=
31810015Speterac_init_version=false
31910015Speter# The variables have the same names as the options, with
32010015Speter# dashes changed to underlines.
32110015Spetercache_file=/dev/null
32210015Speterexec_prefix=NONE
32310015Speterno_create=
32410015Speterno_recursion=
32512496Speterprefix=NONE
32610015Speterprogram_prefix=NONE
32710015Speterprogram_suffix=NONE
32810015Speterprogram_transform_name=s,x,x,
32910015Spetersilent=
33010015Spetersite=
33110015Spetersrcdir=
33210015Speterverbose=
33310015Speterx_includes=NONE
33410015Speterx_libraries=NONE
33510015Speter
33610015Speter# Installation directory options.
33710015Speter# These are left unexpanded so users can "make install exec_prefix=/foo"
33810015Speter# and all the variables that are supposed to be based on exec_prefix
33910015Speter# by default will actually change.
34010015Speter# Use braces instead of parens because sh, perl, etc. also accept them.
34110015Speterbindir='${exec_prefix}/bin'
34210015Spetersbindir='${exec_prefix}/sbin'
34310015Speterlibexecdir='${exec_prefix}/libexec'
34410015Speterdatadir='${prefix}/share'
34510015Spetersysconfdir='${prefix}/etc'
34610015Spetersharedstatedir='${prefix}/com'
34710015Speterlocalstatedir='${prefix}/var'
34810015Speterlibdir='${exec_prefix}/lib'
34910015Speterincludedir='${prefix}/include'
35010015Speteroldincludedir='/usr/include'
35110015Speterinfodir='${prefix}/info'
35210015Spetermandir='${prefix}/man'
35310015Speter
35410015Speterac_prev=
35510015Speterfor ac_option
35610015Speterdo
35710015Speter  # If the previous option needs an argument, assign it.
35810015Speter  if test -n "$ac_prev"; then
35910015Speter    eval "$ac_prev=\$ac_option"
36010015Speter    ac_prev=
36110015Speter    continue
36210015Speter  fi
36310015Speter
36410015Speter  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
36510015Speter
36610015Speter  # Accept the important Cygnus configure options, so we can diagnose typos.
36710015Speter
36810015Speter  case $ac_option in
36910015Speter
37010015Speter  -bindir | --bindir | --bindi | --bind | --bin | --bi)
37110015Speter    ac_prev=bindir ;;
37210015Speter  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
37310015Speter    bindir=$ac_optarg ;;
37410015Speter
37510015Speter  -build | --build | --buil | --bui | --bu)
37610015Speter    ac_prev=build_alias ;;
37710015Speter  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
37810015Speter    build_alias=$ac_optarg ;;
37910015Speter
38010015Speter  -cache-file | --cache-file | --cache-fil | --cache-fi \
38110015Speter  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
38210015Speter    ac_prev=cache_file ;;
38310015Speter  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
38410015Speter  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
38510015Speter    cache_file=$ac_optarg ;;
38610015Speter
38710015Speter  --config-cache | -C)
38810015Speter    cache_file=config.cache ;;
38910015Speter
39010015Speter  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
39112496Speter    ac_prev=datadir ;;
39212496Speter  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
39310015Speter  | --da=*)
39418515Speter    datadir=$ac_optarg ;;
39510015Speter
39610015Speter  -disable-* | --disable-*)
39718515Speter    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
39810015Speter    # Reject names that are not valid shell variable names.
39910015Speter    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
40010015Speter      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
40112174Speter   { (exit 1); exit 1; }; }
40210015Speter    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
40310015Speter    eval "enable_$ac_feature=no" ;;
40410015Speter
40510015Speter  -enable-* | --enable-*)
40610015Speter    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
40710015Speter    # Reject names that are not valid shell variable names.
40818515Speter    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
40910015Speter      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
41010015Speter   { (exit 1); exit 1; }; }
41118515Speter    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
41210015Speter    case $ac_option in
41310015Speter      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
41410015Speter      *) ac_optarg=yes ;;
41512174Speter    esac
41610015Speter    eval "enable_$ac_feature='$ac_optarg'" ;;
41710015Speter
41810015Speter  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
41910015Speter  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
42010015Speter  | --exec | --exe | --ex)
42110015Speter    ac_prev=exec_prefix ;;
42210015Speter  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
42310015Speter  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
42410015Speter  | --exec=* | --exe=* | --ex=*)
42510015Speter    exec_prefix=$ac_optarg ;;
42610015Speter
42710015Speter  -gas | --gas | --ga | --g)
42810015Speter    # Obsolete; use --with-gas.
42910015Speter    with_gas=yes ;;
43010015Speter
43110015Speter  -help | --help | --hel | --he | -h)
43210015Speter    ac_init_help=long ;;
43310015Speter  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
43410015Speter    ac_init_help=recursive ;;
43510015Speter  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
43610015Speter    ac_init_help=short ;;
43710015Speter
43810015Speter  -host | --host | --hos | --ho)
43910015Speter    ac_prev=host_alias ;;
44010015Speter  -host=* | --host=* | --hos=* | --ho=*)
44110015Speter    host_alias=$ac_optarg ;;
44210015Speter
44310015Speter  -includedir | --includedir | --includedi | --included | --include \
44410015Speter  | --includ | --inclu | --incl | --inc)
44510015Speter    ac_prev=includedir ;;
44610015Speter  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
44710015Speter  | --includ=* | --inclu=* | --incl=* | --inc=*)
44810015Speter    includedir=$ac_optarg ;;
44910015Speter
45010015Speter  -infodir | --infodir | --infodi | --infod | --info | --inf)
45110015Speter    ac_prev=infodir ;;
45210015Speter  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
45310015Speter    infodir=$ac_optarg ;;
45410015Speter
45510015Speter  -libdir | --libdir | --libdi | --libd)
45610015Speter    ac_prev=libdir ;;
45710015Speter  -libdir=* | --libdir=* | --libdi=* | --libd=*)
45812724Sphk    libdir=$ac_optarg ;;
45910015Speter
46010015Speter  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
46110015Speter  | --libexe | --libex | --libe)
46210015Speter    ac_prev=libexecdir ;;
46310015Speter  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
46410015Speter  | --libexe=* | --libex=* | --libe=*)
46510015Speter    libexecdir=$ac_optarg ;;
46610015Speter
46710015Speter  -localstatedir | --localstatedir | --localstatedi | --localstated \
46810015Speter  | --localstate | --localstat | --localsta | --localst \
46910015Speter  | --locals | --local | --loca | --loc | --lo)
47010015Speter    ac_prev=localstatedir ;;
47110015Speter  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
47212174Speter  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
47310015Speter  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
47412496Speter    localstatedir=$ac_optarg ;;
47510015Speter
47610015Speter  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
47710015Speter    ac_prev=mandir ;;
47810015Speter  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
47910015Speter    mandir=$ac_optarg ;;
48010015Speter
48110015Speter  -nfp | --nfp | --nf)
48210015Speter    # Obsolete; use --without-fp.
48310015Speter    with_fp=no ;;
48410015Speter
48510015Speter  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
48610015Speter  | --no-cr | --no-c | -n)
48710015Speter    no_create=yes ;;
48812496Speter
48912496Speter  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
49010015Speter  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
49110015Speter    no_recursion=yes ;;
49210015Speter
49310015Speter  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
49410015Speter  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
49510015Speter  | --oldin | --oldi | --old | --ol | --o)
49610015Speter    ac_prev=oldincludedir ;;
49710015Speter  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
49810015Speter  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
49910015Speter  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
50010015Speter    oldincludedir=$ac_optarg ;;
50110015Speter
50212174Speter  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50312174Speter    ac_prev=prefix ;;
50412174Speter  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50512174Speter    prefix=$ac_optarg ;;
50610015Speter
50710015Speter  -program-prefix | --program-prefix | --program-prefi | --program-pref \
50810015Speter  | --program-pre | --program-pr | --program-p)
50910015Speter    ac_prev=program_prefix ;;
51010015Speter  -program-prefix=* | --program-prefix=* | --program-prefi=* \
51110015Speter  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
51210015Speter    program_prefix=$ac_optarg ;;
51310015Speter
51410015Speter  -program-suffix | --program-suffix | --program-suffi | --program-suff \
51510015Speter  | --program-suf | --program-su | --program-s)
51610015Speter    ac_prev=program_suffix ;;
51710015Speter  -program-suffix=* | --program-suffix=* | --program-suffi=* \
51810015Speter  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
51910015Speter    program_suffix=$ac_optarg ;;
52010015Speter
52110015Speter  -program-transform-name | --program-transform-name \
52210015Speter  | --program-transform-nam | --program-transform-na \
52310015Speter  | --program-transform-n | --program-transform- \
52410015Speter  | --program-transform | --program-transfor \
52510015Speter  | --program-transfo | --program-transf \
52610015Speter  | --program-trans | --program-tran \
52710015Speter  | --progr-tra | --program-tr | --program-t)
52810015Speter    ac_prev=program_transform_name ;;
52910015Speter  -program-transform-name=* | --program-transform-name=* \
53010015Speter  | --program-transform-nam=* | --program-transform-na=* \
53110015Speter  | --program-transform-n=* | --program-transform-=* \
53210015Speter  | --program-transform=* | --program-transfor=* \
53310015Speter  | --program-transfo=* | --program-transf=* \
53410015Speter  | --program-trans=* | --program-tran=* \
53510015Speter  | --progr-tra=* | --program-tr=* | --program-t=*)
53610015Speter    program_transform_name=$ac_optarg ;;
53710015Speter
53810015Speter  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
53912174Speter  | -silent | --silent | --silen | --sile | --sil)
54010015Speter    silent=yes ;;
54110015Speter
54212174Speter  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
54315639Speter    ac_prev=sbindir ;;
54410015Speter  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
54515639Speter  | --sbi=* | --sb=*)
54610015Speter    sbindir=$ac_optarg ;;
54710015Speter
54810015Speter  -sharedstatedir | --sharedstatedir | --sharedstatedi \
54910015Speter  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
55010015Speter  | --sharedst | --shareds | --shared | --share | --shar \
55110015Speter  | --sha | --sh)
55210015Speter    ac_prev=sharedstatedir ;;
55310015Speter  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
55410015Speter  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
55510015Speter  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
55610015Speter  | --sha=* | --sh=*)
55710015Speter    sharedstatedir=$ac_optarg ;;
55810015Speter
55910015Speter  -site | --site | --sit)
56010015Speter    ac_prev=site ;;
56110015Speter  -site=* | --site=* | --sit=*)
56210015Speter    site=$ac_optarg ;;
56310015Speter
56410015Speter  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
56510015Speter    ac_prev=srcdir ;;
56610015Speter  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
56710015Speter    srcdir=$ac_optarg ;;
56810015Speter
56912174Speter  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
57010015Speter  | --syscon | --sysco | --sysc | --sys | --sy)
57110015Speter    ac_prev=sysconfdir ;;
57210015Speter  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
57310015Speter  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
57412174Speter    sysconfdir=$ac_optarg ;;
57510015Speter
57610015Speter  -target | --target | --targe | --targ | --tar | --ta | --t)
57710015Speter    ac_prev=target_alias ;;
57810015Speter  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
57910015Speter    target_alias=$ac_optarg ;;
58010015Speter
58110015Speter  -v | -verbose | --verbose | --verbos | --verbo | --verb)
58210015Speter    verbose=yes ;;
58310015Speter
58410015Speter  -version | --version | --versio | --versi | --vers | -V)
58510015Speter    ac_init_version=: ;;
58610015Speter
58710015Speter  -with-* | --with-*)
58810015Speter    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
58910015Speter    # Reject names that are not valid shell variable names.
59010015Speter    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
59110015Speter      { echo "$as_me: error: invalid package name: $ac_package" >&2
59210015Speter   { (exit 1); exit 1; }; }
59310015Speter    ac_package=`echo $ac_package| sed 's/-/_/g'`
59410015Speter    case $ac_option in
59510015Speter      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
59610015Speter      *) ac_optarg=yes ;;
59710015Speter    esac
59810015Speter    eval "with_$ac_package='$ac_optarg'" ;;
59910015Speter
60010015Speter  -without-* | --without-*)
60110015Speter    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
60210015Speter    # Reject names that are not valid shell variable names.
60310015Speter    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
60410015Speter      { echo "$as_me: error: invalid package name: $ac_package" >&2
60510015Speter   { (exit 1); exit 1; }; }
60610015Speter    ac_package=`echo $ac_package | sed 's/-/_/g'`
60710015Speter    eval "with_$ac_package=no" ;;
60810015Speter
60910015Speter  --x)
61010015Speter    # Obsolete; use --with-x.
61110015Speter    with_x=yes ;;
61210015Speter
61310015Speter  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
61410015Speter  | --x-incl | --x-inc | --x-in | --x-i)
61510015Speter    ac_prev=x_includes ;;
61610962Speter  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
61710015Speter  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
61810015Speter    x_includes=$ac_optarg ;;
61910015Speter
62010015Speter  -x-libraries | --x-libraries | --x-librarie | --x-librari \
62110015Speter  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
62210015Speter    ac_prev=x_libraries ;;
62310015Speter  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
62412174Speter  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
62510015Speter    x_libraries=$ac_optarg ;;
62610015Speter
62710015Speter  -*) { echo "$as_me: error: unrecognized option: $ac_option
62810015SpeterTry \`$0 --help' for more information." >&2
62910015Speter   { (exit 1); exit 1; }; }
63010015Speter    ;;
63110015Speter
63212174Speter  *=*)
63312174Speter    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
63410015Speter    # Reject names that are not valid shell variable names.
63510015Speter    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
63610015Speter      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
63710015Speter   { (exit 1); exit 1; }; }
63810015Speter    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
63910015Speter    eval "$ac_envvar='$ac_optarg'"
64010047Speter    export $ac_envvar ;;
64110047Speter
64210047Speter  *)
64310047Speter    # FIXME: should be removed in autoconf 3.0.
64410015Speter    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
64510015Speter    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
64610047Speter      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
64710015Speter    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
64810015Speter    ;;
64910015Speter
65010015Speter  esac
65110015Speterdone
65210015Speter
65310015Speterif test -n "$ac_prev"; then
65412174Speter  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
65510015Speter  { echo "$as_me: error: missing argument to $ac_option" >&2
65610015Speter   { (exit 1); exit 1; }; }
65710015Speterfi
65812174Speter
65912174Speter# Be sure to have absolute paths.
66010015Speterfor ac_var in exec_prefix prefix
66110015Speterdo
66210015Speter  eval ac_val=$`echo $ac_var`
66310015Speter  case $ac_val in
66410015Speter    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
66510015Speter    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
66610015Speter   { (exit 1); exit 1; }; };;
66710015Speter  esac
66810015Speterdone
66910015Speter
67010015Speter# Be sure to have absolute paths.
67110015Speterfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
67212502Sjulian	      localstatedir libdir includedir oldincludedir infodir mandir
67312675Sjuliando
67412675Sjulian  eval ac_val=$`echo $ac_var`
67513169Speter  case $ac_val in
67613165Speter    [\\/$]* | ?:[\\/]* ) ;;
67713630Sphk    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
67813630Sphk   { (exit 1); exit 1; }; };;
67913630Sphk  esac
68013630Sphkdone
68113630Sphk
68213630Sphk# There might be people who depend on the old broken behavior: `$host'
68313630Sphk# used to hold the argument of --host etc.
68413630Sphk# FIXME: To remove some day.
68513630Sphkbuild=$build_alias
68613630Sphkhost=$host_alias
68713630Sphktarget=$target_alias
68813630Sphk
68912675Sjulian# FIXME: To remove some day.
69014873Sscrappyif test "x$host_alias" != x; then
69114873Sscrappy  if test "x$build_alias" = x; then
69214873Sscrappy    cross_compiling=maybe
69312675Sjulian    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
69410015Speter    If a cross compiler is detected then cross compile mode will be used." >&2
69510015Speter  elif test "x$build_alias" != "x$host_alias"; then
69610015Speter    cross_compiling=yes
69712675Sjulian  fi
69810015Speterfi
69910015Speter
70010015Speterac_tool_prefix=
70110015Spetertest -n "$host_alias" && ac_tool_prefix=$host_alias-
70210015Speter
70310015Spetertest "$silent" = yes && exec 6>/dev/null
70410015Speter
70510015Speter
70610015Speter# Find the source files, if location was not specified.
70710015Speterif test -z "$srcdir"; then
70810015Speter  ac_srcdir_defaulted=yes
70910015Speter  # Try the directory containing this script, then its parent.
71010015Speter  ac_confdir=`(dirname "$0") 2>/dev/null ||
71110015Speter$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
71210015Speter	 X"$0" : 'X\(//\)[^/]' \| \
71318515Speter	 X"$0" : 'X\(//\)$' \| \
71410015Speter	 X"$0" : 'X\(/\)' \| \
71510015Speter	 .     : '\(.\)' 2>/dev/null ||
71610015Speterecho X"$0" |
71710015Speter    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
71810015Speter  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
71910015Speter  	  /^X\(\/\/\)$/{ s//\1/; q; }
72010015Speter  	  /^X\(\/\).*/{ s//\1/; q; }
72110015Speter  	  s/.*/./; q'`
72210015Speter  srcdir=$ac_confdir
72312174Speter  if test ! -r $srcdir/$ac_unique_file; then
72412174Speter    srcdir=..
72510015Speter  fi
72610015Speterelse
72710015Speter  ac_srcdir_defaulted=no
72810015Speterfi
72910015Speterif test ! -r $srcdir/$ac_unique_file; then
73010015Speter  if test "$ac_srcdir_defaulted" = yes; then
73112174Speter    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
73210015Speter   { (exit 1); exit 1; }; }
73310015Speter  else
73410015Speter    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
73510015Speter   { (exit 1); exit 1; }; }
73610015Speter  fi
73710015Speterfi
73810015Speter(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
73910015Speter  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
74010015Speter   { (exit 1); exit 1; }; }
74115639Spetersrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
74210015Speterac_env_build_alias_set=${build_alias+set}
74310015Speterac_env_build_alias_value=$build_alias
74410015Speterac_cv_env_build_alias_set=${build_alias+set}
74510015Speterac_cv_env_build_alias_value=$build_alias
74610015Speterac_env_host_alias_set=${host_alias+set}
74710015Speterac_env_host_alias_value=$host_alias
74810015Speterac_cv_env_host_alias_set=${host_alias+set}
74910015Speterac_cv_env_host_alias_value=$host_alias
75010015Speterac_env_target_alias_set=${target_alias+set}
75110015Speterac_env_target_alias_value=$target_alias
75210015Speterac_cv_env_target_alias_set=${target_alias+set}
75310015Speterac_cv_env_target_alias_value=$target_alias
75410015Speterac_env_CC_set=${CC+set}
75510015Speterac_env_CC_value=$CC
75610015Speterac_cv_env_CC_set=${CC+set}
75710015Speterac_cv_env_CC_value=$CC
75810015Speterac_env_CFLAGS_set=${CFLAGS+set}
75910015Speterac_env_CFLAGS_value=$CFLAGS
76010015Speterac_cv_env_CFLAGS_set=${CFLAGS+set}
76110015Speterac_cv_env_CFLAGS_value=$CFLAGS
76210015Speterac_env_LDFLAGS_set=${LDFLAGS+set}
76310015Speterac_env_LDFLAGS_value=$LDFLAGS
76410015Speterac_cv_env_LDFLAGS_set=${LDFLAGS+set}
76510015Speterac_cv_env_LDFLAGS_value=$LDFLAGS
76610015Speterac_env_CPPFLAGS_set=${CPPFLAGS+set}
76710015Speterac_env_CPPFLAGS_value=$CPPFLAGS
76810015Speterac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
76910015Speterac_cv_env_CPPFLAGS_value=$CPPFLAGS
77010015Speterac_env_CPP_set=${CPP+set}
77110015Speterac_env_CPP_value=$CPP
77210015Speterac_cv_env_CPP_set=${CPP+set}
77310015Speterac_cv_env_CPP_value=$CPP
77410015Speter
77510015Speter#
77610015Speter# Report the --help message.
77710015Speter#
77810015Speterif test "$ac_init_help" = "long"; then
77910015Speter  # Omit some internal or obsolete options to make the list less imposing.
78010015Speter  # This message is too long to be a string in the A/UX 3.1 sh.
78110015Speter  cat <<_ACEOF
78210015Speter\`configure' configures GNU Texinfo 4.8 to adapt to many kinds of systems.
78310015Speter
78410015SpeterUsage: $0 [OPTION]... [VAR=VALUE]...
78510015Speter
78610015SpeterTo assign environment variables (e.g., CC, CFLAGS...), specify them as
78710015SpeterVAR=VALUE.  See below for descriptions of some of the useful variables.
78810015Speter
78910015SpeterDefaults for the options are specified in brackets.
79010015Speter
79110015SpeterConfiguration:
79210015Speter  -h, --help              display this help and exit
79310015Speter      --help=short        display options specific to this package
79410015Speter      --help=recursive    display the short help of all the included packages
79510015Speter  -V, --version           display version information and exit
79610015Speter  -q, --quiet, --silent   do not print \`checking...' messages
79710015Speter      --cache-file=FILE   cache test results in FILE [disabled]
79810015Speter  -C, --config-cache      alias for \`--cache-file=config.cache'
79910015Speter  -n, --no-create         do not create output files
80010015Speter      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
80110015Speter
80210015Speter_ACEOF
80310015Speter
80410015Speter  cat <<_ACEOF
80510015SpeterInstallation directories:
80610015Speter  --prefix=PREFIX         install architecture-independent files in PREFIX
80710015Speter			  [$ac_default_prefix]
80810015Speter  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
80910015Speter			  [PREFIX]
81010015Speter
81110015SpeterBy default, \`make install' will install all the files in
81210015Speter\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
81310015Speteran installation prefix other than \`$ac_default_prefix' using \`--prefix',
81410015Speterfor instance \`--prefix=\$HOME'.
81510015Speter
81610015SpeterFor better control, use the options below.
81710015Speter
81810015SpeterFine tuning of the installation directories:
81910015Speter  --bindir=DIR           user executables [EPREFIX/bin]
82010015Speter  --sbindir=DIR          system admin executables [EPREFIX/sbin]
82110015Speter  --libexecdir=DIR       program executables [EPREFIX/libexec]
82210015Speter  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
82310015Speter  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
82410015Speter  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
82510015Speter  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
82610015Speter  --libdir=DIR           object code libraries [EPREFIX/lib]
82710015Speter  --includedir=DIR       C header files [PREFIX/include]
82810015Speter  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
82910015Speter  --infodir=DIR          info documentation [PREFIX/info]
83010015Speter  --mandir=DIR           man documentation [PREFIX/man]
83110015Speter_ACEOF
83210015Speter
83310015Speter  cat <<\_ACEOF
83410015Speter
83510015SpeterProgram names:
83610015Speter  --program-prefix=PREFIX            prepend PREFIX to installed program names
83710015Speter  --program-suffix=SUFFIX            append SUFFIX to installed program names
83810015Speter  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
83910015Speter
84010015SpeterSystem types:
84110015Speter  --build=BUILD     configure for building on BUILD [guessed]
84210015Speter  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
84310015Speter_ACEOF
84410015Speterfi
84510015Speter
84610015Speterif test -n "$ac_init_help"; then
84710015Speter  case $ac_init_help in
84810015Speter     short | recursive ) echo "Configuration of GNU Texinfo 4.8:";;
84910015Speter   esac
85010015Speter  cat <<\_ACEOF
85110015Speter
85210015SpeterOptional Features:
85310015Speter  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
85410015Speter  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
85510015Speter  --enable-maintainer-mode  enable make rules and dependencies not useful
85610015Speter			  (and sometimes confusing) to the casual installer
85710015Speter  --disable-dependency-tracking  speeds up one-time build
85810015Speter  --enable-dependency-tracking   do not reject slow dependency extractors
85910015Speter  --enable-multiplatform      put executables in bin/PLATFORM
86010015Speter  --disable-install-warnings  omit make install warnings about TeX files
86110015Speter  --disable-nls           do not use Native Language Support
86210015Speter  --disable-rpath         do not hardcode runtime library paths
86310015Speter
86410015SpeterOptional Packages:
86510015Speter  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
86610015Speter  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
86710015Speter  --with-gnu-ld           assume the C compiler uses GNU ld default=no
86812675Sjulian  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
86910015Speter  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
87010015Speter  --with-included-gettext use the GNU gettext library included here
87110015Speter  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
87210015Speter  --without-libintl-prefix     don't search for libintl in includedir and libdir
87310015Speter
87410015SpeterSome influential environment variables:
87510015Speter  CC          C compiler command
87610015Speter  CFLAGS      C compiler flags
87710015Speter  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
87810015Speter              nonstandard directory <lib dir>
87910015Speter  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
88010015Speter              headers in a nonstandard directory <include dir>
88110015Speter  CPP         C preprocessor
88210015Speter
88310015SpeterUse these variables to override the choices made by `configure' or to help
88410015Speterit to find libraries and programs with nonstandard names/locations.
88510015Speter
88610015Speter_ACEOF
88710015Speterfi
88810015Speter
88910015Speterif test "$ac_init_help" = "recursive"; then
89010015Speter  # If there are subdirs, report their specific --help.
89110015Speter  ac_popdir=`pwd`
89210015Speter  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
89310015Speter    test -d $ac_dir || continue
89410015Speter    ac_builddir=.
89510015Speter
89610015Speterif test "$ac_dir" != .; then
89710015Speter  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
89810015Speter  # A "../" for each directory in $ac_dir_suffix.
89910015Speter  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
90010015Speterelse
90110015Speter  ac_dir_suffix= ac_top_builddir=
90210015Speterfi
90310015Speter
90410015Spetercase $srcdir in
90510015Speter  .)  # No --srcdir option.  We are building in place.
90610015Speter    ac_srcdir=.
90710015Speter    if test -z "$ac_top_builddir"; then
90810015Speter       ac_top_srcdir=.
90910015Speter    else
91010015Speter       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
91110015Speter    fi ;;
91210015Speter  [\\/]* | ?:[\\/]* )  # Absolute path.
91310015Speter    ac_srcdir=$srcdir$ac_dir_suffix;
91410015Speter    ac_top_srcdir=$srcdir ;;
91510015Speter  *) # Relative path.
91610015Speter    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
91710015Speter    ac_top_srcdir=$ac_top_builddir$srcdir ;;
91810015Speteresac
91910015Speter
92010015Speter# Do not use `cd foo && pwd` to compute absolute paths, because
92110015Speter# the directories may not exist.
92210015Spetercase `pwd` in
92310015Speter.) ac_abs_builddir="$ac_dir";;
92410015Speter*)
92510015Speter  case "$ac_dir" in
92610015Speter  .) ac_abs_builddir=`pwd`;;
92710015Speter  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
92810015Speter  *) ac_abs_builddir=`pwd`/"$ac_dir";;
92910015Speter  esac;;
93010015Speteresac
93110015Spetercase $ac_abs_builddir in
93210015Speter.) ac_abs_top_builddir=${ac_top_builddir}.;;
93310015Speter*)
93410015Speter  case ${ac_top_builddir}. in
93510015Speter  .) ac_abs_top_builddir=$ac_abs_builddir;;
93610015Speter  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
93710015Speter  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
93810015Speter  esac;;
93910015Speteresac
94010015Spetercase $ac_abs_builddir in
94110015Speter.) ac_abs_srcdir=$ac_srcdir;;
94210015Speter*)
94310015Speter  case $ac_srcdir in
94418515Speter  .) ac_abs_srcdir=$ac_abs_builddir;;
94518515Speter  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
94618515Speter  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
94710015Speter  esac;;
94810015Speteresac
94910015Spetercase $ac_abs_builddir in
95010015Speter.) ac_abs_top_srcdir=$ac_top_srcdir;;
95110015Speter*)
95210015Speter  case $ac_top_srcdir in
95310015Speter  .) ac_abs_top_srcdir=$ac_abs_builddir;;
95410015Speter  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95510015Speter  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95610015Speter  esac;;
95710015Speteresac
95810015Speter
95910015Speter    cd $ac_dir
96010015Speter    # Check for guested configure; otherwise get Cygnus style configure.
96110015Speter    if test -f $ac_srcdir/configure.gnu; then
96210015Speter      echo
96310015Speter      $SHELL $ac_srcdir/configure.gnu  --help=recursive
96410015Speter    elif test -f $ac_srcdir/configure; then
96510015Speter      echo
96610015Speter      $SHELL $ac_srcdir/configure  --help=recursive
96710015Speter    elif test -f $ac_srcdir/configure.ac ||
96810015Speter	   test -f $ac_srcdir/configure.in; then
96910015Speter      echo
97010015Speter      $ac_configure --help
97110015Speter    else
97210015Speter      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
97310015Speter    fi
97410015Speter    cd $ac_popdir
97510015Speter  done
97610015Speterfi
97710015Speter
97810015Spetertest -n "$ac_init_help" && exit 0
97910015Speterif $ac_init_version; then
98010015Speter  cat <<\_ACEOF
98110015SpeterGNU Texinfo configure 4.8
98210015Spetergenerated by GNU Autoconf 2.59
98310015Speter
98410015SpeterCopyright (C) 2003 Free Software Foundation, Inc.
98510015SpeterThis configure script is free software; the Free Software Foundation
98610015Spetergives unlimited permission to copy, distribute and modify it.
98710015Speter_ACEOF
98812675Sjulian  exit 0
98910015Speterfi
99010015Speterexec 5>config.log
99110015Spetercat >&5 <<_ACEOF
99210015SpeterThis file contains any messages produced by compilers while
99310015Speterrunning configure, to aid debugging if configure makes a mistake.
99410015Speter
99510015SpeterIt was created by GNU Texinfo $as_me 4.8, which was
99610015Spetergenerated by GNU Autoconf 2.59.  Invocation command line was
99710015Speter
99810015Speter  $ $0 $@
99910015Speter
100010015Speter_ACEOF
100110015Speter{
100210015Spetercat <<_ASUNAME
100310015Speter## --------- ##
100410015Speter## Platform. ##
100510015Speter## --------- ##
100610015Speter
100710015Speterhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
100812675Sjulianuname -m = `(uname -m) 2>/dev/null || echo unknown`
100910015Speteruname -r = `(uname -r) 2>/dev/null || echo unknown`
101010015Speteruname -s = `(uname -s) 2>/dev/null || echo unknown`
101110015Speteruname -v = `(uname -v) 2>/dev/null || echo unknown`
101210015Speter
101310015Speter/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
101410015Speter/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
101510015Speter
101610015Speter/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
101710015Speter/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
101810015Speter/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
101910015Speterhostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
102010015Speter/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
102110015Speter/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
102210015Speter/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
102310015Speter
102410015Speter_ASUNAME
102510015Speter
102610015Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
102710015Speterfor as_dir in $PATH
102810015Speterdo
102910015Speter  IFS=$as_save_IFS
103010015Speter  test -z "$as_dir" && as_dir=.
103110015Speter  echo "PATH: $as_dir"
103210015Speterdone
103310015Speter
103410015Speter} >&5
103518515Speter
103618515Spetercat >&5 <<_ACEOF
103717291Speter
103817290Speter
103910015Speter## ----------- ##
104017290Speter## Core tests. ##
104110015Speter## ----------- ##
104210015Speter
104310015Speter_ACEOF
104410015Speter
104510015Speter
104610015Speter# Keep a trace of the command line.
104710015Speter# Strip out --no-create and --no-recursion so they do not pile up.
104810015Speter# Strip out --silent because we don't want to record it for future runs.
104910015Speter# Also quote any args containing shell meta-characters.
105012675Sjulian# Make two passes to allow for proper duplicate-argument suppression.
105110015Speterac_configure_args=
105210015Speterac_configure_args0=
105310015Speterac_configure_args1=
105410015Speterac_sep=
105510015Speterac_must_keep_next=false
105610015Speterfor ac_pass in 1 2
105710015Speterdo
105810015Speter  for ac_arg
105910015Speter  do
106010015Speter    case $ac_arg in
106110015Speter    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
106210015Speter    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
106310015Speter    | -silent | --silent | --silen | --sile | --sil)
106410015Speter      continue ;;
106512675Sjulian    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
106610015Speter      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
106710015Speter    esac
106810015Speter    case $ac_pass in
106910015Speter    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
107010015Speter    2)
107110015Speter      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
107210015Speter      if test $ac_must_keep_next = true; then
107310015Speter	ac_must_keep_next=false # Got value, back to normal.
107410015Speter      else
107510015Speter	case $ac_arg in
107610015Speter	  *=* | --config-cache | -C | -disable-* | --disable-* \
107710015Speter	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
107810015Speter	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
107910015Speter	  | -with-* | --with-* | -without-* | --without-* | --x)
108010015Speter	    case "$ac_configure_args0 " in
108110015Speter	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
108210015Speter	    esac
108310015Speter	    ;;
108410015Speter	  -* ) ac_must_keep_next=true ;;
108510015Speter	esac
108610015Speter      fi
108710015Speter      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
108810015Speter      # Get rid of the leading space.
108910015Speter      ac_sep=" "
109010015Speter      ;;
109110015Speter    esac
109210015Speter  done
109310015Speterdone
109410015Speter$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
109510015Speter$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
109610015Speter
109710015Speter# When interrupted or exit'd, cleanup temporary files, and complete
109810015Speter# config.log.  We remove comments because anyway the quotes in there
109910015Speter# would cause problems or look ugly.
110016839Speter# WARNING: Be sure not to use single quotes in there, as some shells,
110110015Speter# such as our DU 5.0 friend, will then `close' the trap.
110210015Spetertrap 'exit_status=$?
110310015Speter  # Save into config.log some information that might help in debugging.
110410015Speter  {
110510015Speter    echo
110610015Speter
110710015Speter    cat <<\_ASBOX
110810015Speter## ---------------- ##
110910015Speter## Cache variables. ##
111010015Speter## ---------------- ##
111110015Speter_ASBOX
111210015Speter    echo
111310015Speter    # The following way of writing the cache mishandles newlines in values,
111410015Speter{
111510015Speter  (set) 2>&1 |
111610015Speter    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
111710015Speter    *ac_space=\ *)
111810015Speter      sed -n \
111910015Speter	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
112010015Speter	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
112110015Speter      ;;
112210015Speter    *)
112310015Speter      sed -n \
112410015Speter	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
112510015Speter      ;;
112610015Speter    esac;
112710015Speter}
112810015Speter    echo
112910015Speter
113010015Speter    cat <<\_ASBOX
113110015Speter## ----------------- ##
113210015Speter## Output variables. ##
113310015Speter## ----------------- ##
113410015Speter_ASBOX
113510015Speter    echo
113610015Speter    for ac_var in $ac_subst_vars
113710015Speter    do
113810015Speter      eval ac_val=$`echo $ac_var`
113910015Speter      echo "$ac_var='"'"'$ac_val'"'"'"
114010015Speter    done | sort
114110015Speter    echo
114210015Speter
114310015Speter    if test -n "$ac_subst_files"; then
114410015Speter      cat <<\_ASBOX
114510015Speter## ------------- ##
114610015Speter## Output files. ##
114710015Speter## ------------- ##
114810015Speter_ASBOX
114910015Speter      echo
115010015Speter      for ac_var in $ac_subst_files
115110015Speter      do
115210015Speter	eval ac_val=$`echo $ac_var`
115310015Speter	echo "$ac_var='"'"'$ac_val'"'"'"
115410015Speter      done | sort
115510015Speter      echo
115610015Speter    fi
115710015Speter
115810015Speter    if test -s confdefs.h; then
115910015Speter      cat <<\_ASBOX
116010015Speter## ----------- ##
116110015Speter## confdefs.h. ##
116210015Speter## ----------- ##
116310015Speter_ASBOX
116410015Speter      echo
116510015Speter      sed "/^$/d" confdefs.h | sort
116610015Speter      echo
116710015Speter    fi
116810015Speter    test "$ac_signal" != 0 &&
116910015Speter      echo "$as_me: caught signal $ac_signal"
117017396Speter    echo "$as_me: exit $exit_status"
117117396Speter  } >&5
117217396Speter  rm -f core *.core &&
117317396Speter  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
117410015Speter    exit $exit_status
117510015Speter     ' 0
117610015Speterfor ac_signal in 1 2 13 15; do
117710015Speter  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
117810015Speterdone
117910015Speterac_signal=0
118010015Speter
118110015Speter# confdefs.h avoids OS command line length limits that DEFS can exceed.
118210015Speterrm -rf conftest* confdefs.h
118310015Speter# AIX cpp loses on an empty file, so make sure it contains at least a newline.
118410015Speterecho >confdefs.h
118510015Speter
118610015Speter# Predefined preprocessor variables.
118710015Speter
118810015Spetercat >>confdefs.h <<_ACEOF
118910015Speter#define PACKAGE_NAME "$PACKAGE_NAME"
119010015Speter_ACEOF
119116575Speter
119210015Speter
119310015Spetercat >>confdefs.h <<_ACEOF
119416575Speter#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
119510015Speter_ACEOF
119610015Speter
119710015Speter
119810015Spetercat >>confdefs.h <<_ACEOF
119910015Speter#define PACKAGE_VERSION "$PACKAGE_VERSION"
120010015Speter_ACEOF
120110015Speter
120210015Speter
120310015Spetercat >>confdefs.h <<_ACEOF
120410015Speter#define PACKAGE_STRING "$PACKAGE_STRING"
120510015Speter_ACEOF
120610015Speter
120710015Speter
120810015Spetercat >>confdefs.h <<_ACEOF
120910015Speter#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
121010015Speter_ACEOF
121110015Speter
121210015Speter
121310015Speter# Let the site file select an alternate cache file if it wants to.
121410015Speter# Prefer explicitly selected file to automatically selected ones.
121510015Speterif test -z "$CONFIG_SITE"; then
121610015Speter  if test "x$prefix" != xNONE; then
121710015Speter    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
121810015Speter  else
121910015Speter    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
122010015Speter  fi
122110015Speterfi
122210015Speterfor ac_site_file in $CONFIG_SITE; do
122310015Speter  if test -r "$ac_site_file"; then
122410015Speter    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
122510015Speterecho "$as_me: loading site script $ac_site_file" >&6;}
122610015Speter    sed 's/^/| /' "$ac_site_file" >&5
122710015Speter    . "$ac_site_file"
122810015Speter  fi
122910015Speterdone
123010015Speter
123110015Speterif test -r "$cache_file"; then
123210015Speter  # Some versions of bash will fail to source /dev/null (special
123310015Speter  # files actually), so we avoid doing that.
123410015Speter  if test -f "$cache_file"; then
123510015Speter    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
123610015Speterecho "$as_me: loading cache $cache_file" >&6;}
123710015Speter    case $cache_file in
123810015Speter      [\\/]* | ?:[\\/]* ) . $cache_file;;
123910015Speter      *)                      . ./$cache_file;;
124010015Speter    esac
124110015Speter  fi
124210015Speterelse
124310015Speter  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
124410015Speterecho "$as_me: creating cache $cache_file" >&6;}
124510015Speter  >$cache_file
124610015Speterfi
124710015Speter
124810015Speter# Check that the precious variables saved in the cache have kept the same
124910044Speter# value.
125011872Sphkac_cache_corrupted=false
125110015Speterfor ac_var in `(set) 2>&1 |
125210015Speter	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
125310015Speter  eval ac_old_set=\$ac_cv_env_${ac_var}_set
125410015Speter  eval ac_new_set=\$ac_env_${ac_var}_set
125510015Speter  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
125610015Speter  eval ac_new_val="\$ac_env_${ac_var}_value"
125710015Speter  case $ac_old_set,$ac_new_set in
125810044Speter    set,)
125910044Speter      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
126010044Speterecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
126110044Speter      ac_cache_corrupted=: ;;
126210044Speter    ,set)
126310044Speter      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
126410015Speterecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
126510015Speter      ac_cache_corrupted=: ;;
126610015Speter    ,);;
126710015Speter    *)
126810015Speter      if test "x$ac_old_val" != "x$ac_new_val"; then
126910015Speter	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
127010015Speterecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
127110015Speter	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
127210015Speterecho "$as_me:   former value:  $ac_old_val" >&2;}
127318515Speter	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
127410015Speterecho "$as_me:   current value: $ac_new_val" >&2;}
127510015Speter	ac_cache_corrupted=:
127610015Speter      fi;;
127710015Speter  esac
127810015Speter  # Pass precious variables to config.status.
127910015Speter  if test "$ac_new_set" = set; then
128010015Speter    case $ac_new_val in
128110015Speter    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
128210015Speter      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
128310015Speter    *) ac_arg=$ac_var=$ac_new_val ;;
128410015Speter    esac
128510015Speter    case " $ac_configure_args " in
128610015Speter      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
128710015Speter      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
128810015Speter    esac
128910015Speter  fi
129010015Speterdone
129110015Speterif $ac_cache_corrupted; then
129210015Speter  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
129310044Speterecho "$as_me: error: changes in the environment can compromise the build" >&2;}
129410044Speter  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
129510044Speterecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
129610015Speter   { (exit 1); exit 1; }; }
129710044Speterfi
129810015Speter
129910015Speterac_ext=c
130012174Speterac_cpp='$CPP $CPPFLAGS'
130110015Speterac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
130210015Speterac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
130310015Speterac_compiler_gnu=$ac_cv_c_compiler_gnu
130410015Speter
130510015Speter
130610015Spetergl_header_list="$gl_header_list fcntl.h"
130710015Spetergl_header_list="$gl_header_list sys/time.h"
130810015Spetergl_header_list="$gl_header_list unistd.h"
130910015Speter
131010015Speter
131110015Speter
131210015Speter
131310015Speter
131410015Speter
131510015Speter
131610015Speter
131710015Speter
131810015Speter
131910015Speter
132010015Speter
132110015Speter
132210015Speter
132310015Speter
132410015Speter
132510015Speter
132610015Speter
132710015Speter
132810015Speter
132910015Speter
133010015Speter
133110015Speter
133210015Speter
133310015Speter
133410015Speter          ac_config_headers="$ac_config_headers config.h:config.in"
133510015Speter# Keep filename to 8.3 for MS-DOS.
133610015Speter
133710015Speteram__api_version="1.9"
133810015Speterac_aux_dir=
133910015Speterfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
134010015Speter  if test -f $ac_dir/install-sh; then
134110015Speter    ac_aux_dir=$ac_dir
134210015Speter    ac_install_sh="$ac_aux_dir/install-sh -c"
134310015Speter    break
134410015Speter  elif test -f $ac_dir/install.sh; then
134510015Speter    ac_aux_dir=$ac_dir
134610015Speter    ac_install_sh="$ac_aux_dir/install.sh -c"
134710015Speter    break
134810015Speter  elif test -f $ac_dir/shtool; then
134910015Speter    ac_aux_dir=$ac_dir
135010015Speter    ac_install_sh="$ac_aux_dir/shtool install -c"
135110015Speter    break
135210015Speter  fi
135310015Speterdone
135410015Speterif test -z "$ac_aux_dir"; then
135510015Speter  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
135610015Speterecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
135710015Speter   { (exit 1); exit 1; }; }
135810015Speterfi
135910015Speterac_config_guess="$SHELL $ac_aux_dir/config.guess"
136010044Speterac_config_sub="$SHELL $ac_aux_dir/config.sub"
136110044Speterac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
136210015Speter
136310044Speter# Find a good install program.  We prefer a C program (faster),
136410044Speter# so one script is as good as another.  But avoid the broken or
136510015Speter# incompatible versions:
136616444Speter# SysV /etc/install, /usr/sbin/install
136710015Speter# SunOS /usr/etc/install
136810044Speter# IRIX /sbin/install
136910044Speter# AIX /bin/install
137016444Speter# AmigaOS /C/install, which installs bootblocks on floppy discs
137110015Speter# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
137210044Speter# AFS /usr/afsws/bin/install, which mishandles nonexistent args
137310044Speter# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
137416444Speter# OS/2's system install, which has a completely different semantic
137510015Speter# ./install, which can be erroneously created by make from ./install.sh.
137610015Speterecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5
137710015Speterecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
137810015Speterif test -z "$INSTALL"; then
137910015Speterif test "${ac_cv_path_install+set}" = set; then
138010015Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
138110015Speterelse
138210015Speter  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
138310015Speterfor as_dir in $PATH
138410015Speterdo
138510015Speter  IFS=$as_save_IFS
138610015Speter  test -z "$as_dir" && as_dir=.
138710015Speter  # Account for people who put trailing slashes in PATH elements.
138810015Spetercase $as_dir/ in
138910015Speter  ./ | .// | /cC/* | \
139010015Speter  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
139112724Sphk  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
139210015Speter  /usr/ucb/* ) ;;
139310015Speter  *)
139410015Speter    # OSF1 and SCO ODT 3.0 have their own names for install.
139510015Speter    # Don't use installbsd from OSF since it installs stuff as root
139610015Speter    # by default.
139710015Speter    for ac_prog in ginstall scoinst install; do
139810015Speter      for ac_exec_ext in '' $ac_executable_extensions; do
139910015Speter	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
140010015Speter	  if test $ac_prog = install &&
140110015Speter	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
140210161Speter	    # AIX install.  It has an incompatible calling convention.
140310015Speter	    :
140410015Speter	  elif test $ac_prog = install &&
140510015Speter	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
140610015Speter	    # program-specific install script used by HP pwplus--don't use.
140710015Speter	    :
140810015Speter	  else
140910044Speter	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
141010044Speter	    break 3
141110015Speter	  fi
141210015Speter	fi
141310015Speter      done
141410015Speter    done
141510015Speter    ;;
141610015Speteresac
141710015Speterdone
141810015Speter
141910015Speter
142010015Speterfi
142110015Speter  if test "${ac_cv_path_install+set}" = set; then
142210015Speter    INSTALL=$ac_cv_path_install
142310015Speter  else
142410015Speter    # As a last resort, use the slow shell script.  We don't cache a
142510015Speter    # path for INSTALL within a source directory, because that will
142610015Speter    # break other packages using the cache if that directory is
142710015Speter    # removed, or if the path is relative.
142810015Speter    INSTALL=$ac_install_sh
142910015Speter  fi
143010161Speterfi
143110161Speterecho "$as_me:$LINENO: result: $INSTALL" >&5
143210161Speterecho "${ECHO_T}$INSTALL" >&6
143310161Speter
143410161Speter# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
143510161Speter# It thinks the first close brace ends the variable substitution.
143610161Spetertest -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
143710161Speter
143810161Spetertest -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
143910161Speter
144010161Spetertest -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
144110161Speter
144210161Speterecho "$as_me:$LINENO: checking whether build environment is sane" >&5
144310015Speterecho $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
144410015Speter# Just in case
144510015Spetersleep 1
144610161Speterecho timestamp > conftest.file
144710015Speter# Do `set' in a subshell so we don't clobber the current shell's
144810161Speter# arguments.  Must try -L first in case configure is actually a
144910015Speter# symlink; some systems play weird games with the mod time of symlinks
145010161Speter# (eg FreeBSD returns the mod time of the symlink's containing
145110161Speter# directory).
145210015Speterif (
145310161Speter   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
145410015Speter   if test "$*" = "X"; then
145510161Speter      # -L didn't work.
145610161Speter      set X `ls -t $srcdir/configure conftest.file`
145710161Speter   fi
145810161Speter   rm -f conftest.file
145910161Speter   if test "$*" != "X $srcdir/configure conftest.file" \
146010161Speter      && test "$*" != "X conftest.file $srcdir/configure"; then
146110161Speter
146210161Speter      # If neither matched, then we have a broken ls.  This can happen
146310161Speter      # if, for instance, CONFIG_SHELL is bash and it inherits a
146416575Speter      # broken ls alias from the environment.  This has actually
146510161Speter      # happened.  Such a system could not be considered "sane".
146610161Speter      { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
146710161Speteralias in your environment" >&5
146810015Speterecho "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
146910161Speteralias in your environment" >&2;}
147010015Speter   { (exit 1); exit 1; }; }
147110161Speter   fi
147210015Speter
147310161Speter   test "$2" = conftest.file
147410015Speter   )
147510015Speterthen
147610161Speter   # Ok.
147710015Speter   :
147810161Speterelse
147910015Speter   { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
148010161SpeterCheck your system clock" >&5
148110015Speterecho "$as_me: error: newly created file is older than distributed files!
148210161SpeterCheck your system clock" >&2;}
148310015Speter   { (exit 1); exit 1; }; }
148410161Speterfi
148510161Speterecho "$as_me:$LINENO: result: yes" >&5
148610161Speterecho "${ECHO_T}yes" >&6
148710161Spetertest "$program_prefix" != NONE &&
148810161Speter  program_transform_name="s,^,$program_prefix,;$program_transform_name"
148910161Speter# Use a double $ so make ignores it.
149010161Spetertest "$program_suffix" != NONE &&
149110015Speter  program_transform_name="s,\$,$program_suffix,;$program_transform_name"
149210161Speter# Double any \ or $.  echo might interpret backslashes.
149310161Speter# By default was `s,x,x', remove it if useless.
149410161Spetercat <<\_ACEOF >conftest.sed
149510161Speters/[\\$]/&&/g;s/;s,x,x,$//
149610161Speter_ACEOF
149710161Speterprogram_transform_name=`echo $program_transform_name | sed -f conftest.sed`
149810161Speterrm conftest.sed
149910161Speter
150010161Speter# expand $ac_aux_dir to an absolute path
150110161Speteram_aux_dir=`cd $ac_aux_dir && pwd`
150210161Speter
150310161Spetertest x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
150410161Speter# Use eval to expand $SHELL
150510015Speterif eval "$MISSING --run true"; then
150610161Speter  am_missing_run="$MISSING --run "
150710015Speterelse
150810161Speter  am_missing_run=
150910161Speter  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
151010161Speterecho "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
151110161Speterfi
151210015Speter
151310015Speterif mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
151410161Speter  # We used to keeping the `.' as first argument, in order to
151510161Speter  # allow $(mkdir_p) to be used without argument.  As in
151610161Speter  #   $(mkdir_p) $(somedir)
151710161Speter  # where $(somedir) is conditionally defined.  However this is wrong
151810161Speter  # for two reasons:
151910161Speter  #  1. if the package is installed by a user who cannot write `.'
152010161Speter  #     make install will fail,
152110161Speter  #  2. the above comment should most certainly read
152210161Speter  #     $(mkdir_p) $(DESTDIR)$(somedir)
152310015Speter  #     so it does not work when $(somedir) is undefined and
152410161Speter  #     $(DESTDIR) is not.
152510161Speter  #  To support the latter case, we have to write
152610161Speter  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
152710161Speter  #  so the `.' trick is pointless.
152810161Speter  mkdir_p='mkdir -p --'
152910015Speterelse
153010015Speter  # On NextStep and OpenStep, the `mkdir' command does not
153110015Speter  # recognize any option.  It will interpret all options as
153210015Speter  # directories to create, and then abort because `.' already
153310015Speter  # exists.
153410015Speter  for d in ./-p ./--version;
153510161Speter  do
153610015Speter    test -d $d && rmdir $d
153710015Speter  done
153810015Speter  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
153910015Speter  if test -f "$ac_aux_dir/mkinstalldirs"; then
154010015Speter    mkdir_p='$(mkinstalldirs)'
154110015Speter  else
154210161Speter    mkdir_p='$(install_sh) -d'
154310015Speter  fi
154410015Speterfi
154510015Speter
154610015Speterfor ac_prog in gawk mawk nawk awk
154710015Speterdo
154810015Speter  # Extract the first word of "$ac_prog", so it can be a program name with args.
154910015Speterset dummy $ac_prog; ac_word=$2
155010015Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
155110015Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
155210015Speterif test "${ac_cv_prog_AWK+set}" = set; then
155310015Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
155410044Speterelse
155510044Speter  if test -n "$AWK"; then
155610015Speter  ac_cv_prog_AWK="$AWK" # Let the user override the test.
155710015Speterelse
155810015Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
155910015Speterfor as_dir in $PATH
156010015Speterdo
156110015Speter  IFS=$as_save_IFS
156210015Speter  test -z "$as_dir" && as_dir=.
156310015Speter  for ac_exec_ext in '' $ac_executable_extensions; do
156410015Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
156510015Speter    ac_cv_prog_AWK="$ac_prog"
156610015Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
156710015Speter    break 2
156810015Speter  fi
156910015Speterdone
157010015Speterdone
157110015Speter
157210015Speterfi
157310015Speterfi
157410015SpeterAWK=$ac_cv_prog_AWK
157510015Speterif test -n "$AWK"; then
157610015Speter  echo "$as_me:$LINENO: result: $AWK" >&5
157710015Speterecho "${ECHO_T}$AWK" >&6
157810015Speterelse
157910015Speter  echo "$as_me:$LINENO: result: no" >&5
158010015Speterecho "${ECHO_T}no" >&6
158110015Speterfi
158210015Speter
158310015Speter  test -n "$AWK" && break
158410015Speterdone
158510015Speter
158610015Speterecho "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
158710015Speterecho $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
158810015Speterset dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
158910015Speterif eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
159010015Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
159110015Speterelse
159210015Speter  cat >conftest.make <<\_ACEOF
159310015Speterall:
159410015Speter	@echo 'ac_maketemp="$(MAKE)"'
159510015Speter_ACEOF
159610015Speter# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
159710015Spetereval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
159810015Speterif test -n "$ac_maketemp"; then
159910015Speter  eval ac_cv_prog_make_${ac_make}_set=yes
160010015Speterelse
160110015Speter  eval ac_cv_prog_make_${ac_make}_set=no
160210015Speterfi
160310015Speterrm -f conftest.make
160410015Speterfi
160510015Speterif eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
160610015Speter  echo "$as_me:$LINENO: result: yes" >&5
160710015Speterecho "${ECHO_T}yes" >&6
160810015Speter  SET_MAKE=
160910015Speterelse
161010015Speter  echo "$as_me:$LINENO: result: no" >&5
161110015Speterecho "${ECHO_T}no" >&6
161210015Speter  SET_MAKE="MAKE=${MAKE-make}"
161310015Speterfi
161410015Speter
161510015Speterrm -rf .tst 2>/dev/null
161610015Spetermkdir .tst 2>/dev/null
161710015Speterif test -d .tst; then
161810015Speter  am__leading_dot=.
161910015Speterelse
162010015Speter  am__leading_dot=_
162110015Speterfi
162210015Speterrmdir .tst 2>/dev/null
162310015Speter
162410015Speter# test to see if srcdir already configured
162510015Speterif test "`cd $srcdir && pwd`" != "`pwd`" &&
162610015Speter   test -f $srcdir/config.status; then
162710015Speter  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
162810015Speterecho "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
162910015Speter   { (exit 1); exit 1; }; }
163010015Speterfi
163110015Speter
163210015Speter# test whether we have cygpath
163310015Speterif test -z "$CYGPATH_W"; then
163410015Speter  if (cygpath --version) >/dev/null 2>/dev/null; then
163510015Speter    CYGPATH_W='cygpath -w'
163610015Speter  else
163710015Speter    CYGPATH_W=echo
163810015Speter  fi
163910015Speterfi
164010015Speter
164110015Speter
164210015Speter# Define the identity of the package.
164310015Speter PACKAGE='texinfo'
164410015Speter VERSION='4.8'
164510015Speter
164610015Speter
164710015Spetercat >>confdefs.h <<_ACEOF
164810015Speter#define PACKAGE "$PACKAGE"
164910015Speter_ACEOF
165010015Speter
165110015Speter
165210015Spetercat >>confdefs.h <<_ACEOF
165310015Speter#define VERSION "$VERSION"
165410015Speter_ACEOF
165510015Speter
165610015Speter# Some tools Automake needs.
165710015Speter
165810015SpeterACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
165910015Speter
166010015Speter
166110015SpeterAUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
166210015Speter
166312174Speter
166412496SpeterAUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
166512496Speter
166610015Speter
166710015SpeterAUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
166810708Speter
166910015Speter
167010015SpeterMAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
167110015Speter
167210015Speterinstall_sh=${install_sh-"$am_aux_dir/install-sh"}
167310015Speter
167412174Speter# Installed binaries are usually stripped using `strip' when the user
167512174Speter# run `make install-strip'.  However `strip' might not be the right
167610015Speter# tool to use in cross-compilation environments, therefore Automake
167710015Speter# will honor the `STRIP' environment variable to overrule this program.
167811609Speterif test "$cross_compiling" != no; then
167910015Speter  if test -n "$ac_tool_prefix"; then
168010015Speter  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
168110015Speterset dummy ${ac_tool_prefix}strip; ac_word=$2
168210015Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
168310015Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
168412174Speterif test "${ac_cv_prog_STRIP+set}" = set; then
168510015Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
168610015Speterelse
168710015Speter  if test -n "$STRIP"; then
168810015Speter  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
168910015Speterelse
169010015Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
169110015Speterfor as_dir in $PATH
169210015Speterdo
169310015Speter  IFS=$as_save_IFS
169410015Speter  test -z "$as_dir" && as_dir=.
169512174Speter  for ac_exec_ext in '' $ac_executable_extensions; do
169610015Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
169710015Speter    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
169810015Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
169910015Speter    break 2
170010015Speter  fi
170110015Speterdone
170212174Speterdone
170312174Speter
170412174Speterfi
170512174Speterfi
170612174SpeterSTRIP=$ac_cv_prog_STRIP
170712174Speterif test -n "$STRIP"; then
170812174Speter  echo "$as_me:$LINENO: result: $STRIP" >&5
170912174Speterecho "${ECHO_T}$STRIP" >&6
171012174Speterelse
171112174Speter  echo "$as_me:$LINENO: result: no" >&5
171212174Speterecho "${ECHO_T}no" >&6
171310015Speterfi
171417547Speter
171510015Speterfi
171611609Speterif test -z "$ac_cv_prog_STRIP"; then
171710015Speter  ac_ct_STRIP=$STRIP
171810015Speter  # Extract the first word of "strip", so it can be a program name with args.
171915639Speterset dummy strip; ac_word=$2
172010015Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
172110015Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
172210015Speterif test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
172310015Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
172410015Speterelse
172510015Speter  if test -n "$ac_ct_STRIP"; then
172610015Speter  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
172710015Speterelse
172812496Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
172910015Speterfor as_dir in $PATH
173010708Speterdo
173111609Speter  IFS=$as_save_IFS
173210015Speter  test -z "$as_dir" && as_dir=.
173310015Speter  for ac_exec_ext in '' $ac_executable_extensions; do
173410015Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
173510015Speter    ac_cv_prog_ac_ct_STRIP="strip"
173610015Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
173710015Speter    break 2
173810015Speter  fi
173911872Sphkdone
174012174Speterdone
174110015Speter
174210015Speter  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
174310015Speterfi
174411609Speterfi
174511609Speterac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
174611609Speterif test -n "$ac_ct_STRIP"; then
174710708Speter  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
174812174Speterecho "${ECHO_T}$ac_ct_STRIP" >&6
174911609Speterelse
175010708Speter  echo "$as_me:$LINENO: result: no" >&5
175110015Speterecho "${ECHO_T}no" >&6
175210015Speterfi
175310015Speter
175410015Speter  STRIP=$ac_ct_STRIP
175510015Speterelse
175610015Speter  STRIP="$ac_cv_prog_STRIP"
175710015Speterfi
175810015Speter
175910015Speterfi
176010015SpeterINSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
176112174Speter
176210015Speter# We need awk for the "check" target.  The system "awk" is bad on
176312174Speter# some platforms.
176412174Speter# Always define AMTAR for backward compatibility.
176512174Speter
176612174SpeterAMTAR=${AMTAR-"${am_missing_run}tar"}
176710015Speter
176810015Speteram__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
176910015Speter
177010015Speter
177110015Speter
177210015Speter
177310015Speter
177410015Speterecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
177510015Speterecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
177610015Speter    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
177710015Speterif test "${enable_maintainer_mode+set}" = set; then
177810015Speter  enableval="$enable_maintainer_mode"
177910015Speter  USE_MAINTAINER_MODE=$enableval
178010015Speterelse
178110015Speter  USE_MAINTAINER_MODE=no
178210015Speterfi;
178310015Speter  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
178410015Speterecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6
178510015Speter
178610015Speter
178710015Speterif test $USE_MAINTAINER_MODE = yes; then
178810015Speter  MAINTAINER_MODE_TRUE=
178910015Speter  MAINTAINER_MODE_FALSE='#'
179010015Speterelse
179110015Speter  MAINTAINER_MODE_TRUE='#'
179210015Speter  MAINTAINER_MODE_FALSE=
179310015Speterfi
179412174Speter
179512174Speter  MAINT=$MAINTAINER_MODE_TRUE
179612174Speter
179712174Speter
179810015Speter
179910015Speter# When the Texinfo source is imported into other repositories
180010015Speter# (NetBSD and TeX Live), timestamps are generally not preserved.  This
180112174Speter# causes lots of annoyance, so --enable-maintainer-mode.  Sorry.
180210015Speterecho "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
180310015Speterecho $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
180410015Speter    # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
180510015Speterif test "${enable_maintainer_mode+set}" = set; then
180610015Speter  enableval="$enable_maintainer_mode"
180710015Speter  USE_MAINTAINER_MODE=$enableval
180810015Speterelse
180910015Speter  USE_MAINTAINER_MODE=no
181010015Speterfi;
181110015Speter  echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
181210015Speterecho "${ECHO_T}$USE_MAINTAINER_MODE" >&6
181310015Speter
181416575Speter
181516575Speterif test $USE_MAINTAINER_MODE = yes; then
181610015Speter  MAINTAINER_MODE_TRUE=
181710015Speter  MAINTAINER_MODE_FALSE='#'
181810015Speterelse
181910015Speter  MAINTAINER_MODE_TRUE='#'
182010015Speter  MAINTAINER_MODE_FALSE=
182110015Speterfi
182210015Speter
182310015Speter  MAINT=$MAINTAINER_MODE_TRUE
182410015Speter
182510015Speter
182610015Speter
182710015Speter# Checks for programs.
182810015Speterac_ext=c
182910015Speterac_cpp='$CPP $CPPFLAGS'
183010015Speterac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
183110015Speterac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
183210015Speterac_compiler_gnu=$ac_cv_c_compiler_gnu
183310015Speterif test -n "$ac_tool_prefix"; then
183410015Speter  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
183510015Speterset dummy ${ac_tool_prefix}gcc; ac_word=$2
183610015Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
183710015Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
183812174Speterif test "${ac_cv_prog_CC+set}" = set; then
183912174Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
184012174Speterelse
184112174Speter  if test -n "$CC"; then
184212174Speter  ac_cv_prog_CC="$CC" # Let the user override the test.
184312174Speterelse
184412174Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184512174Speterfor as_dir in $PATH
184612174Speterdo
184712174Speter  IFS=$as_save_IFS
184816575Speter  test -z "$as_dir" && as_dir=.
184910015Speter  for ac_exec_ext in '' $ac_executable_extensions; do
185010015Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
185112174Speter    ac_cv_prog_CC="${ac_tool_prefix}gcc"
185212174Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
185310015Speter    break 2
185410015Speter  fi
185510015Speterdone
185610015Speterdone
185710015Speter
185810015Speterfi
185912174Speterfi
186012174SpeterCC=$ac_cv_prog_CC
186112174Speterif test -n "$CC"; then
186212174Speter  echo "$as_me:$LINENO: result: $CC" >&5
186312174Speterecho "${ECHO_T}$CC" >&6
186412174Speterelse
186510015Speter  echo "$as_me:$LINENO: result: no" >&5
186610015Speterecho "${ECHO_T}no" >&6
186712174Speterfi
186812174Speter
186912174Speterfi
187010015Speterif test -z "$ac_cv_prog_CC"; then
187112174Speter  ac_ct_CC=$CC
187212174Speter  # Extract the first word of "gcc", so it can be a program name with args.
187310015Speterset dummy gcc; ac_word=$2
187412174Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
187515640Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
187615640Speterif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
187715640Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
187815640Speterelse
187915640Speter  if test -n "$ac_ct_CC"; then
188015640Speter  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
188115640Speterelse
188215640Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188315640Speterfor as_dir in $PATH
188412174Speterdo
188512174Speter  IFS=$as_save_IFS
188615640Speter  test -z "$as_dir" && as_dir=.
188715640Speter  for ac_exec_ext in '' $ac_executable_extensions; do
188815640Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
188912174Speter    ac_cv_prog_ac_ct_CC="gcc"
189012174Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
189112174Speter    break 2
189210015Speter  fi
189312174Speterdone
189415640Speterdone
189515640Speter
189612174Speterfi
189712174Speterfi
189810015Speterac_ct_CC=$ac_cv_prog_ac_ct_CC
189910015Speterif test -n "$ac_ct_CC"; then
190012174Speter  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
190112174Speterecho "${ECHO_T}$ac_ct_CC" >&6
190212174Speterelse
190312174Speter  echo "$as_me:$LINENO: result: no" >&5
190412174Speterecho "${ECHO_T}no" >&6
190512174Speterfi
190612174Speter
190712496Speter  CC=$ac_ct_CC
190810015Speterelse
190912174Speter  CC="$ac_cv_prog_CC"
191012174Speterfi
191112174Speter
191210015Speterif test -z "$CC"; then
191312174Speter  if test -n "$ac_tool_prefix"; then
191412174Speter  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
191512496Speterset dummy ${ac_tool_prefix}cc; ac_word=$2
191610015Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
191712174Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
191812174Speterif test "${ac_cv_prog_CC+set}" = set; then
191912174Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
192010015Speterelse
192112174Speter  if test -n "$CC"; then
192212174Speter  ac_cv_prog_CC="$CC" # Let the user override the test.
192312174Speterelse
192410015Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
192512174Speterfor as_dir in $PATH
192612174Speterdo
192710015Speter  IFS=$as_save_IFS
192812174Speter  test -z "$as_dir" && as_dir=.
192912174Speter  for ac_exec_ext in '' $ac_executable_extensions; do
193012174Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
193112174Speter    ac_cv_prog_CC="${ac_tool_prefix}cc"
193210015Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
193310015Speter    break 2
193412174Speter  fi
193512174Speterdone
193612174Speterdone
193712174Speter
193810015Speterfi
193912174Speterfi
194012174SpeterCC=$ac_cv_prog_CC
194112174Speterif test -n "$CC"; then
194212174Speter  echo "$as_me:$LINENO: result: $CC" >&5
194312174Speterecho "${ECHO_T}$CC" >&6
194412174Speterelse
194512174Speter  echo "$as_me:$LINENO: result: no" >&5
194612174Speterecho "${ECHO_T}no" >&6
194712174Speterfi
194810015Speter
194912174Speterfi
195012174Speterif test -z "$ac_cv_prog_CC"; then
195112174Speter  ac_ct_CC=$CC
195212174Speter  # Extract the first word of "cc", so it can be a program name with args.
195312174Speterset dummy cc; ac_word=$2
195412174Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
195510015Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
195612174Speterif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
195712174Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
195812174Speterelse
195912174Speter  if test -n "$ac_ct_CC"; then
196012174Speter  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
196112174Speterelse
196212174Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196312174Speterfor as_dir in $PATH
196412174Speterdo
196512174Speter  IFS=$as_save_IFS
196612174Speter  test -z "$as_dir" && as_dir=.
196712174Speter  for ac_exec_ext in '' $ac_executable_extensions; do
196812174Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
196912174Speter    ac_cv_prog_ac_ct_CC="cc"
197012174Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
197112174Speter    break 2
197212174Speter  fi
197312174Speterdone
197412174Speterdone
197512174Speter
197612174Speterfi
197712174Speterfi
197812174Speterac_ct_CC=$ac_cv_prog_ac_ct_CC
197912174Speterif test -n "$ac_ct_CC"; then
198012174Speter  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
198112174Speterecho "${ECHO_T}$ac_ct_CC" >&6
198212174Speterelse
198310015Speter  echo "$as_me:$LINENO: result: no" >&5
198412174Speterecho "${ECHO_T}no" >&6
198512174Speterfi
198612174Speter
198712174Speter  CC=$ac_ct_CC
198812174Speterelse
198912174Speter  CC="$ac_cv_prog_CC"
199012174Speterfi
199112174Speter
199212174Speterfi
199312174Speterif test -z "$CC"; then
199412174Speter  # Extract the first word of "cc", so it can be a program name with args.
199510015Speterset dummy cc; ac_word=$2
199612174Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
199710015Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
199810015Speterif test "${ac_cv_prog_CC+set}" = set; then
199910015Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
200010015Speterelse
200110015Speter  if test -n "$CC"; then
200210015Speter  ac_cv_prog_CC="$CC" # Let the user override the test.
200310015Speterelse
200410015Speter  ac_prog_rejected=no
200510015Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200611609Speterfor as_dir in $PATH
200711609Speterdo
200810015Speter  IFS=$as_save_IFS
200910015Speter  test -z "$as_dir" && as_dir=.
201010015Speter  for ac_exec_ext in '' $ac_executable_extensions; do
201110015Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
201212174Speter    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
201312174Speter       ac_prog_rejected=yes
201412174Speter       continue
201512174Speter     fi
201612174Speter    ac_cv_prog_CC="cc"
201712174Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
201812174Speter    break 2
201910015Speter  fi
202010015Speterdone
202110015Speterdone
202210015Speter
202310015Speterif test $ac_prog_rejected = yes; then
202410015Speter  # We found a bogon in the path, so make sure we never use it.
202510015Speter  set dummy $ac_cv_prog_CC
202610015Speter  shift
202710015Speter  if test $# != 0; then
202810015Speter    # We chose a different compiler from the bogus one.
202910015Speter    # However, it has the same basename, so the bogon will be chosen
203010015Speter    # first if we set CC to just the basename; use the full file name.
203110015Speter    shift
203210015Speter    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
203310015Speter  fi
203410015Speterfi
203510015Speterfi
203610015Speterfi
203710015SpeterCC=$ac_cv_prog_CC
203810015Speterif test -n "$CC"; then
203910015Speter  echo "$as_me:$LINENO: result: $CC" >&5
204010015Speterecho "${ECHO_T}$CC" >&6
204110015Speterelse
204210015Speter  echo "$as_me:$LINENO: result: no" >&5
204310015Speterecho "${ECHO_T}no" >&6
204410015Speterfi
204510015Speter
204610015Speterfi
204710015Speterif test -z "$CC"; then
204810015Speter  if test -n "$ac_tool_prefix"; then
204910015Speter  for ac_prog in cl
205010015Speter  do
205110015Speter    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
205210015Speterset dummy $ac_tool_prefix$ac_prog; ac_word=$2
205310015Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
205410015Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
205510015Speterif test "${ac_cv_prog_CC+set}" = set; then
205610015Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
205710015Speterelse
205810015Speter  if test -n "$CC"; then
205910015Speter  ac_cv_prog_CC="$CC" # Let the user override the test.
206010015Speterelse
206110015Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
206210015Speterfor as_dir in $PATH
206310015Speterdo
206410015Speter  IFS=$as_save_IFS
206510015Speter  test -z "$as_dir" && as_dir=.
206610015Speter  for ac_exec_ext in '' $ac_executable_extensions; do
206710015Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
206812496Speter    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
206910015Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
207010015Speter    break 2
207110015Speter  fi
207210015Speterdone
207310015Speterdone
207412496Speter
207512496Speterfi
207610015Speterfi
207710015SpeterCC=$ac_cv_prog_CC
207812496Speterif test -n "$CC"; then
207910015Speter  echo "$as_me:$LINENO: result: $CC" >&5
208010015Speterecho "${ECHO_T}$CC" >&6
208110015Speterelse
208210015Speter  echo "$as_me:$LINENO: result: no" >&5
208310015Speterecho "${ECHO_T}no" >&6
208410015Speterfi
208510015Speter
208610015Speter    test -n "$CC" && break
208710015Speter  done
208810015Speterfi
208910015Speterif test -z "$CC"; then
209010015Speter  ac_ct_CC=$CC
209110015Speter  for ac_prog in cl
209210015Speterdo
209310015Speter  # Extract the first word of "$ac_prog", so it can be a program name with args.
209410015Speterset dummy $ac_prog; ac_word=$2
209510015Speterecho "$as_me:$LINENO: checking for $ac_word" >&5
209610015Speterecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
209710015Speterif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
209810015Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
209910015Speterelse
210010015Speter  if test -n "$ac_ct_CC"; then
210110015Speter  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
210210015Speterelse
210310015Speteras_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210410015Speterfor as_dir in $PATH
210510015Speterdo
210610015Speter  IFS=$as_save_IFS
210710015Speter  test -z "$as_dir" && as_dir=.
210810015Speter  for ac_exec_ext in '' $ac_executable_extensions; do
210910015Speter  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
211010015Speter    ac_cv_prog_ac_ct_CC="$ac_prog"
211110015Speter    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
211216024Speter    break 2
211316024Speter  fi
211416024Speterdone
211510015Speterdone
211610015Speter
211710015Speterfi
211810015Speterfi
211910015Speterac_ct_CC=$ac_cv_prog_ac_ct_CC
212010015Speterif test -n "$ac_ct_CC"; then
212110015Speter  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
212210015Speterecho "${ECHO_T}$ac_ct_CC" >&6
212310015Speterelse
212410015Speter  echo "$as_me:$LINENO: result: no" >&5
212510015Speterecho "${ECHO_T}no" >&6
212610015Speterfi
212710015Speter
212810015Speter  test -n "$ac_ct_CC" && break
212910015Speterdone
213010015Speter
213110015Speter  CC=$ac_ct_CC
213210015Speterfi
213310015Speter
213410015Speterfi
213510015Speter
213610015Speter
213710015Spetertest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
213810015SpeterSee \`config.log' for more details." >&5
213910015Speterecho "$as_me: error: no acceptable C compiler found in \$PATH
214010015SpeterSee \`config.log' for more details." >&2;}
214110015Speter   { (exit 1); exit 1; }; }
214210015Speter
214310015Speter# Provide some information about the compiler.
214410015Speterecho "$as_me:$LINENO:" \
214510015Speter     "checking for C compiler version" >&5
214610015Speterac_compiler=`set X $ac_compile; echo $2`
214710015Speter{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
214810015Speter  (eval $ac_compiler --version </dev/null >&5) 2>&5
214910015Speter  ac_status=$?
215010015Speter  echo "$as_me:$LINENO: \$? = $ac_status" >&5
215110015Speter  (exit $ac_status); }
215210015Speter{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
215310015Speter  (eval $ac_compiler -v </dev/null >&5) 2>&5
215410015Speter  ac_status=$?
215510015Speter  echo "$as_me:$LINENO: \$? = $ac_status" >&5
215610015Speter  (exit $ac_status); }
215710015Speter{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
215810015Speter  (eval $ac_compiler -V </dev/null >&5) 2>&5
215910015Speter  ac_status=$?
216010015Speter  echo "$as_me:$LINENO: \$? = $ac_status" >&5
216110015Speter  (exit $ac_status); }
216212174Speter
216310015Spetercat >conftest.$ac_ext <<_ACEOF
216410015Speter/* confdefs.h.  */
216510015Speter_ACEOF
216610015Spetercat confdefs.h >>conftest.$ac_ext
216710015Spetercat >>conftest.$ac_ext <<_ACEOF
216810015Speter/* end confdefs.h.  */
216910015Speter
217010015Speterint
217110015Spetermain ()
217210015Speter{
217310015Speter
217410015Speter  ;
217510015Speter  return 0;
217610015Speter}
217710015Speter_ACEOF
217810015Speterac_clean_files_save=$ac_clean_files
217910015Speterac_clean_files="$ac_clean_files a.out a.exe b.out"
218010015Speter# Try to create an executable without -o first, disregard a.out.
218110015Speter# It will help us diagnose broken compilers, and finding out an intuition
218210015Speter# of exeext.
218310015Speterecho "$as_me:$LINENO: checking for C compiler default output file name" >&5
218410015Speterecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
218510015Speterac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
218610015Speterif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
218710015Speter  (eval $ac_link_default) 2>&5
218810015Speter  ac_status=$?
218910015Speter  echo "$as_me:$LINENO: \$? = $ac_status" >&5
219010015Speter  (exit $ac_status); }; then
219110015Speter  # Find the output, starting from the most likely.  This scheme is
219210015Speter# not robust to junk in `.', hence go to wildcards (a.*) only as a last
219310015Speter# resort.
219412174Speter
219512174Speter# Be careful to initialize this variable, since it used to be cached.
219612174Speter# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
219712174Speterac_cv_exeext=
219812174Speter# b.out is created by i960 compilers.
219912174Speterfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
220010015Speterdo
220110015Speter  test -f "$ac_file" || continue
220210015Speter  case $ac_file in
220310015Speter    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
220410015Speter	;;
220510015Speter    conftest.$ac_ext )
220610015Speter	# This is the source file.
220710015Speter	;;
220810015Speter    [ab].out )
220910015Speter	# We found the default executable, but exeext='' is most
221010015Speter	# certainly right.
221110015Speter	break;;
221210015Speter    *.* )
221310015Speter	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
221410015Speter	# FIXME: I believe we export ac_cv_exeext for Libtool,
221510015Speter	# but it would be cool to find out if it's true.  Does anybody
221610015Speter	# maintain Libtool? --akim.
221710015Speter	export ac_cv_exeext
221810015Speter	break;;
221910015Speter    * )
222010015Speter	break;;
222110015Speter  esac
222210015Speterdone
222310015Speterelse
222410015Speter  echo "$as_me: failed program was:" >&5
222510015Spetersed 's/^/| /' conftest.$ac_ext >&5
222616575Speter
222716575Speter{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
222810015SpeterSee \`config.log' for more details." >&5
222910015Speterecho "$as_me: error: C compiler cannot create executables
223016575SpeterSee \`config.log' for more details." >&2;}
223110015Speter   { (exit 77); exit 77; }; }
223210015Speterfi
223310015Speter
223410015Speterac_exeext=$ac_cv_exeext
223510015Speterecho "$as_me:$LINENO: result: $ac_file" >&5
223610015Speterecho "${ECHO_T}$ac_file" >&6
223710015Speter
223810015Speter# Check the compiler produces executables we can run.  If not, either
223910015Speter# the compiler is broken, or we cross compile.
224010015Speterecho "$as_me:$LINENO: checking whether the C compiler works" >&5
224110015Speterecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
224210015Speter# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
224310015Speter# If not cross compiling, check that we can run a simple program.
224416575Speterif test "$cross_compiling" != yes; then
224510015Speter  if { ac_try='./$ac_file'
224610015Speter  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
224716575Speter  (eval $ac_try) 2>&5
224816575Speter  ac_status=$?
224916575Speter  echo "$as_me:$LINENO: \$? = $ac_status" >&5
225016575Speter  (exit $ac_status); }; }; then
225116575Speter    cross_compiling=no
225216575Speter  else
225316575Speter    if test "$cross_compiling" = maybe; then
225416575Speter	cross_compiling=yes
225516575Speter    else
225616575Speter	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
225716575SpeterIf you meant to cross compile, use \`--host'.
225810015SpeterSee \`config.log' for more details." >&5
225910015Speterecho "$as_me: error: cannot run C compiled programs.
226010015SpeterIf you meant to cross compile, use \`--host'.
226110015SpeterSee \`config.log' for more details." >&2;}
226210015Speter   { (exit 1); exit 1; }; }
226310015Speter    fi
226410015Speter  fi
226510015Speterfi
226610015Speterecho "$as_me:$LINENO: result: yes" >&5
226710015Speterecho "${ECHO_T}yes" >&6
226810015Speter
226910015Speterrm -f a.out a.exe conftest$ac_cv_exeext b.out
227016575Speterac_clean_files=$ac_clean_files_save
227116575Speter# Check the compiler produces executables we can run.  If not, either
227210015Speter# the compiler is broken, or we cross compile.
227310015Speterecho "$as_me:$LINENO: checking whether we are cross compiling" >&5
227410015Speterecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
227510015Speterecho "$as_me:$LINENO: result: $cross_compiling" >&5
227610015Speterecho "${ECHO_T}$cross_compiling" >&6
227710015Speter
227810015Speterecho "$as_me:$LINENO: checking for suffix of executables" >&5
227910015Speterecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
228010015Speterif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
228110015Speter  (eval $ac_link) 2>&5
228210015Speter  ac_status=$?
228310015Speter  echo "$as_me:$LINENO: \$? = $ac_status" >&5
228410015Speter  (exit $ac_status); }; then
228510015Speter  # If both `conftest.exe' and `conftest' are `present' (well, observable)
228610015Speter# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
228710015Speter# work properly (i.e., refer to `conftest.exe'), while it won't with
228810015Speter# `rm'.
228910015Speterfor ac_file in conftest.exe conftest conftest.*; do
229010015Speter  test -f "$ac_file" || continue
229110015Speter  case $ac_file in
229210015Speter    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
229310015Speter    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
229410015Speter	  export ac_cv_exeext
229510015Speter	  break;;
229610015Speter    * ) break;;
229710015Speter  esac
229810015Speterdone
229910015Speterelse
230010161Speter  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
230110015SpeterSee \`config.log' for more details." >&5
230210015Speterecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
230310015SpeterSee \`config.log' for more details." >&2;}
230410015Speter   { (exit 1); exit 1; }; }
230510015Speterfi
230610015Speter
230710015Speterrm -f conftest$ac_cv_exeext
230810015Speterecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5
230910015Speterecho "${ECHO_T}$ac_cv_exeext" >&6
231010015Speter
231110161Speterrm -f conftest.$ac_ext
231210161SpeterEXEEXT=$ac_cv_exeext
231310161Speterac_exeext=$EXEEXT
231410161Speterecho "$as_me:$LINENO: checking for suffix of object files" >&5
231510015Speterecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
231610015Speterif test "${ac_cv_objext+set}" = set; then
231710015Speter  echo $ECHO_N "(cached) $ECHO_C" >&6
231810015Speterelse
231913353Speter  cat >conftest.$ac_ext <<_ACEOF
232010015Speter/* confdefs.h.  */
232113353Speter_ACEOF
232213353Spetercat confdefs.h >>conftest.$ac_ext
232313353Spetercat >>conftest.$ac_ext <<_ACEOF
232413353Speter/* end confdefs.h.  */
232510015Speter
232610015Speterint
232713353Spetermain ()
232813353Speter{
232910015Speter
233013353Speter  ;
233113630Sphk  return 0;
233210015Speter}
233310015Speter_ACEOF
233410015Speterrm -f conftest.o conftest.obj
233512496Speterif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
233612174Speter  (eval $ac_compile) 2>&5
233712174Speter  ac_status=$?
233813630Sphk  echo "$as_me:$LINENO: \$? = $ac_status" >&5
233913630Sphk  (exit $ac_status); }; then
234013353Speter  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
234110015Speter  case $ac_file in
234210015Speter    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
234310015Speter    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
234410015Speter       break;;
234510015Speter  esac
234610015Speterdone
234710015Speterelse
234810015Speter  echo "$as_me: failed program was:" >&5
234910015Spetersed 's/^/| /' conftest.$ac_ext >&5
235010015Speter
235110015Speter{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
235210015SpeterSee \`config.log' for more details." >&5
235310015Speterecho "$as_me: error: cannot compute suffix of object files: cannot compile
235410015SpeterSee \`config.log' for more details." >&2;}
235510015Speter   { (exit 1); exit 1; }; }
235612502Sjulianfi
235712624Speter
235812502Sjulianrm -f conftest.$ac_cv_objext conftest.$ac_ext
235912624Speterfi
236012502Sjulianecho "$as_me:$LINENO: result: $ac_cv_objext" >&5
236112502Sjulianecho "${ECHO_T}$ac_cv_objext" >&6
236212502SjulianOBJEXT=$ac_cv_objext
236312517Sjulianac_objext=$OBJEXT
236412502Sjulianecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
236512517Sjulianecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
236612517Sjulianif test "${ac_cv_c_compiler_gnu+set}" = set; then
236712502Sjulian  echo $ECHO_N "(cached) $ECHO_C" >&6
236812675Sjulianelse
236912675Sjulian  cat >conftest.$ac_ext <<_ACEOF
237012502Sjulian/* confdefs.h.  */
237112517Sjulian_ACEOF
237212502Sjuliancat confdefs.h >>conftest.$ac_ext
237312517Sjuliancat >>conftest.$ac_ext <<_ACEOF
237412517Sjulian/* end confdefs.h.  */
237512517Sjulian
2376int
2377main ()
2378{
2379#ifndef __GNUC__
2380       choke me
2381#endif
2382
2383  ;
2384  return 0;
2385}
2386_ACEOF
2387rm -f conftest.$ac_objext
2388if { (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
2410else
2411  echo "$as_me: failed program was:" >&5
2412sed 's/^/| /' conftest.$ac_ext >&5
2413
2414ac_compiler_gnu=no
2415fi
2416rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2417ac_cv_c_compiler_gnu=$ac_compiler_gnu
2418
2419fi
2420echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2421echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2422GCC=`test $ac_compiler_gnu = yes && echo yes`
2423ac_test_CFLAGS=${CFLAGS+set}
2424ac_save_CFLAGS=$CFLAGS
2425CFLAGS="-g"
2426echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2427echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2428if test "${ac_cv_prog_cc_g+set}" = set; then
2429  echo $ECHO_N "(cached) $ECHO_C" >&6
2430else
2431  cat >conftest.$ac_ext <<_ACEOF
2432/* confdefs.h.  */
2433_ACEOF
2434cat confdefs.h >>conftest.$ac_ext
2435cat >>conftest.$ac_ext <<_ACEOF
2436/* end confdefs.h.  */
2437
2438int
2439main ()
2440{
2441
2442  ;
2443  return 0;
2444}
2445_ACEOF
2446rm -f conftest.$ac_objext
2447if { (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
2469else
2470  echo "$as_me: failed program was:" >&5
2471sed 's/^/| /' conftest.$ac_ext >&5
2472
2473ac_cv_prog_cc_g=no
2474fi
2475rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2476fi
2477echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2478echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2479if test "$ac_test_CFLAGS" = set; then
2480  CFLAGS=$ac_save_CFLAGS
2481elif 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
2487else
2488  if test "$GCC" = yes; then
2489    CFLAGS="-O2"
2490  else
2491    CFLAGS=
2492  fi
2493fi
2494echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2495echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2496if test "${ac_cv_prog_cc_stdc+set}" = set; then
2497  echo $ECHO_N "(cached) $ECHO_C" >&6
2498else
2499  ac_cv_prog_cc_stdc=no
2500ac_save_CC=$CC
2501cat >conftest.$ac_ext <<_ACEOF
2502/* confdefs.h.  */
2503_ACEOF
2504cat confdefs.h >>conftest.$ac_ext
2505cat >>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.  */
2512struct buf { int x; };
2513FILE * (*rcsopen) (struct buf *, struct stat *, int);
2514static char *e (p, i)
2515     char **p;
2516     int i;
2517{
2518  return p[i];
2519}
2520static 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.  */
2537int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2538
2539int test (int i, double x);
2540struct s1 {int (*f) (int a);};
2541struct s2 {int (*f) (double a);};
2542int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2543int argc;
2544char **argv;
2545int
2546main ()
2547{
2548return 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__
2560for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2561do
2562  CC="$ac_save_CC $ac_arg"
2563  rm -f conftest.$ac_objext
2564if { (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
2586break
2587else
2588  echo "$as_me: failed program was:" >&5
2589sed 's/^/| /' conftest.$ac_ext >&5
2590
2591fi
2592rm -f conftest.err conftest.$ac_objext
2593done
2594rm -f conftest.$ac_ext conftest.$ac_objext
2595CC=$ac_save_CC
2596
2597fi
2598
2599case "x$ac_cv_prog_cc_stdc" in
2600  x|xno)
2601    echo "$as_me:$LINENO: result: none needed" >&5
2602echo "${ECHO_T}none needed" >&6 ;;
2603  *)
2604    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2605echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2606    CC="$CC $ac_cv_prog_cc_stdc" ;;
2607esac
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.
2613cat >conftest.$ac_ext <<_ACEOF
2614#ifndef __cplusplus
2615  choke me
2616#endif
2617_ACEOF
2618rm -f conftest.$ac_objext
2619if { (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);'
2647do
2648  cat >conftest.$ac_ext <<_ACEOF
2649/* confdefs.h.  */
2650_ACEOF
2651cat confdefs.h >>conftest.$ac_ext
2652cat >>conftest.$ac_ext <<_ACEOF
2653/* end confdefs.h.  */
2654$ac_declaration
2655#include <stdlib.h>
2656int
2657main ()
2658{
2659exit (42);
2660  ;
2661  return 0;
2662}
2663_ACEOF
2664rm -f conftest.$ac_objext
2665if { (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  :
2687else
2688  echo "$as_me: failed program was:" >&5
2689sed 's/^/| /' conftest.$ac_ext >&5
2690
2691continue
2692fi
2693rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2694  cat >conftest.$ac_ext <<_ACEOF
2695/* confdefs.h.  */
2696_ACEOF
2697cat confdefs.h >>conftest.$ac_ext
2698cat >>conftest.$ac_ext <<_ACEOF
2699/* end confdefs.h.  */
2700$ac_declaration
2701int
2702main ()
2703{
2704exit (42);
2705  ;
2706  return 0;
2707}
2708_ACEOF
2709rm -f conftest.$ac_objext
2710if { (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
2732else
2733  echo "$as_me: failed program was:" >&5
2734sed 's/^/| /' conftest.$ac_ext >&5
2735
2736fi
2737rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2738done
2739rm -f conftest*
2740if test -n "$ac_declaration"; then
2741  echo '#ifdef __cplusplus' >>confdefs.h
2742  echo $ac_declaration      >>confdefs.h
2743  echo '#endif'             >>confdefs.h
2744fi
2745
2746else
2747  echo "$as_me: failed program was:" >&5
2748sed 's/^/| /' conftest.$ac_ext >&5
2749
2750fi
2751rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2752ac_ext=c
2753ac_cpp='$CPP $CPPFLAGS'
2754ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2755ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2756ac_compiler_gnu=$ac_cv_c_compiler_gnu
2757DEPDIR="${am__leading_dot}deps"
2758
2759          ac_config_commands="$ac_config_commands depfiles"
2760
2761
2762am_make=${MAKE-make}
2763cat > confinc << 'END'
2764am__doit:
2765	@echo done
2766.PHONY: am__doit
2767END
2768# If we don't find an include directive, just comment out the code.
2769echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2770echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2771am__include="#"
2772am__quote=
2773_am_result=none
2774# First try GNU make style include.
2775echo "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'.
2781if 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
2785fi
2786# Now try BSD make style include.
2787if 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
2794fi
2795
2796
2797echo "$as_me:$LINENO: result: $_am_result" >&5
2798echo "${ECHO_T}$_am_result" >&6
2799rm -f confinc confmf
2800
2801# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2802if test "${enable_dependency_tracking+set}" = set; then
2803  enableval="$enable_dependency_tracking"
2804
2805fi;
2806if test "x$enable_dependency_tracking" != xno; then
2807  am_depcomp="$ac_aux_dir/depcomp"
2808  AMDEPBACKSLASH='\'
2809fi
2810
2811
2812if test "x$enable_dependency_tracking" != xno; then
2813  AMDEP_TRUE=
2814  AMDEP_FALSE='#'
2815else
2816  AMDEP_TRUE='#'
2817  AMDEP_FALSE=
2818fi
2819
2820
2821
2822
2823depcc="$CC"   am_compiler_list=
2824
2825echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2826echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2827if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2828  echo $ECHO_N "(cached) $ECHO_C" >&6
2829else
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
2910else
2911  am_cv_CC_dependencies_compiler_type=none
2912fi
2913
2914fi
2915echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2916echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2917CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2918
2919
2920
2921if
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='#'
2926else
2927  am__fastdepCC_TRUE='#'
2928  am__fastdepCC_FALSE=
2929fi
2930
2931
2932
2933ac_ext=c
2934ac_cpp='$CPP $CPPFLAGS'
2935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2937ac_compiler_gnu=$ac_cv_c_compiler_gnu
2938echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2939echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2940# On Suns, sometimes $CPP names a directory.
2941if test -n "$CPP" && test -d "$CPP"; then
2942  CPP=
2943fi
2944if test -z "$CPP"; then
2945  if test "${ac_cv_prog_CPP+set}" = set; then
2946  echo $ECHO_N "(cached) $ECHO_C" >&6
2947else
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
2952for ac_c_preproc_warn_flag in '' yes
2953do
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
2963cat confdefs.h >>conftest.$ac_ext
2964cat >>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
2973if { (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
2987else
2988  ac_cpp_err=yes
2989fi
2990if test -z "$ac_cpp_err"; then
2991  :
2992else
2993  echo "$as_me: failed program was:" >&5
2994sed 's/^/| /' conftest.$ac_ext >&5
2995
2996  # Broken: fails on valid input.
2997continue
2998fi
2999rm -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
3006cat confdefs.h >>conftest.$ac_ext
3007cat >>conftest.$ac_ext <<_ACEOF
3008/* end confdefs.h.  */
3009#include <ac_nonexistent.h>
3010_ACEOF
3011if { (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
3025else
3026  ac_cpp_err=yes
3027fi
3028if test -z "$ac_cpp_err"; then
3029  # Broken: success on invalid input.
3030continue
3031else
3032  echo "$as_me: failed program was:" >&5
3033sed 's/^/| /' conftest.$ac_ext >&5
3034
3035  # Passes both tests.
3036ac_preproc_ok=:
3037break
3038fi
3039rm -f conftest.err conftest.$ac_ext
3040
3041done
3042# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3043rm -f conftest.err conftest.$ac_ext
3044if $ac_preproc_ok; then
3045  break
3046fi
3047
3048    done
3049    ac_cv_prog_CPP=$CPP
3050
3051fi
3052  CPP=$ac_cv_prog_CPP
3053else
3054  ac_cv_prog_CPP=$CPP
3055fi
3056echo "$as_me:$LINENO: result: $CPP" >&5
3057echo "${ECHO_T}$CPP" >&6
3058ac_preproc_ok=false
3059for ac_c_preproc_warn_flag in '' yes
3060do
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
3070cat confdefs.h >>conftest.$ac_ext
3071cat >>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
3080if { (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
3094else
3095  ac_cpp_err=yes
3096fi
3097if test -z "$ac_cpp_err"; then
3098  :
3099else
3100  echo "$as_me: failed program was:" >&5
3101sed 's/^/| /' conftest.$ac_ext >&5
3102
3103  # Broken: fails on valid input.
3104continue
3105fi
3106rm -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
3113cat confdefs.h >>conftest.$ac_ext
3114cat >>conftest.$ac_ext <<_ACEOF
3115/* end confdefs.h.  */
3116#include <ac_nonexistent.h>
3117_ACEOF
3118if { (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
3132else
3133  ac_cpp_err=yes
3134fi
3135if test -z "$ac_cpp_err"; then
3136  # Broken: success on invalid input.
3137continue
3138else
3139  echo "$as_me: failed program was:" >&5
3140sed 's/^/| /' conftest.$ac_ext >&5
3141
3142  # Passes both tests.
3143ac_preproc_ok=:
3144break
3145fi
3146rm -f conftest.err conftest.$ac_ext
3147
3148done
3149# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3150rm -f conftest.err conftest.$ac_ext
3151if $ac_preproc_ok; then
3152  :
3153else
3154  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3155See \`config.log' for more details." >&5
3156echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3157See \`config.log' for more details." >&2;}
3158   { (exit 1); exit 1; }; }
3159fi
3160
3161ac_ext=c
3162ac_cpp='$CPP $CPPFLAGS'
3163ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3164ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3165ac_compiler_gnu=$ac_cv_c_compiler_gnu
3166
3167
3168echo "$as_me:$LINENO: checking for egrep" >&5
3169echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3170if test "${ac_cv_prog_egrep+set}" = set; then
3171  echo $ECHO_N "(cached) $ECHO_C" >&6
3172else
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
3177fi
3178echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3179echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3180 EGREP=$ac_cv_prog_egrep
3181
3182
3183if test $ac_cv_c_compiler_gnu = yes; then
3184    echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
3185echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
3186if test "${ac_cv_prog_gcc_traditional+set}" = set; then
3187  echo $ECHO_N "(cached) $ECHO_C" >&6
3188else
3189    ac_pattern="Autoconf.*'x'"
3190  cat >conftest.$ac_ext <<_ACEOF
3191/* confdefs.h.  */
3192_ACEOF
3193cat confdefs.h >>conftest.$ac_ext
3194cat >>conftest.$ac_ext <<_ACEOF
3195/* end confdefs.h.  */
3196#include <sgtty.h>
3197Autoconf TIOCGETP
3198_ACEOF
3199if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3200  $EGREP "$ac_pattern" >/dev/null 2>&1; then
3201  ac_cv_prog_gcc_traditional=yes
3202else
3203  ac_cv_prog_gcc_traditional=no
3204fi
3205rm -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
3212cat confdefs.h >>conftest.$ac_ext
3213cat >>conftest.$ac_ext <<_ACEOF
3214/* end confdefs.h.  */
3215#include <termio.h>
3216Autoconf TCGETA
3217_ACEOF
3218if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3219  $EGREP "$ac_pattern" >/dev/null 2>&1; then
3220  ac_cv_prog_gcc_traditional=yes
3221fi
3222rm -f conftest*
3223
3224  fi
3225fi
3226echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
3227echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
3228  if test $ac_cv_prog_gcc_traditional = yes; then
3229    CC="$CC -traditional"
3230  fi
3231fi
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.
3246echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3247echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3248if test -z "$INSTALL"; then
3249if test "${ac_cv_path_install+set}" = set; then
3250  echo $ECHO_N "(cached) $ECHO_C" >&6
3251else
3252  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3253for as_dir in $PATH
3254do
3255  IFS=$as_save_IFS
3256  test -z "$as_dir" && as_dir=.
3257  # Account for people who put trailing slashes in PATH elements.
3258case $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    ;;
3286esac
3287done
3288
3289
3290fi
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
3300fi
3301echo "$as_me:$LINENO: result: $INSTALL" >&5
3302echo "${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.
3306test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3307
3308test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3309
3310test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3311
3312echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3313echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3314set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3315if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3316  echo $ECHO_N "(cached) $ECHO_C" >&6
3317else
3318  cat >conftest.make <<\_ACEOF
3319all:
3320	@echo 'ac_maketemp="$(MAKE)"'
3321_ACEOF
3322# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3323eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3324if test -n "$ac_maketemp"; then
3325  eval ac_cv_prog_make_${ac_make}_set=yes
3326else
3327  eval ac_cv_prog_make_${ac_make}_set=no
3328fi
3329rm -f conftest.make
3330fi
3331if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3332  echo "$as_me:$LINENO: result: yes" >&5
3333echo "${ECHO_T}yes" >&6
3334  SET_MAKE=
3335else
3336  echo "$as_me:$LINENO: result: no" >&5
3337echo "${ECHO_T}no" >&6
3338  SET_MAKE="MAKE=${MAKE-make}"
3339fi
3340
3341if 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.
3343set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3344echo "$as_me:$LINENO: checking for $ac_word" >&5
3345echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3346if test "${ac_cv_prog_RANLIB+set}" = set; then
3347  echo $ECHO_N "(cached) $ECHO_C" >&6
3348else
3349  if test -n "$RANLIB"; then
3350  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3351else
3352as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3353for as_dir in $PATH
3354do
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
3363done
3364done
3365
3366fi
3367fi
3368RANLIB=$ac_cv_prog_RANLIB
3369if test -n "$RANLIB"; then
3370  echo "$as_me:$LINENO: result: $RANLIB" >&5
3371echo "${ECHO_T}$RANLIB" >&6
3372else
3373  echo "$as_me:$LINENO: result: no" >&5
3374echo "${ECHO_T}no" >&6
3375fi
3376
3377fi
3378if 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.
3381set dummy ranlib; ac_word=$2
3382echo "$as_me:$LINENO: checking for $ac_word" >&5
3383echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3384if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3385  echo $ECHO_N "(cached) $ECHO_C" >&6
3386else
3387  if test -n "$ac_ct_RANLIB"; then
3388  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3389else
3390as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391for as_dir in $PATH
3392do
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
3401done
3402done
3403
3404  test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3405fi
3406fi
3407ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3408if test -n "$ac_ct_RANLIB"; then
3409  echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3410echo "${ECHO_T}$ac_ct_RANLIB" >&6
3411else
3412  echo "$as_me:$LINENO: result: no" >&5
3413echo "${ECHO_T}no" >&6
3414fi
3415
3416  RANLIB=$ac_ct_RANLIB
3417else
3418  RANLIB="$ac_cv_prog_RANLIB"
3419fi
3420
3421
3422HELP2MAN=${HELP2MAN-"${am_missing_run}help2man"}
3423
3424
3425echo "$as_me:$LINENO: checking for library containing strerror" >&5
3426echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
3427if test "${ac_cv_search_strerror+set}" = set; then
3428  echo $ECHO_N "(cached) $ECHO_C" >&6
3429else
3430  ac_func_search_save_LIBS=$LIBS
3431ac_cv_search_strerror=no
3432cat >conftest.$ac_ext <<_ACEOF
3433/* confdefs.h.  */
3434_ACEOF
3435cat confdefs.h >>conftest.$ac_ext
3436cat >>conftest.$ac_ext <<_ACEOF
3437/* end confdefs.h.  */
3438
3439/* Override any gcc2 internal prototype to avoid an error.  */
3440#ifdef __cplusplus
3441extern "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.  */
3445char strerror ();
3446int
3447main ()
3448{
3449strerror ();
3450  ;
3451  return 0;
3452}
3453_ACEOF
3454rm -f conftest.$ac_objext conftest$ac_exeext
3455if { (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"
3477else
3478  echo "$as_me: failed program was:" >&5
3479sed 's/^/| /' conftest.$ac_ext >&5
3480
3481fi
3482rm -f conftest.err conftest.$ac_objext \
3483      conftest$ac_exeext conftest.$ac_ext
3484if 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
3490cat confdefs.h >>conftest.$ac_ext
3491cat >>conftest.$ac_ext <<_ACEOF
3492/* end confdefs.h.  */
3493
3494/* Override any gcc2 internal prototype to avoid an error.  */
3495#ifdef __cplusplus
3496extern "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.  */
3500char strerror ();
3501int
3502main ()
3503{
3504strerror ();
3505  ;
3506  return 0;
3507}
3508_ACEOF
3509rm -f conftest.$ac_objext conftest$ac_exeext
3510if { (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"
3532break
3533else
3534  echo "$as_me: failed program was:" >&5
3535sed 's/^/| /' conftest.$ac_ext >&5
3536
3537fi
3538rm -f conftest.err conftest.$ac_objext \
3539      conftest$ac_exeext conftest.$ac_ext
3540  done
3541fi
3542LIBS=$ac_func_search_save_LIBS
3543fi
3544echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3545echo "${ECHO_T}$ac_cv_search_strerror" >&6
3546if test "$ac_cv_search_strerror" != no; then
3547  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
3548
3549fi
3550
3551echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3552echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3553if test "${ac_cv_header_stdc+set}" = set; then
3554  echo $ECHO_N "(cached) $ECHO_C" >&6
3555else
3556  cat >conftest.$ac_ext <<_ACEOF
3557/* confdefs.h.  */
3558_ACEOF
3559cat confdefs.h >>conftest.$ac_ext
3560cat >>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
3567int
3568main ()
3569{
3570
3571  ;
3572  return 0;
3573}
3574_ACEOF
3575rm -f conftest.$ac_objext
3576if { (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
3598else
3599  echo "$as_me: failed program was:" >&5
3600sed 's/^/| /' conftest.$ac_ext >&5
3601
3602ac_cv_header_stdc=no
3603fi
3604rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3605
3606if 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
3611cat confdefs.h >>conftest.$ac_ext
3612cat >>conftest.$ac_ext <<_ACEOF
3613/* end confdefs.h.  */
3614#include <string.h>
3615
3616_ACEOF
3617if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3618  $EGREP "memchr" >/dev/null 2>&1; then
3619  :
3620else
3621  ac_cv_header_stdc=no
3622fi
3623rm -f conftest*
3624
3625fi
3626
3627if 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
3632cat confdefs.h >>conftest.$ac_ext
3633cat >>conftest.$ac_ext <<_ACEOF
3634/* end confdefs.h.  */
3635#include <stdlib.h>
3636
3637_ACEOF
3638if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3639  $EGREP "free" >/dev/null 2>&1; then
3640  :
3641else
3642  ac_cv_header_stdc=no
3643fi
3644rm -f conftest*
3645
3646fi
3647
3648if 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  :
3652else
3653  cat >conftest.$ac_ext <<_ACEOF
3654/* confdefs.h.  */
3655_ACEOF
3656cat confdefs.h >>conftest.$ac_ext
3657cat >>conftest.$ac_ext <<_ACEOF
3658/* end confdefs.h.  */
3659#include <ctype.h>
3660#if ((' ' & 0x0FF) == 0x020)
3661# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3662# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3663#else
3664# define ISLOWER(c) \
3665		   (('a' <= (c) && (c) <= 'i') \
3666		     || ('j' <= (c) && (c) <= 'r') \
3667		     || ('s' <= (c) && (c) <= 'z'))
3668# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3669#endif
3670
3671#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3672int
3673main ()
3674{
3675  int i;
3676  for (i = 0; i < 256; i++)
3677    if (XOR (islower (i), ISLOWER (i))
3678	|| toupper (i) != TOUPPER (i))
3679      exit(2);
3680  exit (0);
3681}
3682_ACEOF
3683rm -f conftest$ac_exeext
3684if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3685  (eval $ac_link) 2>&5
3686  ac_status=$?
3687  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3689  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3690  (eval $ac_try) 2>&5
3691  ac_status=$?
3692  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693  (exit $ac_status); }; }; then
3694  :
3695else
3696  echo "$as_me: program exited with status $ac_status" >&5
3697echo "$as_me: failed program was:" >&5
3698sed 's/^/| /' conftest.$ac_ext >&5
3699
3700( exit $ac_status )
3701ac_cv_header_stdc=no
3702fi
3703rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3704fi
3705fi
3706fi
3707echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3708echo "${ECHO_T}$ac_cv_header_stdc" >&6
3709if test $ac_cv_header_stdc = yes; then
3710
3711cat >>confdefs.h <<\_ACEOF
3712#define STDC_HEADERS 1
3713_ACEOF
3714
3715fi
3716
3717# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3728		  inttypes.h stdint.h unistd.h
3729do
3730as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3731echo "$as_me:$LINENO: checking for $ac_header" >&5
3732echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3733if eval "test \"\${$as_ac_Header+set}\" = set"; then
3734  echo $ECHO_N "(cached) $ECHO_C" >&6
3735else
3736  cat >conftest.$ac_ext <<_ACEOF
3737/* confdefs.h.  */
3738_ACEOF
3739cat confdefs.h >>conftest.$ac_ext
3740cat >>conftest.$ac_ext <<_ACEOF
3741/* end confdefs.h.  */
3742$ac_includes_default
3743
3744#include <$ac_header>
3745_ACEOF
3746rm -f conftest.$ac_objext
3747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3748  (eval $ac_compile) 2>conftest.er1
3749  ac_status=$?
3750  grep -v '^ *+' conftest.er1 >conftest.err
3751  rm -f conftest.er1
3752  cat conftest.err >&5
3753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3754  (exit $ac_status); } &&
3755	 { ac_try='test -z "$ac_c_werror_flag"
3756			 || test ! -s conftest.err'
3757  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3758  (eval $ac_try) 2>&5
3759  ac_status=$?
3760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761  (exit $ac_status); }; } &&
3762	 { ac_try='test -s conftest.$ac_objext'
3763  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3764  (eval $ac_try) 2>&5
3765  ac_status=$?
3766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767  (exit $ac_status); }; }; then
3768  eval "$as_ac_Header=yes"
3769else
3770  echo "$as_me: failed program was:" >&5
3771sed 's/^/| /' conftest.$ac_ext >&5
3772
3773eval "$as_ac_Header=no"
3774fi
3775rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3776fi
3777echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3778echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3779if test `eval echo '${'$as_ac_Header'}'` = yes; then
3780  cat >>confdefs.h <<_ACEOF
3781#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3782_ACEOF
3783
3784fi
3785
3786done
3787
3788
3789if test "${ac_cv_header_minix_config_h+set}" = set; then
3790  echo "$as_me:$LINENO: checking for minix/config.h" >&5
3791echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3792if test "${ac_cv_header_minix_config_h+set}" = set; then
3793  echo $ECHO_N "(cached) $ECHO_C" >&6
3794fi
3795echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3796echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3797else
3798  # Is the header compilable?
3799echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3800echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
3801cat >conftest.$ac_ext <<_ACEOF
3802/* confdefs.h.  */
3803_ACEOF
3804cat confdefs.h >>conftest.$ac_ext
3805cat >>conftest.$ac_ext <<_ACEOF
3806/* end confdefs.h.  */
3807$ac_includes_default
3808#include <minix/config.h>
3809_ACEOF
3810rm -f conftest.$ac_objext
3811if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3812  (eval $ac_compile) 2>conftest.er1
3813  ac_status=$?
3814  grep -v '^ *+' conftest.er1 >conftest.err
3815  rm -f conftest.er1
3816  cat conftest.err >&5
3817  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818  (exit $ac_status); } &&
3819	 { ac_try='test -z "$ac_c_werror_flag"
3820			 || test ! -s conftest.err'
3821  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3822  (eval $ac_try) 2>&5
3823  ac_status=$?
3824  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3825  (exit $ac_status); }; } &&
3826	 { ac_try='test -s conftest.$ac_objext'
3827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3828  (eval $ac_try) 2>&5
3829  ac_status=$?
3830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3831  (exit $ac_status); }; }; then
3832  ac_header_compiler=yes
3833else
3834  echo "$as_me: failed program was:" >&5
3835sed 's/^/| /' conftest.$ac_ext >&5
3836
3837ac_header_compiler=no
3838fi
3839rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3840echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3841echo "${ECHO_T}$ac_header_compiler" >&6
3842
3843# Is the header present?
3844echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3845echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
3846cat >conftest.$ac_ext <<_ACEOF
3847/* confdefs.h.  */
3848_ACEOF
3849cat confdefs.h >>conftest.$ac_ext
3850cat >>conftest.$ac_ext <<_ACEOF
3851/* end confdefs.h.  */
3852#include <minix/config.h>
3853_ACEOF
3854if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3855  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3856  ac_status=$?
3857  grep -v '^ *+' conftest.er1 >conftest.err
3858  rm -f conftest.er1
3859  cat conftest.err >&5
3860  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861  (exit $ac_status); } >/dev/null; then
3862  if test -s conftest.err; then
3863    ac_cpp_err=$ac_c_preproc_warn_flag
3864    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3865  else
3866    ac_cpp_err=
3867  fi
3868else
3869  ac_cpp_err=yes
3870fi
3871if test -z "$ac_cpp_err"; then
3872  ac_header_preproc=yes
3873else
3874  echo "$as_me: failed program was:" >&5
3875sed 's/^/| /' conftest.$ac_ext >&5
3876
3877  ac_header_preproc=no
3878fi
3879rm -f conftest.err conftest.$ac_ext
3880echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3881echo "${ECHO_T}$ac_header_preproc" >&6
3882
3883# So?  What about this header?
3884case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3885  yes:no: )
3886    { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3887echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3888    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3889echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3890    ac_header_preproc=yes
3891    ;;
3892  no:yes:* )
3893    { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3894echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3895    { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
3896echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
3897    { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3898echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3899    { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
3900echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
3901    { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3902echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3903    { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3904echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3905    (
3906      cat <<\_ASBOX
3907## -------------------------------------- ##
3908## Report this to the GNU Texinfo lists.  ##
3909## -------------------------------------- ##
3910_ASBOX
3911    ) |
3912      sed "s/^/$as_me: WARNING:     /" >&2
3913    ;;
3914esac
3915echo "$as_me:$LINENO: checking for minix/config.h" >&5
3916echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
3917if test "${ac_cv_header_minix_config_h+set}" = set; then
3918  echo $ECHO_N "(cached) $ECHO_C" >&6
3919else
3920  ac_cv_header_minix_config_h=$ac_header_preproc
3921fi
3922echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3923echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
3924
3925fi
3926if test $ac_cv_header_minix_config_h = yes; then
3927  MINIX=yes
3928else
3929  MINIX=
3930fi
3931
3932
3933if test "$MINIX" = yes; then
3934
3935cat >>confdefs.h <<\_ACEOF
3936#define _POSIX_SOURCE 1
3937_ACEOF
3938
3939
3940cat >>confdefs.h <<\_ACEOF
3941#define _POSIX_1_SOURCE 2
3942_ACEOF
3943
3944
3945cat >>confdefs.h <<\_ACEOF
3946#define _MINIX 1
3947_ACEOF
3948
3949fi
3950
3951
3952# Needed on sysV68 for sigblock, sigsetmask.  But check for it in libc first.
3953echo "$as_me:$LINENO: checking for sigblock" >&5
3954echo $ECHO_N "checking for sigblock... $ECHO_C" >&6
3955if test "${ac_cv_func_sigblock+set}" = set; then
3956  echo $ECHO_N "(cached) $ECHO_C" >&6
3957else
3958  cat >conftest.$ac_ext <<_ACEOF
3959/* confdefs.h.  */
3960_ACEOF
3961cat confdefs.h >>conftest.$ac_ext
3962cat >>conftest.$ac_ext <<_ACEOF
3963/* end confdefs.h.  */
3964/* Define sigblock to an innocuous variant, in case <limits.h> declares sigblock.
3965   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
3966#define sigblock innocuous_sigblock
3967
3968/* System header to define __stub macros and hopefully few prototypes,
3969    which can conflict with char sigblock (); below.
3970    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3971    <limits.h> exists even on freestanding compilers.  */
3972
3973#ifdef __STDC__
3974# include <limits.h>
3975#else
3976# include <assert.h>
3977#endif
3978
3979#undef sigblock
3980
3981/* Override any gcc2 internal prototype to avoid an error.  */
3982#ifdef __cplusplus
3983extern "C"
3984{
3985#endif
3986/* We use char because int might match the return type of a gcc2
3987   builtin and then its argument prototype would still apply.  */
3988char sigblock ();
3989/* The GNU C library defines this for functions which it implements
3990    to always fail with ENOSYS.  Some functions are actually named
3991    something starting with __ and the normal name is an alias.  */
3992#if defined (__stub_sigblock) || defined (__stub___sigblock)
3993choke me
3994#else
3995char (*f) () = sigblock;
3996#endif
3997#ifdef __cplusplus
3998}
3999#endif
4000
4001int
4002main ()
4003{
4004return f != sigblock;
4005  ;
4006  return 0;
4007}
4008_ACEOF
4009rm -f conftest.$ac_objext conftest$ac_exeext
4010if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4011  (eval $ac_link) 2>conftest.er1
4012  ac_status=$?
4013  grep -v '^ *+' conftest.er1 >conftest.err
4014  rm -f conftest.er1
4015  cat conftest.err >&5
4016  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4017  (exit $ac_status); } &&
4018	 { ac_try='test -z "$ac_c_werror_flag"
4019			 || test ! -s conftest.err'
4020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4021  (eval $ac_try) 2>&5
4022  ac_status=$?
4023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024  (exit $ac_status); }; } &&
4025	 { ac_try='test -s conftest$ac_exeext'
4026  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4027  (eval $ac_try) 2>&5
4028  ac_status=$?
4029  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030  (exit $ac_status); }; }; then
4031  ac_cv_func_sigblock=yes
4032else
4033  echo "$as_me: failed program was:" >&5
4034sed 's/^/| /' conftest.$ac_ext >&5
4035
4036ac_cv_func_sigblock=no
4037fi
4038rm -f conftest.err conftest.$ac_objext \
4039      conftest$ac_exeext conftest.$ac_ext
4040fi
4041echo "$as_me:$LINENO: result: $ac_cv_func_sigblock" >&5
4042echo "${ECHO_T}$ac_cv_func_sigblock" >&6
4043if test $ac_cv_func_sigblock = yes; then
4044  :
4045else
4046
4047echo "$as_me:$LINENO: checking for sigblock in -lbsd" >&5
4048echo $ECHO_N "checking for sigblock in -lbsd... $ECHO_C" >&6
4049if test "${ac_cv_lib_bsd_sigblock+set}" = set; then
4050  echo $ECHO_N "(cached) $ECHO_C" >&6
4051else
4052  ac_check_lib_save_LIBS=$LIBS
4053LIBS="-lbsd  $LIBS"
4054cat >conftest.$ac_ext <<_ACEOF
4055/* confdefs.h.  */
4056_ACEOF
4057cat confdefs.h >>conftest.$ac_ext
4058cat >>conftest.$ac_ext <<_ACEOF
4059/* end confdefs.h.  */
4060
4061/* Override any gcc2 internal prototype to avoid an error.  */
4062#ifdef __cplusplus
4063extern "C"
4064#endif
4065/* We use char because int might match the return type of a gcc2
4066   builtin and then its argument prototype would still apply.  */
4067char sigblock ();
4068int
4069main ()
4070{
4071sigblock ();
4072  ;
4073  return 0;
4074}
4075_ACEOF
4076rm -f conftest.$ac_objext conftest$ac_exeext
4077if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4078  (eval $ac_link) 2>conftest.er1
4079  ac_status=$?
4080  grep -v '^ *+' conftest.er1 >conftest.err
4081  rm -f conftest.er1
4082  cat conftest.err >&5
4083  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4084  (exit $ac_status); } &&
4085	 { ac_try='test -z "$ac_c_werror_flag"
4086			 || test ! -s conftest.err'
4087  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4088  (eval $ac_try) 2>&5
4089  ac_status=$?
4090  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4091  (exit $ac_status); }; } &&
4092	 { ac_try='test -s conftest$ac_exeext'
4093  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4094  (eval $ac_try) 2>&5
4095  ac_status=$?
4096  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4097  (exit $ac_status); }; }; then
4098  ac_cv_lib_bsd_sigblock=yes
4099else
4100  echo "$as_me: failed program was:" >&5
4101sed 's/^/| /' conftest.$ac_ext >&5
4102
4103ac_cv_lib_bsd_sigblock=no
4104fi
4105rm -f conftest.err conftest.$ac_objext \
4106      conftest$ac_exeext conftest.$ac_ext
4107LIBS=$ac_check_lib_save_LIBS
4108fi
4109echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_sigblock" >&5
4110echo "${ECHO_T}$ac_cv_lib_bsd_sigblock" >&6
4111if test $ac_cv_lib_bsd_sigblock = yes; then
4112  cat >>confdefs.h <<_ACEOF
4113#define HAVE_LIBBSD 1
4114_ACEOF
4115
4116  LIBS="-lbsd $LIBS"
4117
4118fi
4119
4120fi
4121
4122
4123# Checks for header files.
4124echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
4125echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
4126if test "${ac_cv_header_stat_broken+set}" = set; then
4127  echo $ECHO_N "(cached) $ECHO_C" >&6
4128else
4129  cat >conftest.$ac_ext <<_ACEOF
4130/* confdefs.h.  */
4131_ACEOF
4132cat confdefs.h >>conftest.$ac_ext
4133cat >>conftest.$ac_ext <<_ACEOF
4134/* end confdefs.h.  */
4135#include <sys/types.h>
4136#include <sys/stat.h>
4137
4138#if defined(S_ISBLK) && defined(S_IFDIR)
4139# if S_ISBLK (S_IFDIR)
4140You lose.
4141# endif
4142#endif
4143
4144#if defined(S_ISBLK) && defined(S_IFCHR)
4145# if S_ISBLK (S_IFCHR)
4146You lose.
4147# endif
4148#endif
4149
4150#if defined(S_ISLNK) && defined(S_IFREG)
4151# if S_ISLNK (S_IFREG)
4152You lose.
4153# endif
4154#endif
4155
4156#if defined(S_ISSOCK) && defined(S_IFREG)
4157# if S_ISSOCK (S_IFREG)
4158You lose.
4159# endif
4160#endif
4161
4162_ACEOF
4163if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4164  $EGREP "You lose" >/dev/null 2>&1; then
4165  ac_cv_header_stat_broken=yes
4166else
4167  ac_cv_header_stat_broken=no
4168fi
4169rm -f conftest*
4170
4171fi
4172echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
4173echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
4174if test $ac_cv_header_stat_broken = yes; then
4175
4176cat >>confdefs.h <<\_ACEOF
4177#define STAT_MACROS_BROKEN 1
4178_ACEOF
4179
4180fi
4181
4182echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4183echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4184if test "${ac_cv_header_stdc+set}" = set; then
4185  echo $ECHO_N "(cached) $ECHO_C" >&6
4186else
4187  cat >conftest.$ac_ext <<_ACEOF
4188/* confdefs.h.  */
4189_ACEOF
4190cat confdefs.h >>conftest.$ac_ext
4191cat >>conftest.$ac_ext <<_ACEOF
4192/* end confdefs.h.  */
4193#include <stdlib.h>
4194#include <stdarg.h>
4195#include <string.h>
4196#include <float.h>
4197
4198int
4199main ()
4200{
4201
4202  ;
4203  return 0;
4204}
4205_ACEOF
4206rm -f conftest.$ac_objext
4207if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4208  (eval $ac_compile) 2>conftest.er1
4209  ac_status=$?
4210  grep -v '^ *+' conftest.er1 >conftest.err
4211  rm -f conftest.er1
4212  cat conftest.err >&5
4213  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214  (exit $ac_status); } &&
4215	 { ac_try='test -z "$ac_c_werror_flag"
4216			 || test ! -s conftest.err'
4217  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4218  (eval $ac_try) 2>&5
4219  ac_status=$?
4220  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4221  (exit $ac_status); }; } &&
4222	 { ac_try='test -s conftest.$ac_objext'
4223  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224  (eval $ac_try) 2>&5
4225  ac_status=$?
4226  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227  (exit $ac_status); }; }; then
4228  ac_cv_header_stdc=yes
4229else
4230  echo "$as_me: failed program was:" >&5
4231sed 's/^/| /' conftest.$ac_ext >&5
4232
4233ac_cv_header_stdc=no
4234fi
4235rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4236
4237if test $ac_cv_header_stdc = yes; then
4238  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4239  cat >conftest.$ac_ext <<_ACEOF
4240/* confdefs.h.  */
4241_ACEOF
4242cat confdefs.h >>conftest.$ac_ext
4243cat >>conftest.$ac_ext <<_ACEOF
4244/* end confdefs.h.  */
4245#include <string.h>
4246
4247_ACEOF
4248if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4249  $EGREP "memchr" >/dev/null 2>&1; then
4250  :
4251else
4252  ac_cv_header_stdc=no
4253fi
4254rm -f conftest*
4255
4256fi
4257
4258if test $ac_cv_header_stdc = yes; then
4259  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4260  cat >conftest.$ac_ext <<_ACEOF
4261/* confdefs.h.  */
4262_ACEOF
4263cat confdefs.h >>conftest.$ac_ext
4264cat >>conftest.$ac_ext <<_ACEOF
4265/* end confdefs.h.  */
4266#include <stdlib.h>
4267
4268_ACEOF
4269if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4270  $EGREP "free" >/dev/null 2>&1; then
4271  :
4272else
4273  ac_cv_header_stdc=no
4274fi
4275rm -f conftest*
4276
4277fi
4278
4279if test $ac_cv_header_stdc = yes; then
4280  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4281  if test "$cross_compiling" = yes; then
4282  :
4283else
4284  cat >conftest.$ac_ext <<_ACEOF
4285/* confdefs.h.  */
4286_ACEOF
4287cat confdefs.h >>conftest.$ac_ext
4288cat >>conftest.$ac_ext <<_ACEOF
4289/* end confdefs.h.  */
4290#include <ctype.h>
4291#if ((' ' & 0x0FF) == 0x020)
4292# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4293# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4294#else
4295# define ISLOWER(c) \
4296		   (('a' <= (c) && (c) <= 'i') \
4297		     || ('j' <= (c) && (c) <= 'r') \
4298		     || ('s' <= (c) && (c) <= 'z'))
4299# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4300#endif
4301
4302#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4303int
4304main ()
4305{
4306  int i;
4307  for (i = 0; i < 256; i++)
4308    if (XOR (islower (i), ISLOWER (i))
4309	|| toupper (i) != TOUPPER (i))
4310      exit(2);
4311  exit (0);
4312}
4313_ACEOF
4314rm -f conftest$ac_exeext
4315if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4316  (eval $ac_link) 2>&5
4317  ac_status=$?
4318  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4319  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4320  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4321  (eval $ac_try) 2>&5
4322  ac_status=$?
4323  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4324  (exit $ac_status); }; }; then
4325  :
4326else
4327  echo "$as_me: program exited with status $ac_status" >&5
4328echo "$as_me: failed program was:" >&5
4329sed 's/^/| /' conftest.$ac_ext >&5
4330
4331( exit $ac_status )
4332ac_cv_header_stdc=no
4333fi
4334rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4335fi
4336fi
4337fi
4338echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4339echo "${ECHO_T}$ac_cv_header_stdc" >&6
4340if test $ac_cv_header_stdc = yes; then
4341
4342cat >>confdefs.h <<\_ACEOF
4343#define STDC_HEADERS 1
4344_ACEOF
4345
4346fi
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364for ac_header in fcntl.h io.h limits.h pwd.h string.h strings.h \
4365  termcap.h termio.h termios.h unistd.h \
4366  sys/fcntl.h sys/file.h sys/stream.h sys/time.h sys/ttold.h sys/wait.h
4367do
4368as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4369if eval "test \"\${$as_ac_Header+set}\" = set"; then
4370  echo "$as_me:$LINENO: checking for $ac_header" >&5
4371echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4372if eval "test \"\${$as_ac_Header+set}\" = set"; then
4373  echo $ECHO_N "(cached) $ECHO_C" >&6
4374fi
4375echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4376echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4377else
4378  # Is the header compilable?
4379echo "$as_me:$LINENO: checking $ac_header usability" >&5
4380echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4381cat >conftest.$ac_ext <<_ACEOF
4382/* confdefs.h.  */
4383_ACEOF
4384cat confdefs.h >>conftest.$ac_ext
4385cat >>conftest.$ac_ext <<_ACEOF
4386/* end confdefs.h.  */
4387$ac_includes_default
4388#include <$ac_header>
4389_ACEOF
4390rm -f conftest.$ac_objext
4391if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4392  (eval $ac_compile) 2>conftest.er1
4393  ac_status=$?
4394  grep -v '^ *+' conftest.er1 >conftest.err
4395  rm -f conftest.er1
4396  cat conftest.err >&5
4397  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398  (exit $ac_status); } &&
4399	 { ac_try='test -z "$ac_c_werror_flag"
4400			 || test ! -s conftest.err'
4401  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402  (eval $ac_try) 2>&5
4403  ac_status=$?
4404  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405  (exit $ac_status); }; } &&
4406	 { ac_try='test -s conftest.$ac_objext'
4407  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4408  (eval $ac_try) 2>&5
4409  ac_status=$?
4410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411  (exit $ac_status); }; }; then
4412  ac_header_compiler=yes
4413else
4414  echo "$as_me: failed program was:" >&5
4415sed 's/^/| /' conftest.$ac_ext >&5
4416
4417ac_header_compiler=no
4418fi
4419rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4420echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4421echo "${ECHO_T}$ac_header_compiler" >&6
4422
4423# Is the header present?
4424echo "$as_me:$LINENO: checking $ac_header presence" >&5
4425echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4426cat >conftest.$ac_ext <<_ACEOF
4427/* confdefs.h.  */
4428_ACEOF
4429cat confdefs.h >>conftest.$ac_ext
4430cat >>conftest.$ac_ext <<_ACEOF
4431/* end confdefs.h.  */
4432#include <$ac_header>
4433_ACEOF
4434if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4435  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4436  ac_status=$?
4437  grep -v '^ *+' conftest.er1 >conftest.err
4438  rm -f conftest.er1
4439  cat conftest.err >&5
4440  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441  (exit $ac_status); } >/dev/null; then
4442  if test -s conftest.err; then
4443    ac_cpp_err=$ac_c_preproc_warn_flag
4444    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4445  else
4446    ac_cpp_err=
4447  fi
4448else
4449  ac_cpp_err=yes
4450fi
4451if test -z "$ac_cpp_err"; then
4452  ac_header_preproc=yes
4453else
4454  echo "$as_me: failed program was:" >&5
4455sed 's/^/| /' conftest.$ac_ext >&5
4456
4457  ac_header_preproc=no
4458fi
4459rm -f conftest.err conftest.$ac_ext
4460echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4461echo "${ECHO_T}$ac_header_preproc" >&6
4462
4463# So?  What about this header?
4464case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4465  yes:no: )
4466    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4467echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4468    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4469echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4470    ac_header_preproc=yes
4471    ;;
4472  no:yes:* )
4473    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4474echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4475    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
4476echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
4477    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4478echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4479    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
4480echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
4481    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4482echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4483    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4484echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4485    (
4486      cat <<\_ASBOX
4487## -------------------------------------- ##
4488## Report this to the GNU Texinfo lists.  ##
4489## -------------------------------------- ##
4490_ASBOX
4491    ) |
4492      sed "s/^/$as_me: WARNING:     /" >&2
4493    ;;
4494esac
4495echo "$as_me:$LINENO: checking for $ac_header" >&5
4496echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4497if eval "test \"\${$as_ac_Header+set}\" = set"; then
4498  echo $ECHO_N "(cached) $ECHO_C" >&6
4499else
4500  eval "$as_ac_Header=\$ac_header_preproc"
4501fi
4502echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4503echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4504
4505fi
4506if test `eval echo '${'$as_ac_Header'}'` = yes; then
4507  cat >>confdefs.h <<_ACEOF
4508#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4509_ACEOF
4510
4511fi
4512
4513done
4514
4515
4516# sys/ptem.h requires sys/stream.h for mblk_t on Solaris.
4517
4518for ac_header in sys/ptem.h
4519do
4520as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4521echo "$as_me:$LINENO: checking for $ac_header" >&5
4522echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4523if eval "test \"\${$as_ac_Header+set}\" = set"; then
4524  echo $ECHO_N "(cached) $ECHO_C" >&6
4525else
4526  cat >conftest.$ac_ext <<_ACEOF
4527/* confdefs.h.  */
4528_ACEOF
4529cat confdefs.h >>conftest.$ac_ext
4530cat >>conftest.$ac_ext <<_ACEOF
4531/* end confdefs.h.  */
4532#if HAVE_SYS_STREAM_H
4533#include <sys/stream.h>
4534#endif
4535
4536
4537#include <$ac_header>
4538_ACEOF
4539rm -f conftest.$ac_objext
4540if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4541  (eval $ac_compile) 2>conftest.er1
4542  ac_status=$?
4543  grep -v '^ *+' conftest.er1 >conftest.err
4544  rm -f conftest.er1
4545  cat conftest.err >&5
4546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547  (exit $ac_status); } &&
4548	 { ac_try='test -z "$ac_c_werror_flag"
4549			 || test ! -s conftest.err'
4550  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551  (eval $ac_try) 2>&5
4552  ac_status=$?
4553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4554  (exit $ac_status); }; } &&
4555	 { ac_try='test -s conftest.$ac_objext'
4556  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4557  (eval $ac_try) 2>&5
4558  ac_status=$?
4559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4560  (exit $ac_status); }; }; then
4561  eval "$as_ac_Header=yes"
4562else
4563  echo "$as_me: failed program was:" >&5
4564sed 's/^/| /' conftest.$ac_ext >&5
4565
4566eval "$as_ac_Header=no"
4567fi
4568rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4569fi
4570echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4571echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4572if test `eval echo '${'$as_ac_Header'}'` = yes; then
4573  cat >>confdefs.h <<_ACEOF
4574#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4575_ACEOF
4576
4577fi
4578
4579done
4580
4581
4582echo "$as_me:$LINENO: checking POSIX termios" >&5
4583echo $ECHO_N "checking POSIX termios... $ECHO_C" >&6
4584if test "${ac_cv_sys_posix_termios+set}" = set; then
4585  echo $ECHO_N "(cached) $ECHO_C" >&6
4586else
4587  cat >conftest.$ac_ext <<_ACEOF
4588/* confdefs.h.  */
4589_ACEOF
4590cat confdefs.h >>conftest.$ac_ext
4591cat >>conftest.$ac_ext <<_ACEOF
4592/* end confdefs.h.  */
4593#include <sys/types.h>
4594#include <unistd.h>
4595#include <termios.h>
4596
4597int
4598main ()
4599{
4600/* SunOS 4.0.3 has termios.h but not the library calls.  */
4601   tcgetattr(0, 0);
4602  ;
4603  return 0;
4604}
4605_ACEOF
4606rm -f conftest.$ac_objext conftest$ac_exeext
4607if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4608  (eval $ac_link) 2>conftest.er1
4609  ac_status=$?
4610  grep -v '^ *+' conftest.er1 >conftest.err
4611  rm -f conftest.er1
4612  cat conftest.err >&5
4613  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614  (exit $ac_status); } &&
4615	 { ac_try='test -z "$ac_c_werror_flag"
4616			 || test ! -s conftest.err'
4617  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4618  (eval $ac_try) 2>&5
4619  ac_status=$?
4620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4621  (exit $ac_status); }; } &&
4622	 { ac_try='test -s conftest$ac_exeext'
4623  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4624  (eval $ac_try) 2>&5
4625  ac_status=$?
4626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627  (exit $ac_status); }; }; then
4628  ac_cv_sys_posix_termios=yes
4629else
4630  echo "$as_me: failed program was:" >&5
4631sed 's/^/| /' conftest.$ac_ext >&5
4632
4633ac_cv_sys_posix_termios=no
4634fi
4635rm -f conftest.err conftest.$ac_objext \
4636      conftest$ac_exeext conftest.$ac_ext
4637fi
4638echo "$as_me:$LINENO: result: $ac_cv_sys_posix_termios" >&5
4639echo "${ECHO_T}$ac_cv_sys_posix_termios" >&6
4640
4641echo "$as_me:$LINENO: checking whether termios.h defines TIOCGWINSZ" >&5
4642echo $ECHO_N "checking whether termios.h defines TIOCGWINSZ... $ECHO_C" >&6
4643if test "${ac_cv_sys_tiocgwinsz_in_termios_h+set}" = set; then
4644  echo $ECHO_N "(cached) $ECHO_C" >&6
4645else
4646  cat >conftest.$ac_ext <<_ACEOF
4647/* confdefs.h.  */
4648_ACEOF
4649cat confdefs.h >>conftest.$ac_ext
4650cat >>conftest.$ac_ext <<_ACEOF
4651/* end confdefs.h.  */
4652#include <sys/types.h>
4653#include <termios.h>
4654#ifdef TIOCGWINSZ
4655  yes
4656#endif
4657
4658_ACEOF
4659if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4660  $EGREP "yes" >/dev/null 2>&1; then
4661  ac_cv_sys_tiocgwinsz_in_termios_h=yes
4662else
4663  ac_cv_sys_tiocgwinsz_in_termios_h=no
4664fi
4665rm -f conftest*
4666
4667fi
4668echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_termios_h" >&5
4669echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_termios_h" >&6
4670
4671if test $ac_cv_sys_tiocgwinsz_in_termios_h != yes; then
4672  echo "$as_me:$LINENO: checking whether sys/ioctl.h defines TIOCGWINSZ" >&5
4673echo $ECHO_N "checking whether sys/ioctl.h defines TIOCGWINSZ... $ECHO_C" >&6
4674if test "${ac_cv_sys_tiocgwinsz_in_sys_ioctl_h+set}" = set; then
4675  echo $ECHO_N "(cached) $ECHO_C" >&6
4676else
4677  cat >conftest.$ac_ext <<_ACEOF
4678/* confdefs.h.  */
4679_ACEOF
4680cat confdefs.h >>conftest.$ac_ext
4681cat >>conftest.$ac_ext <<_ACEOF
4682/* end confdefs.h.  */
4683#include <sys/types.h>
4684#include <sys/ioctl.h>
4685#ifdef TIOCGWINSZ
4686  yes
4687#endif
4688
4689_ACEOF
4690if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4691  $EGREP "yes" >/dev/null 2>&1; then
4692  ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=yes
4693else
4694  ac_cv_sys_tiocgwinsz_in_sys_ioctl_h=no
4695fi
4696rm -f conftest*
4697
4698fi
4699echo "$as_me:$LINENO: result: $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&5
4700echo "${ECHO_T}$ac_cv_sys_tiocgwinsz_in_sys_ioctl_h" >&6
4701
4702  if test $ac_cv_sys_tiocgwinsz_in_sys_ioctl_h = yes; then
4703
4704cat >>confdefs.h <<\_ACEOF
4705#define GWINSZ_IN_SYS_IOCTL 1
4706_ACEOF
4707
4708  fi
4709fi
4710
4711
4712# Checks for typedefs, structures, and compiler characteristics.
4713echo "$as_me:$LINENO: checking for off_t" >&5
4714echo $ECHO_N "checking for off_t... $ECHO_C" >&6
4715if test "${ac_cv_type_off_t+set}" = set; then
4716  echo $ECHO_N "(cached) $ECHO_C" >&6
4717else
4718  cat >conftest.$ac_ext <<_ACEOF
4719/* confdefs.h.  */
4720_ACEOF
4721cat confdefs.h >>conftest.$ac_ext
4722cat >>conftest.$ac_ext <<_ACEOF
4723/* end confdefs.h.  */
4724$ac_includes_default
4725int
4726main ()
4727{
4728if ((off_t *) 0)
4729  return 0;
4730if (sizeof (off_t))
4731  return 0;
4732  ;
4733  return 0;
4734}
4735_ACEOF
4736rm -f conftest.$ac_objext
4737if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4738  (eval $ac_compile) 2>conftest.er1
4739  ac_status=$?
4740  grep -v '^ *+' conftest.er1 >conftest.err
4741  rm -f conftest.er1
4742  cat conftest.err >&5
4743  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4744  (exit $ac_status); } &&
4745	 { ac_try='test -z "$ac_c_werror_flag"
4746			 || test ! -s conftest.err'
4747  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4748  (eval $ac_try) 2>&5
4749  ac_status=$?
4750  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751  (exit $ac_status); }; } &&
4752	 { ac_try='test -s conftest.$ac_objext'
4753  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4754  (eval $ac_try) 2>&5
4755  ac_status=$?
4756  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757  (exit $ac_status); }; }; then
4758  ac_cv_type_off_t=yes
4759else
4760  echo "$as_me: failed program was:" >&5
4761sed 's/^/| /' conftest.$ac_ext >&5
4762
4763ac_cv_type_off_t=no
4764fi
4765rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4766fi
4767echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
4768echo "${ECHO_T}$ac_cv_type_off_t" >&6
4769if test $ac_cv_type_off_t = yes; then
4770  :
4771else
4772
4773cat >>confdefs.h <<_ACEOF
4774#define off_t long
4775_ACEOF
4776
4777fi
4778
4779echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4780echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4781if test "${ac_cv_type_signal+set}" = set; then
4782  echo $ECHO_N "(cached) $ECHO_C" >&6
4783else
4784  cat >conftest.$ac_ext <<_ACEOF
4785/* confdefs.h.  */
4786_ACEOF
4787cat confdefs.h >>conftest.$ac_ext
4788cat >>conftest.$ac_ext <<_ACEOF
4789/* end confdefs.h.  */
4790#include <sys/types.h>
4791#include <signal.h>
4792#ifdef signal
4793# undef signal
4794#endif
4795#ifdef __cplusplus
4796extern "C" void (*signal (int, void (*)(int)))(int);
4797#else
4798void (*signal ()) ();
4799#endif
4800
4801int
4802main ()
4803{
4804int i;
4805  ;
4806  return 0;
4807}
4808_ACEOF
4809rm -f conftest.$ac_objext
4810if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4811  (eval $ac_compile) 2>conftest.er1
4812  ac_status=$?
4813  grep -v '^ *+' conftest.er1 >conftest.err
4814  rm -f conftest.er1
4815  cat conftest.err >&5
4816  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817  (exit $ac_status); } &&
4818	 { ac_try='test -z "$ac_c_werror_flag"
4819			 || test ! -s conftest.err'
4820  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821  (eval $ac_try) 2>&5
4822  ac_status=$?
4823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4824  (exit $ac_status); }; } &&
4825	 { ac_try='test -s conftest.$ac_objext'
4826  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4827  (eval $ac_try) 2>&5
4828  ac_status=$?
4829  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4830  (exit $ac_status); }; }; then
4831  ac_cv_type_signal=void
4832else
4833  echo "$as_me: failed program was:" >&5
4834sed 's/^/| /' conftest.$ac_ext >&5
4835
4836ac_cv_type_signal=int
4837fi
4838rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4839fi
4840echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4841echo "${ECHO_T}$ac_cv_type_signal" >&6
4842
4843cat >>confdefs.h <<_ACEOF
4844#define RETSIGTYPE $ac_cv_type_signal
4845_ACEOF
4846
4847
4848echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4849echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4850if test "${ac_cv_c_const+set}" = set; then
4851  echo $ECHO_N "(cached) $ECHO_C" >&6
4852else
4853  cat >conftest.$ac_ext <<_ACEOF
4854/* confdefs.h.  */
4855_ACEOF
4856cat confdefs.h >>conftest.$ac_ext
4857cat >>conftest.$ac_ext <<_ACEOF
4858/* end confdefs.h.  */
4859
4860int
4861main ()
4862{
4863/* FIXME: Include the comments suggested by Paul. */
4864#ifndef __cplusplus
4865  /* Ultrix mips cc rejects this.  */
4866  typedef int charset[2];
4867  const charset x;
4868  /* SunOS 4.1.1 cc rejects this.  */
4869  char const *const *ccp;
4870  char **p;
4871  /* NEC SVR4.0.2 mips cc rejects this.  */
4872  struct point {int x, y;};
4873  static struct point const zero = {0,0};
4874  /* AIX XL C 1.02.0.0 rejects this.
4875     It does not let you subtract one const X* pointer from another in
4876     an arm of an if-expression whose if-part is not a constant
4877     expression */
4878  const char *g = "string";
4879  ccp = &g + (g ? g-g : 0);
4880  /* HPUX 7.0 cc rejects these. */
4881  ++ccp;
4882  p = (char**) ccp;
4883  ccp = (char const *const *) p;
4884  { /* SCO 3.2v4 cc rejects this.  */
4885    char *t;
4886    char const *s = 0 ? (char *) 0 : (char const *) 0;
4887
4888    *t++ = 0;
4889  }
4890  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4891    int x[] = {25, 17};
4892    const int *foo = &x[0];
4893    ++foo;
4894  }
4895  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4896    typedef const int *iptr;
4897    iptr p = 0;
4898    ++p;
4899  }
4900  { /* AIX XL C 1.02.0.0 rejects this saying
4901       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4902    struct s { int j; const int *ap[3]; };
4903    struct s *b; b->j = 5;
4904  }
4905  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4906    const int foo = 10;
4907  }
4908#endif
4909
4910  ;
4911  return 0;
4912}
4913_ACEOF
4914rm -f conftest.$ac_objext
4915if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4916  (eval $ac_compile) 2>conftest.er1
4917  ac_status=$?
4918  grep -v '^ *+' conftest.er1 >conftest.err
4919  rm -f conftest.er1
4920  cat conftest.err >&5
4921  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922  (exit $ac_status); } &&
4923	 { ac_try='test -z "$ac_c_werror_flag"
4924			 || test ! -s conftest.err'
4925  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926  (eval $ac_try) 2>&5
4927  ac_status=$?
4928  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929  (exit $ac_status); }; } &&
4930	 { ac_try='test -s conftest.$ac_objext'
4931  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932  (eval $ac_try) 2>&5
4933  ac_status=$?
4934  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4935  (exit $ac_status); }; }; then
4936  ac_cv_c_const=yes
4937else
4938  echo "$as_me: failed program was:" >&5
4939sed 's/^/| /' conftest.$ac_ext >&5
4940
4941ac_cv_c_const=no
4942fi
4943rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4944fi
4945echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4946echo "${ECHO_T}$ac_cv_c_const" >&6
4947if test $ac_cv_c_const = no; then
4948
4949cat >>confdefs.h <<\_ACEOF
4950#define const
4951_ACEOF
4952
4953fi
4954
4955echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
4956echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
4957if test "${ac_cv_struct_tm+set}" = set; then
4958  echo $ECHO_N "(cached) $ECHO_C" >&6
4959else
4960  cat >conftest.$ac_ext <<_ACEOF
4961/* confdefs.h.  */
4962_ACEOF
4963cat confdefs.h >>conftest.$ac_ext
4964cat >>conftest.$ac_ext <<_ACEOF
4965/* end confdefs.h.  */
4966#include <sys/types.h>
4967#include <time.h>
4968
4969int
4970main ()
4971{
4972struct tm *tp; tp->tm_sec;
4973  ;
4974  return 0;
4975}
4976_ACEOF
4977rm -f conftest.$ac_objext
4978if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4979  (eval $ac_compile) 2>conftest.er1
4980  ac_status=$?
4981  grep -v '^ *+' conftest.er1 >conftest.err
4982  rm -f conftest.er1
4983  cat conftest.err >&5
4984  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985  (exit $ac_status); } &&
4986	 { ac_try='test -z "$ac_c_werror_flag"
4987			 || test ! -s conftest.err'
4988  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989  (eval $ac_try) 2>&5
4990  ac_status=$?
4991  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4992  (exit $ac_status); }; } &&
4993	 { ac_try='test -s conftest.$ac_objext'
4994  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4995  (eval $ac_try) 2>&5
4996  ac_status=$?
4997  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4998  (exit $ac_status); }; }; then
4999  ac_cv_struct_tm=time.h
5000else
5001  echo "$as_me: failed program was:" >&5
5002sed 's/^/| /' conftest.$ac_ext >&5
5003
5004ac_cv_struct_tm=sys/time.h
5005fi
5006rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5007fi
5008echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
5009echo "${ECHO_T}$ac_cv_struct_tm" >&6
5010if test $ac_cv_struct_tm = sys/time.h; then
5011
5012cat >>confdefs.h <<\_ACEOF
5013#define TM_IN_SYS_TIME 1
5014_ACEOF
5015
5016fi
5017
5018
5019# Checks for function declarations.
5020echo "$as_me:$LINENO: checking whether memchr is declared" >&5
5021echo $ECHO_N "checking whether memchr is declared... $ECHO_C" >&6
5022if test "${ac_cv_have_decl_memchr+set}" = set; then
5023  echo $ECHO_N "(cached) $ECHO_C" >&6
5024else
5025  cat >conftest.$ac_ext <<_ACEOF
5026/* confdefs.h.  */
5027_ACEOF
5028cat confdefs.h >>conftest.$ac_ext
5029cat >>conftest.$ac_ext <<_ACEOF
5030/* end confdefs.h.  */
5031$ac_includes_default
5032int
5033main ()
5034{
5035#ifndef memchr
5036  char *p = (char *) memchr;
5037#endif
5038
5039  ;
5040  return 0;
5041}
5042_ACEOF
5043rm -f conftest.$ac_objext
5044if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5045  (eval $ac_compile) 2>conftest.er1
5046  ac_status=$?
5047  grep -v '^ *+' conftest.er1 >conftest.err
5048  rm -f conftest.er1
5049  cat conftest.err >&5
5050  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5051  (exit $ac_status); } &&
5052	 { ac_try='test -z "$ac_c_werror_flag"
5053			 || test ! -s conftest.err'
5054  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5055  (eval $ac_try) 2>&5
5056  ac_status=$?
5057  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058  (exit $ac_status); }; } &&
5059	 { ac_try='test -s conftest.$ac_objext'
5060  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5061  (eval $ac_try) 2>&5
5062  ac_status=$?
5063  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064  (exit $ac_status); }; }; then
5065  ac_cv_have_decl_memchr=yes
5066else
5067  echo "$as_me: failed program was:" >&5
5068sed 's/^/| /' conftest.$ac_ext >&5
5069
5070ac_cv_have_decl_memchr=no
5071fi
5072rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5073fi
5074echo "$as_me:$LINENO: result: $ac_cv_have_decl_memchr" >&5
5075echo "${ECHO_T}$ac_cv_have_decl_memchr" >&6
5076if test $ac_cv_have_decl_memchr = yes; then
5077
5078cat >>confdefs.h <<_ACEOF
5079#define HAVE_DECL_MEMCHR 1
5080_ACEOF
5081
5082
5083else
5084  cat >>confdefs.h <<_ACEOF
5085#define HAVE_DECL_MEMCHR 0
5086_ACEOF
5087
5088
5089fi
5090echo "$as_me:$LINENO: checking whether strcoll is declared" >&5
5091echo $ECHO_N "checking whether strcoll is declared... $ECHO_C" >&6
5092if test "${ac_cv_have_decl_strcoll+set}" = set; then
5093  echo $ECHO_N "(cached) $ECHO_C" >&6
5094else
5095  cat >conftest.$ac_ext <<_ACEOF
5096/* confdefs.h.  */
5097_ACEOF
5098cat confdefs.h >>conftest.$ac_ext
5099cat >>conftest.$ac_ext <<_ACEOF
5100/* end confdefs.h.  */
5101$ac_includes_default
5102int
5103main ()
5104{
5105#ifndef strcoll
5106  char *p = (char *) strcoll;
5107#endif
5108
5109  ;
5110  return 0;
5111}
5112_ACEOF
5113rm -f conftest.$ac_objext
5114if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5115  (eval $ac_compile) 2>conftest.er1
5116  ac_status=$?
5117  grep -v '^ *+' conftest.er1 >conftest.err
5118  rm -f conftest.er1
5119  cat conftest.err >&5
5120  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5121  (exit $ac_status); } &&
5122	 { ac_try='test -z "$ac_c_werror_flag"
5123			 || test ! -s conftest.err'
5124  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5125  (eval $ac_try) 2>&5
5126  ac_status=$?
5127  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5128  (exit $ac_status); }; } &&
5129	 { ac_try='test -s conftest.$ac_objext'
5130  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5131  (eval $ac_try) 2>&5
5132  ac_status=$?
5133  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5134  (exit $ac_status); }; }; then
5135  ac_cv_have_decl_strcoll=yes
5136else
5137  echo "$as_me: failed program was:" >&5
5138sed 's/^/| /' conftest.$ac_ext >&5
5139
5140ac_cv_have_decl_strcoll=no
5141fi
5142rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5143fi
5144echo "$as_me:$LINENO: result: $ac_cv_have_decl_strcoll" >&5
5145echo "${ECHO_T}$ac_cv_have_decl_strcoll" >&6
5146if test $ac_cv_have_decl_strcoll = yes; then
5147
5148cat >>confdefs.h <<_ACEOF
5149#define HAVE_DECL_STRCOLL 1
5150_ACEOF
5151
5152
5153else
5154  cat >>confdefs.h <<_ACEOF
5155#define HAVE_DECL_STRCOLL 0
5156_ACEOF
5157
5158
5159fi
5160echo "$as_me:$LINENO: checking whether strerror is declared" >&5
5161echo $ECHO_N "checking whether strerror is declared... $ECHO_C" >&6
5162if test "${ac_cv_have_decl_strerror+set}" = set; then
5163  echo $ECHO_N "(cached) $ECHO_C" >&6
5164else
5165  cat >conftest.$ac_ext <<_ACEOF
5166/* confdefs.h.  */
5167_ACEOF
5168cat confdefs.h >>conftest.$ac_ext
5169cat >>conftest.$ac_ext <<_ACEOF
5170/* end confdefs.h.  */
5171$ac_includes_default
5172int
5173main ()
5174{
5175#ifndef strerror
5176  char *p = (char *) strerror;
5177#endif
5178
5179  ;
5180  return 0;
5181}
5182_ACEOF
5183rm -f conftest.$ac_objext
5184if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5185  (eval $ac_compile) 2>conftest.er1
5186  ac_status=$?
5187  grep -v '^ *+' conftest.er1 >conftest.err
5188  rm -f conftest.er1
5189  cat conftest.err >&5
5190  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5191  (exit $ac_status); } &&
5192	 { ac_try='test -z "$ac_c_werror_flag"
5193			 || test ! -s conftest.err'
5194  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5195  (eval $ac_try) 2>&5
5196  ac_status=$?
5197  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5198  (exit $ac_status); }; } &&
5199	 { ac_try='test -s conftest.$ac_objext'
5200  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5201  (eval $ac_try) 2>&5
5202  ac_status=$?
5203  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204  (exit $ac_status); }; }; then
5205  ac_cv_have_decl_strerror=yes
5206else
5207  echo "$as_me: failed program was:" >&5
5208sed 's/^/| /' conftest.$ac_ext >&5
5209
5210ac_cv_have_decl_strerror=no
5211fi
5212rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5213fi
5214echo "$as_me:$LINENO: result: $ac_cv_have_decl_strerror" >&5
5215echo "${ECHO_T}$ac_cv_have_decl_strerror" >&6
5216if test $ac_cv_have_decl_strerror = yes; then
5217
5218cat >>confdefs.h <<_ACEOF
5219#define HAVE_DECL_STRERROR 1
5220_ACEOF
5221
5222
5223else
5224  cat >>confdefs.h <<_ACEOF
5225#define HAVE_DECL_STRERROR 0
5226_ACEOF
5227
5228
5229fi
5230
5231
5232
5233# Checks for library functions.
5234# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5235# for constant arguments.  Useless!
5236echo "$as_me:$LINENO: checking for working alloca.h" >&5
5237echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
5238if test "${ac_cv_working_alloca_h+set}" = set; then
5239  echo $ECHO_N "(cached) $ECHO_C" >&6
5240else
5241  cat >conftest.$ac_ext <<_ACEOF
5242/* confdefs.h.  */
5243_ACEOF
5244cat confdefs.h >>conftest.$ac_ext
5245cat >>conftest.$ac_ext <<_ACEOF
5246/* end confdefs.h.  */
5247#include <alloca.h>
5248int
5249main ()
5250{
5251char *p = (char *) alloca (2 * sizeof (int));
5252  ;
5253  return 0;
5254}
5255_ACEOF
5256rm -f conftest.$ac_objext conftest$ac_exeext
5257if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5258  (eval $ac_link) 2>conftest.er1
5259  ac_status=$?
5260  grep -v '^ *+' conftest.er1 >conftest.err
5261  rm -f conftest.er1
5262  cat conftest.err >&5
5263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5264  (exit $ac_status); } &&
5265	 { ac_try='test -z "$ac_c_werror_flag"
5266			 || test ! -s conftest.err'
5267  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5268  (eval $ac_try) 2>&5
5269  ac_status=$?
5270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271  (exit $ac_status); }; } &&
5272	 { ac_try='test -s conftest$ac_exeext'
5273  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5274  (eval $ac_try) 2>&5
5275  ac_status=$?
5276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5277  (exit $ac_status); }; }; then
5278  ac_cv_working_alloca_h=yes
5279else
5280  echo "$as_me: failed program was:" >&5
5281sed 's/^/| /' conftest.$ac_ext >&5
5282
5283ac_cv_working_alloca_h=no
5284fi
5285rm -f conftest.err conftest.$ac_objext \
5286      conftest$ac_exeext conftest.$ac_ext
5287fi
5288echo "$as_me:$LINENO: result: $ac_cv_working_alloca_h" >&5
5289echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
5290if test $ac_cv_working_alloca_h = yes; then
5291
5292cat >>confdefs.h <<\_ACEOF
5293#define HAVE_ALLOCA_H 1
5294_ACEOF
5295
5296fi
5297
5298echo "$as_me:$LINENO: checking for alloca" >&5
5299echo $ECHO_N "checking for alloca... $ECHO_C" >&6
5300if test "${ac_cv_func_alloca_works+set}" = set; then
5301  echo $ECHO_N "(cached) $ECHO_C" >&6
5302else
5303  cat >conftest.$ac_ext <<_ACEOF
5304/* confdefs.h.  */
5305_ACEOF
5306cat confdefs.h >>conftest.$ac_ext
5307cat >>conftest.$ac_ext <<_ACEOF
5308/* end confdefs.h.  */
5309#ifdef __GNUC__
5310# define alloca __builtin_alloca
5311#else
5312# ifdef _MSC_VER
5313#  include <malloc.h>
5314#  define alloca _alloca
5315# else
5316#  if HAVE_ALLOCA_H
5317#   include <alloca.h>
5318#  else
5319#   ifdef _AIX
5320 #pragma alloca
5321#   else
5322#    ifndef alloca /* predefined by HP cc +Olibcalls */
5323char *alloca ();
5324#    endif
5325#   endif
5326#  endif
5327# endif
5328#endif
5329
5330int
5331main ()
5332{
5333char *p = (char *) alloca (1);
5334  ;
5335  return 0;
5336}
5337_ACEOF
5338rm -f conftest.$ac_objext conftest$ac_exeext
5339if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5340  (eval $ac_link) 2>conftest.er1
5341  ac_status=$?
5342  grep -v '^ *+' conftest.er1 >conftest.err
5343  rm -f conftest.er1
5344  cat conftest.err >&5
5345  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5346  (exit $ac_status); } &&
5347	 { ac_try='test -z "$ac_c_werror_flag"
5348			 || test ! -s conftest.err'
5349  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5350  (eval $ac_try) 2>&5
5351  ac_status=$?
5352  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5353  (exit $ac_status); }; } &&
5354	 { ac_try='test -s conftest$ac_exeext'
5355  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5356  (eval $ac_try) 2>&5
5357  ac_status=$?
5358  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5359  (exit $ac_status); }; }; then
5360  ac_cv_func_alloca_works=yes
5361else
5362  echo "$as_me: failed program was:" >&5
5363sed 's/^/| /' conftest.$ac_ext >&5
5364
5365ac_cv_func_alloca_works=no
5366fi
5367rm -f conftest.err conftest.$ac_objext \
5368      conftest$ac_exeext conftest.$ac_ext
5369fi
5370echo "$as_me:$LINENO: result: $ac_cv_func_alloca_works" >&5
5371echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
5372
5373if test $ac_cv_func_alloca_works = yes; then
5374
5375cat >>confdefs.h <<\_ACEOF
5376#define HAVE_ALLOCA 1
5377_ACEOF
5378
5379else
5380  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5381# that cause trouble.  Some versions do not even contain alloca or
5382# contain a buggy version.  If you still want to use their alloca,
5383# use ar to extract alloca.o from them instead of compiling alloca.c.
5384
5385ALLOCA=alloca.$ac_objext
5386
5387cat >>confdefs.h <<\_ACEOF
5388#define C_ALLOCA 1
5389_ACEOF
5390
5391
5392echo "$as_me:$LINENO: checking whether \`alloca.c' needs Cray hooks" >&5
5393echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
5394if test "${ac_cv_os_cray+set}" = set; then
5395  echo $ECHO_N "(cached) $ECHO_C" >&6
5396else
5397  cat >conftest.$ac_ext <<_ACEOF
5398/* confdefs.h.  */
5399_ACEOF
5400cat confdefs.h >>conftest.$ac_ext
5401cat >>conftest.$ac_ext <<_ACEOF
5402/* end confdefs.h.  */
5403#if defined(CRAY) && ! defined(CRAY2)
5404webecray
5405#else
5406wenotbecray
5407#endif
5408
5409_ACEOF
5410if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5411  $EGREP "webecray" >/dev/null 2>&1; then
5412  ac_cv_os_cray=yes
5413else
5414  ac_cv_os_cray=no
5415fi
5416rm -f conftest*
5417
5418fi
5419echo "$as_me:$LINENO: result: $ac_cv_os_cray" >&5
5420echo "${ECHO_T}$ac_cv_os_cray" >&6
5421if test $ac_cv_os_cray = yes; then
5422  for ac_func in _getb67 GETB67 getb67; do
5423    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5424echo "$as_me:$LINENO: checking for $ac_func" >&5
5425echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5426if eval "test \"\${$as_ac_var+set}\" = set"; then
5427  echo $ECHO_N "(cached) $ECHO_C" >&6
5428else
5429  cat >conftest.$ac_ext <<_ACEOF
5430/* confdefs.h.  */
5431_ACEOF
5432cat confdefs.h >>conftest.$ac_ext
5433cat >>conftest.$ac_ext <<_ACEOF
5434/* end confdefs.h.  */
5435/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5436   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5437#define $ac_func innocuous_$ac_func
5438
5439/* System header to define __stub macros and hopefully few prototypes,
5440    which can conflict with char $ac_func (); below.
5441    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5442    <limits.h> exists even on freestanding compilers.  */
5443
5444#ifdef __STDC__
5445# include <limits.h>
5446#else
5447# include <assert.h>
5448#endif
5449
5450#undef $ac_func
5451
5452/* Override any gcc2 internal prototype to avoid an error.  */
5453#ifdef __cplusplus
5454extern "C"
5455{
5456#endif
5457/* We use char because int might match the return type of a gcc2
5458   builtin and then its argument prototype would still apply.  */
5459char $ac_func ();
5460/* The GNU C library defines this for functions which it implements
5461    to always fail with ENOSYS.  Some functions are actually named
5462    something starting with __ and the normal name is an alias.  */
5463#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5464choke me
5465#else
5466char (*f) () = $ac_func;
5467#endif
5468#ifdef __cplusplus
5469}
5470#endif
5471
5472int
5473main ()
5474{
5475return f != $ac_func;
5476  ;
5477  return 0;
5478}
5479_ACEOF
5480rm -f conftest.$ac_objext conftest$ac_exeext
5481if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5482  (eval $ac_link) 2>conftest.er1
5483  ac_status=$?
5484  grep -v '^ *+' conftest.er1 >conftest.err
5485  rm -f conftest.er1
5486  cat conftest.err >&5
5487  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5488  (exit $ac_status); } &&
5489	 { ac_try='test -z "$ac_c_werror_flag"
5490			 || test ! -s conftest.err'
5491  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5492  (eval $ac_try) 2>&5
5493  ac_status=$?
5494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495  (exit $ac_status); }; } &&
5496	 { ac_try='test -s conftest$ac_exeext'
5497  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5498  (eval $ac_try) 2>&5
5499  ac_status=$?
5500  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5501  (exit $ac_status); }; }; then
5502  eval "$as_ac_var=yes"
5503else
5504  echo "$as_me: failed program was:" >&5
5505sed 's/^/| /' conftest.$ac_ext >&5
5506
5507eval "$as_ac_var=no"
5508fi
5509rm -f conftest.err conftest.$ac_objext \
5510      conftest$ac_exeext conftest.$ac_ext
5511fi
5512echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5513echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5514if test `eval echo '${'$as_ac_var'}'` = yes; then
5515
5516cat >>confdefs.h <<_ACEOF
5517#define CRAY_STACKSEG_END $ac_func
5518_ACEOF
5519
5520    break
5521fi
5522
5523  done
5524fi
5525
5526echo "$as_me:$LINENO: checking stack direction for C alloca" >&5
5527echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
5528if test "${ac_cv_c_stack_direction+set}" = set; then
5529  echo $ECHO_N "(cached) $ECHO_C" >&6
5530else
5531  if test "$cross_compiling" = yes; then
5532  ac_cv_c_stack_direction=0
5533else
5534  cat >conftest.$ac_ext <<_ACEOF
5535/* confdefs.h.  */
5536_ACEOF
5537cat confdefs.h >>conftest.$ac_ext
5538cat >>conftest.$ac_ext <<_ACEOF
5539/* end confdefs.h.  */
5540int
5541find_stack_direction ()
5542{
5543  static char *addr = 0;
5544  auto char dummy;
5545  if (addr == 0)
5546    {
5547      addr = &dummy;
5548      return find_stack_direction ();
5549    }
5550  else
5551    return (&dummy > addr) ? 1 : -1;
5552}
5553
5554int
5555main ()
5556{
5557  exit (find_stack_direction () < 0);
5558}
5559_ACEOF
5560rm -f conftest$ac_exeext
5561if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5562  (eval $ac_link) 2>&5
5563  ac_status=$?
5564  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5566  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5567  (eval $ac_try) 2>&5
5568  ac_status=$?
5569  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570  (exit $ac_status); }; }; then
5571  ac_cv_c_stack_direction=1
5572else
5573  echo "$as_me: program exited with status $ac_status" >&5
5574echo "$as_me: failed program was:" >&5
5575sed 's/^/| /' conftest.$ac_ext >&5
5576
5577( exit $ac_status )
5578ac_cv_c_stack_direction=-1
5579fi
5580rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5581fi
5582fi
5583echo "$as_me:$LINENO: result: $ac_cv_c_stack_direction" >&5
5584echo "${ECHO_T}$ac_cv_c_stack_direction" >&6
5585
5586cat >>confdefs.h <<_ACEOF
5587#define STACK_DIRECTION $ac_cv_c_stack_direction
5588_ACEOF
5589
5590
5591fi
5592
5593echo "$as_me:$LINENO: checking for working strcoll" >&5
5594echo $ECHO_N "checking for working strcoll... $ECHO_C" >&6
5595if test "${ac_cv_func_strcoll_works+set}" = set; then
5596  echo $ECHO_N "(cached) $ECHO_C" >&6
5597else
5598  if test "$cross_compiling" = yes; then
5599  ac_cv_func_strcoll_works=no
5600else
5601  cat >conftest.$ac_ext <<_ACEOF
5602/* confdefs.h.  */
5603_ACEOF
5604cat confdefs.h >>conftest.$ac_ext
5605cat >>conftest.$ac_ext <<_ACEOF
5606/* end confdefs.h.  */
5607$ac_includes_default
5608int
5609main ()
5610{
5611exit (strcoll ("abc", "def") >= 0 ||
5612	 strcoll ("ABC", "DEF") >= 0 ||
5613	 strcoll ("123", "456") >= 0)
5614  ;
5615  return 0;
5616}
5617_ACEOF
5618rm -f conftest$ac_exeext
5619if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5620  (eval $ac_link) 2>&5
5621  ac_status=$?
5622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5623  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5624  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5625  (eval $ac_try) 2>&5
5626  ac_status=$?
5627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5628  (exit $ac_status); }; }; then
5629  ac_cv_func_strcoll_works=yes
5630else
5631  echo "$as_me: program exited with status $ac_status" >&5
5632echo "$as_me: failed program was:" >&5
5633sed 's/^/| /' conftest.$ac_ext >&5
5634
5635( exit $ac_status )
5636ac_cv_func_strcoll_works=no
5637fi
5638rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5639fi
5640fi
5641echo "$as_me:$LINENO: result: $ac_cv_func_strcoll_works" >&5
5642echo "${ECHO_T}$ac_cv_func_strcoll_works" >&6
5643if test $ac_cv_func_strcoll_works = yes; then
5644
5645cat >>confdefs.h <<\_ACEOF
5646#define HAVE_STRCOLL 1
5647_ACEOF
5648
5649fi
5650
5651
5652for ac_func in vprintf
5653do
5654as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5655echo "$as_me:$LINENO: checking for $ac_func" >&5
5656echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5657if eval "test \"\${$as_ac_var+set}\" = set"; then
5658  echo $ECHO_N "(cached) $ECHO_C" >&6
5659else
5660  cat >conftest.$ac_ext <<_ACEOF
5661/* confdefs.h.  */
5662_ACEOF
5663cat confdefs.h >>conftest.$ac_ext
5664cat >>conftest.$ac_ext <<_ACEOF
5665/* end confdefs.h.  */
5666/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5667   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5668#define $ac_func innocuous_$ac_func
5669
5670/* System header to define __stub macros and hopefully few prototypes,
5671    which can conflict with char $ac_func (); below.
5672    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5673    <limits.h> exists even on freestanding compilers.  */
5674
5675#ifdef __STDC__
5676# include <limits.h>
5677#else
5678# include <assert.h>
5679#endif
5680
5681#undef $ac_func
5682
5683/* Override any gcc2 internal prototype to avoid an error.  */
5684#ifdef __cplusplus
5685extern "C"
5686{
5687#endif
5688/* We use char because int might match the return type of a gcc2
5689   builtin and then its argument prototype would still apply.  */
5690char $ac_func ();
5691/* The GNU C library defines this for functions which it implements
5692    to always fail with ENOSYS.  Some functions are actually named
5693    something starting with __ and the normal name is an alias.  */
5694#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5695choke me
5696#else
5697char (*f) () = $ac_func;
5698#endif
5699#ifdef __cplusplus
5700}
5701#endif
5702
5703int
5704main ()
5705{
5706return f != $ac_func;
5707  ;
5708  return 0;
5709}
5710_ACEOF
5711rm -f conftest.$ac_objext conftest$ac_exeext
5712if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5713  (eval $ac_link) 2>conftest.er1
5714  ac_status=$?
5715  grep -v '^ *+' conftest.er1 >conftest.err
5716  rm -f conftest.er1
5717  cat conftest.err >&5
5718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719  (exit $ac_status); } &&
5720	 { ac_try='test -z "$ac_c_werror_flag"
5721			 || test ! -s conftest.err'
5722  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5723  (eval $ac_try) 2>&5
5724  ac_status=$?
5725  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726  (exit $ac_status); }; } &&
5727	 { ac_try='test -s conftest$ac_exeext'
5728  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5729  (eval $ac_try) 2>&5
5730  ac_status=$?
5731  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732  (exit $ac_status); }; }; then
5733  eval "$as_ac_var=yes"
5734else
5735  echo "$as_me: failed program was:" >&5
5736sed 's/^/| /' conftest.$ac_ext >&5
5737
5738eval "$as_ac_var=no"
5739fi
5740rm -f conftest.err conftest.$ac_objext \
5741      conftest$ac_exeext conftest.$ac_ext
5742fi
5743echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5744echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5745if test `eval echo '${'$as_ac_var'}'` = yes; then
5746  cat >>confdefs.h <<_ACEOF
5747#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5748_ACEOF
5749
5750echo "$as_me:$LINENO: checking for _doprnt" >&5
5751echo $ECHO_N "checking for _doprnt... $ECHO_C" >&6
5752if test "${ac_cv_func__doprnt+set}" = set; then
5753  echo $ECHO_N "(cached) $ECHO_C" >&6
5754else
5755  cat >conftest.$ac_ext <<_ACEOF
5756/* confdefs.h.  */
5757_ACEOF
5758cat confdefs.h >>conftest.$ac_ext
5759cat >>conftest.$ac_ext <<_ACEOF
5760/* end confdefs.h.  */
5761/* Define _doprnt to an innocuous variant, in case <limits.h> declares _doprnt.
5762   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5763#define _doprnt innocuous__doprnt
5764
5765/* System header to define __stub macros and hopefully few prototypes,
5766    which can conflict with char _doprnt (); below.
5767    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5768    <limits.h> exists even on freestanding compilers.  */
5769
5770#ifdef __STDC__
5771# include <limits.h>
5772#else
5773# include <assert.h>
5774#endif
5775
5776#undef _doprnt
5777
5778/* Override any gcc2 internal prototype to avoid an error.  */
5779#ifdef __cplusplus
5780extern "C"
5781{
5782#endif
5783/* We use char because int might match the return type of a gcc2
5784   builtin and then its argument prototype would still apply.  */
5785char _doprnt ();
5786/* The GNU C library defines this for functions which it implements
5787    to always fail with ENOSYS.  Some functions are actually named
5788    something starting with __ and the normal name is an alias.  */
5789#if defined (__stub__doprnt) || defined (__stub____doprnt)
5790choke me
5791#else
5792char (*f) () = _doprnt;
5793#endif
5794#ifdef __cplusplus
5795}
5796#endif
5797
5798int
5799main ()
5800{
5801return f != _doprnt;
5802  ;
5803  return 0;
5804}
5805_ACEOF
5806rm -f conftest.$ac_objext conftest$ac_exeext
5807if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5808  (eval $ac_link) 2>conftest.er1
5809  ac_status=$?
5810  grep -v '^ *+' conftest.er1 >conftest.err
5811  rm -f conftest.er1
5812  cat conftest.err >&5
5813  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814  (exit $ac_status); } &&
5815	 { ac_try='test -z "$ac_c_werror_flag"
5816			 || test ! -s conftest.err'
5817  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5818  (eval $ac_try) 2>&5
5819  ac_status=$?
5820  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5821  (exit $ac_status); }; } &&
5822	 { ac_try='test -s conftest$ac_exeext'
5823  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5824  (eval $ac_try) 2>&5
5825  ac_status=$?
5826  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827  (exit $ac_status); }; }; then
5828  ac_cv_func__doprnt=yes
5829else
5830  echo "$as_me: failed program was:" >&5
5831sed 's/^/| /' conftest.$ac_ext >&5
5832
5833ac_cv_func__doprnt=no
5834fi
5835rm -f conftest.err conftest.$ac_objext \
5836      conftest$ac_exeext conftest.$ac_ext
5837fi
5838echo "$as_me:$LINENO: result: $ac_cv_func__doprnt" >&5
5839echo "${ECHO_T}$ac_cv_func__doprnt" >&6
5840if test $ac_cv_func__doprnt = yes; then
5841
5842cat >>confdefs.h <<\_ACEOF
5843#define HAVE_DOPRNT 1
5844_ACEOF
5845
5846fi
5847
5848fi
5849done
5850
5851
5852# in theory only pre-sysvr3 systems needed this and it's not likely
5853# that anyone compiling new texinfo still has such a thing? we'll see.
5854# AC_FUNC_SETVBUF_REVERSED
5855
5856
5857
5858
5859
5860
5861
5862
5863for ac_func in bzero getcwd memset setvbuf sigaction sigprocmask \
5864               sigsetmask strchr
5865do
5866as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5867echo "$as_me:$LINENO: checking for $ac_func" >&5
5868echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5869if eval "test \"\${$as_ac_var+set}\" = set"; then
5870  echo $ECHO_N "(cached) $ECHO_C" >&6
5871else
5872  cat >conftest.$ac_ext <<_ACEOF
5873/* confdefs.h.  */
5874_ACEOF
5875cat confdefs.h >>conftest.$ac_ext
5876cat >>conftest.$ac_ext <<_ACEOF
5877/* end confdefs.h.  */
5878/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5879   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5880#define $ac_func innocuous_$ac_func
5881
5882/* System header to define __stub macros and hopefully few prototypes,
5883    which can conflict with char $ac_func (); below.
5884    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5885    <limits.h> exists even on freestanding compilers.  */
5886
5887#ifdef __STDC__
5888# include <limits.h>
5889#else
5890# include <assert.h>
5891#endif
5892
5893#undef $ac_func
5894
5895/* Override any gcc2 internal prototype to avoid an error.  */
5896#ifdef __cplusplus
5897extern "C"
5898{
5899#endif
5900/* We use char because int might match the return type of a gcc2
5901   builtin and then its argument prototype would still apply.  */
5902char $ac_func ();
5903/* The GNU C library defines this for functions which it implements
5904    to always fail with ENOSYS.  Some functions are actually named
5905    something starting with __ and the normal name is an alias.  */
5906#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5907choke me
5908#else
5909char (*f) () = $ac_func;
5910#endif
5911#ifdef __cplusplus
5912}
5913#endif
5914
5915int
5916main ()
5917{
5918return f != $ac_func;
5919  ;
5920  return 0;
5921}
5922_ACEOF
5923rm -f conftest.$ac_objext conftest$ac_exeext
5924if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5925  (eval $ac_link) 2>conftest.er1
5926  ac_status=$?
5927  grep -v '^ *+' conftest.er1 >conftest.err
5928  rm -f conftest.er1
5929  cat conftest.err >&5
5930  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5931  (exit $ac_status); } &&
5932	 { ac_try='test -z "$ac_c_werror_flag"
5933			 || test ! -s conftest.err'
5934  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935  (eval $ac_try) 2>&5
5936  ac_status=$?
5937  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5938  (exit $ac_status); }; } &&
5939	 { ac_try='test -s conftest$ac_exeext'
5940  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941  (eval $ac_try) 2>&5
5942  ac_status=$?
5943  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5944  (exit $ac_status); }; }; then
5945  eval "$as_ac_var=yes"
5946else
5947  echo "$as_me: failed program was:" >&5
5948sed 's/^/| /' conftest.$ac_ext >&5
5949
5950eval "$as_ac_var=no"
5951fi
5952rm -f conftest.err conftest.$ac_objext \
5953      conftest$ac_exeext conftest.$ac_ext
5954fi
5955echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5956echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5957if test `eval echo '${'$as_ac_var'}'` = yes; then
5958  cat >>confdefs.h <<_ACEOF
5959#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5960_ACEOF
5961
5962fi
5963done
5964
5965
5966
5967
5968
5969for ac_func in memcpy memmove strdup strerror
5970do
5971as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5972echo "$as_me:$LINENO: checking for $ac_func" >&5
5973echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5974if eval "test \"\${$as_ac_var+set}\" = set"; then
5975  echo $ECHO_N "(cached) $ECHO_C" >&6
5976else
5977  cat >conftest.$ac_ext <<_ACEOF
5978/* confdefs.h.  */
5979_ACEOF
5980cat confdefs.h >>conftest.$ac_ext
5981cat >>conftest.$ac_ext <<_ACEOF
5982/* end confdefs.h.  */
5983/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5984   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
5985#define $ac_func innocuous_$ac_func
5986
5987/* System header to define __stub macros and hopefully few prototypes,
5988    which can conflict with char $ac_func (); below.
5989    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5990    <limits.h> exists even on freestanding compilers.  */
5991
5992#ifdef __STDC__
5993# include <limits.h>
5994#else
5995# include <assert.h>
5996#endif
5997
5998#undef $ac_func
5999
6000/* Override any gcc2 internal prototype to avoid an error.  */
6001#ifdef __cplusplus
6002extern "C"
6003{
6004#endif
6005/* We use char because int might match the return type of a gcc2
6006   builtin and then its argument prototype would still apply.  */
6007char $ac_func ();
6008/* The GNU C library defines this for functions which it implements
6009    to always fail with ENOSYS.  Some functions are actually named
6010    something starting with __ and the normal name is an alias.  */
6011#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6012choke me
6013#else
6014char (*f) () = $ac_func;
6015#endif
6016#ifdef __cplusplus
6017}
6018#endif
6019
6020int
6021main ()
6022{
6023return f != $ac_func;
6024  ;
6025  return 0;
6026}
6027_ACEOF
6028rm -f conftest.$ac_objext conftest$ac_exeext
6029if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6030  (eval $ac_link) 2>conftest.er1
6031  ac_status=$?
6032  grep -v '^ *+' conftest.er1 >conftest.err
6033  rm -f conftest.er1
6034  cat conftest.err >&5
6035  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6036  (exit $ac_status); } &&
6037	 { ac_try='test -z "$ac_c_werror_flag"
6038			 || test ! -s conftest.err'
6039  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6040  (eval $ac_try) 2>&5
6041  ac_status=$?
6042  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6043  (exit $ac_status); }; } &&
6044	 { ac_try='test -s conftest$ac_exeext'
6045  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6046  (eval $ac_try) 2>&5
6047  ac_status=$?
6048  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6049  (exit $ac_status); }; }; then
6050  eval "$as_ac_var=yes"
6051else
6052  echo "$as_me: failed program was:" >&5
6053sed 's/^/| /' conftest.$ac_ext >&5
6054
6055eval "$as_ac_var=no"
6056fi
6057rm -f conftest.err conftest.$ac_objext \
6058      conftest$ac_exeext conftest.$ac_ext
6059fi
6060echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6061echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6062if test `eval echo '${'$as_ac_var'}'` = yes; then
6063  cat >>confdefs.h <<_ACEOF
6064#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6065_ACEOF
6066
6067else
6068  case $LIBOBJS in
6069    "$ac_func.$ac_objext"   | \
6070  *" $ac_func.$ac_objext"   | \
6071    "$ac_func.$ac_objext "* | \
6072  *" $ac_func.$ac_objext "* ) ;;
6073  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
6074esac
6075
6076fi
6077done
6078
6079
6080
6081# strcasecmp and strncasecmp, gnulib-style.
6082
6083
6084
6085for ac_func in strcasecmp
6086do
6087as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6088echo "$as_me:$LINENO: checking for $ac_func" >&5
6089echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6090if eval "test \"\${$as_ac_var+set}\" = set"; then
6091  echo $ECHO_N "(cached) $ECHO_C" >&6
6092else
6093  cat >conftest.$ac_ext <<_ACEOF
6094/* confdefs.h.  */
6095_ACEOF
6096cat confdefs.h >>conftest.$ac_ext
6097cat >>conftest.$ac_ext <<_ACEOF
6098/* end confdefs.h.  */
6099/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6100   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6101#define $ac_func innocuous_$ac_func
6102
6103/* System header to define __stub macros and hopefully few prototypes,
6104    which can conflict with char $ac_func (); below.
6105    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6106    <limits.h> exists even on freestanding compilers.  */
6107
6108#ifdef __STDC__
6109# include <limits.h>
6110#else
6111# include <assert.h>
6112#endif
6113
6114#undef $ac_func
6115
6116/* Override any gcc2 internal prototype to avoid an error.  */
6117#ifdef __cplusplus
6118extern "C"
6119{
6120#endif
6121/* We use char because int might match the return type of a gcc2
6122   builtin and then its argument prototype would still apply.  */
6123char $ac_func ();
6124/* The GNU C library defines this for functions which it implements
6125    to always fail with ENOSYS.  Some functions are actually named
6126    something starting with __ and the normal name is an alias.  */
6127#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6128choke me
6129#else
6130char (*f) () = $ac_func;
6131#endif
6132#ifdef __cplusplus
6133}
6134#endif
6135
6136int
6137main ()
6138{
6139return f != $ac_func;
6140  ;
6141  return 0;
6142}
6143_ACEOF
6144rm -f conftest.$ac_objext conftest$ac_exeext
6145if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6146  (eval $ac_link) 2>conftest.er1
6147  ac_status=$?
6148  grep -v '^ *+' conftest.er1 >conftest.err
6149  rm -f conftest.er1
6150  cat conftest.err >&5
6151  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6152  (exit $ac_status); } &&
6153	 { ac_try='test -z "$ac_c_werror_flag"
6154			 || test ! -s conftest.err'
6155  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6156  (eval $ac_try) 2>&5
6157  ac_status=$?
6158  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159  (exit $ac_status); }; } &&
6160	 { ac_try='test -s conftest$ac_exeext'
6161  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6162  (eval $ac_try) 2>&5
6163  ac_status=$?
6164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165  (exit $ac_status); }; }; then
6166  eval "$as_ac_var=yes"
6167else
6168  echo "$as_me: failed program was:" >&5
6169sed 's/^/| /' conftest.$ac_ext >&5
6170
6171eval "$as_ac_var=no"
6172fi
6173rm -f conftest.err conftest.$ac_objext \
6174      conftest$ac_exeext conftest.$ac_ext
6175fi
6176echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6177echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6178if test `eval echo '${'$as_ac_var'}'` = yes; then
6179  cat >>confdefs.h <<_ACEOF
6180#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6181_ACEOF
6182
6183else
6184  case $LIBOBJS in
6185    "$ac_func.$ac_objext"   | \
6186  *" $ac_func.$ac_objext"   | \
6187    "$ac_func.$ac_objext "* | \
6188  *" $ac_func.$ac_objext "* ) ;;
6189  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
6190esac
6191
6192fi
6193done
6194
6195
6196  if test $ac_cv_func_strcasecmp = no; then
6197
6198  :
6199
6200  fi
6201
6202
6203
6204for ac_func in strncasecmp
6205do
6206as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6207echo "$as_me:$LINENO: checking for $ac_func" >&5
6208echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6209if eval "test \"\${$as_ac_var+set}\" = set"; then
6210  echo $ECHO_N "(cached) $ECHO_C" >&6
6211else
6212  cat >conftest.$ac_ext <<_ACEOF
6213/* confdefs.h.  */
6214_ACEOF
6215cat confdefs.h >>conftest.$ac_ext
6216cat >>conftest.$ac_ext <<_ACEOF
6217/* end confdefs.h.  */
6218/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6219   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
6220#define $ac_func innocuous_$ac_func
6221
6222/* System header to define __stub macros and hopefully few prototypes,
6223    which can conflict with char $ac_func (); below.
6224    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6225    <limits.h> exists even on freestanding compilers.  */
6226
6227#ifdef __STDC__
6228# include <limits.h>
6229#else
6230# include <assert.h>
6231#endif
6232
6233#undef $ac_func
6234
6235/* Override any gcc2 internal prototype to avoid an error.  */
6236#ifdef __cplusplus
6237extern "C"
6238{
6239#endif
6240/* We use char because int might match the return type of a gcc2
6241   builtin and then its argument prototype would still apply.  */
6242char $ac_func ();
6243/* The GNU C library defines this for functions which it implements
6244    to always fail with ENOSYS.  Some functions are actually named
6245    something starting with __ and the normal name is an alias.  */
6246#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6247choke me
6248#else
6249char (*f) () = $ac_func;
6250#endif
6251#ifdef __cplusplus
6252}
6253#endif
6254
6255int
6256main ()
6257{
6258return f != $ac_func;
6259  ;
6260  return 0;
6261}
6262_ACEOF
6263rm -f conftest.$ac_objext conftest$ac_exeext
6264if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6265  (eval $ac_link) 2>conftest.er1
6266  ac_status=$?
6267  grep -v '^ *+' conftest.er1 >conftest.err
6268  rm -f conftest.er1
6269  cat conftest.err >&5
6270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6271  (exit $ac_status); } &&
6272	 { ac_try='test -z "$ac_c_werror_flag"
6273			 || test ! -s conftest.err'
6274  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6275  (eval $ac_try) 2>&5
6276  ac_status=$?
6277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6278  (exit $ac_status); }; } &&
6279	 { ac_try='test -s conftest$ac_exeext'
6280  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6281  (eval $ac_try) 2>&5
6282  ac_status=$?
6283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284  (exit $ac_status); }; }; then
6285  eval "$as_ac_var=yes"
6286else
6287  echo "$as_me: failed program was:" >&5
6288sed 's/^/| /' conftest.$ac_ext >&5
6289
6290eval "$as_ac_var=no"
6291fi
6292rm -f conftest.err conftest.$ac_objext \
6293      conftest$ac_exeext conftest.$ac_ext
6294fi
6295echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6296echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6297if test `eval echo '${'$as_ac_var'}'` = yes; then
6298  cat >>confdefs.h <<_ACEOF
6299#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6300_ACEOF
6301
6302else
6303  case $LIBOBJS in
6304    "$ac_func.$ac_objext"   | \
6305  *" $ac_func.$ac_objext"   | \
6306    "$ac_func.$ac_objext "* | \
6307  *" $ac_func.$ac_objext "* ) ;;
6308  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
6309esac
6310
6311fi
6312done
6313
6314
6315  if test $ac_cv_func_strncasecmp = no; then
6316
6317  :
6318
6319  fi
6320
6321
6322
6323# We want to recognize djgpp to avoid the useless warning about no
6324# term library.
6325# Make sure we can run config.sub.
6326$ac_config_sub sun4 >/dev/null 2>&1 ||
6327  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
6328echo "$as_me: error: cannot run $ac_config_sub" >&2;}
6329   { (exit 1); exit 1; }; }
6330
6331echo "$as_me:$LINENO: checking build system type" >&5
6332echo $ECHO_N "checking build system type... $ECHO_C" >&6
6333if test "${ac_cv_build+set}" = set; then
6334  echo $ECHO_N "(cached) $ECHO_C" >&6
6335else
6336  ac_cv_build_alias=$build_alias
6337test -z "$ac_cv_build_alias" &&
6338  ac_cv_build_alias=`$ac_config_guess`
6339test -z "$ac_cv_build_alias" &&
6340  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
6341echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
6342   { (exit 1); exit 1; }; }
6343ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
6344  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
6345echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
6346   { (exit 1); exit 1; }; }
6347
6348fi
6349echo "$as_me:$LINENO: result: $ac_cv_build" >&5
6350echo "${ECHO_T}$ac_cv_build" >&6
6351build=$ac_cv_build
6352build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
6353build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
6354build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
6355
6356
6357
6358# We need to run some of our own binaries, most notably makedoc, but as
6359# long as we have this process, we also use our own makeinfo and
6360# install-info.
6361#
6362# This means that if we are cross compiling, we have to configure the
6363# package twice: once with the native compiler (this is done in a
6364# subdirectory $native_tools), and once with the cross compiler.
6365# The former is invoked automatically here, with --host=$build.
6366# $native_tools is also added to SUBDIRS in the main Makefile.am,
6367# so that make compiles the native tools first.
6368#
6369if test "$cross_compiling" = no; then
6370  native_tools=
6371else
6372  native_tools=tools
6373  test -d "$native_tools" || mkdir "$native_tools"
6374  confdir=`(cd "$srcdir";pwd)`
6375  # Make sure the secondary configure won't fail with
6376  # "error: source directory already configured".
6377  rm -f config.status
6378  { echo "$as_me:$LINENO: Doing configure of native tools (${build})." >&5
6379echo "$as_me: Doing configure of native tools (${build})." >&6;}
6380  cd "$native_tools" || exit 1
6381  # Run secondary configure in alternate environment or
6382  # it gets the wrong CC etc.  env -i gives this build host configure
6383  # a clean environment.
6384  env -i CC="${BUILD_CC}" AR="${BUILD_AR}" RANLIB="${BUILD_RANLIB}" \
6385      PATH="${PATH}" \
6386      tools_only=1 \
6387    ${confdir}/configure --build=${build} --host=${build} \
6388                         --disable-rpath --disable-nls
6389  cd .. || exit 1
6390  { echo "$as_me:$LINENO: Continuing with main configure (${host})." >&5
6391echo "$as_me: Continuing with main configure (${host})." >&6;}
6392fi
6393
6394
6395
6396if test "x$tools_only" = x1; then
6397  TOOLS_ONLY_TRUE=
6398  TOOLS_ONLY_FALSE='#'
6399else
6400  TOOLS_ONLY_TRUE='#'
6401  TOOLS_ONLY_FALSE=
6402fi
6403
6404
6405# Some GNU/Linux systems (e.g., SuSE 4.3, 1996) don't have curses, but
6406# rather ncurses.  So we check for it.
6407TERMLIBS=
6408# Check for termlib before termcap because Solaris termcap needs libucb.
6409TERMLIB_VARIANTS="ncurses curses termlib termcap terminfo"
6410for termlib in ${TERMLIB_VARIANTS}; do
6411  as_ac_Lib=`echo "ac_cv_lib_${termlib}''_tgetent" | $as_tr_sh`
6412echo "$as_me:$LINENO: checking for tgetent in -l${termlib}" >&5
6413echo $ECHO_N "checking for tgetent in -l${termlib}... $ECHO_C" >&6
6414if eval "test \"\${$as_ac_Lib+set}\" = set"; then
6415  echo $ECHO_N "(cached) $ECHO_C" >&6
6416else
6417  ac_check_lib_save_LIBS=$LIBS
6418LIBS="-l${termlib}  $LIBS"
6419cat >conftest.$ac_ext <<_ACEOF
6420/* confdefs.h.  */
6421_ACEOF
6422cat confdefs.h >>conftest.$ac_ext
6423cat >>conftest.$ac_ext <<_ACEOF
6424/* end confdefs.h.  */
6425
6426/* Override any gcc2 internal prototype to avoid an error.  */
6427#ifdef __cplusplus
6428extern "C"
6429#endif
6430/* We use char because int might match the return type of a gcc2
6431   builtin and then its argument prototype would still apply.  */
6432char tgetent ();
6433int
6434main ()
6435{
6436tgetent ();
6437  ;
6438  return 0;
6439}
6440_ACEOF
6441rm -f conftest.$ac_objext conftest$ac_exeext
6442if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6443  (eval $ac_link) 2>conftest.er1
6444  ac_status=$?
6445  grep -v '^ *+' conftest.er1 >conftest.err
6446  rm -f conftest.er1
6447  cat conftest.err >&5
6448  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6449  (exit $ac_status); } &&
6450	 { ac_try='test -z "$ac_c_werror_flag"
6451			 || test ! -s conftest.err'
6452  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453  (eval $ac_try) 2>&5
6454  ac_status=$?
6455  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456  (exit $ac_status); }; } &&
6457	 { ac_try='test -s conftest$ac_exeext'
6458  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6459  (eval $ac_try) 2>&5
6460  ac_status=$?
6461  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6462  (exit $ac_status); }; }; then
6463  eval "$as_ac_Lib=yes"
6464else
6465  echo "$as_me: failed program was:" >&5
6466sed 's/^/| /' conftest.$ac_ext >&5
6467
6468eval "$as_ac_Lib=no"
6469fi
6470rm -f conftest.err conftest.$ac_objext \
6471      conftest$ac_exeext conftest.$ac_ext
6472LIBS=$ac_check_lib_save_LIBS
6473fi
6474echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
6475echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
6476if test `eval echo '${'$as_ac_Lib'}'` = yes; then
6477  TERMLIBS="${TERMLIBS} -l${termlib}"; break
6478fi
6479
6480done
6481# don't bother warning on djgpp, it doesn't have a term library, it
6482# ports each termcap-needing program separately according to its needs.
6483if test -z "$TERMLIBS" && echo "$build" | grep -v djgpp >/dev/null; then
6484  { echo "$as_me:$LINENO: WARNING: probably need a terminal library, one of: ${TERMLIB_VARIANTS}" >&5
6485echo "$as_me: WARNING: probably need a terminal library, one of: ${TERMLIB_VARIANTS}" >&2;}
6486fi
6487
6488# Checks for variables.
6489# HP-UX 9 (at least) needs -lncurses which defines termcap variables PC etc.
6490echo "$as_me:$LINENO: checking for library with termcap variables" >&5
6491echo $ECHO_N "checking for library with termcap variables... $ECHO_C" >&6
6492if test "${ac_cv_var_ospeed+set}" = set; then
6493  echo $ECHO_N "(cached) $ECHO_C" >&6
6494else
6495  oldLIBS=$LIBS
6496for trylib in $termlib ${TERMLIB_VARIANTS}; do
6497   if test "x$trylib" != "x$termlib"; then
6498     LIBS="$oldLIBS -l$termlib -l$trylib"
6499   else
6500     LIBS="$oldLIBS -l$termlib"
6501   fi
6502   cat >conftest.$ac_ext <<_ACEOF
6503/* confdefs.h.  */
6504_ACEOF
6505cat confdefs.h >>conftest.$ac_ext
6506cat >>conftest.$ac_ext <<_ACEOF
6507/* end confdefs.h.  */
6508
6509int
6510main ()
6511{
6512#ifdef HAVE_NCURSES_TERMCAP_H
6513#include <ncurses/termcap.h>
6514#else
6515#ifdef HAVE_TERMCAP_H
6516#include <termcap.h>
6517#else
6518#undef PC
6519char *BC;
6520char **UP;
6521char PC;
6522short ospeed;
6523#endif
6524#endif
6525/* Make sure all variables actually exist.  AIX 4.3 has ospeed but no BC.
6526   --Andreas Ley <andy@rz.uni-karlsruhe.de> 24 Aug 2000.  */
6527BC++;
6528UP++;
6529PC++;
6530return ospeed != 0;
6531
6532  ;
6533  return 0;
6534}
6535_ACEOF
6536rm -f conftest.$ac_objext conftest$ac_exeext
6537if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6538  (eval $ac_link) 2>conftest.er1
6539  ac_status=$?
6540  grep -v '^ *+' conftest.er1 >conftest.err
6541  rm -f conftest.er1
6542  cat conftest.err >&5
6543  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6544  (exit $ac_status); } &&
6545	 { ac_try='test -z "$ac_c_werror_flag"
6546			 || test ! -s conftest.err'
6547  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6548  (eval $ac_try) 2>&5
6549  ac_status=$?
6550  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551  (exit $ac_status); }; } &&
6552	 { ac_try='test -s conftest$ac_exeext'
6553  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6554  (eval $ac_try) 2>&5
6555  ac_status=$?
6556  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6557  (exit $ac_status); }; }; then
6558  ac_cv_var_ospeed=$trylib; break
6559else
6560  echo "$as_me: failed program was:" >&5
6561sed 's/^/| /' conftest.$ac_ext >&5
6562
6563fi
6564rm -f conftest.err conftest.$ac_objext \
6565      conftest$ac_exeext conftest.$ac_ext
6566done
6567LIBS=$oldLIBS
6568
6569fi
6570
6571echo "$as_me:$LINENO: result: $ac_cv_var_ospeed" >&5
6572echo "${ECHO_T}$ac_cv_var_ospeed" >&6
6573if test -n "$ac_cv_var_ospeed" \
6574   && test "x$termlib" != "x$ac_cv_var_ospeed"; then
6575  TERMLIBS="${TERMLIBS} -l${ac_cv_var_ospeed}"
6576fi
6577#
6578
6579# Do not use <ncurses/termcap.h> unless we're linking with ncurses.
6580# Must come after the termlib tests.
6581if test "x$termlib" = xncurses; then
6582  # Use AC_CHECK_HEADERS so the HAVE_*_H symbol gets defined.
6583
6584for ac_header in ncurses/termcap.h
6585do
6586as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6587if eval "test \"\${$as_ac_Header+set}\" = set"; then
6588  echo "$as_me:$LINENO: checking for $ac_header" >&5
6589echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6590if eval "test \"\${$as_ac_Header+set}\" = set"; then
6591  echo $ECHO_N "(cached) $ECHO_C" >&6
6592fi
6593echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6594echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6595else
6596  # Is the header compilable?
6597echo "$as_me:$LINENO: checking $ac_header usability" >&5
6598echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6599cat >conftest.$ac_ext <<_ACEOF
6600/* confdefs.h.  */
6601_ACEOF
6602cat confdefs.h >>conftest.$ac_ext
6603cat >>conftest.$ac_ext <<_ACEOF
6604/* end confdefs.h.  */
6605$ac_includes_default
6606#include <$ac_header>
6607_ACEOF
6608rm -f conftest.$ac_objext
6609if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6610  (eval $ac_compile) 2>conftest.er1
6611  ac_status=$?
6612  grep -v '^ *+' conftest.er1 >conftest.err
6613  rm -f conftest.er1
6614  cat conftest.err >&5
6615  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616  (exit $ac_status); } &&
6617	 { ac_try='test -z "$ac_c_werror_flag"
6618			 || test ! -s conftest.err'
6619  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6620  (eval $ac_try) 2>&5
6621  ac_status=$?
6622  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623  (exit $ac_status); }; } &&
6624	 { ac_try='test -s conftest.$ac_objext'
6625  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6626  (eval $ac_try) 2>&5
6627  ac_status=$?
6628  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6629  (exit $ac_status); }; }; then
6630  ac_header_compiler=yes
6631else
6632  echo "$as_me: failed program was:" >&5
6633sed 's/^/| /' conftest.$ac_ext >&5
6634
6635ac_header_compiler=no
6636fi
6637rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6638echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6639echo "${ECHO_T}$ac_header_compiler" >&6
6640
6641# Is the header present?
6642echo "$as_me:$LINENO: checking $ac_header presence" >&5
6643echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6644cat >conftest.$ac_ext <<_ACEOF
6645/* confdefs.h.  */
6646_ACEOF
6647cat confdefs.h >>conftest.$ac_ext
6648cat >>conftest.$ac_ext <<_ACEOF
6649/* end confdefs.h.  */
6650#include <$ac_header>
6651_ACEOF
6652if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6653  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6654  ac_status=$?
6655  grep -v '^ *+' conftest.er1 >conftest.err
6656  rm -f conftest.er1
6657  cat conftest.err >&5
6658  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6659  (exit $ac_status); } >/dev/null; then
6660  if test -s conftest.err; then
6661    ac_cpp_err=$ac_c_preproc_warn_flag
6662    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6663  else
6664    ac_cpp_err=
6665  fi
6666else
6667  ac_cpp_err=yes
6668fi
6669if test -z "$ac_cpp_err"; then
6670  ac_header_preproc=yes
6671else
6672  echo "$as_me: failed program was:" >&5
6673sed 's/^/| /' conftest.$ac_ext >&5
6674
6675  ac_header_preproc=no
6676fi
6677rm -f conftest.err conftest.$ac_ext
6678echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6679echo "${ECHO_T}$ac_header_preproc" >&6
6680
6681# So?  What about this header?
6682case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6683  yes:no: )
6684    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6685echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6686    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6687echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6688    ac_header_preproc=yes
6689    ;;
6690  no:yes:* )
6691    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6692echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6693    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6694echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6695    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6696echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6697    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6698echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6699    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6700echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6701    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6702echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6703    (
6704      cat <<\_ASBOX
6705## -------------------------------------- ##
6706## Report this to the GNU Texinfo lists.  ##
6707## -------------------------------------- ##
6708_ASBOX
6709    ) |
6710      sed "s/^/$as_me: WARNING:     /" >&2
6711    ;;
6712esac
6713echo "$as_me:$LINENO: checking for $ac_header" >&5
6714echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6715if eval "test \"\${$as_ac_Header+set}\" = set"; then
6716  echo $ECHO_N "(cached) $ECHO_C" >&6
6717else
6718  eval "$as_ac_Header=\$ac_header_preproc"
6719fi
6720echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6721echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6722
6723fi
6724if test `eval echo '${'$as_ac_Header'}'` = yes; then
6725  cat >>confdefs.h <<_ACEOF
6726#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6727_ACEOF
6728
6729fi
6730
6731done
6732
6733fi
6734
6735# gnulib.
6736
6737
6738
6739
6740
6741for ac_header in $gl_header_list
6742do
6743as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6744if eval "test \"\${$as_ac_Header+set}\" = set"; then
6745  echo "$as_me:$LINENO: checking for $ac_header" >&5
6746echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6747if eval "test \"\${$as_ac_Header+set}\" = set"; then
6748  echo $ECHO_N "(cached) $ECHO_C" >&6
6749fi
6750echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6751echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6752else
6753  # Is the header compilable?
6754echo "$as_me:$LINENO: checking $ac_header usability" >&5
6755echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
6756cat >conftest.$ac_ext <<_ACEOF
6757/* confdefs.h.  */
6758_ACEOF
6759cat confdefs.h >>conftest.$ac_ext
6760cat >>conftest.$ac_ext <<_ACEOF
6761/* end confdefs.h.  */
6762$ac_includes_default
6763#include <$ac_header>
6764_ACEOF
6765rm -f conftest.$ac_objext
6766if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767  (eval $ac_compile) 2>conftest.er1
6768  ac_status=$?
6769  grep -v '^ *+' conftest.er1 >conftest.err
6770  rm -f conftest.er1
6771  cat conftest.err >&5
6772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773  (exit $ac_status); } &&
6774	 { ac_try='test -z "$ac_c_werror_flag"
6775			 || test ! -s conftest.err'
6776  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777  (eval $ac_try) 2>&5
6778  ac_status=$?
6779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780  (exit $ac_status); }; } &&
6781	 { ac_try='test -s conftest.$ac_objext'
6782  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783  (eval $ac_try) 2>&5
6784  ac_status=$?
6785  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786  (exit $ac_status); }; }; then
6787  ac_header_compiler=yes
6788else
6789  echo "$as_me: failed program was:" >&5
6790sed 's/^/| /' conftest.$ac_ext >&5
6791
6792ac_header_compiler=no
6793fi
6794rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6795echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6796echo "${ECHO_T}$ac_header_compiler" >&6
6797
6798# Is the header present?
6799echo "$as_me:$LINENO: checking $ac_header presence" >&5
6800echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
6801cat >conftest.$ac_ext <<_ACEOF
6802/* confdefs.h.  */
6803_ACEOF
6804cat confdefs.h >>conftest.$ac_ext
6805cat >>conftest.$ac_ext <<_ACEOF
6806/* end confdefs.h.  */
6807#include <$ac_header>
6808_ACEOF
6809if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6810  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6811  ac_status=$?
6812  grep -v '^ *+' conftest.er1 >conftest.err
6813  rm -f conftest.er1
6814  cat conftest.err >&5
6815  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816  (exit $ac_status); } >/dev/null; then
6817  if test -s conftest.err; then
6818    ac_cpp_err=$ac_c_preproc_warn_flag
6819    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6820  else
6821    ac_cpp_err=
6822  fi
6823else
6824  ac_cpp_err=yes
6825fi
6826if test -z "$ac_cpp_err"; then
6827  ac_header_preproc=yes
6828else
6829  echo "$as_me: failed program was:" >&5
6830sed 's/^/| /' conftest.$ac_ext >&5
6831
6832  ac_header_preproc=no
6833fi
6834rm -f conftest.err conftest.$ac_ext
6835echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6836echo "${ECHO_T}$ac_header_preproc" >&6
6837
6838# So?  What about this header?
6839case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6840  yes:no: )
6841    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6842echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6843    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6844echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6845    ac_header_preproc=yes
6846    ;;
6847  no:yes:* )
6848    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6849echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6850    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
6851echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
6852    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6853echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6854    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
6855echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
6856    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6857echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6858    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6859echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6860    (
6861      cat <<\_ASBOX
6862## -------------------------------------- ##
6863## Report this to the GNU Texinfo lists.  ##
6864## -------------------------------------- ##
6865_ASBOX
6866    ) |
6867      sed "s/^/$as_me: WARNING:     /" >&2
6868    ;;
6869esac
6870echo "$as_me:$LINENO: checking for $ac_header" >&5
6871echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6872if eval "test \"\${$as_ac_Header+set}\" = set"; then
6873  echo $ECHO_N "(cached) $ECHO_C" >&6
6874else
6875  eval "$as_ac_Header=\$ac_header_preproc"
6876fi
6877echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6878echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6879
6880fi
6881if test `eval echo '${'$as_ac_Header'}'` = yes; then
6882  cat >>confdefs.h <<_ACEOF
6883#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6884_ACEOF
6885
6886fi
6887
6888done
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908      echo "$as_me:$LINENO: checking whether getenv is declared" >&5
6909echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
6910if test "${ac_cv_have_decl_getenv+set}" = set; then
6911  echo $ECHO_N "(cached) $ECHO_C" >&6
6912else
6913  cat >conftest.$ac_ext <<_ACEOF
6914/* confdefs.h.  */
6915_ACEOF
6916cat confdefs.h >>conftest.$ac_ext
6917cat >>conftest.$ac_ext <<_ACEOF
6918/* end confdefs.h.  */
6919$ac_includes_default
6920int
6921main ()
6922{
6923#ifndef getenv
6924  char *p = (char *) getenv;
6925#endif
6926
6927  ;
6928  return 0;
6929}
6930_ACEOF
6931rm -f conftest.$ac_objext
6932if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6933  (eval $ac_compile) 2>conftest.er1
6934  ac_status=$?
6935  grep -v '^ *+' conftest.er1 >conftest.err
6936  rm -f conftest.er1
6937  cat conftest.err >&5
6938  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6939  (exit $ac_status); } &&
6940	 { ac_try='test -z "$ac_c_werror_flag"
6941			 || test ! -s conftest.err'
6942  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6943  (eval $ac_try) 2>&5
6944  ac_status=$?
6945  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6946  (exit $ac_status); }; } &&
6947	 { ac_try='test -s conftest.$ac_objext'
6948  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6949  (eval $ac_try) 2>&5
6950  ac_status=$?
6951  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952  (exit $ac_status); }; }; then
6953  ac_cv_have_decl_getenv=yes
6954else
6955  echo "$as_me: failed program was:" >&5
6956sed 's/^/| /' conftest.$ac_ext >&5
6957
6958ac_cv_have_decl_getenv=no
6959fi
6960rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6961fi
6962echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
6963echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
6964if test $ac_cv_have_decl_getenv = yes; then
6965
6966cat >>confdefs.h <<_ACEOF
6967#define HAVE_DECL_GETENV 1
6968_ACEOF
6969
6970
6971else
6972  cat >>confdefs.h <<_ACEOF
6973#define HAVE_DECL_GETENV 0
6974_ACEOF
6975
6976
6977fi
6978
6979
6980
6981
6982  echo "$as_me:$LINENO: checking for inttypes.h" >&5
6983echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
6984if test "${gl_cv_header_inttypes_h+set}" = set; then
6985  echo $ECHO_N "(cached) $ECHO_C" >&6
6986else
6987  cat >conftest.$ac_ext <<_ACEOF
6988/* confdefs.h.  */
6989_ACEOF
6990cat confdefs.h >>conftest.$ac_ext
6991cat >>conftest.$ac_ext <<_ACEOF
6992/* end confdefs.h.  */
6993#include <sys/types.h>
6994#include <inttypes.h>
6995int
6996main ()
6997{
6998uintmax_t i = (uintmax_t) -1;
6999  ;
7000  return 0;
7001}
7002_ACEOF
7003rm -f conftest.$ac_objext
7004if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7005  (eval $ac_compile) 2>conftest.er1
7006  ac_status=$?
7007  grep -v '^ *+' conftest.er1 >conftest.err
7008  rm -f conftest.er1
7009  cat conftest.err >&5
7010  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011  (exit $ac_status); } &&
7012	 { ac_try='test -z "$ac_c_werror_flag"
7013			 || test ! -s conftest.err'
7014  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7015  (eval $ac_try) 2>&5
7016  ac_status=$?
7017  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7018  (exit $ac_status); }; } &&
7019	 { ac_try='test -s conftest.$ac_objext'
7020  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7021  (eval $ac_try) 2>&5
7022  ac_status=$?
7023  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7024  (exit $ac_status); }; }; then
7025  gl_cv_header_inttypes_h=yes
7026else
7027  echo "$as_me: failed program was:" >&5
7028sed 's/^/| /' conftest.$ac_ext >&5
7029
7030gl_cv_header_inttypes_h=no
7031fi
7032rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7033fi
7034echo "$as_me:$LINENO: result: $gl_cv_header_inttypes_h" >&5
7035echo "${ECHO_T}$gl_cv_header_inttypes_h" >&6
7036  if test $gl_cv_header_inttypes_h = yes; then
7037
7038cat >>confdefs.h <<_ACEOF
7039#define HAVE_INTTYPES_H_WITH_UINTMAX 1
7040_ACEOF
7041
7042  fi
7043
7044
7045  echo "$as_me:$LINENO: checking for stdint.h" >&5
7046echo $ECHO_N "checking for stdint.h... $ECHO_C" >&6
7047if test "${gl_cv_header_stdint_h+set}" = set; then
7048  echo $ECHO_N "(cached) $ECHO_C" >&6
7049else
7050  cat >conftest.$ac_ext <<_ACEOF
7051/* confdefs.h.  */
7052_ACEOF
7053cat confdefs.h >>conftest.$ac_ext
7054cat >>conftest.$ac_ext <<_ACEOF
7055/* end confdefs.h.  */
7056#include <sys/types.h>
7057#include <stdint.h>
7058int
7059main ()
7060{
7061uintmax_t i = (uintmax_t) -1;
7062  ;
7063  return 0;
7064}
7065_ACEOF
7066rm -f conftest.$ac_objext
7067if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7068  (eval $ac_compile) 2>conftest.er1
7069  ac_status=$?
7070  grep -v '^ *+' conftest.er1 >conftest.err
7071  rm -f conftest.er1
7072  cat conftest.err >&5
7073  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7074  (exit $ac_status); } &&
7075	 { ac_try='test -z "$ac_c_werror_flag"
7076			 || test ! -s conftest.err'
7077  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7078  (eval $ac_try) 2>&5
7079  ac_status=$?
7080  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7081  (exit $ac_status); }; } &&
7082	 { ac_try='test -s conftest.$ac_objext'
7083  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7084  (eval $ac_try) 2>&5
7085  ac_status=$?
7086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7087  (exit $ac_status); }; }; then
7088  gl_cv_header_stdint_h=yes
7089else
7090  echo "$as_me: failed program was:" >&5
7091sed 's/^/| /' conftest.$ac_ext >&5
7092
7093gl_cv_header_stdint_h=no
7094fi
7095rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7096fi
7097echo "$as_me:$LINENO: result: $gl_cv_header_stdint_h" >&5
7098echo "${ECHO_T}$gl_cv_header_stdint_h" >&6
7099  if test $gl_cv_header_stdint_h = yes; then
7100
7101cat >>confdefs.h <<_ACEOF
7102#define HAVE_STDINT_H_WITH_UINTMAX 1
7103_ACEOF
7104
7105  fi
7106
7107
7108  echo "$as_me:$LINENO: checking for unsigned long long" >&5
7109echo $ECHO_N "checking for unsigned long long... $ECHO_C" >&6
7110if test "${ac_cv_type_unsigned_long_long+set}" = set; then
7111  echo $ECHO_N "(cached) $ECHO_C" >&6
7112else
7113  cat >conftest.$ac_ext <<_ACEOF
7114/* confdefs.h.  */
7115_ACEOF
7116cat confdefs.h >>conftest.$ac_ext
7117cat >>conftest.$ac_ext <<_ACEOF
7118/* end confdefs.h.  */
7119unsigned long long ull = 1ULL; int i = 63;
7120int
7121main ()
7122{
7123unsigned long long ullmax = (unsigned long long) -1;
7124     return ull << i | ull >> i | ullmax / ull | ullmax % ull;
7125  ;
7126  return 0;
7127}
7128_ACEOF
7129rm -f conftest.$ac_objext conftest$ac_exeext
7130if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7131  (eval $ac_link) 2>conftest.er1
7132  ac_status=$?
7133  grep -v '^ *+' conftest.er1 >conftest.err
7134  rm -f conftest.er1
7135  cat conftest.err >&5
7136  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7137  (exit $ac_status); } &&
7138	 { ac_try='test -z "$ac_c_werror_flag"
7139			 || test ! -s conftest.err'
7140  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7141  (eval $ac_try) 2>&5
7142  ac_status=$?
7143  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7144  (exit $ac_status); }; } &&
7145	 { ac_try='test -s conftest$ac_exeext'
7146  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7147  (eval $ac_try) 2>&5
7148  ac_status=$?
7149  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7150  (exit $ac_status); }; }; then
7151  ac_cv_type_unsigned_long_long=yes
7152else
7153  echo "$as_me: failed program was:" >&5
7154sed 's/^/| /' conftest.$ac_ext >&5
7155
7156ac_cv_type_unsigned_long_long=no
7157fi
7158rm -f conftest.err conftest.$ac_objext \
7159      conftest$ac_exeext conftest.$ac_ext
7160fi
7161echo "$as_me:$LINENO: result: $ac_cv_type_unsigned_long_long" >&5
7162echo "${ECHO_T}$ac_cv_type_unsigned_long_long" >&6
7163  if test $ac_cv_type_unsigned_long_long = yes; then
7164
7165cat >>confdefs.h <<\_ACEOF
7166#define HAVE_UNSIGNED_LONG_LONG 1
7167_ACEOF
7168
7169  fi
7170
7171
7172
7173
7174  if test $gl_cv_header_inttypes_h = no && test $gl_cv_header_stdint_h = no; then
7175
7176    test $ac_cv_type_unsigned_long_long = yes \
7177      && ac_type='unsigned long long' \
7178      || ac_type='unsigned long'
7179
7180cat >>confdefs.h <<_ACEOF
7181#define uintmax_t $ac_type
7182_ACEOF
7183
7184  else
7185
7186cat >>confdefs.h <<\_ACEOF
7187#define HAVE_UINTMAX_T 1
7188_ACEOF
7189
7190  fi
7191
7192
7193for ac_func in mkstemp
7194do
7195as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7196echo "$as_me:$LINENO: checking for $ac_func" >&5
7197echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7198if eval "test \"\${$as_ac_var+set}\" = set"; then
7199  echo $ECHO_N "(cached) $ECHO_C" >&6
7200else
7201  cat >conftest.$ac_ext <<_ACEOF
7202/* confdefs.h.  */
7203_ACEOF
7204cat confdefs.h >>conftest.$ac_ext
7205cat >>conftest.$ac_ext <<_ACEOF
7206/* end confdefs.h.  */
7207/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7208   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7209#define $ac_func innocuous_$ac_func
7210
7211/* System header to define __stub macros and hopefully few prototypes,
7212    which can conflict with char $ac_func (); below.
7213    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7214    <limits.h> exists even on freestanding compilers.  */
7215
7216#ifdef __STDC__
7217# include <limits.h>
7218#else
7219# include <assert.h>
7220#endif
7221
7222#undef $ac_func
7223
7224/* Override any gcc2 internal prototype to avoid an error.  */
7225#ifdef __cplusplus
7226extern "C"
7227{
7228#endif
7229/* We use char because int might match the return type of a gcc2
7230   builtin and then its argument prototype would still apply.  */
7231char $ac_func ();
7232/* The GNU C library defines this for functions which it implements
7233    to always fail with ENOSYS.  Some functions are actually named
7234    something starting with __ and the normal name is an alias.  */
7235#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7236choke me
7237#else
7238char (*f) () = $ac_func;
7239#endif
7240#ifdef __cplusplus
7241}
7242#endif
7243
7244int
7245main ()
7246{
7247return f != $ac_func;
7248  ;
7249  return 0;
7250}
7251_ACEOF
7252rm -f conftest.$ac_objext conftest$ac_exeext
7253if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7254  (eval $ac_link) 2>conftest.er1
7255  ac_status=$?
7256  grep -v '^ *+' conftest.er1 >conftest.err
7257  rm -f conftest.er1
7258  cat conftest.err >&5
7259  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7260  (exit $ac_status); } &&
7261	 { ac_try='test -z "$ac_c_werror_flag"
7262			 || test ! -s conftest.err'
7263  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7264  (eval $ac_try) 2>&5
7265  ac_status=$?
7266  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7267  (exit $ac_status); }; } &&
7268	 { ac_try='test -s conftest$ac_exeext'
7269  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7270  (eval $ac_try) 2>&5
7271  ac_status=$?
7272  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7273  (exit $ac_status); }; }; then
7274  eval "$as_ac_var=yes"
7275else
7276  echo "$as_me: failed program was:" >&5
7277sed 's/^/| /' conftest.$ac_ext >&5
7278
7279eval "$as_ac_var=no"
7280fi
7281rm -f conftest.err conftest.$ac_objext \
7282      conftest$ac_exeext conftest.$ac_ext
7283fi
7284echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7285echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7286if test `eval echo '${'$as_ac_var'}'` = yes; then
7287  cat >>confdefs.h <<_ACEOF
7288#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7289_ACEOF
7290
7291else
7292  case $LIBOBJS in
7293    "$ac_func.$ac_objext"   | \
7294  *" $ac_func.$ac_objext"   | \
7295    "$ac_func.$ac_objext "* | \
7296  *" $ac_func.$ac_objext "* ) ;;
7297  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext" ;;
7298esac
7299
7300fi
7301done
7302
7303
7304  if test $ac_cv_func_mkstemp = no; then
7305    gl_cv_func_mkstemp_limitations=yes
7306  else
7307    echo "$as_me:$LINENO: checking for mkstemp limitations" >&5
7308echo $ECHO_N "checking for mkstemp limitations... $ECHO_C" >&6
7309if test "${gl_cv_func_mkstemp_limitations+set}" = set; then
7310  echo $ECHO_N "(cached) $ECHO_C" >&6
7311else
7312
7313	if test "$cross_compiling" = yes; then
7314  gl_cv_func_mkstemp_limitations=yes
7315
7316else
7317  cat >conftest.$ac_ext <<_ACEOF
7318/* confdefs.h.  */
7319_ACEOF
7320cat confdefs.h >>conftest.$ac_ext
7321cat >>conftest.$ac_ext <<_ACEOF
7322/* end confdefs.h.  */
7323
7324#         include <stdlib.h>
7325	  int main ()
7326	  {
7327	    int i;
7328	    for (i = 0; i < 70; i++)
7329	      {
7330		char template[] = "conftestXXXXXX";
7331		int fd = mkstemp (template);
7332		if (fd == -1)
7333		  exit (1);
7334		close (fd);
7335	      }
7336	    exit (0);
7337	  }
7338
7339_ACEOF
7340rm -f conftest$ac_exeext
7341if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7342  (eval $ac_link) 2>&5
7343  ac_status=$?
7344  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7345  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7346  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7347  (eval $ac_try) 2>&5
7348  ac_status=$?
7349  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7350  (exit $ac_status); }; }; then
7351  gl_cv_func_mkstemp_limitations=no
7352else
7353  echo "$as_me: program exited with status $ac_status" >&5
7354echo "$as_me: failed program was:" >&5
7355sed 's/^/| /' conftest.$ac_ext >&5
7356
7357( exit $ac_status )
7358gl_cv_func_mkstemp_limitations=yes
7359fi
7360rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7361fi
7362
7363
7364fi
7365echo "$as_me:$LINENO: result: $gl_cv_func_mkstemp_limitations" >&5
7366echo "${ECHO_T}$gl_cv_func_mkstemp_limitations" >&6
7367  fi
7368
7369  if test $gl_cv_func_mkstemp_limitations = yes; then
7370    case $LIBOBJS in
7371    "mkstemp.$ac_objext"   | \
7372  *" mkstemp.$ac_objext"   | \
7373    "mkstemp.$ac_objext "* | \
7374  *" mkstemp.$ac_objext "* ) ;;
7375  *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext" ;;
7376esac
7377
7378    case $LIBOBJS in
7379    "tempname.$ac_objext"   | \
7380  *" tempname.$ac_objext"   | \
7381    "tempname.$ac_objext "* | \
7382  *" tempname.$ac_objext "* ) ;;
7383  *) LIBOBJS="$LIBOBJS tempname.$ac_objext" ;;
7384esac
7385
7386
7387cat >>confdefs.h <<\_ACEOF
7388#define mkstemp rpl_mkstemp
7389_ACEOF
7390
7391
7392
7393
7394
7395
7396  :
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409for ac_header in stdint.h
7410do
7411as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7412if eval "test \"\${$as_ac_Header+set}\" = set"; then
7413  echo "$as_me:$LINENO: checking for $ac_header" >&5
7414echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7415if eval "test \"\${$as_ac_Header+set}\" = set"; then
7416  echo $ECHO_N "(cached) $ECHO_C" >&6
7417fi
7418echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7419echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7420else
7421  # Is the header compilable?
7422echo "$as_me:$LINENO: checking $ac_header usability" >&5
7423echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7424cat >conftest.$ac_ext <<_ACEOF
7425/* confdefs.h.  */
7426_ACEOF
7427cat confdefs.h >>conftest.$ac_ext
7428cat >>conftest.$ac_ext <<_ACEOF
7429/* end confdefs.h.  */
7430$ac_includes_default
7431#include <$ac_header>
7432_ACEOF
7433rm -f conftest.$ac_objext
7434if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7435  (eval $ac_compile) 2>conftest.er1
7436  ac_status=$?
7437  grep -v '^ *+' conftest.er1 >conftest.err
7438  rm -f conftest.er1
7439  cat conftest.err >&5
7440  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441  (exit $ac_status); } &&
7442	 { ac_try='test -z "$ac_c_werror_flag"
7443			 || test ! -s conftest.err'
7444  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7445  (eval $ac_try) 2>&5
7446  ac_status=$?
7447  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7448  (exit $ac_status); }; } &&
7449	 { ac_try='test -s conftest.$ac_objext'
7450  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7451  (eval $ac_try) 2>&5
7452  ac_status=$?
7453  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7454  (exit $ac_status); }; }; then
7455  ac_header_compiler=yes
7456else
7457  echo "$as_me: failed program was:" >&5
7458sed 's/^/| /' conftest.$ac_ext >&5
7459
7460ac_header_compiler=no
7461fi
7462rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7463echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7464echo "${ECHO_T}$ac_header_compiler" >&6
7465
7466# Is the header present?
7467echo "$as_me:$LINENO: checking $ac_header presence" >&5
7468echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7469cat >conftest.$ac_ext <<_ACEOF
7470/* confdefs.h.  */
7471_ACEOF
7472cat confdefs.h >>conftest.$ac_ext
7473cat >>conftest.$ac_ext <<_ACEOF
7474/* end confdefs.h.  */
7475#include <$ac_header>
7476_ACEOF
7477if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7478  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7479  ac_status=$?
7480  grep -v '^ *+' conftest.er1 >conftest.err
7481  rm -f conftest.er1
7482  cat conftest.err >&5
7483  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7484  (exit $ac_status); } >/dev/null; then
7485  if test -s conftest.err; then
7486    ac_cpp_err=$ac_c_preproc_warn_flag
7487    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7488  else
7489    ac_cpp_err=
7490  fi
7491else
7492  ac_cpp_err=yes
7493fi
7494if test -z "$ac_cpp_err"; then
7495  ac_header_preproc=yes
7496else
7497  echo "$as_me: failed program was:" >&5
7498sed 's/^/| /' conftest.$ac_ext >&5
7499
7500  ac_header_preproc=no
7501fi
7502rm -f conftest.err conftest.$ac_ext
7503echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7504echo "${ECHO_T}$ac_header_preproc" >&6
7505
7506# So?  What about this header?
7507case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7508  yes:no: )
7509    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7510echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7511    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7512echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7513    ac_header_preproc=yes
7514    ;;
7515  no:yes:* )
7516    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7517echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7518    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
7519echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
7520    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7521echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7522    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
7523echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
7524    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7525echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7526    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7527echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7528    (
7529      cat <<\_ASBOX
7530## -------------------------------------- ##
7531## Report this to the GNU Texinfo lists.  ##
7532## -------------------------------------- ##
7533_ASBOX
7534    ) |
7535      sed "s/^/$as_me: WARNING:     /" >&2
7536    ;;
7537esac
7538echo "$as_me:$LINENO: checking for $ac_header" >&5
7539echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7540if eval "test \"\${$as_ac_Header+set}\" = set"; then
7541  echo $ECHO_N "(cached) $ECHO_C" >&6
7542else
7543  eval "$as_ac_Header=\$ac_header_preproc"
7544fi
7545echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7546echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7547
7548fi
7549if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550  cat >>confdefs.h <<_ACEOF
7551#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7552_ACEOF
7553
7554fi
7555
7556done
7557
7558
7559
7560for ac_func in __secure_getenv gettimeofday
7561do
7562as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7563echo "$as_me:$LINENO: checking for $ac_func" >&5
7564echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
7565if eval "test \"\${$as_ac_var+set}\" = set"; then
7566  echo $ECHO_N "(cached) $ECHO_C" >&6
7567else
7568  cat >conftest.$ac_ext <<_ACEOF
7569/* confdefs.h.  */
7570_ACEOF
7571cat confdefs.h >>conftest.$ac_ext
7572cat >>conftest.$ac_ext <<_ACEOF
7573/* end confdefs.h.  */
7574/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7575   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
7576#define $ac_func innocuous_$ac_func
7577
7578/* System header to define __stub macros and hopefully few prototypes,
7579    which can conflict with char $ac_func (); below.
7580    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7581    <limits.h> exists even on freestanding compilers.  */
7582
7583#ifdef __STDC__
7584# include <limits.h>
7585#else
7586# include <assert.h>
7587#endif
7588
7589#undef $ac_func
7590
7591/* Override any gcc2 internal prototype to avoid an error.  */
7592#ifdef __cplusplus
7593extern "C"
7594{
7595#endif
7596/* We use char because int might match the return type of a gcc2
7597   builtin and then its argument prototype would still apply.  */
7598char $ac_func ();
7599/* The GNU C library defines this for functions which it implements
7600    to always fail with ENOSYS.  Some functions are actually named
7601    something starting with __ and the normal name is an alias.  */
7602#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7603choke me
7604#else
7605char (*f) () = $ac_func;
7606#endif
7607#ifdef __cplusplus
7608}
7609#endif
7610
7611int
7612main ()
7613{
7614return f != $ac_func;
7615  ;
7616  return 0;
7617}
7618_ACEOF
7619rm -f conftest.$ac_objext conftest$ac_exeext
7620if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7621  (eval $ac_link) 2>conftest.er1
7622  ac_status=$?
7623  grep -v '^ *+' conftest.er1 >conftest.err
7624  rm -f conftest.er1
7625  cat conftest.err >&5
7626  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7627  (exit $ac_status); } &&
7628	 { ac_try='test -z "$ac_c_werror_flag"
7629			 || test ! -s conftest.err'
7630  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7631  (eval $ac_try) 2>&5
7632  ac_status=$?
7633  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634  (exit $ac_status); }; } &&
7635	 { ac_try='test -s conftest$ac_exeext'
7636  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637  (eval $ac_try) 2>&5
7638  ac_status=$?
7639  echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640  (exit $ac_status); }; }; then
7641  eval "$as_ac_var=yes"
7642else
7643  echo "$as_me: failed program was:" >&5
7644sed 's/^/| /' conftest.$ac_ext >&5
7645
7646eval "$as_ac_var=no"
7647fi
7648rm -f conftest.err conftest.$ac_objext \
7649      conftest$ac_exeext conftest.$ac_ext
7650fi
7651echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
7652echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
7653if test `eval echo '${'$as_ac_var'}'` = yes; then
7654  cat >>confdefs.h <<_ACEOF
7655#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7656_ACEOF
7657
7658fi
7659done
7660
7661
7662  :
7663
7664
7665
7666
7667
7668
7669
7670  fi
7671
7672
7673# For teTeX and TeX Live.
7674echo "$as_me:$LINENO: checking host system type" >&5
7675echo $ECHO_N "checking host system type... $ECHO_C" >&6
7676if test "${ac_cv_host+set}" = set; then
7677  echo $ECHO_N "(cached) $ECHO_C" >&6
7678else
7679  ac_cv_host_alias=$host_alias
7680test -z "$ac_cv_host_alias" &&
7681  ac_cv_host_alias=$ac_cv_build_alias
7682ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
7683  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
7684echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
7685   { (exit 1); exit 1; }; }
7686
7687fi
7688echo "$as_me:$LINENO: result: $ac_cv_host" >&5
7689echo "${ECHO_T}$ac_cv_host" >&6
7690host=$ac_cv_host
7691host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
7692host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
7693host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
7694
7695
7696# Check whether --enable-multiplatform or --disable-multiplatform was given.
7697if test "${enable_multiplatform+set}" = set; then
7698  enableval="$enable_multiplatform"
7699
7700fi;
7701# if enable_multiplatform is set in the environment, use that.
7702test "x$enable_multiplatform" = xyes \
7703&& test "x$bindir" = 'x${exec_prefix}/bin' \
7704&& bindir="$bindir/$host"
7705
7706# Taken from the example in
7707# http://www.gnu.org/software/automake/manual/html_node/Conditionals.html.
7708# Check whether --enable-install-warnings or --disable-install-warnings was given.
7709if test "${enable_install_warnings+set}" = set; then
7710  enableval="$enable_install_warnings"
7711  case "${enableval}" in
7712     yes) install_warnings=true ;;
7713      no) install_warnings=false ;;
7714       *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-install-warnings" >&5
7715echo "$as_me: error: bad value ${enableval} for --enable-install-warnings" >&2;}
7716   { (exit 1); exit 1; }; } ;;
7717   esac
7718else
7719  install_warnings=true
7720fi;
7721
7722
7723if test x"$install_warnings" = xtrue || test x"$install_warnings" = xyes; then
7724  INSTALL_WARNINGS_TRUE=
7725  INSTALL_WARNINGS_FALSE='#'
7726else
7727  INSTALL_WARNINGS_TRUE='#'
7728  INSTALL_WARNINGS_FALSE=
7729fi
7730
7731
7732# i18n support.  To update to a new version of gettext, run:
7733# gettextize -f -c --intl
7734
7735
7736        MKINSTALLDIRS=
7737  if test -n "$ac_aux_dir"; then
7738    case "$ac_aux_dir" in
7739      /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
7740      *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
7741    esac
7742  fi
7743  if test -z "$MKINSTALLDIRS"; then
7744    MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
7745  fi
7746
7747
7748
7749  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
7750echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
7751    # Check whether --enable-nls or --disable-nls was given.
7752if test "${enable_nls+set}" = set; then
7753  enableval="$enable_nls"
7754  USE_NLS=$enableval
7755else
7756  USE_NLS=yes
7757fi;
7758  echo "$as_me:$LINENO: result: $USE_NLS" >&5
7759echo "${ECHO_T}$USE_NLS" >&6
7760
7761
7762
7763
7764
7765
7766# Prepare PATH_SEPARATOR.
7767# The user is always right.
7768if test "${PATH_SEPARATOR+set}" != set; then
7769  echo "#! /bin/sh" >conf$$.sh
7770  echo  "exit 0"   >>conf$$.sh
7771  chmod +x conf$$.sh
7772  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7773    PATH_SEPARATOR=';'
7774  else
7775    PATH_SEPARATOR=:
7776  fi
7777  rm -f conf$$.sh
7778fi
7779
7780# Find out how to test for executable files. Don't use a zero-byte file,
7781# as systems may use methods other than mode bits to determine executability.
7782cat >conf$$.file <<_ASEOF
7783#! /bin/sh
7784exit 0
7785_ASEOF
7786chmod +x conf$$.file
7787if test -x conf$$.file >/dev/null 2>&1; then
7788  ac_executable_p="test -x"
7789else
7790  ac_executable_p="test -f"
7791fi
7792rm -f conf$$.file
7793
7794# Extract the first word of "msgfmt", so it can be a program name with args.
7795set dummy msgfmt; ac_word=$2
7796echo "$as_me:$LINENO: checking for $ac_word" >&5
7797echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7798if test "${ac_cv_path_MSGFMT+set}" = set; then
7799  echo $ECHO_N "(cached) $ECHO_C" >&6
7800else
7801  case "$MSGFMT" in
7802  [\\/]* | ?:[\\/]*)
7803    ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
7804    ;;
7805  *)
7806    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7807    for ac_dir in $PATH; do
7808      IFS="$ac_save_IFS"
7809      test -z "$ac_dir" && ac_dir=.
7810      for ac_exec_ext in '' $ac_executable_extensions; do
7811        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7812          if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
7813     (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
7814            ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
7815            break 2
7816          fi
7817        fi
7818      done
7819    done
7820    IFS="$ac_save_IFS"
7821  test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
7822    ;;
7823esac
7824fi
7825MSGFMT="$ac_cv_path_MSGFMT"
7826if test "$MSGFMT" != ":"; then
7827  echo "$as_me:$LINENO: result: $MSGFMT" >&5
7828echo "${ECHO_T}$MSGFMT" >&6
7829else
7830  echo "$as_me:$LINENO: result: no" >&5
7831echo "${ECHO_T}no" >&6
7832fi
7833
7834  # Extract the first word of "gmsgfmt", so it can be a program name with args.
7835set dummy gmsgfmt; ac_word=$2
7836echo "$as_me:$LINENO: checking for $ac_word" >&5
7837echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7838if test "${ac_cv_path_GMSGFMT+set}" = set; then
7839  echo $ECHO_N "(cached) $ECHO_C" >&6
7840else
7841  case $GMSGFMT in
7842  [\\/]* | ?:[\\/]*)
7843  ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
7844  ;;
7845  *)
7846  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847for as_dir in $PATH
7848do
7849  IFS=$as_save_IFS
7850  test -z "$as_dir" && as_dir=.
7851  for ac_exec_ext in '' $ac_executable_extensions; do
7852  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7853    ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
7854    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7855    break 2
7856  fi
7857done
7858done
7859
7860  test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
7861  ;;
7862esac
7863fi
7864GMSGFMT=$ac_cv_path_GMSGFMT
7865
7866if test -n "$GMSGFMT"; then
7867  echo "$as_me:$LINENO: result: $GMSGFMT" >&5
7868echo "${ECHO_T}$GMSGFMT" >&6
7869else
7870  echo "$as_me:$LINENO: result: no" >&5
7871echo "${ECHO_T}no" >&6
7872fi
7873
7874
7875
7876# Prepare PATH_SEPARATOR.
7877# The user is always right.
7878if test "${PATH_SEPARATOR+set}" != set; then
7879  echo "#! /bin/sh" >conf$$.sh
7880  echo  "exit 0"   >>conf$$.sh
7881  chmod +x conf$$.sh
7882  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7883    PATH_SEPARATOR=';'
7884  else
7885    PATH_SEPARATOR=:
7886  fi
7887  rm -f conf$$.sh
7888fi
7889
7890# Find out how to test for executable files. Don't use a zero-byte file,
7891# as systems may use methods other than mode bits to determine executability.
7892cat >conf$$.file <<_ASEOF
7893#! /bin/sh
7894exit 0
7895_ASEOF
7896chmod +x conf$$.file
7897if test -x conf$$.file >/dev/null 2>&1; then
7898  ac_executable_p="test -x"
7899else
7900  ac_executable_p="test -f"
7901fi
7902rm -f conf$$.file
7903
7904# Extract the first word of "xgettext", so it can be a program name with args.
7905set dummy xgettext; ac_word=$2
7906echo "$as_me:$LINENO: checking for $ac_word" >&5
7907echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7908if test "${ac_cv_path_XGETTEXT+set}" = set; then
7909  echo $ECHO_N "(cached) $ECHO_C" >&6
7910else
7911  case "$XGETTEXT" in
7912  [\\/]* | ?:[\\/]*)
7913    ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
7914    ;;
7915  *)
7916    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7917    for ac_dir in $PATH; do
7918      IFS="$ac_save_IFS"
7919      test -z "$ac_dir" && ac_dir=.
7920      for ac_exec_ext in '' $ac_executable_extensions; do
7921        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7922          if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
7923     (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
7924            ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
7925            break 2
7926          fi
7927        fi
7928      done
7929    done
7930    IFS="$ac_save_IFS"
7931  test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
7932    ;;
7933esac
7934fi
7935XGETTEXT="$ac_cv_path_XGETTEXT"
7936if test "$XGETTEXT" != ":"; then
7937  echo "$as_me:$LINENO: result: $XGETTEXT" >&5
7938echo "${ECHO_T}$XGETTEXT" >&6
7939else
7940  echo "$as_me:$LINENO: result: no" >&5
7941echo "${ECHO_T}no" >&6
7942fi
7943
7944    rm -f messages.po
7945
7946
7947# Prepare PATH_SEPARATOR.
7948# The user is always right.
7949if test "${PATH_SEPARATOR+set}" != set; then
7950  echo "#! /bin/sh" >conf$$.sh
7951  echo  "exit 0"   >>conf$$.sh
7952  chmod +x conf$$.sh
7953  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7954    PATH_SEPARATOR=';'
7955  else
7956    PATH_SEPARATOR=:
7957  fi
7958  rm -f conf$$.sh
7959fi
7960
7961# Find out how to test for executable files. Don't use a zero-byte file,
7962# as systems may use methods other than mode bits to determine executability.
7963cat >conf$$.file <<_ASEOF
7964#! /bin/sh
7965exit 0
7966_ASEOF
7967chmod +x conf$$.file
7968if test -x conf$$.file >/dev/null 2>&1; then
7969  ac_executable_p="test -x"
7970else
7971  ac_executable_p="test -f"
7972fi
7973rm -f conf$$.file
7974
7975# Extract the first word of "msgmerge", so it can be a program name with args.
7976set dummy msgmerge; ac_word=$2
7977echo "$as_me:$LINENO: checking for $ac_word" >&5
7978echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7979if test "${ac_cv_path_MSGMERGE+set}" = set; then
7980  echo $ECHO_N "(cached) $ECHO_C" >&6
7981else
7982  case "$MSGMERGE" in
7983  [\\/]* | ?:[\\/]*)
7984    ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
7985    ;;
7986  *)
7987    ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
7988    for ac_dir in $PATH; do
7989      IFS="$ac_save_IFS"
7990      test -z "$ac_dir" && ac_dir=.
7991      for ac_exec_ext in '' $ac_executable_extensions; do
7992        if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
7993          if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
7994            ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
7995            break 2
7996          fi
7997        fi
7998      done
7999    done
8000    IFS="$ac_save_IFS"
8001  test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
8002    ;;
8003esac
8004fi
8005MSGMERGE="$ac_cv_path_MSGMERGE"
8006if test "$MSGMERGE" != ":"; then
8007  echo "$as_me:$LINENO: result: $MSGMERGE" >&5
8008echo "${ECHO_T}$MSGMERGE" >&6
8009else
8010  echo "$as_me:$LINENO: result: no" >&5
8011echo "${ECHO_T}no" >&6
8012fi
8013
8014
8015      if test "$GMSGFMT" != ":"; then
8016            if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
8017       (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
8018      : ;
8019    else
8020      GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
8021      echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
8022echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
8023      GMSGFMT=":"
8024    fi
8025  fi
8026
8027      if test "$XGETTEXT" != ":"; then
8028            if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
8029       (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
8030      : ;
8031    else
8032      echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
8033echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
8034      XGETTEXT=":"
8035    fi
8036        rm -f messages.po
8037  fi
8038
8039            ac_config_commands="$ac_config_commands default-1"
8040
8041
8042
8043  echo "$as_me:$LINENO: checking for signed" >&5
8044echo $ECHO_N "checking for signed... $ECHO_C" >&6
8045if test "${bh_cv_c_signed+set}" = set; then
8046  echo $ECHO_N "(cached) $ECHO_C" >&6
8047else
8048  cat >conftest.$ac_ext <<_ACEOF
8049/* confdefs.h.  */
8050_ACEOF
8051cat confdefs.h >>conftest.$ac_ext
8052cat >>conftest.$ac_ext <<_ACEOF
8053/* end confdefs.h.  */
8054
8055int
8056main ()
8057{
8058signed char x;
8059  ;
8060  return 0;
8061}
8062_ACEOF
8063rm -f conftest.$ac_objext
8064if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8065  (eval $ac_compile) 2>conftest.er1
8066  ac_status=$?
8067  grep -v '^ *+' conftest.er1 >conftest.err
8068  rm -f conftest.er1
8069  cat conftest.err >&5
8070  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8071  (exit $ac_status); } &&
8072	 { ac_try='test -z "$ac_c_werror_flag"
8073			 || test ! -s conftest.err'
8074  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8075  (eval $ac_try) 2>&5
8076  ac_status=$?
8077  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8078  (exit $ac_status); }; } &&
8079	 { ac_try='test -s conftest.$ac_objext'
8080  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8081  (eval $ac_try) 2>&5
8082  ac_status=$?
8083  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084  (exit $ac_status); }; }; then
8085  bh_cv_c_signed=yes
8086else
8087  echo "$as_me: failed program was:" >&5
8088sed 's/^/| /' conftest.$ac_ext >&5
8089
8090bh_cv_c_signed=no
8091fi
8092rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8093fi
8094echo "$as_me:$LINENO: result: $bh_cv_c_signed" >&5
8095echo "${ECHO_T}$bh_cv_c_signed" >&6
8096  if test $bh_cv_c_signed = no; then
8097
8098cat >>confdefs.h <<\_ACEOF
8099#define signed
8100_ACEOF
8101
8102  fi
8103
8104echo "$as_me:$LINENO: checking for inline" >&5
8105echo $ECHO_N "checking for inline... $ECHO_C" >&6
8106if test "${ac_cv_c_inline+set}" = set; then
8107  echo $ECHO_N "(cached) $ECHO_C" >&6
8108else
8109  ac_cv_c_inline=no
8110for ac_kw in inline __inline__ __inline; do
8111  cat >conftest.$ac_ext <<_ACEOF
8112/* confdefs.h.  */
8113_ACEOF
8114cat confdefs.h >>conftest.$ac_ext
8115cat >>conftest.$ac_ext <<_ACEOF
8116/* end confdefs.h.  */
8117#ifndef __cplusplus
8118typedef int foo_t;
8119static $ac_kw foo_t static_foo () {return 0; }
8120$ac_kw foo_t foo () {return 0; }
8121#endif
8122
8123_ACEOF
8124rm -f conftest.$ac_objext
8125if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8126  (eval $ac_compile) 2>conftest.er1
8127  ac_status=$?
8128  grep -v '^ *+' conftest.er1 >conftest.err
8129  rm -f conftest.er1
8130  cat conftest.err >&5
8131  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8132  (exit $ac_status); } &&
8133	 { ac_try='test -z "$ac_c_werror_flag"
8134			 || test ! -s conftest.err'
8135  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8136  (eval $ac_try) 2>&5
8137  ac_status=$?
8138  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8139  (exit $ac_status); }; } &&
8140	 { ac_try='test -s conftest.$ac_objext'
8141  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8142  (eval $ac_try) 2>&5
8143  ac_status=$?
8144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8145  (exit $ac_status); }; }; then
8146  ac_cv_c_inline=$ac_kw; break
8147else
8148  echo "$as_me: failed program was:" >&5
8149sed 's/^/| /' conftest.$ac_ext >&5
8150
8151fi
8152rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8153done
8154
8155fi
8156echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8157echo "${ECHO_T}$ac_cv_c_inline" >&6
8158
8159
8160case $ac_cv_c_inline in
8161  inline | yes) ;;
8162  *)
8163    case $ac_cv_c_inline in
8164      no) ac_val=;;
8165      *) ac_val=$ac_cv_c_inline;;
8166    esac
8167    cat >>confdefs.h <<_ACEOF
8168#ifndef __cplusplus
8169#define inline $ac_val
8170#endif
8171_ACEOF
8172    ;;
8173esac
8174
8175echo "$as_me:$LINENO: checking for size_t" >&5
8176echo $ECHO_N "checking for size_t... $ECHO_C" >&6
8177if test "${ac_cv_type_size_t+set}" = set; then
8178  echo $ECHO_N "(cached) $ECHO_C" >&6
8179else
8180  cat >conftest.$ac_ext <<_ACEOF
8181/* confdefs.h.  */
8182_ACEOF
8183cat confdefs.h >>conftest.$ac_ext
8184cat >>conftest.$ac_ext <<_ACEOF
8185/* end confdefs.h.  */
8186$ac_includes_default
8187int
8188main ()
8189{
8190if ((size_t *) 0)
8191  return 0;
8192if (sizeof (size_t))
8193  return 0;
8194  ;
8195  return 0;
8196}
8197_ACEOF
8198rm -f conftest.$ac_objext
8199if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8200  (eval $ac_compile) 2>conftest.er1
8201  ac_status=$?
8202  grep -v '^ *+' conftest.er1 >conftest.err
8203  rm -f conftest.er1
8204  cat conftest.err >&5
8205  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8206  (exit $ac_status); } &&
8207	 { ac_try='test -z "$ac_c_werror_flag"
8208			 || test ! -s conftest.err'
8209  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8210  (eval $ac_try) 2>&5
8211  ac_status=$?
8212  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8213  (exit $ac_status); }; } &&
8214	 { ac_try='test -s conftest.$ac_objext'
8215  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8216  (eval $ac_try) 2>&5
8217  ac_status=$?
8218  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8219  (exit $ac_status); }; }; then
8220  ac_cv_type_size_t=yes
8221else
8222  echo "$as_me: failed program was:" >&5
8223sed 's/^/| /' conftest.$ac_ext >&5
8224
8225ac_cv_type_size_t=no
8226fi
8227rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8228fi
8229echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
8230echo "${ECHO_T}$ac_cv_type_size_t" >&6
8231if test $ac_cv_type_size_t = yes; then
8232  :
8233else
8234
8235cat >>confdefs.h <<_ACEOF
8236#define size_t unsigned
8237_ACEOF
8238
8239fi
8240
8241
8242  echo "$as_me:$LINENO: checking for long long" >&5
8243echo $ECHO_N "checking for long long... $ECHO_C" >&6
8244if test "${ac_cv_type_long_long+set}" = set; then
8245  echo $ECHO_N "(cached) $ECHO_C" >&6
8246else
8247  cat >conftest.$ac_ext <<_ACEOF
8248/* confdefs.h.  */
8249_ACEOF
8250cat confdefs.h >>conftest.$ac_ext
8251cat >>conftest.$ac_ext <<_ACEOF
8252/* end confdefs.h.  */
8253long long ll = 1LL; int i = 63;
8254int
8255main ()
8256{
8257long long llmax = (long long) -1;
8258     return ll << i | ll >> i | llmax / ll | llmax % ll;
8259  ;
8260  return 0;
8261}
8262_ACEOF
8263rm -f conftest.$ac_objext conftest$ac_exeext
8264if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8265  (eval $ac_link) 2>conftest.er1
8266  ac_status=$?
8267  grep -v '^ *+' conftest.er1 >conftest.err
8268  rm -f conftest.er1
8269  cat conftest.err >&5
8270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8271  (exit $ac_status); } &&
8272	 { ac_try='test -z "$ac_c_werror_flag"
8273			 || test ! -s conftest.err'
8274  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8275  (eval $ac_try) 2>&5
8276  ac_status=$?
8277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8278  (exit $ac_status); }; } &&
8279	 { ac_try='test -s conftest$ac_exeext'
8280  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8281  (eval $ac_try) 2>&5
8282  ac_status=$?
8283  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8284  (exit $ac_status); }; }; then
8285  ac_cv_type_long_long=yes
8286else
8287  echo "$as_me: failed program was:" >&5
8288sed 's/^/| /' conftest.$ac_ext >&5
8289
8290ac_cv_type_long_long=no
8291fi
8292rm -f conftest.err conftest.$ac_objext \
8293      conftest$ac_exeext conftest.$ac_ext
8294fi
8295echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
8296echo "${ECHO_T}$ac_cv_type_long_long" >&6
8297  if test $ac_cv_type_long_long = yes; then
8298
8299cat >>confdefs.h <<\_ACEOF
8300#define HAVE_LONG_LONG 1
8301_ACEOF
8302
8303  fi
8304
8305
8306  echo "$as_me:$LINENO: checking for long double" >&5
8307echo $ECHO_N "checking for long double... $ECHO_C" >&6
8308if test "${gt_cv_c_long_double+set}" = set; then
8309  echo $ECHO_N "(cached) $ECHO_C" >&6
8310else
8311  if test "$GCC" = yes; then
8312       gt_cv_c_long_double=yes
8313     else
8314       cat >conftest.$ac_ext <<_ACEOF
8315/* confdefs.h.  */
8316_ACEOF
8317cat confdefs.h >>conftest.$ac_ext
8318cat >>conftest.$ac_ext <<_ACEOF
8319/* end confdefs.h.  */
8320
8321         /* The Stardent Vistra knows sizeof(long double), but does not support it.  */
8322         long double foo = 0.0;
8323         /* On Ultrix 4.3 cc, long double is 4 and double is 8.  */
8324         int array [2*(sizeof(long double) >= sizeof(double)) - 1];
8325
8326int
8327main ()
8328{
8329
8330  ;
8331  return 0;
8332}
8333_ACEOF
8334rm -f conftest.$ac_objext
8335if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8336  (eval $ac_compile) 2>conftest.er1
8337  ac_status=$?
8338  grep -v '^ *+' conftest.er1 >conftest.err
8339  rm -f conftest.er1
8340  cat conftest.err >&5
8341  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8342  (exit $ac_status); } &&
8343	 { ac_try='test -z "$ac_c_werror_flag"
8344			 || test ! -s conftest.err'
8345  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8346  (eval $ac_try) 2>&5
8347  ac_status=$?
8348  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8349  (exit $ac_status); }; } &&
8350	 { ac_try='test -s conftest.$ac_objext'
8351  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8352  (eval $ac_try) 2>&5
8353  ac_status=$?
8354  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8355  (exit $ac_status); }; }; then
8356  gt_cv_c_long_double=yes
8357else
8358  echo "$as_me: failed program was:" >&5
8359sed 's/^/| /' conftest.$ac_ext >&5
8360
8361gt_cv_c_long_double=no
8362fi
8363rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8364     fi
8365fi
8366echo "$as_me:$LINENO: result: $gt_cv_c_long_double" >&5
8367echo "${ECHO_T}$gt_cv_c_long_double" >&6
8368  if test $gt_cv_c_long_double = yes; then
8369
8370cat >>confdefs.h <<\_ACEOF
8371#define HAVE_LONG_DOUBLE 1
8372_ACEOF
8373
8374  fi
8375
8376
8377  echo "$as_me:$LINENO: checking for wchar_t" >&5
8378echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
8379if test "${gt_cv_c_wchar_t+set}" = set; then
8380  echo $ECHO_N "(cached) $ECHO_C" >&6
8381else
8382  cat >conftest.$ac_ext <<_ACEOF
8383/* confdefs.h.  */
8384_ACEOF
8385cat confdefs.h >>conftest.$ac_ext
8386cat >>conftest.$ac_ext <<_ACEOF
8387/* end confdefs.h.  */
8388#include <stddef.h>
8389       wchar_t foo = (wchar_t)'\0';
8390int
8391main ()
8392{
8393
8394  ;
8395  return 0;
8396}
8397_ACEOF
8398rm -f conftest.$ac_objext
8399if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8400  (eval $ac_compile) 2>conftest.er1
8401  ac_status=$?
8402  grep -v '^ *+' conftest.er1 >conftest.err
8403  rm -f conftest.er1
8404  cat conftest.err >&5
8405  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8406  (exit $ac_status); } &&
8407	 { ac_try='test -z "$ac_c_werror_flag"
8408			 || test ! -s conftest.err'
8409  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8410  (eval $ac_try) 2>&5
8411  ac_status=$?
8412  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8413  (exit $ac_status); }; } &&
8414	 { ac_try='test -s conftest.$ac_objext'
8415  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8416  (eval $ac_try) 2>&5
8417  ac_status=$?
8418  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8419  (exit $ac_status); }; }; then
8420  gt_cv_c_wchar_t=yes
8421else
8422  echo "$as_me: failed program was:" >&5
8423sed 's/^/| /' conftest.$ac_ext >&5
8424
8425gt_cv_c_wchar_t=no
8426fi
8427rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8428fi
8429echo "$as_me:$LINENO: result: $gt_cv_c_wchar_t" >&5
8430echo "${ECHO_T}$gt_cv_c_wchar_t" >&6
8431  if test $gt_cv_c_wchar_t = yes; then
8432
8433cat >>confdefs.h <<\_ACEOF
8434#define HAVE_WCHAR_T 1
8435_ACEOF
8436
8437  fi
8438
8439
8440  echo "$as_me:$LINENO: checking for wint_t" >&5
8441echo $ECHO_N "checking for wint_t... $ECHO_C" >&6
8442if test "${gt_cv_c_wint_t+set}" = set; then
8443  echo $ECHO_N "(cached) $ECHO_C" >&6
8444else
8445  cat >conftest.$ac_ext <<_ACEOF
8446/* confdefs.h.  */
8447_ACEOF
8448cat confdefs.h >>conftest.$ac_ext
8449cat >>conftest.$ac_ext <<_ACEOF
8450/* end confdefs.h.  */
8451#include <wchar.h>
8452       wint_t foo = (wchar_t)'\0';
8453int
8454main ()
8455{
8456
8457  ;
8458  return 0;
8459}
8460_ACEOF
8461rm -f conftest.$ac_objext
8462if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8463  (eval $ac_compile) 2>conftest.er1
8464  ac_status=$?
8465  grep -v '^ *+' conftest.er1 >conftest.err
8466  rm -f conftest.er1
8467  cat conftest.err >&5
8468  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8469  (exit $ac_status); } &&
8470	 { ac_try='test -z "$ac_c_werror_flag"
8471			 || test ! -s conftest.err'
8472  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8473  (eval $ac_try) 2>&5
8474  ac_status=$?
8475  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476  (exit $ac_status); }; } &&
8477	 { ac_try='test -s conftest.$ac_objext'
8478  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8479  (eval $ac_try) 2>&5
8480  ac_status=$?
8481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8482  (exit $ac_status); }; }; then
8483  gt_cv_c_wint_t=yes
8484else
8485  echo "$as_me: failed program was:" >&5
8486sed 's/^/| /' conftest.$ac_ext >&5
8487
8488gt_cv_c_wint_t=no
8489fi
8490rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8491fi
8492echo "$as_me:$LINENO: result: $gt_cv_c_wint_t" >&5
8493echo "${ECHO_T}$gt_cv_c_wint_t" >&6
8494  if test $gt_cv_c_wint_t = yes; then
8495
8496cat >>confdefs.h <<\_ACEOF
8497#define HAVE_WINT_T 1
8498_ACEOF
8499
8500  fi
8501
8502
8503
8504
8505  echo "$as_me:$LINENO: checking for intmax_t" >&5
8506echo $ECHO_N "checking for intmax_t... $ECHO_C" >&6
8507if test "${gt_cv_c_intmax_t+set}" = set; then
8508  echo $ECHO_N "(cached) $ECHO_C" >&6
8509else
8510  cat >conftest.$ac_ext <<_ACEOF
8511/* confdefs.h.  */
8512_ACEOF
8513cat confdefs.h >>conftest.$ac_ext
8514cat >>conftest.$ac_ext <<_ACEOF
8515/* end confdefs.h.  */
8516
8517#include <stddef.h>
8518#include <stdlib.h>
8519#if HAVE_STDINT_H_WITH_UINTMAX
8520#include <stdint.h>
8521#endif
8522#if HAVE_INTTYPES_H_WITH_UINTMAX
8523#include <inttypes.h>
8524#endif
8525
8526int
8527main ()
8528{
8529intmax_t x = -1;
8530  ;
8531  return 0;
8532}
8533_ACEOF
8534rm -f conftest.$ac_objext
8535if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8536  (eval $ac_compile) 2>conftest.er1
8537  ac_status=$?
8538  grep -v '^ *+' conftest.er1 >conftest.err
8539  rm -f conftest.er1
8540  cat conftest.err >&5
8541  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8542  (exit $ac_status); } &&
8543	 { ac_try='test -z "$ac_c_werror_flag"
8544			 || test ! -s conftest.err'
8545  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8546  (eval $ac_try) 2>&5
8547  ac_status=$?
8548  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8549  (exit $ac_status); }; } &&
8550	 { ac_try='test -s conftest.$ac_objext'
8551  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8552  (eval $ac_try) 2>&5
8553  ac_status=$?
8554  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8555  (exit $ac_status); }; }; then
8556  gt_cv_c_intmax_t=yes
8557else
8558  echo "$as_me: failed program was:" >&5
8559sed 's/^/| /' conftest.$ac_ext >&5
8560
8561gt_cv_c_intmax_t=no
8562fi
8563rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8564fi
8565echo "$as_me:$LINENO: result: $gt_cv_c_intmax_t" >&5
8566echo "${ECHO_T}$gt_cv_c_intmax_t" >&6
8567  if test $gt_cv_c_intmax_t = yes; then
8568
8569cat >>confdefs.h <<\_ACEOF
8570#define HAVE_INTMAX_T 1
8571_ACEOF
8572
8573  fi
8574
8575
8576
8577  echo "$as_me:$LINENO: checking whether printf() supports POSIX/XSI format strings" >&5
8578echo $ECHO_N "checking whether printf() supports POSIX/XSI format strings... $ECHO_C" >&6
8579if test "${gt_cv_func_printf_posix+set}" = set; then
8580  echo $ECHO_N "(cached) $ECHO_C" >&6
8581else
8582
8583      if test "$cross_compiling" = yes; then
8584
8585        cat >conftest.$ac_ext <<_ACEOF
8586/* confdefs.h.  */
8587_ACEOF
8588cat confdefs.h >>conftest.$ac_ext
8589cat >>conftest.$ac_ext <<_ACEOF
8590/* end confdefs.h.  */
8591
8592#if defined __NetBSD__ || defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__
8593  notposix
8594#endif
8595
8596_ACEOF
8597if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8598  $EGREP "notposix" >/dev/null 2>&1; then
8599  gt_cv_func_printf_posix="guessing no"
8600else
8601  gt_cv_func_printf_posix="guessing yes"
8602fi
8603rm -f conftest*
8604
8605
8606else
8607  cat >conftest.$ac_ext <<_ACEOF
8608/* confdefs.h.  */
8609_ACEOF
8610cat confdefs.h >>conftest.$ac_ext
8611cat >>conftest.$ac_ext <<_ACEOF
8612/* end confdefs.h.  */
8613
8614#include <stdio.h>
8615#include <string.h>
8616/* The string "%2$d %1$d", with dollar characters protected from the shell's
8617   dollar expansion (possibly an autoconf bug).  */
8618static char format[] = { '%', '2', '$', 'd', ' ', '%', '1', '$', 'd', '\0' };
8619static char buf[100];
8620int main ()
8621{
8622  sprintf (buf, format, 33, 55);
8623  return (strcmp (buf, "55 33") != 0);
8624}
8625_ACEOF
8626rm -f conftest$ac_exeext
8627if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8628  (eval $ac_link) 2>&5
8629  ac_status=$?
8630  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8631  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8632  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8633  (eval $ac_try) 2>&5
8634  ac_status=$?
8635  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8636  (exit $ac_status); }; }; then
8637  gt_cv_func_printf_posix=yes
8638else
8639  echo "$as_me: program exited with status $ac_status" >&5
8640echo "$as_me: failed program was:" >&5
8641sed 's/^/| /' conftest.$ac_ext >&5
8642
8643( exit $ac_status )
8644gt_cv_func_printf_posix=no
8645fi
8646rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8647fi
8648
8649fi
8650echo "$as_me:$LINENO: result: $gt_cv_func_printf_posix" >&5
8651echo "${ECHO_T}$gt_cv_func_printf_posix" >&6
8652  case $gt_cv_func_printf_posix in
8653    *yes)
8654
8655cat >>confdefs.h <<\_ACEOF
8656#define HAVE_POSIX_PRINTF 1
8657_ACEOF
8658
8659      ;;
8660  esac
8661
8662
8663
8664for ac_header in stdlib.h unistd.h
8665do
8666as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8667if eval "test \"\${$as_ac_Header+set}\" = set"; then
8668  echo "$as_me:$LINENO: checking for $ac_header" >&5
8669echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8670if eval "test \"\${$as_ac_Header+set}\" = set"; then
8671  echo $ECHO_N "(cached) $ECHO_C" >&6
8672fi
8673echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8674echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8675else
8676  # Is the header compilable?
8677echo "$as_me:$LINENO: checking $ac_header usability" >&5
8678echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8679cat >conftest.$ac_ext <<_ACEOF
8680/* confdefs.h.  */
8681_ACEOF
8682cat confdefs.h >>conftest.$ac_ext
8683cat >>conftest.$ac_ext <<_ACEOF
8684/* end confdefs.h.  */
8685$ac_includes_default
8686#include <$ac_header>
8687_ACEOF
8688rm -f conftest.$ac_objext
8689if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8690  (eval $ac_compile) 2>conftest.er1
8691  ac_status=$?
8692  grep -v '^ *+' conftest.er1 >conftest.err
8693  rm -f conftest.er1
8694  cat conftest.err >&5
8695  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8696  (exit $ac_status); } &&
8697	 { ac_try='test -z "$ac_c_werror_flag"
8698			 || test ! -s conftest.err'
8699  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8700  (eval $ac_try) 2>&5
8701  ac_status=$?
8702  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8703  (exit $ac_status); }; } &&
8704	 { ac_try='test -s conftest.$ac_objext'
8705  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8706  (eval $ac_try) 2>&5
8707  ac_status=$?
8708  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8709  (exit $ac_status); }; }; then
8710  ac_header_compiler=yes
8711else
8712  echo "$as_me: failed program was:" >&5
8713sed 's/^/| /' conftest.$ac_ext >&5
8714
8715ac_header_compiler=no
8716fi
8717rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8718echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8719echo "${ECHO_T}$ac_header_compiler" >&6
8720
8721# Is the header present?
8722echo "$as_me:$LINENO: checking $ac_header presence" >&5
8723echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8724cat >conftest.$ac_ext <<_ACEOF
8725/* confdefs.h.  */
8726_ACEOF
8727cat confdefs.h >>conftest.$ac_ext
8728cat >>conftest.$ac_ext <<_ACEOF
8729/* end confdefs.h.  */
8730#include <$ac_header>
8731_ACEOF
8732if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8733  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8734  ac_status=$?
8735  grep -v '^ *+' conftest.er1 >conftest.err
8736  rm -f conftest.er1
8737  cat conftest.err >&5
8738  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739  (exit $ac_status); } >/dev/null; then
8740  if test -s conftest.err; then
8741    ac_cpp_err=$ac_c_preproc_warn_flag
8742    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8743  else
8744    ac_cpp_err=
8745  fi
8746else
8747  ac_cpp_err=yes
8748fi
8749if test -z "$ac_cpp_err"; then
8750  ac_header_preproc=yes
8751else
8752  echo "$as_me: failed program was:" >&5
8753sed 's/^/| /' conftest.$ac_ext >&5
8754
8755  ac_header_preproc=no
8756fi
8757rm -f conftest.err conftest.$ac_ext
8758echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8759echo "${ECHO_T}$ac_header_preproc" >&6
8760
8761# So?  What about this header?
8762case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8763  yes:no: )
8764    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8765echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8766    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8767echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8768    ac_header_preproc=yes
8769    ;;
8770  no:yes:* )
8771    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8772echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8773    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
8774echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
8775    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8776echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8777    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
8778echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
8779    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8780echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8781    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8782echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8783    (
8784      cat <<\_ASBOX
8785## -------------------------------------- ##
8786## Report this to the GNU Texinfo lists.  ##
8787## -------------------------------------- ##
8788_ASBOX
8789    ) |
8790      sed "s/^/$as_me: WARNING:     /" >&2
8791    ;;
8792esac
8793echo "$as_me:$LINENO: checking for $ac_header" >&5
8794echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8795if eval "test \"\${$as_ac_Header+set}\" = set"; then
8796  echo $ECHO_N "(cached) $ECHO_C" >&6
8797else
8798  eval "$as_ac_Header=\$ac_header_preproc"
8799fi
8800echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8801echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8802
8803fi
8804if test `eval echo '${'$as_ac_Header'}'` = yes; then
8805  cat >>confdefs.h <<_ACEOF
8806#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8807_ACEOF
8808
8809fi
8810
8811done
8812
8813
8814for ac_func in getpagesize
8815do
8816as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8817echo "$as_me:$LINENO: checking for $ac_func" >&5
8818echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8819if eval "test \"\${$as_ac_var+set}\" = set"; then
8820  echo $ECHO_N "(cached) $ECHO_C" >&6
8821else
8822  cat >conftest.$ac_ext <<_ACEOF
8823/* confdefs.h.  */
8824_ACEOF
8825cat confdefs.h >>conftest.$ac_ext
8826cat >>conftest.$ac_ext <<_ACEOF
8827/* end confdefs.h.  */
8828/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8829   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
8830#define $ac_func innocuous_$ac_func
8831
8832/* System header to define __stub macros and hopefully few prototypes,
8833    which can conflict with char $ac_func (); below.
8834    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8835    <limits.h> exists even on freestanding compilers.  */
8836
8837#ifdef __STDC__
8838# include <limits.h>
8839#else
8840# include <assert.h>
8841#endif
8842
8843#undef $ac_func
8844
8845/* Override any gcc2 internal prototype to avoid an error.  */
8846#ifdef __cplusplus
8847extern "C"
8848{
8849#endif
8850/* We use char because int might match the return type of a gcc2
8851   builtin and then its argument prototype would still apply.  */
8852char $ac_func ();
8853/* The GNU C library defines this for functions which it implements
8854    to always fail with ENOSYS.  Some functions are actually named
8855    something starting with __ and the normal name is an alias.  */
8856#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8857choke me
8858#else
8859char (*f) () = $ac_func;
8860#endif
8861#ifdef __cplusplus
8862}
8863#endif
8864
8865int
8866main ()
8867{
8868return f != $ac_func;
8869  ;
8870  return 0;
8871}
8872_ACEOF
8873rm -f conftest.$ac_objext conftest$ac_exeext
8874if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8875  (eval $ac_link) 2>conftest.er1
8876  ac_status=$?
8877  grep -v '^ *+' conftest.er1 >conftest.err
8878  rm -f conftest.er1
8879  cat conftest.err >&5
8880  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8881  (exit $ac_status); } &&
8882	 { ac_try='test -z "$ac_c_werror_flag"
8883			 || test ! -s conftest.err'
8884  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8885  (eval $ac_try) 2>&5
8886  ac_status=$?
8887  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8888  (exit $ac_status); }; } &&
8889	 { ac_try='test -s conftest$ac_exeext'
8890  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8891  (eval $ac_try) 2>&5
8892  ac_status=$?
8893  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8894  (exit $ac_status); }; }; then
8895  eval "$as_ac_var=yes"
8896else
8897  echo "$as_me: failed program was:" >&5
8898sed 's/^/| /' conftest.$ac_ext >&5
8899
8900eval "$as_ac_var=no"
8901fi
8902rm -f conftest.err conftest.$ac_objext \
8903      conftest$ac_exeext conftest.$ac_ext
8904fi
8905echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8906echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8907if test `eval echo '${'$as_ac_var'}'` = yes; then
8908  cat >>confdefs.h <<_ACEOF
8909#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8910_ACEOF
8911
8912fi
8913done
8914
8915echo "$as_me:$LINENO: checking for working mmap" >&5
8916echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
8917if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
8918  echo $ECHO_N "(cached) $ECHO_C" >&6
8919else
8920  if test "$cross_compiling" = yes; then
8921  ac_cv_func_mmap_fixed_mapped=no
8922else
8923  cat >conftest.$ac_ext <<_ACEOF
8924/* confdefs.h.  */
8925_ACEOF
8926cat confdefs.h >>conftest.$ac_ext
8927cat >>conftest.$ac_ext <<_ACEOF
8928/* end confdefs.h.  */
8929$ac_includes_default
8930/* malloc might have been renamed as rpl_malloc. */
8931#undef malloc
8932
8933/* Thanks to Mike Haertel and Jim Avera for this test.
8934   Here is a matrix of mmap possibilities:
8935	mmap private not fixed
8936	mmap private fixed at somewhere currently unmapped
8937	mmap private fixed at somewhere already mapped
8938	mmap shared not fixed
8939	mmap shared fixed at somewhere currently unmapped
8940	mmap shared fixed at somewhere already mapped
8941   For private mappings, we should verify that changes cannot be read()
8942   back from the file, nor mmap's back from the file at a different
8943   address.  (There have been systems where private was not correctly
8944   implemented like the infamous i386 svr4.0, and systems where the
8945   VM page cache was not coherent with the file system buffer cache
8946   like early versions of FreeBSD and possibly contemporary NetBSD.)
8947   For shared mappings, we should conversely verify that changes get
8948   propagated back to all the places they're supposed to be.
8949
8950   Grep wants private fixed already mapped.
8951   The main things grep needs to know about mmap are:
8952   * does it exist and is it safe to write into the mmap'd area
8953   * how to use it (BSD variants)  */
8954
8955#include <fcntl.h>
8956#include <sys/mman.h>
8957
8958#if !STDC_HEADERS && !HAVE_STDLIB_H
8959char *malloc ();
8960#endif
8961
8962/* This mess was copied from the GNU getpagesize.h.  */
8963#if !HAVE_GETPAGESIZE
8964/* Assume that all systems that can run configure have sys/param.h.  */
8965# if !HAVE_SYS_PARAM_H
8966#  define HAVE_SYS_PARAM_H 1
8967# endif
8968
8969# ifdef _SC_PAGESIZE
8970#  define getpagesize() sysconf(_SC_PAGESIZE)
8971# else /* no _SC_PAGESIZE */
8972#  if HAVE_SYS_PARAM_H
8973#   include <sys/param.h>
8974#   ifdef EXEC_PAGESIZE
8975#    define getpagesize() EXEC_PAGESIZE
8976#   else /* no EXEC_PAGESIZE */
8977#    ifdef NBPG
8978#     define getpagesize() NBPG * CLSIZE
8979#     ifndef CLSIZE
8980#      define CLSIZE 1
8981#     endif /* no CLSIZE */
8982#    else /* no NBPG */
8983#     ifdef NBPC
8984#      define getpagesize() NBPC
8985#     else /* no NBPC */
8986#      ifdef PAGESIZE
8987#       define getpagesize() PAGESIZE
8988#      endif /* PAGESIZE */
8989#     endif /* no NBPC */
8990#    endif /* no NBPG */
8991#   endif /* no EXEC_PAGESIZE */
8992#  else /* no HAVE_SYS_PARAM_H */
8993#   define getpagesize() 8192	/* punt totally */
8994#  endif /* no HAVE_SYS_PARAM_H */
8995# endif /* no _SC_PAGESIZE */
8996
8997#endif /* no HAVE_GETPAGESIZE */
8998
8999int
9000main ()
9001{
9002  char *data, *data2, *data3;
9003  int i, pagesize;
9004  int fd;
9005
9006  pagesize = getpagesize ();
9007
9008  /* First, make a file with some known garbage in it. */
9009  data = (char *) malloc (pagesize);
9010  if (!data)
9011    exit (1);
9012  for (i = 0; i < pagesize; ++i)
9013    *(data + i) = rand ();
9014  umask (0);
9015  fd = creat ("conftest.mmap", 0600);
9016  if (fd < 0)
9017    exit (1);
9018  if (write (fd, data, pagesize) != pagesize)
9019    exit (1);
9020  close (fd);
9021
9022  /* Next, try to mmap the file at a fixed address which already has
9023     something else allocated at it.  If we can, also make sure that
9024     we see the same garbage.  */
9025  fd = open ("conftest.mmap", O_RDWR);
9026  if (fd < 0)
9027    exit (1);
9028  data2 = (char *) malloc (2 * pagesize);
9029  if (!data2)
9030    exit (1);
9031  data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
9032  if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
9033		     MAP_PRIVATE | MAP_FIXED, fd, 0L))
9034    exit (1);
9035  for (i = 0; i < pagesize; ++i)
9036    if (*(data + i) != *(data2 + i))
9037      exit (1);
9038
9039  /* Finally, make sure that changes to the mapped area do not
9040     percolate back to the file as seen by read().  (This is a bug on
9041     some variants of i386 svr4.0.)  */
9042  for (i = 0; i < pagesize; ++i)
9043    *(data2 + i) = *(data2 + i) + 1;
9044  data3 = (char *) malloc (pagesize);
9045  if (!data3)
9046    exit (1);
9047  if (read (fd, data3, pagesize) != pagesize)
9048    exit (1);
9049  for (i = 0; i < pagesize; ++i)
9050    if (*(data + i) != *(data3 + i))
9051      exit (1);
9052  close (fd);
9053  exit (0);
9054}
9055_ACEOF
9056rm -f conftest$ac_exeext
9057if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9058  (eval $ac_link) 2>&5
9059  ac_status=$?
9060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9061  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9062  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9063  (eval $ac_try) 2>&5
9064  ac_status=$?
9065  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066  (exit $ac_status); }; }; then
9067  ac_cv_func_mmap_fixed_mapped=yes
9068else
9069  echo "$as_me: program exited with status $ac_status" >&5
9070echo "$as_me: failed program was:" >&5
9071sed 's/^/| /' conftest.$ac_ext >&5
9072
9073( exit $ac_status )
9074ac_cv_func_mmap_fixed_mapped=no
9075fi
9076rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9077fi
9078fi
9079echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
9080echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
9081if test $ac_cv_func_mmap_fixed_mapped = yes; then
9082
9083cat >>confdefs.h <<\_ACEOF
9084#define HAVE_MMAP 1
9085_ACEOF
9086
9087fi
9088rm -f conftest.mmap
9089
9090
9091    echo "$as_me:$LINENO: checking whether we are using the GNU C Library 2.1 or newer" >&5
9092echo $ECHO_N "checking whether we are using the GNU C Library 2.1 or newer... $ECHO_C" >&6
9093if test "${ac_cv_gnu_library_2_1+set}" = set; then
9094  echo $ECHO_N "(cached) $ECHO_C" >&6
9095else
9096  cat >conftest.$ac_ext <<_ACEOF
9097/* confdefs.h.  */
9098_ACEOF
9099cat confdefs.h >>conftest.$ac_ext
9100cat >>conftest.$ac_ext <<_ACEOF
9101/* end confdefs.h.  */
9102
9103#include <features.h>
9104#ifdef __GNU_LIBRARY__
9105 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
9106  Lucky GNU user
9107 #endif
9108#endif
9109
9110_ACEOF
9111if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9112  $EGREP "Lucky GNU user" >/dev/null 2>&1; then
9113  ac_cv_gnu_library_2_1=yes
9114else
9115  ac_cv_gnu_library_2_1=no
9116fi
9117rm -f conftest*
9118
9119
9120
9121fi
9122echo "$as_me:$LINENO: result: $ac_cv_gnu_library_2_1" >&5
9123echo "${ECHO_T}$ac_cv_gnu_library_2_1" >&6
9124
9125    GLIBC21="$ac_cv_gnu_library_2_1"
9126
9127
9128
9129
9130  echo "$as_me:$LINENO: checking whether integer division by zero raises SIGFPE" >&5
9131echo $ECHO_N "checking whether integer division by zero raises SIGFPE... $ECHO_C" >&6
9132if test "${gt_cv_int_divbyzero_sigfpe+set}" = set; then
9133  echo $ECHO_N "(cached) $ECHO_C" >&6
9134else
9135
9136      if test "$cross_compiling" = yes; then
9137
9138          # Guess based on the CPU.
9139          case "$host_cpu" in
9140            alpha* | i3456786 | m68k | s390*)
9141              gt_cv_int_divbyzero_sigfpe="guessing yes";;
9142            *)
9143              gt_cv_int_divbyzero_sigfpe="guessing no";;
9144          esac
9145
9146else
9147  cat >conftest.$ac_ext <<_ACEOF
9148/* confdefs.h.  */
9149_ACEOF
9150cat confdefs.h >>conftest.$ac_ext
9151cat >>conftest.$ac_ext <<_ACEOF
9152/* end confdefs.h.  */
9153
9154#include <stdlib.h>
9155#include <signal.h>
9156
9157static void
9158#ifdef __cplusplus
9159sigfpe_handler (int sig)
9160#else
9161sigfpe_handler (sig) int sig;
9162#endif
9163{
9164  /* Exit with code 0 if SIGFPE, with code 1 if any other signal.  */
9165  exit (sig != SIGFPE);
9166}
9167
9168int x = 1;
9169int y = 0;
9170int z;
9171int nan;
9172
9173int main ()
9174{
9175  signal (SIGFPE, sigfpe_handler);
9176/* IRIX and AIX (when "xlc -qcheck" is used) yield signal SIGTRAP.  */
9177#if (defined (__sgi) || defined (_AIX)) && defined (SIGTRAP)
9178  signal (SIGTRAP, sigfpe_handler);
9179#endif
9180/* Linux/SPARC yields signal SIGILL.  */
9181#if defined (__sparc__) && defined (__linux__)
9182  signal (SIGILL, sigfpe_handler);
9183#endif
9184
9185  z = x / y;
9186  nan = y / y;
9187  exit (1);
9188}
9189
9190_ACEOF
9191rm -f conftest$ac_exeext
9192if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9193  (eval $ac_link) 2>&5
9194  ac_status=$?
9195  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9196  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9197  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9198  (eval $ac_try) 2>&5
9199  ac_status=$?
9200  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9201  (exit $ac_status); }; }; then
9202  gt_cv_int_divbyzero_sigfpe=yes
9203else
9204  echo "$as_me: program exited with status $ac_status" >&5
9205echo "$as_me: failed program was:" >&5
9206sed 's/^/| /' conftest.$ac_ext >&5
9207
9208( exit $ac_status )
9209gt_cv_int_divbyzero_sigfpe=no
9210fi
9211rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9212fi
9213
9214fi
9215echo "$as_me:$LINENO: result: $gt_cv_int_divbyzero_sigfpe" >&5
9216echo "${ECHO_T}$gt_cv_int_divbyzero_sigfpe" >&6
9217  case "$gt_cv_int_divbyzero_sigfpe" in
9218    *yes) value=1;;
9219    *) value=0;;
9220  esac
9221
9222cat >>confdefs.h <<_ACEOF
9223#define INTDIV0_RAISES_SIGFPE $value
9224_ACEOF
9225
9226
9227
9228  echo "$as_me:$LINENO: checking for inttypes.h" >&5
9229echo $ECHO_N "checking for inttypes.h... $ECHO_C" >&6
9230if test "${gt_cv_header_inttypes_h+set}" = set; then
9231  echo $ECHO_N "(cached) $ECHO_C" >&6
9232else
9233
9234    cat >conftest.$ac_ext <<_ACEOF
9235/* confdefs.h.  */
9236_ACEOF
9237cat confdefs.h >>conftest.$ac_ext
9238cat >>conftest.$ac_ext <<_ACEOF
9239/* end confdefs.h.  */
9240#include <sys/types.h>
9241#include <inttypes.h>
9242int
9243main ()
9244{
9245
9246  ;
9247  return 0;
9248}
9249_ACEOF
9250rm -f conftest.$ac_objext
9251if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9252  (eval $ac_compile) 2>conftest.er1
9253  ac_status=$?
9254  grep -v '^ *+' conftest.er1 >conftest.err
9255  rm -f conftest.er1
9256  cat conftest.err >&5
9257  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9258  (exit $ac_status); } &&
9259	 { ac_try='test -z "$ac_c_werror_flag"
9260			 || test ! -s conftest.err'
9261  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9262  (eval $ac_try) 2>&5
9263  ac_status=$?
9264  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9265  (exit $ac_status); }; } &&
9266	 { ac_try='test -s conftest.$ac_objext'
9267  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9268  (eval $ac_try) 2>&5
9269  ac_status=$?
9270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9271  (exit $ac_status); }; }; then
9272  gt_cv_header_inttypes_h=yes
9273else
9274  echo "$as_me: failed program was:" >&5
9275sed 's/^/| /' conftest.$ac_ext >&5
9276
9277gt_cv_header_inttypes_h=no
9278fi
9279rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9280
9281fi
9282echo "$as_me:$LINENO: result: $gt_cv_header_inttypes_h" >&5
9283echo "${ECHO_T}$gt_cv_header_inttypes_h" >&6
9284  if test $gt_cv_header_inttypes_h = yes; then
9285
9286cat >>confdefs.h <<_ACEOF
9287#define HAVE_INTTYPES_H 1
9288_ACEOF
9289
9290  fi
9291
9292
9293
9294  if test $gt_cv_header_inttypes_h = yes; then
9295    echo "$as_me:$LINENO: checking whether the inttypes.h PRIxNN macros are broken" >&5
9296echo $ECHO_N "checking whether the inttypes.h PRIxNN macros are broken... $ECHO_C" >&6
9297if test "${gt_cv_inttypes_pri_broken+set}" = set; then
9298  echo $ECHO_N "(cached) $ECHO_C" >&6
9299else
9300
9301        cat >conftest.$ac_ext <<_ACEOF
9302/* confdefs.h.  */
9303_ACEOF
9304cat confdefs.h >>conftest.$ac_ext
9305cat >>conftest.$ac_ext <<_ACEOF
9306/* end confdefs.h.  */
9307#include <inttypes.h>
9308#ifdef PRId32
9309char *p = PRId32;
9310#endif
9311
9312int
9313main ()
9314{
9315
9316  ;
9317  return 0;
9318}
9319_ACEOF
9320rm -f conftest.$ac_objext
9321if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9322  (eval $ac_compile) 2>conftest.er1
9323  ac_status=$?
9324  grep -v '^ *+' conftest.er1 >conftest.err
9325  rm -f conftest.er1
9326  cat conftest.err >&5
9327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9328  (exit $ac_status); } &&
9329	 { ac_try='test -z "$ac_c_werror_flag"
9330			 || test ! -s conftest.err'
9331  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9332  (eval $ac_try) 2>&5
9333  ac_status=$?
9334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9335  (exit $ac_status); }; } &&
9336	 { ac_try='test -s conftest.$ac_objext'
9337  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9338  (eval $ac_try) 2>&5
9339  ac_status=$?
9340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341  (exit $ac_status); }; }; then
9342  gt_cv_inttypes_pri_broken=no
9343else
9344  echo "$as_me: failed program was:" >&5
9345sed 's/^/| /' conftest.$ac_ext >&5
9346
9347gt_cv_inttypes_pri_broken=yes
9348fi
9349rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9350
9351fi
9352echo "$as_me:$LINENO: result: $gt_cv_inttypes_pri_broken" >&5
9353echo "${ECHO_T}$gt_cv_inttypes_pri_broken" >&6
9354  fi
9355  if test "$gt_cv_inttypes_pri_broken" = yes; then
9356
9357cat >>confdefs.h <<_ACEOF
9358#define PRI_MACROS_BROKEN 1
9359_ACEOF
9360
9361  fi
9362
9363
9364
9365for ac_header in stdint.h
9366do
9367as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9368if eval "test \"\${$as_ac_Header+set}\" = set"; then
9369  echo "$as_me:$LINENO: checking for $ac_header" >&5
9370echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9371if eval "test \"\${$as_ac_Header+set}\" = set"; then
9372  echo $ECHO_N "(cached) $ECHO_C" >&6
9373fi
9374echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9375echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9376else
9377  # Is the header compilable?
9378echo "$as_me:$LINENO: checking $ac_header usability" >&5
9379echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9380cat >conftest.$ac_ext <<_ACEOF
9381/* confdefs.h.  */
9382_ACEOF
9383cat confdefs.h >>conftest.$ac_ext
9384cat >>conftest.$ac_ext <<_ACEOF
9385/* end confdefs.h.  */
9386$ac_includes_default
9387#include <$ac_header>
9388_ACEOF
9389rm -f conftest.$ac_objext
9390if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9391  (eval $ac_compile) 2>conftest.er1
9392  ac_status=$?
9393  grep -v '^ *+' conftest.er1 >conftest.err
9394  rm -f conftest.er1
9395  cat conftest.err >&5
9396  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397  (exit $ac_status); } &&
9398	 { ac_try='test -z "$ac_c_werror_flag"
9399			 || test ! -s conftest.err'
9400  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9401  (eval $ac_try) 2>&5
9402  ac_status=$?
9403  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9404  (exit $ac_status); }; } &&
9405	 { ac_try='test -s conftest.$ac_objext'
9406  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9407  (eval $ac_try) 2>&5
9408  ac_status=$?
9409  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410  (exit $ac_status); }; }; then
9411  ac_header_compiler=yes
9412else
9413  echo "$as_me: failed program was:" >&5
9414sed 's/^/| /' conftest.$ac_ext >&5
9415
9416ac_header_compiler=no
9417fi
9418rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9419echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9420echo "${ECHO_T}$ac_header_compiler" >&6
9421
9422# Is the header present?
9423echo "$as_me:$LINENO: checking $ac_header presence" >&5
9424echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9425cat >conftest.$ac_ext <<_ACEOF
9426/* confdefs.h.  */
9427_ACEOF
9428cat confdefs.h >>conftest.$ac_ext
9429cat >>conftest.$ac_ext <<_ACEOF
9430/* end confdefs.h.  */
9431#include <$ac_header>
9432_ACEOF
9433if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9434  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9435  ac_status=$?
9436  grep -v '^ *+' conftest.er1 >conftest.err
9437  rm -f conftest.er1
9438  cat conftest.err >&5
9439  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9440  (exit $ac_status); } >/dev/null; then
9441  if test -s conftest.err; then
9442    ac_cpp_err=$ac_c_preproc_warn_flag
9443    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9444  else
9445    ac_cpp_err=
9446  fi
9447else
9448  ac_cpp_err=yes
9449fi
9450if test -z "$ac_cpp_err"; then
9451  ac_header_preproc=yes
9452else
9453  echo "$as_me: failed program was:" >&5
9454sed 's/^/| /' conftest.$ac_ext >&5
9455
9456  ac_header_preproc=no
9457fi
9458rm -f conftest.err conftest.$ac_ext
9459echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9460echo "${ECHO_T}$ac_header_preproc" >&6
9461
9462# So?  What about this header?
9463case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9464  yes:no: )
9465    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9466echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9467    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9468echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9469    ac_header_preproc=yes
9470    ;;
9471  no:yes:* )
9472    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9473echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9474    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
9475echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
9476    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9477echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9478    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
9479echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
9480    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9481echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9482    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9483echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9484    (
9485      cat <<\_ASBOX
9486## -------------------------------------- ##
9487## Report this to the GNU Texinfo lists.  ##
9488## -------------------------------------- ##
9489_ASBOX
9490    ) |
9491      sed "s/^/$as_me: WARNING:     /" >&2
9492    ;;
9493esac
9494echo "$as_me:$LINENO: checking for $ac_header" >&5
9495echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9496if eval "test \"\${$as_ac_Header+set}\" = set"; then
9497  echo $ECHO_N "(cached) $ECHO_C" >&6
9498else
9499  eval "$as_ac_Header=\$ac_header_preproc"
9500fi
9501echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9502echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9503
9504fi
9505if test `eval echo '${'$as_ac_Header'}'` = yes; then
9506  cat >>confdefs.h <<_ACEOF
9507#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9508_ACEOF
9509
9510fi
9511
9512done
9513
9514    echo "$as_me:$LINENO: checking for SIZE_MAX" >&5
9515echo $ECHO_N "checking for SIZE_MAX... $ECHO_C" >&6
9516  result=
9517  cat >conftest.$ac_ext <<_ACEOF
9518/* confdefs.h.  */
9519_ACEOF
9520cat confdefs.h >>conftest.$ac_ext
9521cat >>conftest.$ac_ext <<_ACEOF
9522/* end confdefs.h.  */
9523
9524#include <limits.h>
9525#if HAVE_STDINT_H
9526#include <stdint.h>
9527#endif
9528#ifdef SIZE_MAX
9529Found it
9530#endif
9531
9532_ACEOF
9533if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9534  $EGREP "Found it" >/dev/null 2>&1; then
9535  result=yes
9536fi
9537rm -f conftest*
9538
9539  if test -z "$result"; then
9540                    if test "$cross_compiling" = yes; then
9541  # Depending upon the size, compute the lo and hi bounds.
9542cat >conftest.$ac_ext <<_ACEOF
9543/* confdefs.h.  */
9544_ACEOF
9545cat confdefs.h >>conftest.$ac_ext
9546cat >>conftest.$ac_ext <<_ACEOF
9547/* end confdefs.h.  */
9548#include <stddef.h>
9549int
9550main ()
9551{
9552static int test_array [1 - 2 * !((~(size_t)0 / 10) >= 0)];
9553test_array [0] = 0
9554
9555  ;
9556  return 0;
9557}
9558_ACEOF
9559rm -f conftest.$ac_objext
9560if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9561  (eval $ac_compile) 2>conftest.er1
9562  ac_status=$?
9563  grep -v '^ *+' conftest.er1 >conftest.err
9564  rm -f conftest.er1
9565  cat conftest.err >&5
9566  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9567  (exit $ac_status); } &&
9568	 { ac_try='test -z "$ac_c_werror_flag"
9569			 || test ! -s conftest.err'
9570  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9571  (eval $ac_try) 2>&5
9572  ac_status=$?
9573  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574  (exit $ac_status); }; } &&
9575	 { ac_try='test -s conftest.$ac_objext'
9576  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9577  (eval $ac_try) 2>&5
9578  ac_status=$?
9579  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580  (exit $ac_status); }; }; then
9581  ac_lo=0 ac_mid=0
9582  while :; do
9583    cat >conftest.$ac_ext <<_ACEOF
9584/* confdefs.h.  */
9585_ACEOF
9586cat confdefs.h >>conftest.$ac_ext
9587cat >>conftest.$ac_ext <<_ACEOF
9588/* end confdefs.h.  */
9589#include <stddef.h>
9590int
9591main ()
9592{
9593static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
9594test_array [0] = 0
9595
9596  ;
9597  return 0;
9598}
9599_ACEOF
9600rm -f conftest.$ac_objext
9601if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9602  (eval $ac_compile) 2>conftest.er1
9603  ac_status=$?
9604  grep -v '^ *+' conftest.er1 >conftest.err
9605  rm -f conftest.er1
9606  cat conftest.err >&5
9607  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608  (exit $ac_status); } &&
9609	 { ac_try='test -z "$ac_c_werror_flag"
9610			 || test ! -s conftest.err'
9611  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9612  (eval $ac_try) 2>&5
9613  ac_status=$?
9614  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9615  (exit $ac_status); }; } &&
9616	 { ac_try='test -s conftest.$ac_objext'
9617  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9618  (eval $ac_try) 2>&5
9619  ac_status=$?
9620  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9621  (exit $ac_status); }; }; then
9622  ac_hi=$ac_mid; break
9623else
9624  echo "$as_me: failed program was:" >&5
9625sed 's/^/| /' conftest.$ac_ext >&5
9626
9627ac_lo=`expr $ac_mid + 1`
9628		    if test $ac_lo -le $ac_mid; then
9629		      ac_lo= ac_hi=
9630		      break
9631		    fi
9632		    ac_mid=`expr 2 '*' $ac_mid + 1`
9633fi
9634rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9635  done
9636else
9637  echo "$as_me: failed program was:" >&5
9638sed 's/^/| /' conftest.$ac_ext >&5
9639
9640cat >conftest.$ac_ext <<_ACEOF
9641/* confdefs.h.  */
9642_ACEOF
9643cat confdefs.h >>conftest.$ac_ext
9644cat >>conftest.$ac_ext <<_ACEOF
9645/* end confdefs.h.  */
9646#include <stddef.h>
9647int
9648main ()
9649{
9650static int test_array [1 - 2 * !((~(size_t)0 / 10) < 0)];
9651test_array [0] = 0
9652
9653  ;
9654  return 0;
9655}
9656_ACEOF
9657rm -f conftest.$ac_objext
9658if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9659  (eval $ac_compile) 2>conftest.er1
9660  ac_status=$?
9661  grep -v '^ *+' conftest.er1 >conftest.err
9662  rm -f conftest.er1
9663  cat conftest.err >&5
9664  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9665  (exit $ac_status); } &&
9666	 { ac_try='test -z "$ac_c_werror_flag"
9667			 || test ! -s conftest.err'
9668  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9669  (eval $ac_try) 2>&5
9670  ac_status=$?
9671  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9672  (exit $ac_status); }; } &&
9673	 { ac_try='test -s conftest.$ac_objext'
9674  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9675  (eval $ac_try) 2>&5
9676  ac_status=$?
9677  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9678  (exit $ac_status); }; }; then
9679  ac_hi=-1 ac_mid=-1
9680  while :; do
9681    cat >conftest.$ac_ext <<_ACEOF
9682/* confdefs.h.  */
9683_ACEOF
9684cat confdefs.h >>conftest.$ac_ext
9685cat >>conftest.$ac_ext <<_ACEOF
9686/* end confdefs.h.  */
9687#include <stddef.h>
9688int
9689main ()
9690{
9691static int test_array [1 - 2 * !((~(size_t)0 / 10) >= $ac_mid)];
9692test_array [0] = 0
9693
9694  ;
9695  return 0;
9696}
9697_ACEOF
9698rm -f conftest.$ac_objext
9699if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9700  (eval $ac_compile) 2>conftest.er1
9701  ac_status=$?
9702  grep -v '^ *+' conftest.er1 >conftest.err
9703  rm -f conftest.er1
9704  cat conftest.err >&5
9705  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9706  (exit $ac_status); } &&
9707	 { ac_try='test -z "$ac_c_werror_flag"
9708			 || test ! -s conftest.err'
9709  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9710  (eval $ac_try) 2>&5
9711  ac_status=$?
9712  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9713  (exit $ac_status); }; } &&
9714	 { ac_try='test -s conftest.$ac_objext'
9715  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9716  (eval $ac_try) 2>&5
9717  ac_status=$?
9718  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9719  (exit $ac_status); }; }; then
9720  ac_lo=$ac_mid; break
9721else
9722  echo "$as_me: failed program was:" >&5
9723sed 's/^/| /' conftest.$ac_ext >&5
9724
9725ac_hi=`expr '(' $ac_mid ')' - 1`
9726		       if test $ac_mid -le $ac_hi; then
9727			 ac_lo= ac_hi=
9728			 break
9729		       fi
9730		       ac_mid=`expr 2 '*' $ac_mid`
9731fi
9732rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9733  done
9734else
9735  echo "$as_me: failed program was:" >&5
9736sed 's/^/| /' conftest.$ac_ext >&5
9737
9738ac_lo= ac_hi=
9739fi
9740rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9741fi
9742rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9743# Binary search between lo and hi bounds.
9744while test "x$ac_lo" != "x$ac_hi"; do
9745  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
9746  cat >conftest.$ac_ext <<_ACEOF
9747/* confdefs.h.  */
9748_ACEOF
9749cat confdefs.h >>conftest.$ac_ext
9750cat >>conftest.$ac_ext <<_ACEOF
9751/* end confdefs.h.  */
9752#include <stddef.h>
9753int
9754main ()
9755{
9756static int test_array [1 - 2 * !((~(size_t)0 / 10) <= $ac_mid)];
9757test_array [0] = 0
9758
9759  ;
9760  return 0;
9761}
9762_ACEOF
9763rm -f conftest.$ac_objext
9764if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9765  (eval $ac_compile) 2>conftest.er1
9766  ac_status=$?
9767  grep -v '^ *+' conftest.er1 >conftest.err
9768  rm -f conftest.er1
9769  cat conftest.err >&5
9770  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771  (exit $ac_status); } &&
9772	 { ac_try='test -z "$ac_c_werror_flag"
9773			 || test ! -s conftest.err'
9774  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9775  (eval $ac_try) 2>&5
9776  ac_status=$?
9777  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9778  (exit $ac_status); }; } &&
9779	 { ac_try='test -s conftest.$ac_objext'
9780  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9781  (eval $ac_try) 2>&5
9782  ac_status=$?
9783  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9784  (exit $ac_status); }; }; then
9785  ac_hi=$ac_mid
9786else
9787  echo "$as_me: failed program was:" >&5
9788sed 's/^/| /' conftest.$ac_ext >&5
9789
9790ac_lo=`expr '(' $ac_mid ')' + 1`
9791fi
9792rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9793done
9794case $ac_lo in
9795?*) res_hi=$ac_lo;;
9796'') result=? ;;
9797esac
9798else
9799  if test "$cross_compiling" = yes; then
9800  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
9801See \`config.log' for more details." >&5
9802echo "$as_me: error: cannot run test program while cross compiling
9803See \`config.log' for more details." >&2;}
9804   { (exit 1); exit 1; }; }
9805else
9806  cat >conftest.$ac_ext <<_ACEOF
9807/* confdefs.h.  */
9808_ACEOF
9809cat confdefs.h >>conftest.$ac_ext
9810cat >>conftest.$ac_ext <<_ACEOF
9811/* end confdefs.h.  */
9812#include <stddef.h>
9813long longval () { return ~(size_t)0 / 10; }
9814unsigned long ulongval () { return ~(size_t)0 / 10; }
9815#include <stdio.h>
9816#include <stdlib.h>
9817int
9818main ()
9819{
9820
9821  FILE *f = fopen ("conftest.val", "w");
9822  if (! f)
9823    exit (1);
9824  if ((~(size_t)0 / 10) < 0)
9825    {
9826      long i = longval ();
9827      if (i != (~(size_t)0 / 10))
9828	exit (1);
9829      fprintf (f, "%ld\n", i);
9830    }
9831  else
9832    {
9833      unsigned long i = ulongval ();
9834      if (i != (~(size_t)0 / 10))
9835	exit (1);
9836      fprintf (f, "%lu\n", i);
9837    }
9838  exit (ferror (f) || fclose (f) != 0);
9839
9840  ;
9841  return 0;
9842}
9843_ACEOF
9844rm -f conftest$ac_exeext
9845if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9846  (eval $ac_link) 2>&5
9847  ac_status=$?
9848  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
9850  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851  (eval $ac_try) 2>&5
9852  ac_status=$?
9853  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854  (exit $ac_status); }; }; then
9855  res_hi=`cat conftest.val`
9856else
9857  echo "$as_me: program exited with status $ac_status" >&5
9858echo "$as_me: failed program was:" >&5
9859sed 's/^/| /' conftest.$ac_ext >&5
9860
9861( exit $ac_status )
9862result=?
9863fi
9864rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9865fi
9866fi
9867rm -f conftest.val
9868    if test "$cross_compiling" = yes; then
9869  # Depending upon the size, compute the lo and hi bounds.
9870cat >conftest.$ac_ext <<_ACEOF
9871/* confdefs.h.  */
9872_ACEOF
9873cat confdefs.h >>conftest.$ac_ext
9874cat >>conftest.$ac_ext <<_ACEOF
9875/* end confdefs.h.  */
9876#include <stddef.h>
9877int
9878main ()
9879{
9880static int test_array [1 - 2 * !((~(size_t)0 % 10) >= 0)];
9881test_array [0] = 0
9882
9883  ;
9884  return 0;
9885}
9886_ACEOF
9887rm -f conftest.$ac_objext
9888if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9889  (eval $ac_compile) 2>conftest.er1
9890  ac_status=$?
9891  grep -v '^ *+' conftest.er1 >conftest.err
9892  rm -f conftest.er1
9893  cat conftest.err >&5
9894  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9895  (exit $ac_status); } &&
9896	 { ac_try='test -z "$ac_c_werror_flag"
9897			 || test ! -s conftest.err'
9898  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9899  (eval $ac_try) 2>&5
9900  ac_status=$?
9901  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9902  (exit $ac_status); }; } &&
9903	 { ac_try='test -s conftest.$ac_objext'
9904  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9905  (eval $ac_try) 2>&5
9906  ac_status=$?
9907  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9908  (exit $ac_status); }; }; then
9909  ac_lo=0 ac_mid=0
9910  while :; do
9911    cat >conftest.$ac_ext <<_ACEOF
9912/* confdefs.h.  */
9913_ACEOF
9914cat confdefs.h >>conftest.$ac_ext
9915cat >>conftest.$ac_ext <<_ACEOF
9916/* end confdefs.h.  */
9917#include <stddef.h>
9918int
9919main ()
9920{
9921static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
9922test_array [0] = 0
9923
9924  ;
9925  return 0;
9926}
9927_ACEOF
9928rm -f conftest.$ac_objext
9929if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9930  (eval $ac_compile) 2>conftest.er1
9931  ac_status=$?
9932  grep -v '^ *+' conftest.er1 >conftest.err
9933  rm -f conftest.er1
9934  cat conftest.err >&5
9935  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9936  (exit $ac_status); } &&
9937	 { ac_try='test -z "$ac_c_werror_flag"
9938			 || test ! -s conftest.err'
9939  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9940  (eval $ac_try) 2>&5
9941  ac_status=$?
9942  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9943  (exit $ac_status); }; } &&
9944	 { ac_try='test -s conftest.$ac_objext'
9945  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9946  (eval $ac_try) 2>&5
9947  ac_status=$?
9948  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9949  (exit $ac_status); }; }; then
9950  ac_hi=$ac_mid; break
9951else
9952  echo "$as_me: failed program was:" >&5
9953sed 's/^/| /' conftest.$ac_ext >&5
9954
9955ac_lo=`expr $ac_mid + 1`
9956		    if test $ac_lo -le $ac_mid; then
9957		      ac_lo= ac_hi=
9958		      break
9959		    fi
9960		    ac_mid=`expr 2 '*' $ac_mid + 1`
9961fi
9962rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9963  done
9964else
9965  echo "$as_me: failed program was:" >&5
9966sed 's/^/| /' conftest.$ac_ext >&5
9967
9968cat >conftest.$ac_ext <<_ACEOF
9969/* confdefs.h.  */
9970_ACEOF
9971cat confdefs.h >>conftest.$ac_ext
9972cat >>conftest.$ac_ext <<_ACEOF
9973/* end confdefs.h.  */
9974#include <stddef.h>
9975int
9976main ()
9977{
9978static int test_array [1 - 2 * !((~(size_t)0 % 10) < 0)];
9979test_array [0] = 0
9980
9981  ;
9982  return 0;
9983}
9984_ACEOF
9985rm -f conftest.$ac_objext
9986if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9987  (eval $ac_compile) 2>conftest.er1
9988  ac_status=$?
9989  grep -v '^ *+' conftest.er1 >conftest.err
9990  rm -f conftest.er1
9991  cat conftest.err >&5
9992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9993  (exit $ac_status); } &&
9994	 { ac_try='test -z "$ac_c_werror_flag"
9995			 || test ! -s conftest.err'
9996  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9997  (eval $ac_try) 2>&5
9998  ac_status=$?
9999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000  (exit $ac_status); }; } &&
10001	 { ac_try='test -s conftest.$ac_objext'
10002  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10003  (eval $ac_try) 2>&5
10004  ac_status=$?
10005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10006  (exit $ac_status); }; }; then
10007  ac_hi=-1 ac_mid=-1
10008  while :; do
10009    cat >conftest.$ac_ext <<_ACEOF
10010/* confdefs.h.  */
10011_ACEOF
10012cat confdefs.h >>conftest.$ac_ext
10013cat >>conftest.$ac_ext <<_ACEOF
10014/* end confdefs.h.  */
10015#include <stddef.h>
10016int
10017main ()
10018{
10019static int test_array [1 - 2 * !((~(size_t)0 % 10) >= $ac_mid)];
10020test_array [0] = 0
10021
10022  ;
10023  return 0;
10024}
10025_ACEOF
10026rm -f conftest.$ac_objext
10027if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10028  (eval $ac_compile) 2>conftest.er1
10029  ac_status=$?
10030  grep -v '^ *+' conftest.er1 >conftest.err
10031  rm -f conftest.er1
10032  cat conftest.err >&5
10033  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034  (exit $ac_status); } &&
10035	 { ac_try='test -z "$ac_c_werror_flag"
10036			 || test ! -s conftest.err'
10037  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10038  (eval $ac_try) 2>&5
10039  ac_status=$?
10040  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10041  (exit $ac_status); }; } &&
10042	 { ac_try='test -s conftest.$ac_objext'
10043  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10044  (eval $ac_try) 2>&5
10045  ac_status=$?
10046  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047  (exit $ac_status); }; }; then
10048  ac_lo=$ac_mid; break
10049else
10050  echo "$as_me: failed program was:" >&5
10051sed 's/^/| /' conftest.$ac_ext >&5
10052
10053ac_hi=`expr '(' $ac_mid ')' - 1`
10054		       if test $ac_mid -le $ac_hi; then
10055			 ac_lo= ac_hi=
10056			 break
10057		       fi
10058		       ac_mid=`expr 2 '*' $ac_mid`
10059fi
10060rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10061  done
10062else
10063  echo "$as_me: failed program was:" >&5
10064sed 's/^/| /' conftest.$ac_ext >&5
10065
10066ac_lo= ac_hi=
10067fi
10068rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10069fi
10070rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10071# Binary search between lo and hi bounds.
10072while test "x$ac_lo" != "x$ac_hi"; do
10073  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10074  cat >conftest.$ac_ext <<_ACEOF
10075/* confdefs.h.  */
10076_ACEOF
10077cat confdefs.h >>conftest.$ac_ext
10078cat >>conftest.$ac_ext <<_ACEOF
10079/* end confdefs.h.  */
10080#include <stddef.h>
10081int
10082main ()
10083{
10084static int test_array [1 - 2 * !((~(size_t)0 % 10) <= $ac_mid)];
10085test_array [0] = 0
10086
10087  ;
10088  return 0;
10089}
10090_ACEOF
10091rm -f conftest.$ac_objext
10092if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10093  (eval $ac_compile) 2>conftest.er1
10094  ac_status=$?
10095  grep -v '^ *+' conftest.er1 >conftest.err
10096  rm -f conftest.er1
10097  cat conftest.err >&5
10098  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10099  (exit $ac_status); } &&
10100	 { ac_try='test -z "$ac_c_werror_flag"
10101			 || test ! -s conftest.err'
10102  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10103  (eval $ac_try) 2>&5
10104  ac_status=$?
10105  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106  (exit $ac_status); }; } &&
10107	 { ac_try='test -s conftest.$ac_objext'
10108  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109  (eval $ac_try) 2>&5
10110  ac_status=$?
10111  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112  (exit $ac_status); }; }; then
10113  ac_hi=$ac_mid
10114else
10115  echo "$as_me: failed program was:" >&5
10116sed 's/^/| /' conftest.$ac_ext >&5
10117
10118ac_lo=`expr '(' $ac_mid ')' + 1`
10119fi
10120rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10121done
10122case $ac_lo in
10123?*) res_lo=$ac_lo;;
10124'') result=? ;;
10125esac
10126else
10127  if test "$cross_compiling" = yes; then
10128  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10129See \`config.log' for more details." >&5
10130echo "$as_me: error: cannot run test program while cross compiling
10131See \`config.log' for more details." >&2;}
10132   { (exit 1); exit 1; }; }
10133else
10134  cat >conftest.$ac_ext <<_ACEOF
10135/* confdefs.h.  */
10136_ACEOF
10137cat confdefs.h >>conftest.$ac_ext
10138cat >>conftest.$ac_ext <<_ACEOF
10139/* end confdefs.h.  */
10140#include <stddef.h>
10141long longval () { return ~(size_t)0 % 10; }
10142unsigned long ulongval () { return ~(size_t)0 % 10; }
10143#include <stdio.h>
10144#include <stdlib.h>
10145int
10146main ()
10147{
10148
10149  FILE *f = fopen ("conftest.val", "w");
10150  if (! f)
10151    exit (1);
10152  if ((~(size_t)0 % 10) < 0)
10153    {
10154      long i = longval ();
10155      if (i != (~(size_t)0 % 10))
10156	exit (1);
10157      fprintf (f, "%ld\n", i);
10158    }
10159  else
10160    {
10161      unsigned long i = ulongval ();
10162      if (i != (~(size_t)0 % 10))
10163	exit (1);
10164      fprintf (f, "%lu\n", i);
10165    }
10166  exit (ferror (f) || fclose (f) != 0);
10167
10168  ;
10169  return 0;
10170}
10171_ACEOF
10172rm -f conftest$ac_exeext
10173if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10174  (eval $ac_link) 2>&5
10175  ac_status=$?
10176  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10178  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10179  (eval $ac_try) 2>&5
10180  ac_status=$?
10181  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10182  (exit $ac_status); }; }; then
10183  res_lo=`cat conftest.val`
10184else
10185  echo "$as_me: program exited with status $ac_status" >&5
10186echo "$as_me: failed program was:" >&5
10187sed 's/^/| /' conftest.$ac_ext >&5
10188
10189( exit $ac_status )
10190result=?
10191fi
10192rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10193fi
10194fi
10195rm -f conftest.val
10196    if test "$cross_compiling" = yes; then
10197  # Depending upon the size, compute the lo and hi bounds.
10198cat >conftest.$ac_ext <<_ACEOF
10199/* confdefs.h.  */
10200_ACEOF
10201cat confdefs.h >>conftest.$ac_ext
10202cat >>conftest.$ac_ext <<_ACEOF
10203/* end confdefs.h.  */
10204#include <stddef.h>
10205int
10206main ()
10207{
10208static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= 0)];
10209test_array [0] = 0
10210
10211  ;
10212  return 0;
10213}
10214_ACEOF
10215rm -f conftest.$ac_objext
10216if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10217  (eval $ac_compile) 2>conftest.er1
10218  ac_status=$?
10219  grep -v '^ *+' conftest.er1 >conftest.err
10220  rm -f conftest.er1
10221  cat conftest.err >&5
10222  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10223  (exit $ac_status); } &&
10224	 { ac_try='test -z "$ac_c_werror_flag"
10225			 || test ! -s conftest.err'
10226  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10227  (eval $ac_try) 2>&5
10228  ac_status=$?
10229  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10230  (exit $ac_status); }; } &&
10231	 { ac_try='test -s conftest.$ac_objext'
10232  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10233  (eval $ac_try) 2>&5
10234  ac_status=$?
10235  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10236  (exit $ac_status); }; }; then
10237  ac_lo=0 ac_mid=0
10238  while :; do
10239    cat >conftest.$ac_ext <<_ACEOF
10240/* confdefs.h.  */
10241_ACEOF
10242cat confdefs.h >>conftest.$ac_ext
10243cat >>conftest.$ac_ext <<_ACEOF
10244/* end confdefs.h.  */
10245#include <stddef.h>
10246int
10247main ()
10248{
10249static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
10250test_array [0] = 0
10251
10252  ;
10253  return 0;
10254}
10255_ACEOF
10256rm -f conftest.$ac_objext
10257if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10258  (eval $ac_compile) 2>conftest.er1
10259  ac_status=$?
10260  grep -v '^ *+' conftest.er1 >conftest.err
10261  rm -f conftest.er1
10262  cat conftest.err >&5
10263  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264  (exit $ac_status); } &&
10265	 { ac_try='test -z "$ac_c_werror_flag"
10266			 || test ! -s conftest.err'
10267  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268  (eval $ac_try) 2>&5
10269  ac_status=$?
10270  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271  (exit $ac_status); }; } &&
10272	 { ac_try='test -s conftest.$ac_objext'
10273  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274  (eval $ac_try) 2>&5
10275  ac_status=$?
10276  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277  (exit $ac_status); }; }; then
10278  ac_hi=$ac_mid; break
10279else
10280  echo "$as_me: failed program was:" >&5
10281sed 's/^/| /' conftest.$ac_ext >&5
10282
10283ac_lo=`expr $ac_mid + 1`
10284		    if test $ac_lo -le $ac_mid; then
10285		      ac_lo= ac_hi=
10286		      break
10287		    fi
10288		    ac_mid=`expr 2 '*' $ac_mid + 1`
10289fi
10290rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10291  done
10292else
10293  echo "$as_me: failed program was:" >&5
10294sed 's/^/| /' conftest.$ac_ext >&5
10295
10296cat >conftest.$ac_ext <<_ACEOF
10297/* confdefs.h.  */
10298_ACEOF
10299cat confdefs.h >>conftest.$ac_ext
10300cat >>conftest.$ac_ext <<_ACEOF
10301/* end confdefs.h.  */
10302#include <stddef.h>
10303int
10304main ()
10305{
10306static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) < 0)];
10307test_array [0] = 0
10308
10309  ;
10310  return 0;
10311}
10312_ACEOF
10313rm -f conftest.$ac_objext
10314if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10315  (eval $ac_compile) 2>conftest.er1
10316  ac_status=$?
10317  grep -v '^ *+' conftest.er1 >conftest.err
10318  rm -f conftest.er1
10319  cat conftest.err >&5
10320  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321  (exit $ac_status); } &&
10322	 { ac_try='test -z "$ac_c_werror_flag"
10323			 || test ! -s conftest.err'
10324  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10325  (eval $ac_try) 2>&5
10326  ac_status=$?
10327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10328  (exit $ac_status); }; } &&
10329	 { ac_try='test -s conftest.$ac_objext'
10330  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10331  (eval $ac_try) 2>&5
10332  ac_status=$?
10333  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10334  (exit $ac_status); }; }; then
10335  ac_hi=-1 ac_mid=-1
10336  while :; do
10337    cat >conftest.$ac_ext <<_ACEOF
10338/* confdefs.h.  */
10339_ACEOF
10340cat confdefs.h >>conftest.$ac_ext
10341cat >>conftest.$ac_ext <<_ACEOF
10342/* end confdefs.h.  */
10343#include <stddef.h>
10344int
10345main ()
10346{
10347static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) >= $ac_mid)];
10348test_array [0] = 0
10349
10350  ;
10351  return 0;
10352}
10353_ACEOF
10354rm -f conftest.$ac_objext
10355if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10356  (eval $ac_compile) 2>conftest.er1
10357  ac_status=$?
10358  grep -v '^ *+' conftest.er1 >conftest.err
10359  rm -f conftest.er1
10360  cat conftest.err >&5
10361  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10362  (exit $ac_status); } &&
10363	 { ac_try='test -z "$ac_c_werror_flag"
10364			 || test ! -s conftest.err'
10365  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10366  (eval $ac_try) 2>&5
10367  ac_status=$?
10368  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10369  (exit $ac_status); }; } &&
10370	 { ac_try='test -s conftest.$ac_objext'
10371  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10372  (eval $ac_try) 2>&5
10373  ac_status=$?
10374  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375  (exit $ac_status); }; }; then
10376  ac_lo=$ac_mid; break
10377else
10378  echo "$as_me: failed program was:" >&5
10379sed 's/^/| /' conftest.$ac_ext >&5
10380
10381ac_hi=`expr '(' $ac_mid ')' - 1`
10382		       if test $ac_mid -le $ac_hi; then
10383			 ac_lo= ac_hi=
10384			 break
10385		       fi
10386		       ac_mid=`expr 2 '*' $ac_mid`
10387fi
10388rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10389  done
10390else
10391  echo "$as_me: failed program was:" >&5
10392sed 's/^/| /' conftest.$ac_ext >&5
10393
10394ac_lo= ac_hi=
10395fi
10396rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10397fi
10398rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10399# Binary search between lo and hi bounds.
10400while test "x$ac_lo" != "x$ac_hi"; do
10401  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
10402  cat >conftest.$ac_ext <<_ACEOF
10403/* confdefs.h.  */
10404_ACEOF
10405cat confdefs.h >>conftest.$ac_ext
10406cat >>conftest.$ac_ext <<_ACEOF
10407/* end confdefs.h.  */
10408#include <stddef.h>
10409int
10410main ()
10411{
10412static int test_array [1 - 2 * !((sizeof (size_t) <= sizeof (unsigned int)) <= $ac_mid)];
10413test_array [0] = 0
10414
10415  ;
10416  return 0;
10417}
10418_ACEOF
10419rm -f conftest.$ac_objext
10420if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10421  (eval $ac_compile) 2>conftest.er1
10422  ac_status=$?
10423  grep -v '^ *+' conftest.er1 >conftest.err
10424  rm -f conftest.er1
10425  cat conftest.err >&5
10426  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10427  (exit $ac_status); } &&
10428	 { ac_try='test -z "$ac_c_werror_flag"
10429			 || test ! -s conftest.err'
10430  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10431  (eval $ac_try) 2>&5
10432  ac_status=$?
10433  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10434  (exit $ac_status); }; } &&
10435	 { ac_try='test -s conftest.$ac_objext'
10436  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10437  (eval $ac_try) 2>&5
10438  ac_status=$?
10439  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440  (exit $ac_status); }; }; then
10441  ac_hi=$ac_mid
10442else
10443  echo "$as_me: failed program was:" >&5
10444sed 's/^/| /' conftest.$ac_ext >&5
10445
10446ac_lo=`expr '(' $ac_mid ')' + 1`
10447fi
10448rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10449done
10450case $ac_lo in
10451?*) fits_in_uint=$ac_lo;;
10452'') result=? ;;
10453esac
10454else
10455  if test "$cross_compiling" = yes; then
10456  { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
10457See \`config.log' for more details." >&5
10458echo "$as_me: error: cannot run test program while cross compiling
10459See \`config.log' for more details." >&2;}
10460   { (exit 1); exit 1; }; }
10461else
10462  cat >conftest.$ac_ext <<_ACEOF
10463/* confdefs.h.  */
10464_ACEOF
10465cat confdefs.h >>conftest.$ac_ext
10466cat >>conftest.$ac_ext <<_ACEOF
10467/* end confdefs.h.  */
10468#include <stddef.h>
10469long longval () { return sizeof (size_t) <= sizeof (unsigned int); }
10470unsigned long ulongval () { return sizeof (size_t) <= sizeof (unsigned int); }
10471#include <stdio.h>
10472#include <stdlib.h>
10473int
10474main ()
10475{
10476
10477  FILE *f = fopen ("conftest.val", "w");
10478  if (! f)
10479    exit (1);
10480  if ((sizeof (size_t) <= sizeof (unsigned int)) < 0)
10481    {
10482      long i = longval ();
10483      if (i != (sizeof (size_t) <= sizeof (unsigned int)))
10484	exit (1);
10485      fprintf (f, "%ld\n", i);
10486    }
10487  else
10488    {
10489      unsigned long i = ulongval ();
10490      if (i != (sizeof (size_t) <= sizeof (unsigned int)))
10491	exit (1);
10492      fprintf (f, "%lu\n", i);
10493    }
10494  exit (ferror (f) || fclose (f) != 0);
10495
10496  ;
10497  return 0;
10498}
10499_ACEOF
10500rm -f conftest$ac_exeext
10501if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10502  (eval $ac_link) 2>&5
10503  ac_status=$?
10504  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10505  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10506  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10507  (eval $ac_try) 2>&5
10508  ac_status=$?
10509  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10510  (exit $ac_status); }; }; then
10511  fits_in_uint=`cat conftest.val`
10512else
10513  echo "$as_me: program exited with status $ac_status" >&5
10514echo "$as_me: failed program was:" >&5
10515sed 's/^/| /' conftest.$ac_ext >&5
10516
10517( exit $ac_status )
10518result=?
10519fi
10520rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10521fi
10522fi
10523rm -f conftest.val
10524    if test "$fits_in_uint" = 1; then
10525                  cat >conftest.$ac_ext <<_ACEOF
10526/* confdefs.h.  */
10527_ACEOF
10528cat confdefs.h >>conftest.$ac_ext
10529cat >>conftest.$ac_ext <<_ACEOF
10530/* end confdefs.h.  */
10531#include <stddef.h>
10532        extern size_t foo;
10533        extern unsigned long foo;
10534
10535int
10536main ()
10537{
10538
10539  ;
10540  return 0;
10541}
10542_ACEOF
10543rm -f conftest.$ac_objext
10544if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10545  (eval $ac_compile) 2>conftest.er1
10546  ac_status=$?
10547  grep -v '^ *+' conftest.er1 >conftest.err
10548  rm -f conftest.er1
10549  cat conftest.err >&5
10550  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10551  (exit $ac_status); } &&
10552	 { ac_try='test -z "$ac_c_werror_flag"
10553			 || test ! -s conftest.err'
10554  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10555  (eval $ac_try) 2>&5
10556  ac_status=$?
10557  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558  (exit $ac_status); }; } &&
10559	 { ac_try='test -s conftest.$ac_objext'
10560  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10561  (eval $ac_try) 2>&5
10562  ac_status=$?
10563  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10564  (exit $ac_status); }; }; then
10565  fits_in_uint=0
10566else
10567  echo "$as_me: failed program was:" >&5
10568sed 's/^/| /' conftest.$ac_ext >&5
10569
10570fi
10571rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10572    fi
10573    if test -z "$result"; then
10574      if test "$fits_in_uint" = 1; then
10575        result="$res_hi$res_lo"U
10576      else
10577        result="$res_hi$res_lo"UL
10578      fi
10579    else
10580            result='~(size_t)0'
10581    fi
10582  fi
10583  echo "$as_me:$LINENO: result: $result" >&5
10584echo "${ECHO_T}$result" >&6
10585  if test "$result" != yes; then
10586
10587cat >>confdefs.h <<_ACEOF
10588#define SIZE_MAX $result
10589_ACEOF
10590
10591  fi
10592
10593
10594
10595
10596for ac_header in stdint.h
10597do
10598as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10599if eval "test \"\${$as_ac_Header+set}\" = set"; then
10600  echo "$as_me:$LINENO: checking for $ac_header" >&5
10601echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10602if eval "test \"\${$as_ac_Header+set}\" = set"; then
10603  echo $ECHO_N "(cached) $ECHO_C" >&6
10604fi
10605echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10606echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10607else
10608  # Is the header compilable?
10609echo "$as_me:$LINENO: checking $ac_header usability" >&5
10610echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10611cat >conftest.$ac_ext <<_ACEOF
10612/* confdefs.h.  */
10613_ACEOF
10614cat confdefs.h >>conftest.$ac_ext
10615cat >>conftest.$ac_ext <<_ACEOF
10616/* end confdefs.h.  */
10617$ac_includes_default
10618#include <$ac_header>
10619_ACEOF
10620rm -f conftest.$ac_objext
10621if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10622  (eval $ac_compile) 2>conftest.er1
10623  ac_status=$?
10624  grep -v '^ *+' conftest.er1 >conftest.err
10625  rm -f conftest.er1
10626  cat conftest.err >&5
10627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10628  (exit $ac_status); } &&
10629	 { ac_try='test -z "$ac_c_werror_flag"
10630			 || test ! -s conftest.err'
10631  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10632  (eval $ac_try) 2>&5
10633  ac_status=$?
10634  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10635  (exit $ac_status); }; } &&
10636	 { ac_try='test -s conftest.$ac_objext'
10637  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10638  (eval $ac_try) 2>&5
10639  ac_status=$?
10640  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641  (exit $ac_status); }; }; then
10642  ac_header_compiler=yes
10643else
10644  echo "$as_me: failed program was:" >&5
10645sed 's/^/| /' conftest.$ac_ext >&5
10646
10647ac_header_compiler=no
10648fi
10649rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10650echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10651echo "${ECHO_T}$ac_header_compiler" >&6
10652
10653# Is the header present?
10654echo "$as_me:$LINENO: checking $ac_header presence" >&5
10655echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10656cat >conftest.$ac_ext <<_ACEOF
10657/* confdefs.h.  */
10658_ACEOF
10659cat confdefs.h >>conftest.$ac_ext
10660cat >>conftest.$ac_ext <<_ACEOF
10661/* end confdefs.h.  */
10662#include <$ac_header>
10663_ACEOF
10664if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10665  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10666  ac_status=$?
10667  grep -v '^ *+' conftest.er1 >conftest.err
10668  rm -f conftest.er1
10669  cat conftest.err >&5
10670  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10671  (exit $ac_status); } >/dev/null; then
10672  if test -s conftest.err; then
10673    ac_cpp_err=$ac_c_preproc_warn_flag
10674    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10675  else
10676    ac_cpp_err=
10677  fi
10678else
10679  ac_cpp_err=yes
10680fi
10681if test -z "$ac_cpp_err"; then
10682  ac_header_preproc=yes
10683else
10684  echo "$as_me: failed program was:" >&5
10685sed 's/^/| /' conftest.$ac_ext >&5
10686
10687  ac_header_preproc=no
10688fi
10689rm -f conftest.err conftest.$ac_ext
10690echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10691echo "${ECHO_T}$ac_header_preproc" >&6
10692
10693# So?  What about this header?
10694case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10695  yes:no: )
10696    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10697echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10698    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10699echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10700    ac_header_preproc=yes
10701    ;;
10702  no:yes:* )
10703    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10704echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10705    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
10706echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
10707    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10708echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10709    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
10710echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
10711    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10712echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10713    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10714echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10715    (
10716      cat <<\_ASBOX
10717## -------------------------------------- ##
10718## Report this to the GNU Texinfo lists.  ##
10719## -------------------------------------- ##
10720_ASBOX
10721    ) |
10722      sed "s/^/$as_me: WARNING:     /" >&2
10723    ;;
10724esac
10725echo "$as_me:$LINENO: checking for $ac_header" >&5
10726echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10727if eval "test \"\${$as_ac_Header+set}\" = set"; then
10728  echo $ECHO_N "(cached) $ECHO_C" >&6
10729else
10730  eval "$as_ac_Header=\$ac_header_preproc"
10731fi
10732echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10733echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10734
10735fi
10736if test `eval echo '${'$as_ac_Header'}'` = yes; then
10737  cat >>confdefs.h <<_ACEOF
10738#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10739_ACEOF
10740
10741fi
10742
10743done
10744
10745
10746
10747      if test "X$prefix" = "XNONE"; then
10748    acl_final_prefix="$ac_default_prefix"
10749  else
10750    acl_final_prefix="$prefix"
10751  fi
10752  if test "X$exec_prefix" = "XNONE"; then
10753    acl_final_exec_prefix='${prefix}'
10754  else
10755    acl_final_exec_prefix="$exec_prefix"
10756  fi
10757  acl_save_prefix="$prefix"
10758  prefix="$acl_final_prefix"
10759  eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
10760  prefix="$acl_save_prefix"
10761
10762
10763# Check whether --with-gnu-ld or --without-gnu-ld was given.
10764if test "${with_gnu_ld+set}" = set; then
10765  withval="$with_gnu_ld"
10766  test "$withval" = no || with_gnu_ld=yes
10767else
10768  with_gnu_ld=no
10769fi;
10770# Prepare PATH_SEPARATOR.
10771# The user is always right.
10772if test "${PATH_SEPARATOR+set}" != set; then
10773  echo "#! /bin/sh" >conf$$.sh
10774  echo  "exit 0"   >>conf$$.sh
10775  chmod +x conf$$.sh
10776  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
10777    PATH_SEPARATOR=';'
10778  else
10779    PATH_SEPARATOR=:
10780  fi
10781  rm -f conf$$.sh
10782fi
10783ac_prog=ld
10784if test "$GCC" = yes; then
10785  # Check if gcc -print-prog-name=ld gives a path.
10786  echo "$as_me:$LINENO: checking for ld used by GCC" >&5
10787echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
10788  case $host in
10789  *-*-mingw*)
10790    # gcc leaves a trailing carriage return which upsets mingw
10791    ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10792  *)
10793    ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10794  esac
10795  case $ac_prog in
10796    # Accept absolute paths.
10797    [\\/]* | [A-Za-z]:[\\/]*)
10798      re_direlt='/[^/][^/]*/\.\./'
10799      # Canonicalize the path of ld
10800      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
10801      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
10802	ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
10803      done
10804      test -z "$LD" && LD="$ac_prog"
10805      ;;
10806  "")
10807    # If it fails, then pretend we aren't using GCC.
10808    ac_prog=ld
10809    ;;
10810  *)
10811    # If it is relative, then search for the first ld in PATH.
10812    with_gnu_ld=unknown
10813    ;;
10814  esac
10815elif test "$with_gnu_ld" = yes; then
10816  echo "$as_me:$LINENO: checking for GNU ld" >&5
10817echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
10818else
10819  echo "$as_me:$LINENO: checking for non-GNU ld" >&5
10820echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
10821fi
10822if test "${acl_cv_path_LD+set}" = set; then
10823  echo $ECHO_N "(cached) $ECHO_C" >&6
10824else
10825  if test -z "$LD"; then
10826  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
10827  for ac_dir in $PATH; do
10828    test -z "$ac_dir" && ac_dir=.
10829    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
10830      acl_cv_path_LD="$ac_dir/$ac_prog"
10831      # Check to see if the program is GNU ld.  I'd rather use --version,
10832      # but apparently some GNU ld's only accept -v.
10833      # Break only if it was the GNU/non-GNU ld that we prefer.
10834      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
10835      *GNU* | *'with BFD'*)
10836	test "$with_gnu_ld" != no && break ;;
10837      *)
10838	test "$with_gnu_ld" != yes && break ;;
10839      esac
10840    fi
10841  done
10842  IFS="$ac_save_ifs"
10843else
10844  acl_cv_path_LD="$LD" # Let the user override the test with a path.
10845fi
10846fi
10847
10848LD="$acl_cv_path_LD"
10849if test -n "$LD"; then
10850  echo "$as_me:$LINENO: result: $LD" >&5
10851echo "${ECHO_T}$LD" >&6
10852else
10853  echo "$as_me:$LINENO: result: no" >&5
10854echo "${ECHO_T}no" >&6
10855fi
10856test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
10857echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
10858   { (exit 1); exit 1; }; }
10859echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
10860echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
10861if test "${acl_cv_prog_gnu_ld+set}" = set; then
10862  echo $ECHO_N "(cached) $ECHO_C" >&6
10863else
10864  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
10865case `$LD -v 2>&1 </dev/null` in
10866*GNU* | *'with BFD'*)
10867  acl_cv_prog_gnu_ld=yes ;;
10868*)
10869  acl_cv_prog_gnu_ld=no ;;
10870esac
10871fi
10872echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
10873echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
10874with_gnu_ld=$acl_cv_prog_gnu_ld
10875
10876
10877
10878                                                echo "$as_me:$LINENO: checking for shared library run path origin" >&5
10879echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
10880if test "${acl_cv_rpath+set}" = set; then
10881  echo $ECHO_N "(cached) $ECHO_C" >&6
10882else
10883
10884    CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
10885    ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
10886    . ./conftest.sh
10887    rm -f ./conftest.sh
10888    acl_cv_rpath=done
10889
10890fi
10891echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
10892echo "${ECHO_T}$acl_cv_rpath" >&6
10893  wl="$acl_cv_wl"
10894  libext="$acl_cv_libext"
10895  shlibext="$acl_cv_shlibext"
10896  hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
10897  hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
10898  hardcode_direct="$acl_cv_hardcode_direct"
10899  hardcode_minus_L="$acl_cv_hardcode_minus_L"
10900    # Check whether --enable-rpath or --disable-rpath was given.
10901if test "${enable_rpath+set}" = set; then
10902  enableval="$enable_rpath"
10903  :
10904else
10905  enable_rpath=yes
10906fi;
10907
10908
10909
10910
10911
10912
10913
10914    use_additional=yes
10915
10916  acl_save_prefix="$prefix"
10917  prefix="$acl_final_prefix"
10918  acl_save_exec_prefix="$exec_prefix"
10919  exec_prefix="$acl_final_exec_prefix"
10920
10921    eval additional_includedir=\"$includedir\"
10922    eval additional_libdir=\"$libdir\"
10923
10924  exec_prefix="$acl_save_exec_prefix"
10925  prefix="$acl_save_prefix"
10926
10927
10928# Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
10929if test "${with_libiconv_prefix+set}" = set; then
10930  withval="$with_libiconv_prefix"
10931
10932    if test "X$withval" = "Xno"; then
10933      use_additional=no
10934    else
10935      if test "X$withval" = "X"; then
10936
10937  acl_save_prefix="$prefix"
10938  prefix="$acl_final_prefix"
10939  acl_save_exec_prefix="$exec_prefix"
10940  exec_prefix="$acl_final_exec_prefix"
10941
10942          eval additional_includedir=\"$includedir\"
10943          eval additional_libdir=\"$libdir\"
10944
10945  exec_prefix="$acl_save_exec_prefix"
10946  prefix="$acl_save_prefix"
10947
10948      else
10949        additional_includedir="$withval/include"
10950        additional_libdir="$withval/lib"
10951      fi
10952    fi
10953
10954fi;
10955      LIBICONV=
10956  LTLIBICONV=
10957  INCICONV=
10958  rpathdirs=
10959  ltrpathdirs=
10960  names_already_handled=
10961  names_next_round='iconv '
10962  while test -n "$names_next_round"; do
10963    names_this_round="$names_next_round"
10964    names_next_round=
10965    for name in $names_this_round; do
10966      already_handled=
10967      for n in $names_already_handled; do
10968        if test "$n" = "$name"; then
10969          already_handled=yes
10970          break
10971        fi
10972      done
10973      if test -z "$already_handled"; then
10974        names_already_handled="$names_already_handled $name"
10975                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
10976        eval value=\"\$HAVE_LIB$uppername\"
10977        if test -n "$value"; then
10978          if test "$value" = yes; then
10979            eval value=\"\$LIB$uppername\"
10980            test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
10981            eval value=\"\$LTLIB$uppername\"
10982            test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
10983          else
10984                                    :
10985          fi
10986        else
10987                              found_dir=
10988          found_la=
10989          found_so=
10990          found_a=
10991          if test $use_additional = yes; then
10992            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
10993              found_dir="$additional_libdir"
10994              found_so="$additional_libdir/lib$name.$shlibext"
10995              if test -f "$additional_libdir/lib$name.la"; then
10996                found_la="$additional_libdir/lib$name.la"
10997              fi
10998            else
10999              if test -f "$additional_libdir/lib$name.$libext"; then
11000                found_dir="$additional_libdir"
11001                found_a="$additional_libdir/lib$name.$libext"
11002                if test -f "$additional_libdir/lib$name.la"; then
11003                  found_la="$additional_libdir/lib$name.la"
11004                fi
11005              fi
11006            fi
11007          fi
11008          if test "X$found_dir" = "X"; then
11009            for x in $LDFLAGS $LTLIBICONV; do
11010
11011  acl_save_prefix="$prefix"
11012  prefix="$acl_final_prefix"
11013  acl_save_exec_prefix="$exec_prefix"
11014  exec_prefix="$acl_final_exec_prefix"
11015  eval x=\"$x\"
11016  exec_prefix="$acl_save_exec_prefix"
11017  prefix="$acl_save_prefix"
11018
11019              case "$x" in
11020                -L*)
11021                  dir=`echo "X$x" | sed -e 's/^X-L//'`
11022                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
11023                    found_dir="$dir"
11024                    found_so="$dir/lib$name.$shlibext"
11025                    if test -f "$dir/lib$name.la"; then
11026                      found_la="$dir/lib$name.la"
11027                    fi
11028                  else
11029                    if test -f "$dir/lib$name.$libext"; then
11030                      found_dir="$dir"
11031                      found_a="$dir/lib$name.$libext"
11032                      if test -f "$dir/lib$name.la"; then
11033                        found_la="$dir/lib$name.la"
11034                      fi
11035                    fi
11036                  fi
11037                  ;;
11038              esac
11039              if test "X$found_dir" != "X"; then
11040                break
11041              fi
11042            done
11043          fi
11044          if test "X$found_dir" != "X"; then
11045                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
11046            if test "X$found_so" != "X"; then
11047                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
11048                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11049              else
11050                                                                                haveit=
11051                for x in $ltrpathdirs; do
11052                  if test "X$x" = "X$found_dir"; then
11053                    haveit=yes
11054                    break
11055                  fi
11056                done
11057                if test -z "$haveit"; then
11058                  ltrpathdirs="$ltrpathdirs $found_dir"
11059                fi
11060                                if test "$hardcode_direct" = yes; then
11061                                                      LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11062                else
11063                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
11064                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11065                                                            haveit=
11066                    for x in $rpathdirs; do
11067                      if test "X$x" = "X$found_dir"; then
11068                        haveit=yes
11069                        break
11070                      fi
11071                    done
11072                    if test -z "$haveit"; then
11073                      rpathdirs="$rpathdirs $found_dir"
11074                    fi
11075                  else
11076                                                                                haveit=
11077                    for x in $LDFLAGS $LIBICONV; do
11078
11079  acl_save_prefix="$prefix"
11080  prefix="$acl_final_prefix"
11081  acl_save_exec_prefix="$exec_prefix"
11082  exec_prefix="$acl_final_exec_prefix"
11083  eval x=\"$x\"
11084  exec_prefix="$acl_save_exec_prefix"
11085  prefix="$acl_save_prefix"
11086
11087                      if test "X$x" = "X-L$found_dir"; then
11088                        haveit=yes
11089                        break
11090                      fi
11091                    done
11092                    if test -z "$haveit"; then
11093                      LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
11094                    fi
11095                    if test "$hardcode_minus_L" != no; then
11096                                                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
11097                    else
11098                                                                                                                                                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
11099                    fi
11100                  fi
11101                fi
11102              fi
11103            else
11104              if test "X$found_a" != "X"; then
11105                                LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
11106              else
11107                                                LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
11108              fi
11109            fi
11110                        additional_includedir=
11111            case "$found_dir" in
11112              */lib | */lib/)
11113                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
11114                additional_includedir="$basedir/include"
11115                ;;
11116            esac
11117            if test "X$additional_includedir" != "X"; then
11118                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
11119                haveit=
11120                if test "X$additional_includedir" = "X/usr/local/include"; then
11121                  if test -n "$GCC"; then
11122                    case $host_os in
11123                      linux*) haveit=yes;;
11124                    esac
11125                  fi
11126                fi
11127                if test -z "$haveit"; then
11128                  for x in $CPPFLAGS $INCICONV; do
11129
11130  acl_save_prefix="$prefix"
11131  prefix="$acl_final_prefix"
11132  acl_save_exec_prefix="$exec_prefix"
11133  exec_prefix="$acl_final_exec_prefix"
11134  eval x=\"$x\"
11135  exec_prefix="$acl_save_exec_prefix"
11136  prefix="$acl_save_prefix"
11137
11138                    if test "X$x" = "X-I$additional_includedir"; then
11139                      haveit=yes
11140                      break
11141                    fi
11142                  done
11143                  if test -z "$haveit"; then
11144                    if test -d "$additional_includedir"; then
11145                                            INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
11146                    fi
11147                  fi
11148                fi
11149              fi
11150            fi
11151                        if test -n "$found_la"; then
11152                                                        save_libdir="$libdir"
11153              case "$found_la" in
11154                */* | *\\*) . "$found_la" ;;
11155                *) . "./$found_la" ;;
11156              esac
11157              libdir="$save_libdir"
11158                            for dep in $dependency_libs; do
11159                case "$dep" in
11160                  -L*)
11161                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
11162                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
11163                      haveit=
11164                      if test "X$additional_libdir" = "X/usr/local/lib"; then
11165                        if test -n "$GCC"; then
11166                          case $host_os in
11167                            linux*) haveit=yes;;
11168                          esac
11169                        fi
11170                      fi
11171                      if test -z "$haveit"; then
11172                        haveit=
11173                        for x in $LDFLAGS $LIBICONV; do
11174
11175  acl_save_prefix="$prefix"
11176  prefix="$acl_final_prefix"
11177  acl_save_exec_prefix="$exec_prefix"
11178  exec_prefix="$acl_final_exec_prefix"
11179  eval x=\"$x\"
11180  exec_prefix="$acl_save_exec_prefix"
11181  prefix="$acl_save_prefix"
11182
11183                          if test "X$x" = "X-L$additional_libdir"; then
11184                            haveit=yes
11185                            break
11186                          fi
11187                        done
11188                        if test -z "$haveit"; then
11189                          if test -d "$additional_libdir"; then
11190                                                        LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
11191                          fi
11192                        fi
11193                        haveit=
11194                        for x in $LDFLAGS $LTLIBICONV; do
11195
11196  acl_save_prefix="$prefix"
11197  prefix="$acl_final_prefix"
11198  acl_save_exec_prefix="$exec_prefix"
11199  exec_prefix="$acl_final_exec_prefix"
11200  eval x=\"$x\"
11201  exec_prefix="$acl_save_exec_prefix"
11202  prefix="$acl_save_prefix"
11203
11204                          if test "X$x" = "X-L$additional_libdir"; then
11205                            haveit=yes
11206                            break
11207                          fi
11208                        done
11209                        if test -z "$haveit"; then
11210                          if test -d "$additional_libdir"; then
11211                                                        LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
11212                          fi
11213                        fi
11214                      fi
11215                    fi
11216                    ;;
11217                  -R*)
11218                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
11219                    if test "$enable_rpath" != no; then
11220                                                                  haveit=
11221                      for x in $rpathdirs; do
11222                        if test "X$x" = "X$dir"; then
11223                          haveit=yes
11224                          break
11225                        fi
11226                      done
11227                      if test -z "$haveit"; then
11228                        rpathdirs="$rpathdirs $dir"
11229                      fi
11230                                                                  haveit=
11231                      for x in $ltrpathdirs; do
11232                        if test "X$x" = "X$dir"; then
11233                          haveit=yes
11234                          break
11235                        fi
11236                      done
11237                      if test -z "$haveit"; then
11238                        ltrpathdirs="$ltrpathdirs $dir"
11239                      fi
11240                    fi
11241                    ;;
11242                  -l*)
11243                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
11244                    ;;
11245                  *.la)
11246                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
11247                    ;;
11248                  *)
11249                                        LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
11250                    LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
11251                    ;;
11252                esac
11253              done
11254            fi
11255          else
11256                                                            LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
11257            LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
11258          fi
11259        fi
11260      fi
11261    done
11262  done
11263  if test "X$rpathdirs" != "X"; then
11264    if test -n "$hardcode_libdir_separator"; then
11265                        alldirs=
11266      for found_dir in $rpathdirs; do
11267        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
11268      done
11269            acl_save_libdir="$libdir"
11270      libdir="$alldirs"
11271      eval flag=\"$hardcode_libdir_flag_spec\"
11272      libdir="$acl_save_libdir"
11273      LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
11274    else
11275            for found_dir in $rpathdirs; do
11276        acl_save_libdir="$libdir"
11277        libdir="$found_dir"
11278        eval flag=\"$hardcode_libdir_flag_spec\"
11279        libdir="$acl_save_libdir"
11280        LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
11281      done
11282    fi
11283  fi
11284  if test "X$ltrpathdirs" != "X"; then
11285            for found_dir in $ltrpathdirs; do
11286      LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
11287    done
11288  fi
11289
11290
11291
11292
11293
11294
11295
11296
11297  echo "$as_me:$LINENO: checking for ptrdiff_t" >&5
11298echo $ECHO_N "checking for ptrdiff_t... $ECHO_C" >&6
11299if test "${ac_cv_type_ptrdiff_t+set}" = set; then
11300  echo $ECHO_N "(cached) $ECHO_C" >&6
11301else
11302  cat >conftest.$ac_ext <<_ACEOF
11303/* confdefs.h.  */
11304_ACEOF
11305cat confdefs.h >>conftest.$ac_ext
11306cat >>conftest.$ac_ext <<_ACEOF
11307/* end confdefs.h.  */
11308$ac_includes_default
11309int
11310main ()
11311{
11312if ((ptrdiff_t *) 0)
11313  return 0;
11314if (sizeof (ptrdiff_t))
11315  return 0;
11316  ;
11317  return 0;
11318}
11319_ACEOF
11320rm -f conftest.$ac_objext
11321if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11322  (eval $ac_compile) 2>conftest.er1
11323  ac_status=$?
11324  grep -v '^ *+' conftest.er1 >conftest.err
11325  rm -f conftest.er1
11326  cat conftest.err >&5
11327  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11328  (exit $ac_status); } &&
11329	 { ac_try='test -z "$ac_c_werror_flag"
11330			 || test ! -s conftest.err'
11331  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11332  (eval $ac_try) 2>&5
11333  ac_status=$?
11334  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11335  (exit $ac_status); }; } &&
11336	 { ac_try='test -s conftest.$ac_objext'
11337  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11338  (eval $ac_try) 2>&5
11339  ac_status=$?
11340  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11341  (exit $ac_status); }; }; then
11342  ac_cv_type_ptrdiff_t=yes
11343else
11344  echo "$as_me: failed program was:" >&5
11345sed 's/^/| /' conftest.$ac_ext >&5
11346
11347ac_cv_type_ptrdiff_t=no
11348fi
11349rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11350fi
11351echo "$as_me:$LINENO: result: $ac_cv_type_ptrdiff_t" >&5
11352echo "${ECHO_T}$ac_cv_type_ptrdiff_t" >&6
11353if test $ac_cv_type_ptrdiff_t = yes; then
11354  :
11355else
11356
11357cat >>confdefs.h <<\_ACEOF
11358#define ptrdiff_t long
11359_ACEOF
11360
11361
11362fi
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374for ac_header in argz.h limits.h locale.h nl_types.h malloc.h stddef.h \
11375stdlib.h string.h unistd.h sys/param.h
11376do
11377as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11378if eval "test \"\${$as_ac_Header+set}\" = set"; then
11379  echo "$as_me:$LINENO: checking for $ac_header" >&5
11380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11381if eval "test \"\${$as_ac_Header+set}\" = set"; then
11382  echo $ECHO_N "(cached) $ECHO_C" >&6
11383fi
11384echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11385echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11386else
11387  # Is the header compilable?
11388echo "$as_me:$LINENO: checking $ac_header usability" >&5
11389echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
11390cat >conftest.$ac_ext <<_ACEOF
11391/* confdefs.h.  */
11392_ACEOF
11393cat confdefs.h >>conftest.$ac_ext
11394cat >>conftest.$ac_ext <<_ACEOF
11395/* end confdefs.h.  */
11396$ac_includes_default
11397#include <$ac_header>
11398_ACEOF
11399rm -f conftest.$ac_objext
11400if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11401  (eval $ac_compile) 2>conftest.er1
11402  ac_status=$?
11403  grep -v '^ *+' conftest.er1 >conftest.err
11404  rm -f conftest.er1
11405  cat conftest.err >&5
11406  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11407  (exit $ac_status); } &&
11408	 { ac_try='test -z "$ac_c_werror_flag"
11409			 || test ! -s conftest.err'
11410  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11411  (eval $ac_try) 2>&5
11412  ac_status=$?
11413  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11414  (exit $ac_status); }; } &&
11415	 { ac_try='test -s conftest.$ac_objext'
11416  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11417  (eval $ac_try) 2>&5
11418  ac_status=$?
11419  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11420  (exit $ac_status); }; }; then
11421  ac_header_compiler=yes
11422else
11423  echo "$as_me: failed program was:" >&5
11424sed 's/^/| /' conftest.$ac_ext >&5
11425
11426ac_header_compiler=no
11427fi
11428rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11429echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11430echo "${ECHO_T}$ac_header_compiler" >&6
11431
11432# Is the header present?
11433echo "$as_me:$LINENO: checking $ac_header presence" >&5
11434echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
11435cat >conftest.$ac_ext <<_ACEOF
11436/* confdefs.h.  */
11437_ACEOF
11438cat confdefs.h >>conftest.$ac_ext
11439cat >>conftest.$ac_ext <<_ACEOF
11440/* end confdefs.h.  */
11441#include <$ac_header>
11442_ACEOF
11443if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11444  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11445  ac_status=$?
11446  grep -v '^ *+' conftest.er1 >conftest.err
11447  rm -f conftest.er1
11448  cat conftest.err >&5
11449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11450  (exit $ac_status); } >/dev/null; then
11451  if test -s conftest.err; then
11452    ac_cpp_err=$ac_c_preproc_warn_flag
11453    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11454  else
11455    ac_cpp_err=
11456  fi
11457else
11458  ac_cpp_err=yes
11459fi
11460if test -z "$ac_cpp_err"; then
11461  ac_header_preproc=yes
11462else
11463  echo "$as_me: failed program was:" >&5
11464sed 's/^/| /' conftest.$ac_ext >&5
11465
11466  ac_header_preproc=no
11467fi
11468rm -f conftest.err conftest.$ac_ext
11469echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11470echo "${ECHO_T}$ac_header_preproc" >&6
11471
11472# So?  What about this header?
11473case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11474  yes:no: )
11475    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11476echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11477    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11478echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11479    ac_header_preproc=yes
11480    ;;
11481  no:yes:* )
11482    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11483echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11484    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
11485echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
11486    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11487echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11488    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
11489echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
11490    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11491echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11492    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11493echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11494    (
11495      cat <<\_ASBOX
11496## -------------------------------------- ##
11497## Report this to the GNU Texinfo lists.  ##
11498## -------------------------------------- ##
11499_ASBOX
11500    ) |
11501      sed "s/^/$as_me: WARNING:     /" >&2
11502    ;;
11503esac
11504echo "$as_me:$LINENO: checking for $ac_header" >&5
11505echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11506if eval "test \"\${$as_ac_Header+set}\" = set"; then
11507  echo $ECHO_N "(cached) $ECHO_C" >&6
11508else
11509  eval "$as_ac_Header=\$ac_header_preproc"
11510fi
11511echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11512echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11513
11514fi
11515if test `eval echo '${'$as_ac_Header'}'` = yes; then
11516  cat >>confdefs.h <<_ACEOF
11517#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11518_ACEOF
11519
11520fi
11521
11522done
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547for ac_func in asprintf fwprintf getcwd getegid geteuid getgid getuid \
11548mempcpy munmap putenv setenv setlocale snprintf stpcpy strcasecmp strdup \
11549strtoul tsearch wcslen __argz_count __argz_stringify __argz_next \
11550__fsetlocking
11551do
11552as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11553echo "$as_me:$LINENO: checking for $ac_func" >&5
11554echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11555if eval "test \"\${$as_ac_var+set}\" = set"; then
11556  echo $ECHO_N "(cached) $ECHO_C" >&6
11557else
11558  cat >conftest.$ac_ext <<_ACEOF
11559/* confdefs.h.  */
11560_ACEOF
11561cat confdefs.h >>conftest.$ac_ext
11562cat >>conftest.$ac_ext <<_ACEOF
11563/* end confdefs.h.  */
11564/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11565   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
11566#define $ac_func innocuous_$ac_func
11567
11568/* System header to define __stub macros and hopefully few prototypes,
11569    which can conflict with char $ac_func (); below.
11570    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11571    <limits.h> exists even on freestanding compilers.  */
11572
11573#ifdef __STDC__
11574# include <limits.h>
11575#else
11576# include <assert.h>
11577#endif
11578
11579#undef $ac_func
11580
11581/* Override any gcc2 internal prototype to avoid an error.  */
11582#ifdef __cplusplus
11583extern "C"
11584{
11585#endif
11586/* We use char because int might match the return type of a gcc2
11587   builtin and then its argument prototype would still apply.  */
11588char $ac_func ();
11589/* The GNU C library defines this for functions which it implements
11590    to always fail with ENOSYS.  Some functions are actually named
11591    something starting with __ and the normal name is an alias.  */
11592#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11593choke me
11594#else
11595char (*f) () = $ac_func;
11596#endif
11597#ifdef __cplusplus
11598}
11599#endif
11600
11601int
11602main ()
11603{
11604return f != $ac_func;
11605  ;
11606  return 0;
11607}
11608_ACEOF
11609rm -f conftest.$ac_objext conftest$ac_exeext
11610if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11611  (eval $ac_link) 2>conftest.er1
11612  ac_status=$?
11613  grep -v '^ *+' conftest.er1 >conftest.err
11614  rm -f conftest.er1
11615  cat conftest.err >&5
11616  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11617  (exit $ac_status); } &&
11618	 { ac_try='test -z "$ac_c_werror_flag"
11619			 || test ! -s conftest.err'
11620  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11621  (eval $ac_try) 2>&5
11622  ac_status=$?
11623  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11624  (exit $ac_status); }; } &&
11625	 { ac_try='test -s conftest$ac_exeext'
11626  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11627  (eval $ac_try) 2>&5
11628  ac_status=$?
11629  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11630  (exit $ac_status); }; }; then
11631  eval "$as_ac_var=yes"
11632else
11633  echo "$as_me: failed program was:" >&5
11634sed 's/^/| /' conftest.$ac_ext >&5
11635
11636eval "$as_ac_var=no"
11637fi
11638rm -f conftest.err conftest.$ac_objext \
11639      conftest$ac_exeext conftest.$ac_ext
11640fi
11641echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11642echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11643if test `eval echo '${'$as_ac_var'}'` = yes; then
11644  cat >>confdefs.h <<_ACEOF
11645#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11646_ACEOF
11647
11648fi
11649done
11650
11651
11652
11653  echo "$as_me:$LINENO: checking whether _snprintf is declared" >&5
11654echo $ECHO_N "checking whether _snprintf is declared... $ECHO_C" >&6
11655if test "${ac_cv_have_decl__snprintf+set}" = set; then
11656  echo $ECHO_N "(cached) $ECHO_C" >&6
11657else
11658  cat >conftest.$ac_ext <<_ACEOF
11659/* confdefs.h.  */
11660_ACEOF
11661cat confdefs.h >>conftest.$ac_ext
11662cat >>conftest.$ac_ext <<_ACEOF
11663/* end confdefs.h.  */
11664#include <stdio.h>
11665int
11666main ()
11667{
11668
11669#ifndef _snprintf
11670  char *p = (char *) _snprintf;
11671#endif
11672
11673  ;
11674  return 0;
11675}
11676_ACEOF
11677rm -f conftest.$ac_objext
11678if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11679  (eval $ac_compile) 2>conftest.er1
11680  ac_status=$?
11681  grep -v '^ *+' conftest.er1 >conftest.err
11682  rm -f conftest.er1
11683  cat conftest.err >&5
11684  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11685  (exit $ac_status); } &&
11686	 { ac_try='test -z "$ac_c_werror_flag"
11687			 || test ! -s conftest.err'
11688  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11689  (eval $ac_try) 2>&5
11690  ac_status=$?
11691  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11692  (exit $ac_status); }; } &&
11693	 { ac_try='test -s conftest.$ac_objext'
11694  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11695  (eval $ac_try) 2>&5
11696  ac_status=$?
11697  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11698  (exit $ac_status); }; }; then
11699  ac_cv_have_decl__snprintf=yes
11700else
11701  echo "$as_me: failed program was:" >&5
11702sed 's/^/| /' conftest.$ac_ext >&5
11703
11704ac_cv_have_decl__snprintf=no
11705fi
11706rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11707fi
11708echo "$as_me:$LINENO: result: $ac_cv_have_decl__snprintf" >&5
11709echo "${ECHO_T}$ac_cv_have_decl__snprintf" >&6
11710  if test $ac_cv_have_decl__snprintf = yes; then
11711    gt_value=1
11712  else
11713    gt_value=0
11714  fi
11715
11716cat >>confdefs.h <<_ACEOF
11717#define HAVE_DECL__SNPRINTF $gt_value
11718_ACEOF
11719
11720
11721
11722  echo "$as_me:$LINENO: checking whether _snwprintf is declared" >&5
11723echo $ECHO_N "checking whether _snwprintf is declared... $ECHO_C" >&6
11724if test "${ac_cv_have_decl__snwprintf+set}" = set; then
11725  echo $ECHO_N "(cached) $ECHO_C" >&6
11726else
11727  cat >conftest.$ac_ext <<_ACEOF
11728/* confdefs.h.  */
11729_ACEOF
11730cat confdefs.h >>conftest.$ac_ext
11731cat >>conftest.$ac_ext <<_ACEOF
11732/* end confdefs.h.  */
11733#include <stdio.h>
11734int
11735main ()
11736{
11737
11738#ifndef _snwprintf
11739  char *p = (char *) _snwprintf;
11740#endif
11741
11742  ;
11743  return 0;
11744}
11745_ACEOF
11746rm -f conftest.$ac_objext
11747if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11748  (eval $ac_compile) 2>conftest.er1
11749  ac_status=$?
11750  grep -v '^ *+' conftest.er1 >conftest.err
11751  rm -f conftest.er1
11752  cat conftest.err >&5
11753  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11754  (exit $ac_status); } &&
11755	 { ac_try='test -z "$ac_c_werror_flag"
11756			 || test ! -s conftest.err'
11757  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11758  (eval $ac_try) 2>&5
11759  ac_status=$?
11760  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11761  (exit $ac_status); }; } &&
11762	 { ac_try='test -s conftest.$ac_objext'
11763  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11764  (eval $ac_try) 2>&5
11765  ac_status=$?
11766  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11767  (exit $ac_status); }; }; then
11768  ac_cv_have_decl__snwprintf=yes
11769else
11770  echo "$as_me: failed program was:" >&5
11771sed 's/^/| /' conftest.$ac_ext >&5
11772
11773ac_cv_have_decl__snwprintf=no
11774fi
11775rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11776fi
11777echo "$as_me:$LINENO: result: $ac_cv_have_decl__snwprintf" >&5
11778echo "${ECHO_T}$ac_cv_have_decl__snwprintf" >&6
11779  if test $ac_cv_have_decl__snwprintf = yes; then
11780    gt_value=1
11781  else
11782    gt_value=0
11783  fi
11784
11785cat >>confdefs.h <<_ACEOF
11786#define HAVE_DECL__SNWPRINTF $gt_value
11787_ACEOF
11788
11789
11790
11791
11792  echo "$as_me:$LINENO: checking whether feof_unlocked is declared" >&5
11793echo $ECHO_N "checking whether feof_unlocked is declared... $ECHO_C" >&6
11794if test "${ac_cv_have_decl_feof_unlocked+set}" = set; then
11795  echo $ECHO_N "(cached) $ECHO_C" >&6
11796else
11797  cat >conftest.$ac_ext <<_ACEOF
11798/* confdefs.h.  */
11799_ACEOF
11800cat confdefs.h >>conftest.$ac_ext
11801cat >>conftest.$ac_ext <<_ACEOF
11802/* end confdefs.h.  */
11803#include <stdio.h>
11804int
11805main ()
11806{
11807
11808#ifndef feof_unlocked
11809  char *p = (char *) feof_unlocked;
11810#endif
11811
11812  ;
11813  return 0;
11814}
11815_ACEOF
11816rm -f conftest.$ac_objext
11817if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11818  (eval $ac_compile) 2>conftest.er1
11819  ac_status=$?
11820  grep -v '^ *+' conftest.er1 >conftest.err
11821  rm -f conftest.er1
11822  cat conftest.err >&5
11823  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824  (exit $ac_status); } &&
11825	 { ac_try='test -z "$ac_c_werror_flag"
11826			 || test ! -s conftest.err'
11827  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11828  (eval $ac_try) 2>&5
11829  ac_status=$?
11830  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11831  (exit $ac_status); }; } &&
11832	 { ac_try='test -s conftest.$ac_objext'
11833  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11834  (eval $ac_try) 2>&5
11835  ac_status=$?
11836  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11837  (exit $ac_status); }; }; then
11838  ac_cv_have_decl_feof_unlocked=yes
11839else
11840  echo "$as_me: failed program was:" >&5
11841sed 's/^/| /' conftest.$ac_ext >&5
11842
11843ac_cv_have_decl_feof_unlocked=no
11844fi
11845rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11846fi
11847echo "$as_me:$LINENO: result: $ac_cv_have_decl_feof_unlocked" >&5
11848echo "${ECHO_T}$ac_cv_have_decl_feof_unlocked" >&6
11849  if test $ac_cv_have_decl_feof_unlocked = yes; then
11850    gt_value=1
11851  else
11852    gt_value=0
11853  fi
11854
11855cat >>confdefs.h <<_ACEOF
11856#define HAVE_DECL_FEOF_UNLOCKED $gt_value
11857_ACEOF
11858
11859
11860
11861  echo "$as_me:$LINENO: checking whether fgets_unlocked is declared" >&5
11862echo $ECHO_N "checking whether fgets_unlocked is declared... $ECHO_C" >&6
11863if test "${ac_cv_have_decl_fgets_unlocked+set}" = set; then
11864  echo $ECHO_N "(cached) $ECHO_C" >&6
11865else
11866  cat >conftest.$ac_ext <<_ACEOF
11867/* confdefs.h.  */
11868_ACEOF
11869cat confdefs.h >>conftest.$ac_ext
11870cat >>conftest.$ac_ext <<_ACEOF
11871/* end confdefs.h.  */
11872#include <stdio.h>
11873int
11874main ()
11875{
11876
11877#ifndef fgets_unlocked
11878  char *p = (char *) fgets_unlocked;
11879#endif
11880
11881  ;
11882  return 0;
11883}
11884_ACEOF
11885rm -f conftest.$ac_objext
11886if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11887  (eval $ac_compile) 2>conftest.er1
11888  ac_status=$?
11889  grep -v '^ *+' conftest.er1 >conftest.err
11890  rm -f conftest.er1
11891  cat conftest.err >&5
11892  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11893  (exit $ac_status); } &&
11894	 { ac_try='test -z "$ac_c_werror_flag"
11895			 || test ! -s conftest.err'
11896  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11897  (eval $ac_try) 2>&5
11898  ac_status=$?
11899  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900  (exit $ac_status); }; } &&
11901	 { ac_try='test -s conftest.$ac_objext'
11902  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11903  (eval $ac_try) 2>&5
11904  ac_status=$?
11905  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11906  (exit $ac_status); }; }; then
11907  ac_cv_have_decl_fgets_unlocked=yes
11908else
11909  echo "$as_me: failed program was:" >&5
11910sed 's/^/| /' conftest.$ac_ext >&5
11911
11912ac_cv_have_decl_fgets_unlocked=no
11913fi
11914rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11915fi
11916echo "$as_me:$LINENO: result: $ac_cv_have_decl_fgets_unlocked" >&5
11917echo "${ECHO_T}$ac_cv_have_decl_fgets_unlocked" >&6
11918  if test $ac_cv_have_decl_fgets_unlocked = yes; then
11919    gt_value=1
11920  else
11921    gt_value=0
11922  fi
11923
11924cat >>confdefs.h <<_ACEOF
11925#define HAVE_DECL_FGETS_UNLOCKED $gt_value
11926_ACEOF
11927
11928
11929
11930  echo "$as_me:$LINENO: checking whether getc_unlocked is declared" >&5
11931echo $ECHO_N "checking whether getc_unlocked is declared... $ECHO_C" >&6
11932if test "${ac_cv_have_decl_getc_unlocked+set}" = set; then
11933  echo $ECHO_N "(cached) $ECHO_C" >&6
11934else
11935  cat >conftest.$ac_ext <<_ACEOF
11936/* confdefs.h.  */
11937_ACEOF
11938cat confdefs.h >>conftest.$ac_ext
11939cat >>conftest.$ac_ext <<_ACEOF
11940/* end confdefs.h.  */
11941#include <stdio.h>
11942int
11943main ()
11944{
11945
11946#ifndef getc_unlocked
11947  char *p = (char *) getc_unlocked;
11948#endif
11949
11950  ;
11951  return 0;
11952}
11953_ACEOF
11954rm -f conftest.$ac_objext
11955if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11956  (eval $ac_compile) 2>conftest.er1
11957  ac_status=$?
11958  grep -v '^ *+' conftest.er1 >conftest.err
11959  rm -f conftest.er1
11960  cat conftest.err >&5
11961  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11962  (exit $ac_status); } &&
11963	 { ac_try='test -z "$ac_c_werror_flag"
11964			 || test ! -s conftest.err'
11965  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11966  (eval $ac_try) 2>&5
11967  ac_status=$?
11968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11969  (exit $ac_status); }; } &&
11970	 { ac_try='test -s conftest.$ac_objext'
11971  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11972  (eval $ac_try) 2>&5
11973  ac_status=$?
11974  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975  (exit $ac_status); }; }; then
11976  ac_cv_have_decl_getc_unlocked=yes
11977else
11978  echo "$as_me: failed program was:" >&5
11979sed 's/^/| /' conftest.$ac_ext >&5
11980
11981ac_cv_have_decl_getc_unlocked=no
11982fi
11983rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11984fi
11985echo "$as_me:$LINENO: result: $ac_cv_have_decl_getc_unlocked" >&5
11986echo "${ECHO_T}$ac_cv_have_decl_getc_unlocked" >&6
11987  if test $ac_cv_have_decl_getc_unlocked = yes; then
11988    gt_value=1
11989  else
11990    gt_value=0
11991  fi
11992
11993cat >>confdefs.h <<_ACEOF
11994#define HAVE_DECL_GETC_UNLOCKED $gt_value
11995_ACEOF
11996
11997
11998
11999  case $gt_cv_func_printf_posix in
12000    *yes) HAVE_POSIX_PRINTF=1 ;;
12001    *) HAVE_POSIX_PRINTF=0 ;;
12002  esac
12003
12004  if test "$ac_cv_func_asprintf" = yes; then
12005    HAVE_ASPRINTF=1
12006  else
12007    HAVE_ASPRINTF=0
12008  fi
12009
12010  if test "$ac_cv_func_snprintf" = yes; then
12011    HAVE_SNPRINTF=1
12012  else
12013    HAVE_SNPRINTF=0
12014  fi
12015
12016  if test "$ac_cv_func_wprintf" = yes; then
12017    HAVE_WPRINTF=1
12018  else
12019    HAVE_WPRINTF=0
12020  fi
12021
12022
12023
12024
12025
12026
12027
12028          am_save_CPPFLAGS="$CPPFLAGS"
12029
12030  for element in $INCICONV; do
12031    haveit=
12032    for x in $CPPFLAGS; do
12033
12034  acl_save_prefix="$prefix"
12035  prefix="$acl_final_prefix"
12036  acl_save_exec_prefix="$exec_prefix"
12037  exec_prefix="$acl_final_exec_prefix"
12038  eval x=\"$x\"
12039  exec_prefix="$acl_save_exec_prefix"
12040  prefix="$acl_save_prefix"
12041
12042      if test "X$x" = "X$element"; then
12043        haveit=yes
12044        break
12045      fi
12046    done
12047    if test -z "$haveit"; then
12048      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
12049    fi
12050  done
12051
12052
12053  echo "$as_me:$LINENO: checking for iconv" >&5
12054echo $ECHO_N "checking for iconv... $ECHO_C" >&6
12055if test "${am_cv_func_iconv+set}" = set; then
12056  echo $ECHO_N "(cached) $ECHO_C" >&6
12057else
12058
12059    am_cv_func_iconv="no, consider installing GNU libiconv"
12060    am_cv_lib_iconv=no
12061    cat >conftest.$ac_ext <<_ACEOF
12062/* confdefs.h.  */
12063_ACEOF
12064cat confdefs.h >>conftest.$ac_ext
12065cat >>conftest.$ac_ext <<_ACEOF
12066/* end confdefs.h.  */
12067#include <stdlib.h>
12068#include <iconv.h>
12069int
12070main ()
12071{
12072iconv_t cd = iconv_open("","");
12073       iconv(cd,NULL,NULL,NULL,NULL);
12074       iconv_close(cd);
12075  ;
12076  return 0;
12077}
12078_ACEOF
12079rm -f conftest.$ac_objext conftest$ac_exeext
12080if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12081  (eval $ac_link) 2>conftest.er1
12082  ac_status=$?
12083  grep -v '^ *+' conftest.er1 >conftest.err
12084  rm -f conftest.er1
12085  cat conftest.err >&5
12086  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12087  (exit $ac_status); } &&
12088	 { ac_try='test -z "$ac_c_werror_flag"
12089			 || test ! -s conftest.err'
12090  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12091  (eval $ac_try) 2>&5
12092  ac_status=$?
12093  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094  (exit $ac_status); }; } &&
12095	 { ac_try='test -s conftest$ac_exeext'
12096  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12097  (eval $ac_try) 2>&5
12098  ac_status=$?
12099  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12100  (exit $ac_status); }; }; then
12101  am_cv_func_iconv=yes
12102else
12103  echo "$as_me: failed program was:" >&5
12104sed 's/^/| /' conftest.$ac_ext >&5
12105
12106fi
12107rm -f conftest.err conftest.$ac_objext \
12108      conftest$ac_exeext conftest.$ac_ext
12109    if test "$am_cv_func_iconv" != yes; then
12110      am_save_LIBS="$LIBS"
12111      LIBS="$LIBS $LIBICONV"
12112      cat >conftest.$ac_ext <<_ACEOF
12113/* confdefs.h.  */
12114_ACEOF
12115cat confdefs.h >>conftest.$ac_ext
12116cat >>conftest.$ac_ext <<_ACEOF
12117/* end confdefs.h.  */
12118#include <stdlib.h>
12119#include <iconv.h>
12120int
12121main ()
12122{
12123iconv_t cd = iconv_open("","");
12124         iconv(cd,NULL,NULL,NULL,NULL);
12125         iconv_close(cd);
12126  ;
12127  return 0;
12128}
12129_ACEOF
12130rm -f conftest.$ac_objext conftest$ac_exeext
12131if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12132  (eval $ac_link) 2>conftest.er1
12133  ac_status=$?
12134  grep -v '^ *+' conftest.er1 >conftest.err
12135  rm -f conftest.er1
12136  cat conftest.err >&5
12137  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12138  (exit $ac_status); } &&
12139	 { ac_try='test -z "$ac_c_werror_flag"
12140			 || test ! -s conftest.err'
12141  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142  (eval $ac_try) 2>&5
12143  ac_status=$?
12144  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145  (exit $ac_status); }; } &&
12146	 { ac_try='test -s conftest$ac_exeext'
12147  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12148  (eval $ac_try) 2>&5
12149  ac_status=$?
12150  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12151  (exit $ac_status); }; }; then
12152  am_cv_lib_iconv=yes
12153        am_cv_func_iconv=yes
12154else
12155  echo "$as_me: failed program was:" >&5
12156sed 's/^/| /' conftest.$ac_ext >&5
12157
12158fi
12159rm -f conftest.err conftest.$ac_objext \
12160      conftest$ac_exeext conftest.$ac_ext
12161      LIBS="$am_save_LIBS"
12162    fi
12163
12164fi
12165echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
12166echo "${ECHO_T}$am_cv_func_iconv" >&6
12167  if test "$am_cv_func_iconv" = yes; then
12168
12169cat >>confdefs.h <<\_ACEOF
12170#define HAVE_ICONV 1
12171_ACEOF
12172
12173  fi
12174  if test "$am_cv_lib_iconv" = yes; then
12175    echo "$as_me:$LINENO: checking how to link with libiconv" >&5
12176echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
12177    echo "$as_me:$LINENO: result: $LIBICONV" >&5
12178echo "${ECHO_T}$LIBICONV" >&6
12179  else
12180            CPPFLAGS="$am_save_CPPFLAGS"
12181    LIBICONV=
12182    LTLIBICONV=
12183  fi
12184
12185
12186
12187  if test "$am_cv_func_iconv" = yes; then
12188    echo "$as_me:$LINENO: checking for iconv declaration" >&5
12189echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
12190    if test "${am_cv_proto_iconv+set}" = set; then
12191  echo $ECHO_N "(cached) $ECHO_C" >&6
12192else
12193
12194      cat >conftest.$ac_ext <<_ACEOF
12195/* confdefs.h.  */
12196_ACEOF
12197cat confdefs.h >>conftest.$ac_ext
12198cat >>conftest.$ac_ext <<_ACEOF
12199/* end confdefs.h.  */
12200
12201#include <stdlib.h>
12202#include <iconv.h>
12203extern
12204#ifdef __cplusplus
12205"C"
12206#endif
12207#if defined(__STDC__) || defined(__cplusplus)
12208size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
12209#else
12210size_t iconv();
12211#endif
12212
12213int
12214main ()
12215{
12216
12217  ;
12218  return 0;
12219}
12220_ACEOF
12221rm -f conftest.$ac_objext
12222if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12223  (eval $ac_compile) 2>conftest.er1
12224  ac_status=$?
12225  grep -v '^ *+' conftest.er1 >conftest.err
12226  rm -f conftest.er1
12227  cat conftest.err >&5
12228  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12229  (exit $ac_status); } &&
12230	 { ac_try='test -z "$ac_c_werror_flag"
12231			 || test ! -s conftest.err'
12232  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12233  (eval $ac_try) 2>&5
12234  ac_status=$?
12235  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12236  (exit $ac_status); }; } &&
12237	 { ac_try='test -s conftest.$ac_objext'
12238  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12239  (eval $ac_try) 2>&5
12240  ac_status=$?
12241  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242  (exit $ac_status); }; }; then
12243  am_cv_proto_iconv_arg1=""
12244else
12245  echo "$as_me: failed program was:" >&5
12246sed 's/^/| /' conftest.$ac_ext >&5
12247
12248am_cv_proto_iconv_arg1="const"
12249fi
12250rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12251      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);"
12252fi
12253
12254    am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
12255    echo "$as_me:$LINENO: result: ${ac_t:-
12256         }$am_cv_proto_iconv" >&5
12257echo "${ECHO_T}${ac_t:-
12258         }$am_cv_proto_iconv" >&6
12259
12260cat >>confdefs.h <<_ACEOF
12261#define ICONV_CONST $am_cv_proto_iconv_arg1
12262_ACEOF
12263
12264  fi
12265
12266
12267  echo "$as_me:$LINENO: checking for nl_langinfo and CODESET" >&5
12268echo $ECHO_N "checking for nl_langinfo and CODESET... $ECHO_C" >&6
12269if test "${am_cv_langinfo_codeset+set}" = set; then
12270  echo $ECHO_N "(cached) $ECHO_C" >&6
12271else
12272  cat >conftest.$ac_ext <<_ACEOF
12273/* confdefs.h.  */
12274_ACEOF
12275cat confdefs.h >>conftest.$ac_ext
12276cat >>conftest.$ac_ext <<_ACEOF
12277/* end confdefs.h.  */
12278#include <langinfo.h>
12279int
12280main ()
12281{
12282char* cs = nl_langinfo(CODESET);
12283  ;
12284  return 0;
12285}
12286_ACEOF
12287rm -f conftest.$ac_objext conftest$ac_exeext
12288if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12289  (eval $ac_link) 2>conftest.er1
12290  ac_status=$?
12291  grep -v '^ *+' conftest.er1 >conftest.err
12292  rm -f conftest.er1
12293  cat conftest.err >&5
12294  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295  (exit $ac_status); } &&
12296	 { ac_try='test -z "$ac_c_werror_flag"
12297			 || test ! -s conftest.err'
12298  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12299  (eval $ac_try) 2>&5
12300  ac_status=$?
12301  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12302  (exit $ac_status); }; } &&
12303	 { ac_try='test -s conftest$ac_exeext'
12304  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12305  (eval $ac_try) 2>&5
12306  ac_status=$?
12307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12308  (exit $ac_status); }; }; then
12309  am_cv_langinfo_codeset=yes
12310else
12311  echo "$as_me: failed program was:" >&5
12312sed 's/^/| /' conftest.$ac_ext >&5
12313
12314am_cv_langinfo_codeset=no
12315fi
12316rm -f conftest.err conftest.$ac_objext \
12317      conftest$ac_exeext conftest.$ac_ext
12318
12319fi
12320echo "$as_me:$LINENO: result: $am_cv_langinfo_codeset" >&5
12321echo "${ECHO_T}$am_cv_langinfo_codeset" >&6
12322  if test $am_cv_langinfo_codeset = yes; then
12323
12324cat >>confdefs.h <<\_ACEOF
12325#define HAVE_LANGINFO_CODESET 1
12326_ACEOF
12327
12328  fi
12329
12330  if test $ac_cv_header_locale_h = yes; then
12331
12332  echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
12333echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
12334if test "${am_cv_val_LC_MESSAGES+set}" = set; then
12335  echo $ECHO_N "(cached) $ECHO_C" >&6
12336else
12337  cat >conftest.$ac_ext <<_ACEOF
12338/* confdefs.h.  */
12339_ACEOF
12340cat confdefs.h >>conftest.$ac_ext
12341cat >>conftest.$ac_ext <<_ACEOF
12342/* end confdefs.h.  */
12343#include <locale.h>
12344int
12345main ()
12346{
12347return LC_MESSAGES
12348  ;
12349  return 0;
12350}
12351_ACEOF
12352rm -f conftest.$ac_objext conftest$ac_exeext
12353if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12354  (eval $ac_link) 2>conftest.er1
12355  ac_status=$?
12356  grep -v '^ *+' conftest.er1 >conftest.err
12357  rm -f conftest.er1
12358  cat conftest.err >&5
12359  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12360  (exit $ac_status); } &&
12361	 { ac_try='test -z "$ac_c_werror_flag"
12362			 || test ! -s conftest.err'
12363  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12364  (eval $ac_try) 2>&5
12365  ac_status=$?
12366  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367  (exit $ac_status); }; } &&
12368	 { ac_try='test -s conftest$ac_exeext'
12369  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12370  (eval $ac_try) 2>&5
12371  ac_status=$?
12372  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12373  (exit $ac_status); }; }; then
12374  am_cv_val_LC_MESSAGES=yes
12375else
12376  echo "$as_me: failed program was:" >&5
12377sed 's/^/| /' conftest.$ac_ext >&5
12378
12379am_cv_val_LC_MESSAGES=no
12380fi
12381rm -f conftest.err conftest.$ac_objext \
12382      conftest$ac_exeext conftest.$ac_ext
12383fi
12384echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
12385echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6
12386  if test $am_cv_val_LC_MESSAGES = yes; then
12387
12388cat >>confdefs.h <<\_ACEOF
12389#define HAVE_LC_MESSAGES 1
12390_ACEOF
12391
12392  fi
12393
12394  fi
12395
12396                      for ac_prog in bison
12397do
12398  # Extract the first word of "$ac_prog", so it can be a program name with args.
12399set dummy $ac_prog; ac_word=$2
12400echo "$as_me:$LINENO: checking for $ac_word" >&5
12401echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12402if test "${ac_cv_prog_INTLBISON+set}" = set; then
12403  echo $ECHO_N "(cached) $ECHO_C" >&6
12404else
12405  if test -n "$INTLBISON"; then
12406  ac_cv_prog_INTLBISON="$INTLBISON" # Let the user override the test.
12407else
12408as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12409for as_dir in $PATH
12410do
12411  IFS=$as_save_IFS
12412  test -z "$as_dir" && as_dir=.
12413  for ac_exec_ext in '' $ac_executable_extensions; do
12414  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12415    ac_cv_prog_INTLBISON="$ac_prog"
12416    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12417    break 2
12418  fi
12419done
12420done
12421
12422fi
12423fi
12424INTLBISON=$ac_cv_prog_INTLBISON
12425if test -n "$INTLBISON"; then
12426  echo "$as_me:$LINENO: result: $INTLBISON" >&5
12427echo "${ECHO_T}$INTLBISON" >&6
12428else
12429  echo "$as_me:$LINENO: result: no" >&5
12430echo "${ECHO_T}no" >&6
12431fi
12432
12433  test -n "$INTLBISON" && break
12434done
12435
12436  if test -z "$INTLBISON"; then
12437    ac_verc_fail=yes
12438  else
12439        echo "$as_me:$LINENO: checking version of bison" >&5
12440echo $ECHO_N "checking version of bison... $ECHO_C" >&6
12441    ac_prog_version=`$INTLBISON --version 2>&1 | sed -n 's/^.*GNU Bison.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
12442    case $ac_prog_version in
12443      '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
12444      1.2[6-9]* | 1.[3-9][0-9]* | [2-9].*)
12445         ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
12446      *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
12447    esac
12448    echo "$as_me:$LINENO: result: $ac_prog_version" >&5
12449echo "${ECHO_T}$ac_prog_version" >&6
12450  fi
12451  if test $ac_verc_fail = yes; then
12452    INTLBISON=:
12453  fi
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470  echo "$as_me:$LINENO: checking whether NLS is requested" >&5
12471echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
12472    # Check whether --enable-nls or --disable-nls was given.
12473if test "${enable_nls+set}" = set; then
12474  enableval="$enable_nls"
12475  USE_NLS=$enableval
12476else
12477  USE_NLS=yes
12478fi;
12479  echo "$as_me:$LINENO: result: $USE_NLS" >&5
12480echo "${ECHO_T}$USE_NLS" >&6
12481
12482
12483
12484
12485    BUILD_INCLUDED_LIBINTL=no
12486    USE_INCLUDED_LIBINTL=no
12487
12488  LIBINTL=
12489  LTLIBINTL=
12490  POSUB=
12491
12492    if test "$USE_NLS" = "yes"; then
12493    gt_use_preinstalled_gnugettext=no
12494
12495      echo "$as_me:$LINENO: checking whether included gettext is requested" >&5
12496echo $ECHO_N "checking whether included gettext is requested... $ECHO_C" >&6
12497
12498# Check whether --with-included-gettext or --without-included-gettext was given.
12499if test "${with_included_gettext+set}" = set; then
12500  withval="$with_included_gettext"
12501  nls_cv_force_use_gnu_gettext=$withval
12502else
12503  nls_cv_force_use_gnu_gettext=no
12504fi;
12505      echo "$as_me:$LINENO: result: $nls_cv_force_use_gnu_gettext" >&5
12506echo "${ECHO_T}$nls_cv_force_use_gnu_gettext" >&6
12507
12508      nls_cv_use_gnu_gettext="$nls_cv_force_use_gnu_gettext"
12509      if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
12510
12511
12512
12513
12514
12515
12516        echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5
12517echo $ECHO_N "checking for GNU gettext in libc... $ECHO_C" >&6
12518if test "${gt_cv_func_gnugettext1_libc+set}" = set; then
12519  echo $ECHO_N "(cached) $ECHO_C" >&6
12520else
12521  cat >conftest.$ac_ext <<_ACEOF
12522/* confdefs.h.  */
12523_ACEOF
12524cat confdefs.h >>conftest.$ac_ext
12525cat >>conftest.$ac_ext <<_ACEOF
12526/* end confdefs.h.  */
12527#include <libintl.h>
12528extern int _nl_msg_cat_cntr;
12529extern int *_nl_domain_bindings;
12530int
12531main ()
12532{
12533bindtextdomain ("", "");
12534return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
12535  ;
12536  return 0;
12537}
12538_ACEOF
12539rm -f conftest.$ac_objext conftest$ac_exeext
12540if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12541  (eval $ac_link) 2>conftest.er1
12542  ac_status=$?
12543  grep -v '^ *+' conftest.er1 >conftest.err
12544  rm -f conftest.er1
12545  cat conftest.err >&5
12546  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12547  (exit $ac_status); } &&
12548	 { ac_try='test -z "$ac_c_werror_flag"
12549			 || test ! -s conftest.err'
12550  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12551  (eval $ac_try) 2>&5
12552  ac_status=$?
12553  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12554  (exit $ac_status); }; } &&
12555	 { ac_try='test -s conftest$ac_exeext'
12556  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12557  (eval $ac_try) 2>&5
12558  ac_status=$?
12559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12560  (exit $ac_status); }; }; then
12561  gt_cv_func_gnugettext1_libc=yes
12562else
12563  echo "$as_me: failed program was:" >&5
12564sed 's/^/| /' conftest.$ac_ext >&5
12565
12566gt_cv_func_gnugettext1_libc=no
12567fi
12568rm -f conftest.err conftest.$ac_objext \
12569      conftest$ac_exeext conftest.$ac_ext
12570fi
12571echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libc" >&5
12572echo "${ECHO_T}$gt_cv_func_gnugettext1_libc" >&6
12573
12574        if test "$gt_cv_func_gnugettext1_libc" != "yes"; then
12575
12576
12577
12578    use_additional=yes
12579
12580  acl_save_prefix="$prefix"
12581  prefix="$acl_final_prefix"
12582  acl_save_exec_prefix="$exec_prefix"
12583  exec_prefix="$acl_final_exec_prefix"
12584
12585    eval additional_includedir=\"$includedir\"
12586    eval additional_libdir=\"$libdir\"
12587
12588  exec_prefix="$acl_save_exec_prefix"
12589  prefix="$acl_save_prefix"
12590
12591
12592# Check whether --with-libintl-prefix or --without-libintl-prefix was given.
12593if test "${with_libintl_prefix+set}" = set; then
12594  withval="$with_libintl_prefix"
12595
12596    if test "X$withval" = "Xno"; then
12597      use_additional=no
12598    else
12599      if test "X$withval" = "X"; then
12600
12601  acl_save_prefix="$prefix"
12602  prefix="$acl_final_prefix"
12603  acl_save_exec_prefix="$exec_prefix"
12604  exec_prefix="$acl_final_exec_prefix"
12605
12606          eval additional_includedir=\"$includedir\"
12607          eval additional_libdir=\"$libdir\"
12608
12609  exec_prefix="$acl_save_exec_prefix"
12610  prefix="$acl_save_prefix"
12611
12612      else
12613        additional_includedir="$withval/include"
12614        additional_libdir="$withval/lib"
12615      fi
12616    fi
12617
12618fi;
12619      LIBINTL=
12620  LTLIBINTL=
12621  INCINTL=
12622  rpathdirs=
12623  ltrpathdirs=
12624  names_already_handled=
12625  names_next_round='intl '
12626  while test -n "$names_next_round"; do
12627    names_this_round="$names_next_round"
12628    names_next_round=
12629    for name in $names_this_round; do
12630      already_handled=
12631      for n in $names_already_handled; do
12632        if test "$n" = "$name"; then
12633          already_handled=yes
12634          break
12635        fi
12636      done
12637      if test -z "$already_handled"; then
12638        names_already_handled="$names_already_handled $name"
12639                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
12640        eval value=\"\$HAVE_LIB$uppername\"
12641        if test -n "$value"; then
12642          if test "$value" = yes; then
12643            eval value=\"\$LIB$uppername\"
12644            test -z "$value" || LIBINTL="${LIBINTL}${LIBINTL:+ }$value"
12645            eval value=\"\$LTLIB$uppername\"
12646            test -z "$value" || LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$value"
12647          else
12648                                    :
12649          fi
12650        else
12651                              found_dir=
12652          found_la=
12653          found_so=
12654          found_a=
12655          if test $use_additional = yes; then
12656            if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
12657              found_dir="$additional_libdir"
12658              found_so="$additional_libdir/lib$name.$shlibext"
12659              if test -f "$additional_libdir/lib$name.la"; then
12660                found_la="$additional_libdir/lib$name.la"
12661              fi
12662            else
12663              if test -f "$additional_libdir/lib$name.$libext"; then
12664                found_dir="$additional_libdir"
12665                found_a="$additional_libdir/lib$name.$libext"
12666                if test -f "$additional_libdir/lib$name.la"; then
12667                  found_la="$additional_libdir/lib$name.la"
12668                fi
12669              fi
12670            fi
12671          fi
12672          if test "X$found_dir" = "X"; then
12673            for x in $LDFLAGS $LTLIBINTL; do
12674
12675  acl_save_prefix="$prefix"
12676  prefix="$acl_final_prefix"
12677  acl_save_exec_prefix="$exec_prefix"
12678  exec_prefix="$acl_final_exec_prefix"
12679  eval x=\"$x\"
12680  exec_prefix="$acl_save_exec_prefix"
12681  prefix="$acl_save_prefix"
12682
12683              case "$x" in
12684                -L*)
12685                  dir=`echo "X$x" | sed -e 's/^X-L//'`
12686                  if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
12687                    found_dir="$dir"
12688                    found_so="$dir/lib$name.$shlibext"
12689                    if test -f "$dir/lib$name.la"; then
12690                      found_la="$dir/lib$name.la"
12691                    fi
12692                  else
12693                    if test -f "$dir/lib$name.$libext"; then
12694                      found_dir="$dir"
12695                      found_a="$dir/lib$name.$libext"
12696                      if test -f "$dir/lib$name.la"; then
12697                        found_la="$dir/lib$name.la"
12698                      fi
12699                    fi
12700                  fi
12701                  ;;
12702              esac
12703              if test "X$found_dir" != "X"; then
12704                break
12705              fi
12706            done
12707          fi
12708          if test "X$found_dir" != "X"; then
12709                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$found_dir -l$name"
12710            if test "X$found_so" != "X"; then
12711                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
12712                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12713              else
12714                                                                                haveit=
12715                for x in $ltrpathdirs; do
12716                  if test "X$x" = "X$found_dir"; then
12717                    haveit=yes
12718                    break
12719                  fi
12720                done
12721                if test -z "$haveit"; then
12722                  ltrpathdirs="$ltrpathdirs $found_dir"
12723                fi
12724                                if test "$hardcode_direct" = yes; then
12725                                                      LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12726                else
12727                  if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
12728                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12729                                                            haveit=
12730                    for x in $rpathdirs; do
12731                      if test "X$x" = "X$found_dir"; then
12732                        haveit=yes
12733                        break
12734                      fi
12735                    done
12736                    if test -z "$haveit"; then
12737                      rpathdirs="$rpathdirs $found_dir"
12738                    fi
12739                  else
12740                                                                                haveit=
12741                    for x in $LDFLAGS $LIBINTL; do
12742
12743  acl_save_prefix="$prefix"
12744  prefix="$acl_final_prefix"
12745  acl_save_exec_prefix="$exec_prefix"
12746  exec_prefix="$acl_final_exec_prefix"
12747  eval x=\"$x\"
12748  exec_prefix="$acl_save_exec_prefix"
12749  prefix="$acl_save_prefix"
12750
12751                      if test "X$x" = "X-L$found_dir"; then
12752                        haveit=yes
12753                        break
12754                      fi
12755                    done
12756                    if test -z "$haveit"; then
12757                      LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir"
12758                    fi
12759                    if test "$hardcode_minus_L" != no; then
12760                                                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$found_so"
12761                    else
12762                                                                                                                                                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
12763                    fi
12764                  fi
12765                fi
12766              fi
12767            else
12768              if test "X$found_a" != "X"; then
12769                                LIBINTL="${LIBINTL}${LIBINTL:+ }$found_a"
12770              else
12771                                                LIBINTL="${LIBINTL}${LIBINTL:+ }-L$found_dir -l$name"
12772              fi
12773            fi
12774                        additional_includedir=
12775            case "$found_dir" in
12776              */lib | */lib/)
12777                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
12778                additional_includedir="$basedir/include"
12779                ;;
12780            esac
12781            if test "X$additional_includedir" != "X"; then
12782                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
12783                haveit=
12784                if test "X$additional_includedir" = "X/usr/local/include"; then
12785                  if test -n "$GCC"; then
12786                    case $host_os in
12787                      linux*) haveit=yes;;
12788                    esac
12789                  fi
12790                fi
12791                if test -z "$haveit"; then
12792                  for x in $CPPFLAGS $INCINTL; do
12793
12794  acl_save_prefix="$prefix"
12795  prefix="$acl_final_prefix"
12796  acl_save_exec_prefix="$exec_prefix"
12797  exec_prefix="$acl_final_exec_prefix"
12798  eval x=\"$x\"
12799  exec_prefix="$acl_save_exec_prefix"
12800  prefix="$acl_save_prefix"
12801
12802                    if test "X$x" = "X-I$additional_includedir"; then
12803                      haveit=yes
12804                      break
12805                    fi
12806                  done
12807                  if test -z "$haveit"; then
12808                    if test -d "$additional_includedir"; then
12809                                            INCINTL="${INCINTL}${INCINTL:+ }-I$additional_includedir"
12810                    fi
12811                  fi
12812                fi
12813              fi
12814            fi
12815                        if test -n "$found_la"; then
12816                                                        save_libdir="$libdir"
12817              case "$found_la" in
12818                */* | *\\*) . "$found_la" ;;
12819                *) . "./$found_la" ;;
12820              esac
12821              libdir="$save_libdir"
12822                            for dep in $dependency_libs; do
12823                case "$dep" in
12824                  -L*)
12825                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
12826                                                                                                                                                                if test "X$additional_libdir" != "X/usr/lib"; then
12827                      haveit=
12828                      if test "X$additional_libdir" = "X/usr/local/lib"; then
12829                        if test -n "$GCC"; then
12830                          case $host_os in
12831                            linux*) haveit=yes;;
12832                          esac
12833                        fi
12834                      fi
12835                      if test -z "$haveit"; then
12836                        haveit=
12837                        for x in $LDFLAGS $LIBINTL; do
12838
12839  acl_save_prefix="$prefix"
12840  prefix="$acl_final_prefix"
12841  acl_save_exec_prefix="$exec_prefix"
12842  exec_prefix="$acl_final_exec_prefix"
12843  eval x=\"$x\"
12844  exec_prefix="$acl_save_exec_prefix"
12845  prefix="$acl_save_prefix"
12846
12847                          if test "X$x" = "X-L$additional_libdir"; then
12848                            haveit=yes
12849                            break
12850                          fi
12851                        done
12852                        if test -z "$haveit"; then
12853                          if test -d "$additional_libdir"; then
12854                                                        LIBINTL="${LIBINTL}${LIBINTL:+ }-L$additional_libdir"
12855                          fi
12856                        fi
12857                        haveit=
12858                        for x in $LDFLAGS $LTLIBINTL; do
12859
12860  acl_save_prefix="$prefix"
12861  prefix="$acl_final_prefix"
12862  acl_save_exec_prefix="$exec_prefix"
12863  exec_prefix="$acl_final_exec_prefix"
12864  eval x=\"$x\"
12865  exec_prefix="$acl_save_exec_prefix"
12866  prefix="$acl_save_prefix"
12867
12868                          if test "X$x" = "X-L$additional_libdir"; then
12869                            haveit=yes
12870                            break
12871                          fi
12872                        done
12873                        if test -z "$haveit"; then
12874                          if test -d "$additional_libdir"; then
12875                                                        LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-L$additional_libdir"
12876                          fi
12877                        fi
12878                      fi
12879                    fi
12880                    ;;
12881                  -R*)
12882                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
12883                    if test "$enable_rpath" != no; then
12884                                                                  haveit=
12885                      for x in $rpathdirs; do
12886                        if test "X$x" = "X$dir"; then
12887                          haveit=yes
12888                          break
12889                        fi
12890                      done
12891                      if test -z "$haveit"; then
12892                        rpathdirs="$rpathdirs $dir"
12893                      fi
12894                                                                  haveit=
12895                      for x in $ltrpathdirs; do
12896                        if test "X$x" = "X$dir"; then
12897                          haveit=yes
12898                          break
12899                        fi
12900                      done
12901                      if test -z "$haveit"; then
12902                        ltrpathdirs="$ltrpathdirs $dir"
12903                      fi
12904                    fi
12905                    ;;
12906                  -l*)
12907                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
12908                    ;;
12909                  *.la)
12910                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
12911                    ;;
12912                  *)
12913                                        LIBINTL="${LIBINTL}${LIBINTL:+ }$dep"
12914                    LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }$dep"
12915                    ;;
12916                esac
12917              done
12918            fi
12919          else
12920                                                            LIBINTL="${LIBINTL}${LIBINTL:+ }-l$name"
12921            LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-l$name"
12922          fi
12923        fi
12924      fi
12925    done
12926  done
12927  if test "X$rpathdirs" != "X"; then
12928    if test -n "$hardcode_libdir_separator"; then
12929                        alldirs=
12930      for found_dir in $rpathdirs; do
12931        alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
12932      done
12933            acl_save_libdir="$libdir"
12934      libdir="$alldirs"
12935      eval flag=\"$hardcode_libdir_flag_spec\"
12936      libdir="$acl_save_libdir"
12937      LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
12938    else
12939            for found_dir in $rpathdirs; do
12940        acl_save_libdir="$libdir"
12941        libdir="$found_dir"
12942        eval flag=\"$hardcode_libdir_flag_spec\"
12943        libdir="$acl_save_libdir"
12944        LIBINTL="${LIBINTL}${LIBINTL:+ }$flag"
12945      done
12946    fi
12947  fi
12948  if test "X$ltrpathdirs" != "X"; then
12949            for found_dir in $ltrpathdirs; do
12950      LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
12951    done
12952  fi
12953
12954          echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5
12955echo $ECHO_N "checking for GNU gettext in libintl... $ECHO_C" >&6
12956if test "${gt_cv_func_gnugettext1_libintl+set}" = set; then
12957  echo $ECHO_N "(cached) $ECHO_C" >&6
12958else
12959  gt_save_CPPFLAGS="$CPPFLAGS"
12960            CPPFLAGS="$CPPFLAGS $INCINTL"
12961            gt_save_LIBS="$LIBS"
12962            LIBS="$LIBS $LIBINTL"
12963                        cat >conftest.$ac_ext <<_ACEOF
12964/* confdefs.h.  */
12965_ACEOF
12966cat confdefs.h >>conftest.$ac_ext
12967cat >>conftest.$ac_ext <<_ACEOF
12968/* end confdefs.h.  */
12969#include <libintl.h>
12970extern int _nl_msg_cat_cntr;
12971extern
12972#ifdef __cplusplus
12973"C"
12974#endif
12975const char *_nl_expand_alias ();
12976int
12977main ()
12978{
12979bindtextdomain ("", "");
12980return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
12981  ;
12982  return 0;
12983}
12984_ACEOF
12985rm -f conftest.$ac_objext conftest$ac_exeext
12986if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12987  (eval $ac_link) 2>conftest.er1
12988  ac_status=$?
12989  grep -v '^ *+' conftest.er1 >conftest.err
12990  rm -f conftest.er1
12991  cat conftest.err >&5
12992  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993  (exit $ac_status); } &&
12994	 { ac_try='test -z "$ac_c_werror_flag"
12995			 || test ! -s conftest.err'
12996  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12997  (eval $ac_try) 2>&5
12998  ac_status=$?
12999  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13000  (exit $ac_status); }; } &&
13001	 { ac_try='test -s conftest$ac_exeext'
13002  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003  (eval $ac_try) 2>&5
13004  ac_status=$?
13005  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006  (exit $ac_status); }; }; then
13007  gt_cv_func_gnugettext1_libintl=yes
13008else
13009  echo "$as_me: failed program was:" >&5
13010sed 's/^/| /' conftest.$ac_ext >&5
13011
13012gt_cv_func_gnugettext1_libintl=no
13013fi
13014rm -f conftest.err conftest.$ac_objext \
13015      conftest$ac_exeext conftest.$ac_ext
13016                        if test "$gt_cv_func_gnugettext1_libintl" != yes && test -n "$LIBICONV"; then
13017              LIBS="$LIBS $LIBICONV"
13018              cat >conftest.$ac_ext <<_ACEOF
13019/* confdefs.h.  */
13020_ACEOF
13021cat confdefs.h >>conftest.$ac_ext
13022cat >>conftest.$ac_ext <<_ACEOF
13023/* end confdefs.h.  */
13024#include <libintl.h>
13025extern int _nl_msg_cat_cntr;
13026extern
13027#ifdef __cplusplus
13028"C"
13029#endif
13030const char *_nl_expand_alias ();
13031int
13032main ()
13033{
13034bindtextdomain ("", "");
13035return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0)
13036  ;
13037  return 0;
13038}
13039_ACEOF
13040rm -f conftest.$ac_objext conftest$ac_exeext
13041if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13042  (eval $ac_link) 2>conftest.er1
13043  ac_status=$?
13044  grep -v '^ *+' conftest.er1 >conftest.err
13045  rm -f conftest.er1
13046  cat conftest.err >&5
13047  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048  (exit $ac_status); } &&
13049	 { ac_try='test -z "$ac_c_werror_flag"
13050			 || test ! -s conftest.err'
13051  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13052  (eval $ac_try) 2>&5
13053  ac_status=$?
13054  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055  (exit $ac_status); }; } &&
13056	 { ac_try='test -s conftest$ac_exeext'
13057  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13058  (eval $ac_try) 2>&5
13059  ac_status=$?
13060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13061  (exit $ac_status); }; }; then
13062  LIBINTL="$LIBINTL $LIBICONV"
13063                LTLIBINTL="$LTLIBINTL $LTLIBICONV"
13064                gt_cv_func_gnugettext1_libintl=yes
13065
13066else
13067  echo "$as_me: failed program was:" >&5
13068sed 's/^/| /' conftest.$ac_ext >&5
13069
13070fi
13071rm -f conftest.err conftest.$ac_objext \
13072      conftest$ac_exeext conftest.$ac_ext
13073            fi
13074            CPPFLAGS="$gt_save_CPPFLAGS"
13075            LIBS="$gt_save_LIBS"
13076fi
13077echo "$as_me:$LINENO: result: $gt_cv_func_gnugettext1_libintl" >&5
13078echo "${ECHO_T}$gt_cv_func_gnugettext1_libintl" >&6
13079        fi
13080
13081                                        if test "$gt_cv_func_gnugettext1_libc" = "yes" \
13082           || { test "$gt_cv_func_gnugettext1_libintl" = "yes" \
13083                && test "$PACKAGE" != gettext-runtime \
13084                && test "$PACKAGE" != gettext-tools; }; then
13085          gt_use_preinstalled_gnugettext=yes
13086        else
13087                    LIBINTL=
13088          LTLIBINTL=
13089          INCINTL=
13090        fi
13091
13092
13093        if test "$gt_use_preinstalled_gnugettext" != "yes"; then
13094                              nls_cv_use_gnu_gettext=yes
13095        fi
13096      fi
13097
13098      if test "$nls_cv_use_gnu_gettext" = "yes"; then
13099                BUILD_INCLUDED_LIBINTL=yes
13100        USE_INCLUDED_LIBINTL=yes
13101        LIBINTL="\${top_builddir}/intl/libintl.a $LIBICONV"
13102        LTLIBINTL="\${top_builddir}/intl/libintl.a $LTLIBICONV"
13103        LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
13104      fi
13105
13106      if test "$gt_use_preinstalled_gnugettext" = "yes" \
13107         || test "$nls_cv_use_gnu_gettext" = "yes"; then
13108                CATOBJEXT=.gmo
13109      fi
13110
13111
13112    if test "$gt_use_preinstalled_gnugettext" = "yes" \
13113       || test "$nls_cv_use_gnu_gettext" = "yes"; then
13114
13115cat >>confdefs.h <<\_ACEOF
13116#define ENABLE_NLS 1
13117_ACEOF
13118
13119    else
13120      USE_NLS=no
13121    fi
13122  fi
13123
13124  echo "$as_me:$LINENO: checking whether to use NLS" >&5
13125echo $ECHO_N "checking whether to use NLS... $ECHO_C" >&6
13126  echo "$as_me:$LINENO: result: $USE_NLS" >&5
13127echo "${ECHO_T}$USE_NLS" >&6
13128  if test "$USE_NLS" = "yes"; then
13129    echo "$as_me:$LINENO: checking where the gettext function comes from" >&5
13130echo $ECHO_N "checking where the gettext function comes from... $ECHO_C" >&6
13131    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13132      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
13133        gt_source="external libintl"
13134      else
13135        gt_source="libc"
13136      fi
13137    else
13138      gt_source="included intl directory"
13139    fi
13140    echo "$as_me:$LINENO: result: $gt_source" >&5
13141echo "${ECHO_T}$gt_source" >&6
13142  fi
13143
13144  if test "$USE_NLS" = "yes"; then
13145
13146    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
13147      if test "$gt_cv_func_gnugettext1_libintl" = "yes"; then
13148        echo "$as_me:$LINENO: checking how to link with libintl" >&5
13149echo $ECHO_N "checking how to link with libintl... $ECHO_C" >&6
13150        echo "$as_me:$LINENO: result: $LIBINTL" >&5
13151echo "${ECHO_T}$LIBINTL" >&6
13152
13153  for element in $INCINTL; do
13154    haveit=
13155    for x in $CPPFLAGS; do
13156
13157  acl_save_prefix="$prefix"
13158  prefix="$acl_final_prefix"
13159  acl_save_exec_prefix="$exec_prefix"
13160  exec_prefix="$acl_final_exec_prefix"
13161  eval x=\"$x\"
13162  exec_prefix="$acl_save_exec_prefix"
13163  prefix="$acl_save_prefix"
13164
13165      if test "X$x" = "X$element"; then
13166        haveit=yes
13167        break
13168      fi
13169    done
13170    if test -z "$haveit"; then
13171      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
13172    fi
13173  done
13174
13175      fi
13176
13177
13178cat >>confdefs.h <<\_ACEOF
13179#define HAVE_GETTEXT 1
13180_ACEOF
13181
13182
13183cat >>confdefs.h <<\_ACEOF
13184#define HAVE_DCGETTEXT 1
13185_ACEOF
13186
13187    fi
13188
13189        POSUB=po
13190  fi
13191
13192
13193            if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
13194      BUILD_INCLUDED_LIBINTL=yes
13195    fi
13196
13197
13198
13199
13200
13201        nls_cv_header_intl=
13202    nls_cv_header_libgt=
13203
13204        DATADIRNAME=share
13205
13206
13207        INSTOBJEXT=.mo
13208
13209
13210        GENCAT=gencat
13211
13212
13213        if test "$USE_INCLUDED_LIBINTL" = yes; then
13214      INTLOBJS="\$(GETTOBJS)"
13215    fi
13216
13217
13218        INTL_LIBTOOL_SUFFIX_PREFIX=
13219
13220
13221
13222    INTLLIBS="$LIBINTL"
13223
13224
13225
13226
13227
13228
13229
13230                                                                                                    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"
13231
13232cat >confcache <<\_ACEOF
13233# This file is a shell script that caches the results of configure
13234# tests run on this system so they can be shared between configure
13235# scripts and configure runs, see configure's option --config-cache.
13236# It is not useful on other systems.  If it contains results you don't
13237# want to keep, you may remove or edit it.
13238#
13239# config.status only pays attention to the cache file if you give it
13240# the --recheck option to rerun configure.
13241#
13242# `ac_cv_env_foo' variables (set or unset) will be overridden when
13243# loading this file, other *unset* `ac_cv_foo' will be assigned the
13244# following values.
13245
13246_ACEOF
13247
13248# The following way of writing the cache mishandles newlines in values,
13249# but we know of no workaround that is simple, portable, and efficient.
13250# So, don't put newlines in cache variables' values.
13251# Ultrix sh set writes to stderr and can't be redirected directly,
13252# and sets the high bit in the cache file unless we assign to the vars.
13253{
13254  (set) 2>&1 |
13255    case `(ac_space=' '; set | grep ac_space) 2>&1` in
13256    *ac_space=\ *)
13257      # `set' does not quote correctly, so add quotes (double-quote
13258      # substitution turns \\\\ into \\, and sed turns \\ into \).
13259      sed -n \
13260	"s/'/'\\\\''/g;
13261	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13262      ;;
13263    *)
13264      # `set' quotes correctly as required by POSIX, so do not add quotes.
13265      sed -n \
13266	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
13267      ;;
13268    esac;
13269} |
13270  sed '
13271     t clear
13272     : clear
13273     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13274     t end
13275     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13276     : end' >>confcache
13277if diff $cache_file confcache >/dev/null 2>&1; then :; else
13278  if test -w $cache_file; then
13279    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
13280    cat confcache >$cache_file
13281  else
13282    echo "not updating unwritable cache $cache_file"
13283  fi
13284fi
13285rm -f confcache
13286
13287test "x$prefix" = xNONE && prefix=$ac_default_prefix
13288# Let make expand exec_prefix.
13289test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
13290
13291# VPATH may cause trouble with some makes, so we remove $(srcdir),
13292# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13293# trailing colons and then remove the whole line if VPATH becomes empty
13294# (actually we leave an empty line to preserve line numbers).
13295if test "x$srcdir" = x.; then
13296  ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
13297s/:*\$(srcdir):*/:/;
13298s/:*\${srcdir}:*/:/;
13299s/:*@srcdir@:*/:/;
13300s/^\([^=]*=[	 ]*\):*/\1/;
13301s/:*$//;
13302s/^[^=]*=[	 ]*$//;
13303}'
13304fi
13305
13306DEFS=-DHAVE_CONFIG_H
13307
13308ac_libobjs=
13309ac_ltlibobjs=
13310for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
13311  # 1. Remove the extension, and $U if already installed.
13312  ac_i=`echo "$ac_i" |
13313	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
13314  # 2. Add them.
13315  ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
13316  ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
13317done
13318LIBOBJS=$ac_libobjs
13319
13320LTLIBOBJS=$ac_ltlibobjs
13321
13322
13323if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
13324  { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
13325Usually this means the macro was only invoked conditionally." >&5
13326echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
13327Usually this means the macro was only invoked conditionally." >&2;}
13328   { (exit 1); exit 1; }; }
13329fi
13330if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
13331  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
13332Usually this means the macro was only invoked conditionally." >&5
13333echo "$as_me: error: conditional \"AMDEP\" was never defined.
13334Usually this means the macro was only invoked conditionally." >&2;}
13335   { (exit 1); exit 1; }; }
13336fi
13337if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
13338  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
13339Usually this means the macro was only invoked conditionally." >&5
13340echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
13341Usually this means the macro was only invoked conditionally." >&2;}
13342   { (exit 1); exit 1; }; }
13343fi
13344if test -z "${TOOLS_ONLY_TRUE}" && test -z "${TOOLS_ONLY_FALSE}"; then
13345  { { echo "$as_me:$LINENO: error: conditional \"TOOLS_ONLY\" was never defined.
13346Usually this means the macro was only invoked conditionally." >&5
13347echo "$as_me: error: conditional \"TOOLS_ONLY\" was never defined.
13348Usually this means the macro was only invoked conditionally." >&2;}
13349   { (exit 1); exit 1; }; }
13350fi
13351if test -z "${INSTALL_WARNINGS_TRUE}" && test -z "${INSTALL_WARNINGS_FALSE}"; then
13352  { { echo "$as_me:$LINENO: error: conditional \"INSTALL_WARNINGS\" was never defined.
13353Usually this means the macro was only invoked conditionally." >&5
13354echo "$as_me: error: conditional \"INSTALL_WARNINGS\" was never defined.
13355Usually this means the macro was only invoked conditionally." >&2;}
13356   { (exit 1); exit 1; }; }
13357fi
13358
13359: ${CONFIG_STATUS=./config.status}
13360ac_clean_files_save=$ac_clean_files
13361ac_clean_files="$ac_clean_files $CONFIG_STATUS"
13362{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
13363echo "$as_me: creating $CONFIG_STATUS" >&6;}
13364cat >$CONFIG_STATUS <<_ACEOF
13365#! $SHELL
13366# Generated by $as_me.
13367# Run this file to recreate the current configuration.
13368# Compiler output produced by configure, useful for debugging
13369# configure, is in config.log if it exists.
13370
13371debug=false
13372ac_cs_recheck=false
13373ac_cs_silent=false
13374SHELL=\${CONFIG_SHELL-$SHELL}
13375_ACEOF
13376
13377cat >>$CONFIG_STATUS <<\_ACEOF
13378## --------------------- ##
13379## M4sh Initialization.  ##
13380## --------------------- ##
13381
13382# Be Bourne compatible
13383if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
13384  emulate sh
13385  NULLCMD=:
13386  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
13387  # is contrary to our usage.  Disable this feature.
13388  alias -g '${1+"$@"}'='"$@"'
13389elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
13390  set -o posix
13391fi
13392DUALCASE=1; export DUALCASE # for MKS sh
13393
13394# Support unset when possible.
13395if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
13396  as_unset=unset
13397else
13398  as_unset=false
13399fi
13400
13401
13402# Work around bugs in pre-3.0 UWIN ksh.
13403$as_unset ENV MAIL MAILPATH
13404PS1='$ '
13405PS2='> '
13406PS4='+ '
13407
13408# NLS nuisances.
13409for as_var in \
13410  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
13411  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
13412  LC_TELEPHONE LC_TIME
13413do
13414  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
13415    eval $as_var=C; export $as_var
13416  else
13417    $as_unset $as_var
13418  fi
13419done
13420
13421# Required to use basename.
13422if expr a : '\(a\)' >/dev/null 2>&1; then
13423  as_expr=expr
13424else
13425  as_expr=false
13426fi
13427
13428if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
13429  as_basename=basename
13430else
13431  as_basename=false
13432fi
13433
13434
13435# Name of the executable.
13436as_me=`$as_basename "$0" ||
13437$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
13438	 X"$0" : 'X\(//\)$' \| \
13439	 X"$0" : 'X\(/\)$' \| \
13440	 .     : '\(.\)' 2>/dev/null ||
13441echo X/"$0" |
13442    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
13443  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
13444  	  /^X\/\(\/\).*/{ s//\1/; q; }
13445  	  s/.*/./; q'`
13446
13447
13448# PATH needs CR, and LINENO needs CR and PATH.
13449# Avoid depending upon Character Ranges.
13450as_cr_letters='abcdefghijklmnopqrstuvwxyz'
13451as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13452as_cr_Letters=$as_cr_letters$as_cr_LETTERS
13453as_cr_digits='0123456789'
13454as_cr_alnum=$as_cr_Letters$as_cr_digits
13455
13456# The user is always right.
13457if test "${PATH_SEPARATOR+set}" != set; then
13458  echo "#! /bin/sh" >conf$$.sh
13459  echo  "exit 0"   >>conf$$.sh
13460  chmod +x conf$$.sh
13461  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
13462    PATH_SEPARATOR=';'
13463  else
13464    PATH_SEPARATOR=:
13465  fi
13466  rm -f conf$$.sh
13467fi
13468
13469
13470  as_lineno_1=$LINENO
13471  as_lineno_2=$LINENO
13472  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13473  test "x$as_lineno_1" != "x$as_lineno_2" &&
13474  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
13475  # Find who we are.  Look in the path if we contain no path at all
13476  # relative or not.
13477  case $0 in
13478    *[\\/]* ) as_myself=$0 ;;
13479    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13480for as_dir in $PATH
13481do
13482  IFS=$as_save_IFS
13483  test -z "$as_dir" && as_dir=.
13484  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
13485done
13486
13487       ;;
13488  esac
13489  # We did not find ourselves, most probably we were run as `sh COMMAND'
13490  # in which case we are not to be found in the path.
13491  if test "x$as_myself" = x; then
13492    as_myself=$0
13493  fi
13494  if test ! -f "$as_myself"; then
13495    { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
13496echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
13497   { (exit 1); exit 1; }; }
13498  fi
13499  case $CONFIG_SHELL in
13500  '')
13501    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13502for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
13503do
13504  IFS=$as_save_IFS
13505  test -z "$as_dir" && as_dir=.
13506  for as_base in sh bash ksh sh5; do
13507	 case $as_dir in
13508	 /*)
13509	   if ("$as_dir/$as_base" -c '
13510  as_lineno_1=$LINENO
13511  as_lineno_2=$LINENO
13512  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
13513  test "x$as_lineno_1" != "x$as_lineno_2" &&
13514  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
13515	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
13516	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
13517	     CONFIG_SHELL=$as_dir/$as_base
13518	     export CONFIG_SHELL
13519	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
13520	   fi;;
13521	 esac
13522       done
13523done
13524;;
13525  esac
13526
13527  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
13528  # uniformly replaced by the line number.  The first 'sed' inserts a
13529  # line-number line before each line; the second 'sed' does the real
13530  # work.  The second script uses 'N' to pair each line-number line
13531  # with the numbered line, and appends trailing '-' during
13532  # substitution so that $LINENO is not a special case at line end.
13533  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
13534  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
13535  sed '=' <$as_myself |
13536    sed '
13537      N
13538      s,$,-,
13539      : loop
13540      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
13541      t loop
13542      s,-$,,
13543      s,^['$as_cr_digits']*\n,,
13544    ' >$as_me.lineno &&
13545  chmod +x $as_me.lineno ||
13546    { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
13547echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
13548   { (exit 1); exit 1; }; }
13549
13550  # Don't try to exec as it changes $[0], causing all sort of problems
13551  # (the dirname of $[0] is not the place where we might find the
13552  # original and so on.  Autoconf is especially sensible to this).
13553  . ./$as_me.lineno
13554  # Exit status is that of the last command.
13555  exit
13556}
13557
13558
13559case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
13560  *c*,-n*) ECHO_N= ECHO_C='
13561' ECHO_T='	' ;;
13562  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
13563  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
13564esac
13565
13566if expr a : '\(a\)' >/dev/null 2>&1; then
13567  as_expr=expr
13568else
13569  as_expr=false
13570fi
13571
13572rm -f conf$$ conf$$.exe conf$$.file
13573echo >conf$$.file
13574if ln -s conf$$.file conf$$ 2>/dev/null; then
13575  # We could just check for DJGPP; but this test a) works b) is more generic
13576  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
13577  if test -f conf$$.exe; then
13578    # Don't use ln at all; we don't have any links
13579    as_ln_s='cp -p'
13580  else
13581    as_ln_s='ln -s'
13582  fi
13583elif ln conf$$.file conf$$ 2>/dev/null; then
13584  as_ln_s=ln
13585else
13586  as_ln_s='cp -p'
13587fi
13588rm -f conf$$ conf$$.exe conf$$.file
13589
13590if mkdir -p . 2>/dev/null; then
13591  as_mkdir_p=:
13592else
13593  test -d ./-p && rmdir ./-p
13594  as_mkdir_p=false
13595fi
13596
13597as_executable_p="test -f"
13598
13599# Sed expression to map a string onto a valid CPP name.
13600as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
13601
13602# Sed expression to map a string onto a valid variable name.
13603as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
13604
13605
13606# IFS
13607# We need space, tab and new line, in precisely that order.
13608as_nl='
13609'
13610IFS=" 	$as_nl"
13611
13612# CDPATH.
13613$as_unset CDPATH
13614
13615exec 6>&1
13616
13617# Open the log real soon, to keep \$[0] and so on meaningful, and to
13618# report actual input values of CONFIG_FILES etc. instead of their
13619# values after options handling.  Logging --version etc. is OK.
13620exec 5>>config.log
13621{
13622  echo
13623  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
13624## Running $as_me. ##
13625_ASBOX
13626} >&5
13627cat >&5 <<_CSEOF
13628
13629This file was extended by GNU Texinfo $as_me 4.8, which was
13630generated by GNU Autoconf 2.59.  Invocation command line was
13631
13632  CONFIG_FILES    = $CONFIG_FILES
13633  CONFIG_HEADERS  = $CONFIG_HEADERS
13634  CONFIG_LINKS    = $CONFIG_LINKS
13635  CONFIG_COMMANDS = $CONFIG_COMMANDS
13636  $ $0 $@
13637
13638_CSEOF
13639echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
13640echo >&5
13641_ACEOF
13642
13643# Files that config.status was made for.
13644if test -n "$ac_config_files"; then
13645  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
13646fi
13647
13648if test -n "$ac_config_headers"; then
13649  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
13650fi
13651
13652if test -n "$ac_config_links"; then
13653  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
13654fi
13655
13656if test -n "$ac_config_commands"; then
13657  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
13658fi
13659
13660cat >>$CONFIG_STATUS <<\_ACEOF
13661
13662ac_cs_usage="\
13663\`$as_me' instantiates files from templates according to the
13664current configuration.
13665
13666Usage: $0 [OPTIONS] [FILE]...
13667
13668  -h, --help       print this help, then exit
13669  -V, --version    print version number, then exit
13670  -q, --quiet      do not print progress messages
13671  -d, --debug      don't remove temporary files
13672      --recheck    update $as_me by reconfiguring in the same conditions
13673  --file=FILE[:TEMPLATE]
13674		   instantiate the configuration file FILE
13675  --header=FILE[:TEMPLATE]
13676		   instantiate the configuration header FILE
13677
13678Configuration files:
13679$config_files
13680
13681Configuration headers:
13682$config_headers
13683
13684Configuration commands:
13685$config_commands
13686
13687Report bugs to <bug-autoconf@gnu.org>."
13688_ACEOF
13689
13690cat >>$CONFIG_STATUS <<_ACEOF
13691ac_cs_version="\\
13692GNU Texinfo config.status 4.8
13693configured by $0, generated by GNU Autoconf 2.59,
13694  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
13695
13696Copyright (C) 2003 Free Software Foundation, Inc.
13697This config.status script is free software; the Free Software Foundation
13698gives unlimited permission to copy, distribute and modify it."
13699srcdir=$srcdir
13700INSTALL="$INSTALL"
13701_ACEOF
13702
13703cat >>$CONFIG_STATUS <<\_ACEOF
13704# If no file are specified by the user, then we need to provide default
13705# value.  By we need to know if files were specified by the user.
13706ac_need_defaults=:
13707while test $# != 0
13708do
13709  case $1 in
13710  --*=*)
13711    ac_option=`expr "x$1" : 'x\([^=]*\)='`
13712    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
13713    ac_shift=:
13714    ;;
13715  -*)
13716    ac_option=$1
13717    ac_optarg=$2
13718    ac_shift=shift
13719    ;;
13720  *) # This is not an option, so the user has probably given explicit
13721     # arguments.
13722     ac_option=$1
13723     ac_need_defaults=false;;
13724  esac
13725
13726  case $ac_option in
13727  # Handling of the options.
13728_ACEOF
13729cat >>$CONFIG_STATUS <<\_ACEOF
13730  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13731    ac_cs_recheck=: ;;
13732  --version | --vers* | -V )
13733    echo "$ac_cs_version"; exit 0 ;;
13734  --he | --h)
13735    # Conflict between --help and --header
13736    { { echo "$as_me:$LINENO: error: ambiguous option: $1
13737Try \`$0 --help' for more information." >&5
13738echo "$as_me: error: ambiguous option: $1
13739Try \`$0 --help' for more information." >&2;}
13740   { (exit 1); exit 1; }; };;
13741  --help | --hel | -h )
13742    echo "$ac_cs_usage"; exit 0 ;;
13743  --debug | --d* | -d )
13744    debug=: ;;
13745  --file | --fil | --fi | --f )
13746    $ac_shift
13747    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
13748    ac_need_defaults=false;;
13749  --header | --heade | --head | --hea )
13750    $ac_shift
13751    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
13752    ac_need_defaults=false;;
13753  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
13754  | -silent | --silent | --silen | --sile | --sil | --si | --s)
13755    ac_cs_silent=: ;;
13756
13757  # This is an error.
13758  -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
13759Try \`$0 --help' for more information." >&5
13760echo "$as_me: error: unrecognized option: $1
13761Try \`$0 --help' for more information." >&2;}
13762   { (exit 1); exit 1; }; } ;;
13763
13764  *) ac_config_targets="$ac_config_targets $1" ;;
13765
13766  esac
13767  shift
13768done
13769
13770ac_configure_extra_args=
13771
13772if $ac_cs_silent; then
13773  exec 6>/dev/null
13774  ac_configure_extra_args="$ac_configure_extra_args --silent"
13775fi
13776
13777_ACEOF
13778cat >>$CONFIG_STATUS <<_ACEOF
13779if \$ac_cs_recheck; then
13780  echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
13781  exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
13782fi
13783
13784_ACEOF
13785
13786cat >>$CONFIG_STATUS <<_ACEOF
13787#
13788# INIT-COMMANDS section.
13789#
13790
13791AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
13792# Capture the value of obsolete ALL_LINGUAS because we need it to compute
13793    # POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES, CATALOGS. But hide it
13794    # from automake.
13795    eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
13796    # Capture the value of LINGUAS because we need it to compute CATALOGS.
13797    LINGUAS="${LINGUAS-%UNSET%}"
13798
13799
13800_ACEOF
13801
13802
13803
13804cat >>$CONFIG_STATUS <<\_ACEOF
13805for ac_config_target in $ac_config_targets
13806do
13807  case "$ac_config_target" in
13808  # Handling of arguments.
13809  "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
13810  "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
13811  "info/Makefile" ) CONFIG_FILES="$CONFIG_FILES info/Makefile" ;;
13812  "intl/Makefile" ) CONFIG_FILES="$CONFIG_FILES intl/Makefile" ;;
13813  "lib/Makefile" ) CONFIG_FILES="$CONFIG_FILES lib/Makefile" ;;
13814  "m4/Makefile" ) CONFIG_FILES="$CONFIG_FILES m4/Makefile" ;;
13815  "makeinfo/Makefile" ) CONFIG_FILES="$CONFIG_FILES makeinfo/Makefile" ;;
13816  "makeinfo/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES makeinfo/tests/Makefile" ;;
13817  "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
13818  "util/Makefile" ) CONFIG_FILES="$CONFIG_FILES util/Makefile" ;;
13819  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
13820  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
13821  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
13822  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
13823echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
13824   { (exit 1); exit 1; }; };;
13825  esac
13826done
13827
13828# If the user did not use the arguments to specify the items to instantiate,
13829# then the envvar interface is used.  Set only those that are not.
13830# We use the long form for the default assignment because of an extremely
13831# bizarre bug on SunOS 4.1.3.
13832if $ac_need_defaults; then
13833  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
13834  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
13835  test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
13836fi
13837
13838# Have a temporary directory for convenience.  Make it in the build tree
13839# simply because there is no reason to put it here, and in addition,
13840# creating and moving files from /tmp can sometimes cause problems.
13841# Create a temporary directory, and hook for its removal unless debugging.
13842$debug ||
13843{
13844  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
13845  trap '{ (exit 1); exit 1; }' 1 2 13 15
13846}
13847
13848# Create a (secure) tmp directory for tmp files.
13849
13850{
13851  tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
13852  test -n "$tmp" && test -d "$tmp"
13853}  ||
13854{
13855  tmp=./confstat$$-$RANDOM
13856  (umask 077 && mkdir $tmp)
13857} ||
13858{
13859   echo "$me: cannot create a temporary directory in ." >&2
13860   { (exit 1); exit 1; }
13861}
13862
13863_ACEOF
13864
13865cat >>$CONFIG_STATUS <<_ACEOF
13866
13867#
13868# CONFIG_FILES section.
13869#
13870
13871# No need to generate the scripts if there are no CONFIG_FILES.
13872# This happens for instance when ./config.status config.h
13873if test -n "\$CONFIG_FILES"; then
13874  # Protect against being on the right side of a sed subst in config.status.
13875  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
13876   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
13877s,@SHELL@,$SHELL,;t t
13878s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
13879s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
13880s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
13881s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
13882s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
13883s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
13884s,@exec_prefix@,$exec_prefix,;t t
13885s,@prefix@,$prefix,;t t
13886s,@program_transform_name@,$program_transform_name,;t t
13887s,@bindir@,$bindir,;t t
13888s,@sbindir@,$sbindir,;t t
13889s,@libexecdir@,$libexecdir,;t t
13890s,@datadir@,$datadir,;t t
13891s,@sysconfdir@,$sysconfdir,;t t
13892s,@sharedstatedir@,$sharedstatedir,;t t
13893s,@localstatedir@,$localstatedir,;t t
13894s,@libdir@,$libdir,;t t
13895s,@includedir@,$includedir,;t t
13896s,@oldincludedir@,$oldincludedir,;t t
13897s,@infodir@,$infodir,;t t
13898s,@mandir@,$mandir,;t t
13899s,@build_alias@,$build_alias,;t t
13900s,@host_alias@,$host_alias,;t t
13901s,@target_alias@,$target_alias,;t t
13902s,@DEFS@,$DEFS,;t t
13903s,@ECHO_C@,$ECHO_C,;t t
13904s,@ECHO_N@,$ECHO_N,;t t
13905s,@ECHO_T@,$ECHO_T,;t t
13906s,@LIBS@,$LIBS,;t t
13907s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
13908s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
13909s,@INSTALL_DATA@,$INSTALL_DATA,;t t
13910s,@CYGPATH_W@,$CYGPATH_W,;t t
13911s,@PACKAGE@,$PACKAGE,;t t
13912s,@VERSION@,$VERSION,;t t
13913s,@ACLOCAL@,$ACLOCAL,;t t
13914s,@AUTOCONF@,$AUTOCONF,;t t
13915s,@AUTOMAKE@,$AUTOMAKE,;t t
13916s,@AUTOHEADER@,$AUTOHEADER,;t t
13917s,@MAKEINFO@,$MAKEINFO,;t t
13918s,@install_sh@,$install_sh,;t t
13919s,@STRIP@,$STRIP,;t t
13920s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
13921s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
13922s,@mkdir_p@,$mkdir_p,;t t
13923s,@AWK@,$AWK,;t t
13924s,@SET_MAKE@,$SET_MAKE,;t t
13925s,@am__leading_dot@,$am__leading_dot,;t t
13926s,@AMTAR@,$AMTAR,;t t
13927s,@am__tar@,$am__tar,;t t
13928s,@am__untar@,$am__untar,;t t
13929s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
13930s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
13931s,@MAINT@,$MAINT,;t t
13932s,@CC@,$CC,;t t
13933s,@CFLAGS@,$CFLAGS,;t t
13934s,@LDFLAGS@,$LDFLAGS,;t t
13935s,@CPPFLAGS@,$CPPFLAGS,;t t
13936s,@ac_ct_CC@,$ac_ct_CC,;t t
13937s,@EXEEXT@,$EXEEXT,;t t
13938s,@OBJEXT@,$OBJEXT,;t t
13939s,@DEPDIR@,$DEPDIR,;t t
13940s,@am__include@,$am__include,;t t
13941s,@am__quote@,$am__quote,;t t
13942s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
13943s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
13944s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
13945s,@CCDEPMODE@,$CCDEPMODE,;t t
13946s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
13947s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
13948s,@CPP@,$CPP,;t t
13949s,@EGREP@,$EGREP,;t t
13950s,@RANLIB@,$RANLIB,;t t
13951s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
13952s,@HELP2MAN@,$HELP2MAN,;t t
13953s,@ALLOCA@,$ALLOCA,;t t
13954s,@LIBOBJS@,$LIBOBJS,;t t
13955s,@build@,$build,;t t
13956s,@build_cpu@,$build_cpu,;t t
13957s,@build_vendor@,$build_vendor,;t t
13958s,@build_os@,$build_os,;t t
13959s,@native_tools@,$native_tools,;t t
13960s,@TOOLS_ONLY_TRUE@,$TOOLS_ONLY_TRUE,;t t
13961s,@TOOLS_ONLY_FALSE@,$TOOLS_ONLY_FALSE,;t t
13962s,@TERMLIBS@,$TERMLIBS,;t t
13963s,@host@,$host,;t t
13964s,@host_cpu@,$host_cpu,;t t
13965s,@host_vendor@,$host_vendor,;t t
13966s,@host_os@,$host_os,;t t
13967s,@INSTALL_WARNINGS_TRUE@,$INSTALL_WARNINGS_TRUE,;t t
13968s,@INSTALL_WARNINGS_FALSE@,$INSTALL_WARNINGS_FALSE,;t t
13969s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
13970s,@USE_NLS@,$USE_NLS,;t t
13971s,@MSGFMT@,$MSGFMT,;t t
13972s,@GMSGFMT@,$GMSGFMT,;t t
13973s,@XGETTEXT@,$XGETTEXT,;t t
13974s,@MSGMERGE@,$MSGMERGE,;t t
13975s,@GLIBC21@,$GLIBC21,;t t
13976s,@HAVE_POSIX_PRINTF@,$HAVE_POSIX_PRINTF,;t t
13977s,@HAVE_ASPRINTF@,$HAVE_ASPRINTF,;t t
13978s,@HAVE_SNPRINTF@,$HAVE_SNPRINTF,;t t
13979s,@HAVE_WPRINTF@,$HAVE_WPRINTF,;t t
13980s,@LIBICONV@,$LIBICONV,;t t
13981s,@LTLIBICONV@,$LTLIBICONV,;t t
13982s,@INTLBISON@,$INTLBISON,;t t
13983s,@BUILD_INCLUDED_LIBINTL@,$BUILD_INCLUDED_LIBINTL,;t t
13984s,@USE_INCLUDED_LIBINTL@,$USE_INCLUDED_LIBINTL,;t t
13985s,@CATOBJEXT@,$CATOBJEXT,;t t
13986s,@DATADIRNAME@,$DATADIRNAME,;t t
13987s,@INSTOBJEXT@,$INSTOBJEXT,;t t
13988s,@GENCAT@,$GENCAT,;t t
13989s,@INTLOBJS@,$INTLOBJS,;t t
13990s,@INTL_LIBTOOL_SUFFIX_PREFIX@,$INTL_LIBTOOL_SUFFIX_PREFIX,;t t
13991s,@INTLLIBS@,$INTLLIBS,;t t
13992s,@LIBINTL@,$LIBINTL,;t t
13993s,@LTLIBINTL@,$LTLIBINTL,;t t
13994s,@POSUB@,$POSUB,;t t
13995s,@LTLIBOBJS@,$LTLIBOBJS,;t t
13996CEOF
13997
13998_ACEOF
13999
14000  cat >>$CONFIG_STATUS <<\_ACEOF
14001  # Split the substitutions into bite-sized pieces for seds with
14002  # small command number limits, like on Digital OSF/1 and HP-UX.
14003  ac_max_sed_lines=48
14004  ac_sed_frag=1 # Number of current file.
14005  ac_beg=1 # First line for current file.
14006  ac_end=$ac_max_sed_lines # Line after last line for current file.
14007  ac_more_lines=:
14008  ac_sed_cmds=
14009  while $ac_more_lines; do
14010    if test $ac_beg -gt 1; then
14011      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14012    else
14013      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
14014    fi
14015    if test ! -s $tmp/subs.frag; then
14016      ac_more_lines=false
14017    else
14018      # The purpose of the label and of the branching condition is to
14019      # speed up the sed processing (if there are no `@' at all, there
14020      # is no need to browse any of the substitutions).
14021      # These are the two extra sed commands mentioned above.
14022      (echo ':t
14023  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
14024      if test -z "$ac_sed_cmds"; then
14025	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
14026      else
14027	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
14028      fi
14029      ac_sed_frag=`expr $ac_sed_frag + 1`
14030      ac_beg=$ac_end
14031      ac_end=`expr $ac_end + $ac_max_sed_lines`
14032    fi
14033  done
14034  if test -z "$ac_sed_cmds"; then
14035    ac_sed_cmds=cat
14036  fi
14037fi # test -n "$CONFIG_FILES"
14038
14039_ACEOF
14040cat >>$CONFIG_STATUS <<\_ACEOF
14041for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
14042  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14043  case $ac_file in
14044  - | *:- | *:-:* ) # input from stdin
14045	cat >$tmp/stdin
14046	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14047	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14048  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14049	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14050  * )   ac_file_in=$ac_file.in ;;
14051  esac
14052
14053  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
14054  ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14055$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14056	 X"$ac_file" : 'X\(//\)[^/]' \| \
14057	 X"$ac_file" : 'X\(//\)$' \| \
14058	 X"$ac_file" : 'X\(/\)' \| \
14059	 .     : '\(.\)' 2>/dev/null ||
14060echo X"$ac_file" |
14061    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14062  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14063  	  /^X\(\/\/\)$/{ s//\1/; q; }
14064  	  /^X\(\/\).*/{ s//\1/; q; }
14065  	  s/.*/./; q'`
14066  { if $as_mkdir_p; then
14067    mkdir -p "$ac_dir"
14068  else
14069    as_dir="$ac_dir"
14070    as_dirs=
14071    while test ! -d "$as_dir"; do
14072      as_dirs="$as_dir $as_dirs"
14073      as_dir=`(dirname "$as_dir") 2>/dev/null ||
14074$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14075	 X"$as_dir" : 'X\(//\)[^/]' \| \
14076	 X"$as_dir" : 'X\(//\)$' \| \
14077	 X"$as_dir" : 'X\(/\)' \| \
14078	 .     : '\(.\)' 2>/dev/null ||
14079echo X"$as_dir" |
14080    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14081  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14082  	  /^X\(\/\/\)$/{ s//\1/; q; }
14083  	  /^X\(\/\).*/{ s//\1/; q; }
14084  	  s/.*/./; q'`
14085    done
14086    test ! -n "$as_dirs" || mkdir $as_dirs
14087  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14088echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14089   { (exit 1); exit 1; }; }; }
14090
14091  ac_builddir=.
14092
14093if test "$ac_dir" != .; then
14094  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14095  # A "../" for each directory in $ac_dir_suffix.
14096  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14097else
14098  ac_dir_suffix= ac_top_builddir=
14099fi
14100
14101case $srcdir in
14102  .)  # No --srcdir option.  We are building in place.
14103    ac_srcdir=.
14104    if test -z "$ac_top_builddir"; then
14105       ac_top_srcdir=.
14106    else
14107       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14108    fi ;;
14109  [\\/]* | ?:[\\/]* )  # Absolute path.
14110    ac_srcdir=$srcdir$ac_dir_suffix;
14111    ac_top_srcdir=$srcdir ;;
14112  *) # Relative path.
14113    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14114    ac_top_srcdir=$ac_top_builddir$srcdir ;;
14115esac
14116
14117# Do not use `cd foo && pwd` to compute absolute paths, because
14118# the directories may not exist.
14119case `pwd` in
14120.) ac_abs_builddir="$ac_dir";;
14121*)
14122  case "$ac_dir" in
14123  .) ac_abs_builddir=`pwd`;;
14124  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
14125  *) ac_abs_builddir=`pwd`/"$ac_dir";;
14126  esac;;
14127esac
14128case $ac_abs_builddir in
14129.) ac_abs_top_builddir=${ac_top_builddir}.;;
14130*)
14131  case ${ac_top_builddir}. in
14132  .) ac_abs_top_builddir=$ac_abs_builddir;;
14133  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14134  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
14135  esac;;
14136esac
14137case $ac_abs_builddir in
14138.) ac_abs_srcdir=$ac_srcdir;;
14139*)
14140  case $ac_srcdir in
14141  .) ac_abs_srcdir=$ac_abs_builddir;;
14142  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14143  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
14144  esac;;
14145esac
14146case $ac_abs_builddir in
14147.) ac_abs_top_srcdir=$ac_top_srcdir;;
14148*)
14149  case $ac_top_srcdir in
14150  .) ac_abs_top_srcdir=$ac_abs_builddir;;
14151  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14152  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
14153  esac;;
14154esac
14155
14156
14157  case $INSTALL in
14158  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
14159  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
14160  esac
14161
14162  if test x"$ac_file" != x-; then
14163    { echo "$as_me:$LINENO: creating $ac_file" >&5
14164echo "$as_me: creating $ac_file" >&6;}
14165    rm -f "$ac_file"
14166  fi
14167  # Let's still pretend it is `configure' which instantiates (i.e., don't
14168  # use $as_me), people would be surprised to read:
14169  #    /* config.h.  Generated by config.status.  */
14170  if test x"$ac_file" = x-; then
14171    configure_input=
14172  else
14173    configure_input="$ac_file.  "
14174  fi
14175  configure_input=$configure_input"Generated from `echo $ac_file_in |
14176				     sed 's,.*/,,'` by configure."
14177
14178  # First look for the input files in the build tree, otherwise in the
14179  # src tree.
14180  ac_file_inputs=`IFS=:
14181    for f in $ac_file_in; do
14182      case $f in
14183      -) echo $tmp/stdin ;;
14184      [\\/$]*)
14185	 # Absolute (can't be DOS-style, as IFS=:)
14186	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14187echo "$as_me: error: cannot find input file: $f" >&2;}
14188   { (exit 1); exit 1; }; }
14189	 echo "$f";;
14190      *) # Relative
14191	 if test -f "$f"; then
14192	   # Build tree
14193	   echo "$f"
14194	 elif test -f "$srcdir/$f"; then
14195	   # Source tree
14196	   echo "$srcdir/$f"
14197	 else
14198	   # /dev/null tree
14199	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14200echo "$as_me: error: cannot find input file: $f" >&2;}
14201   { (exit 1); exit 1; }; }
14202	 fi;;
14203      esac
14204    done` || { (exit 1); exit 1; }
14205_ACEOF
14206cat >>$CONFIG_STATUS <<_ACEOF
14207  sed "$ac_vpsub
14208$extrasub
14209_ACEOF
14210cat >>$CONFIG_STATUS <<\_ACEOF
14211:t
14212/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
14213s,@configure_input@,$configure_input,;t t
14214s,@srcdir@,$ac_srcdir,;t t
14215s,@abs_srcdir@,$ac_abs_srcdir,;t t
14216s,@top_srcdir@,$ac_top_srcdir,;t t
14217s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
14218s,@builddir@,$ac_builddir,;t t
14219s,@abs_builddir@,$ac_abs_builddir,;t t
14220s,@top_builddir@,$ac_top_builddir,;t t
14221s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
14222s,@INSTALL@,$ac_INSTALL,;t t
14223" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
14224  rm -f $tmp/stdin
14225  if test x"$ac_file" != x-; then
14226    mv $tmp/out $ac_file
14227  else
14228    cat $tmp/out
14229    rm -f $tmp/out
14230  fi
14231
14232done
14233_ACEOF
14234cat >>$CONFIG_STATUS <<\_ACEOF
14235
14236#
14237# CONFIG_HEADER section.
14238#
14239
14240# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
14241# NAME is the cpp macro being defined and VALUE is the value it is being given.
14242#
14243# ac_d sets the value in "#define NAME VALUE" lines.
14244ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
14245ac_dB='[	 ].*$,\1#\2'
14246ac_dC=' '
14247ac_dD=',;t'
14248# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
14249ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
14250ac_uB='$,\1#\2define\3'
14251ac_uC=' '
14252ac_uD=',;t'
14253
14254for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
14255  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
14256  case $ac_file in
14257  - | *:- | *:-:* ) # input from stdin
14258	cat >$tmp/stdin
14259	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14260	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14261  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
14262	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
14263  * )   ac_file_in=$ac_file.in ;;
14264  esac
14265
14266  test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
14267echo "$as_me: creating $ac_file" >&6;}
14268
14269  # First look for the input files in the build tree, otherwise in the
14270  # src tree.
14271  ac_file_inputs=`IFS=:
14272    for f in $ac_file_in; do
14273      case $f in
14274      -) echo $tmp/stdin ;;
14275      [\\/$]*)
14276	 # Absolute (can't be DOS-style, as IFS=:)
14277	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14278echo "$as_me: error: cannot find input file: $f" >&2;}
14279   { (exit 1); exit 1; }; }
14280	 # Do quote $f, to prevent DOS paths from being IFS'd.
14281	 echo "$f";;
14282      *) # Relative
14283	 if test -f "$f"; then
14284	   # Build tree
14285	   echo "$f"
14286	 elif test -f "$srcdir/$f"; then
14287	   # Source tree
14288	   echo "$srcdir/$f"
14289	 else
14290	   # /dev/null tree
14291	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
14292echo "$as_me: error: cannot find input file: $f" >&2;}
14293   { (exit 1); exit 1; }; }
14294	 fi;;
14295      esac
14296    done` || { (exit 1); exit 1; }
14297  # Remove the trailing spaces.
14298  sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
14299
14300_ACEOF
14301
14302# Transform confdefs.h into two sed scripts, `conftest.defines' and
14303# `conftest.undefs', that substitutes the proper values into
14304# config.h.in to produce config.h.  The first handles `#define'
14305# templates, and the second `#undef' templates.
14306# And first: Protect against being on the right side of a sed subst in
14307# config.status.  Protect against being in an unquoted here document
14308# in config.status.
14309rm -f conftest.defines conftest.undefs
14310# Using a here document instead of a string reduces the quoting nightmare.
14311# Putting comments in sed scripts is not portable.
14312#
14313# `end' is used to avoid that the second main sed command (meant for
14314# 0-ary CPP macros) applies to n-ary macro definitions.
14315# See the Autoconf documentation for `clear'.
14316cat >confdef2sed.sed <<\_ACEOF
14317s/[\\&,]/\\&/g
14318s,[\\$`],\\&,g
14319t clear
14320: clear
14321s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
14322t end
14323s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
14324: end
14325_ACEOF
14326# If some macros were called several times there might be several times
14327# the same #defines, which is useless.  Nevertheless, we may not want to
14328# sort them, since we want the *last* AC-DEFINE to be honored.
14329uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
14330sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
14331rm -f confdef2sed.sed
14332
14333# This sed command replaces #undef with comments.  This is necessary, for
14334# example, in the case of _POSIX_SOURCE, which is predefined and required
14335# on some systems where configure will not decide to define it.
14336cat >>conftest.undefs <<\_ACEOF
14337s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
14338_ACEOF
14339
14340# Break up conftest.defines because some shells have a limit on the size
14341# of here documents, and old seds have small limits too (100 cmds).
14342echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
14343echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
14344echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
14345echo '  :' >>$CONFIG_STATUS
14346rm -f conftest.tail
14347while grep . conftest.defines >/dev/null
14348do
14349  # Write a limited-size here document to $tmp/defines.sed.
14350  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
14351  # Speed up: don't consider the non `#define' lines.
14352  echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
14353  # Work around the forget-to-reset-the-flag bug.
14354  echo 't clr' >>$CONFIG_STATUS
14355  echo ': clr' >>$CONFIG_STATUS
14356  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
14357  echo 'CEOF
14358  sed -f $tmp/defines.sed $tmp/in >$tmp/out
14359  rm -f $tmp/in
14360  mv $tmp/out $tmp/in
14361' >>$CONFIG_STATUS
14362  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
14363  rm -f conftest.defines
14364  mv conftest.tail conftest.defines
14365done
14366rm -f conftest.defines
14367echo '  fi # grep' >>$CONFIG_STATUS
14368echo >>$CONFIG_STATUS
14369
14370# Break up conftest.undefs because some shells have a limit on the size
14371# of here documents, and old seds have small limits too (100 cmds).
14372echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
14373rm -f conftest.tail
14374while grep . conftest.undefs >/dev/null
14375do
14376  # Write a limited-size here document to $tmp/undefs.sed.
14377  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
14378  # Speed up: don't consider the non `#undef'
14379  echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
14380  # Work around the forget-to-reset-the-flag bug.
14381  echo 't clr' >>$CONFIG_STATUS
14382  echo ': clr' >>$CONFIG_STATUS
14383  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
14384  echo 'CEOF
14385  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
14386  rm -f $tmp/in
14387  mv $tmp/out $tmp/in
14388' >>$CONFIG_STATUS
14389  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
14390  rm -f conftest.undefs
14391  mv conftest.tail conftest.undefs
14392done
14393rm -f conftest.undefs
14394
14395cat >>$CONFIG_STATUS <<\_ACEOF
14396  # Let's still pretend it is `configure' which instantiates (i.e., don't
14397  # use $as_me), people would be surprised to read:
14398  #    /* config.h.  Generated by config.status.  */
14399  if test x"$ac_file" = x-; then
14400    echo "/* Generated by configure.  */" >$tmp/config.h
14401  else
14402    echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
14403  fi
14404  cat $tmp/in >>$tmp/config.h
14405  rm -f $tmp/in
14406  if test x"$ac_file" != x-; then
14407    if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
14408      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
14409echo "$as_me: $ac_file is unchanged" >&6;}
14410    else
14411      ac_dir=`(dirname "$ac_file") 2>/dev/null ||
14412$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14413	 X"$ac_file" : 'X\(//\)[^/]' \| \
14414	 X"$ac_file" : 'X\(//\)$' \| \
14415	 X"$ac_file" : 'X\(/\)' \| \
14416	 .     : '\(.\)' 2>/dev/null ||
14417echo X"$ac_file" |
14418    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14419  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14420  	  /^X\(\/\/\)$/{ s//\1/; q; }
14421  	  /^X\(\/\).*/{ s//\1/; q; }
14422  	  s/.*/./; q'`
14423      { if $as_mkdir_p; then
14424    mkdir -p "$ac_dir"
14425  else
14426    as_dir="$ac_dir"
14427    as_dirs=
14428    while test ! -d "$as_dir"; do
14429      as_dirs="$as_dir $as_dirs"
14430      as_dir=`(dirname "$as_dir") 2>/dev/null ||
14431$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14432	 X"$as_dir" : 'X\(//\)[^/]' \| \
14433	 X"$as_dir" : 'X\(//\)$' \| \
14434	 X"$as_dir" : 'X\(/\)' \| \
14435	 .     : '\(.\)' 2>/dev/null ||
14436echo X"$as_dir" |
14437    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14438  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14439  	  /^X\(\/\/\)$/{ s//\1/; q; }
14440  	  /^X\(\/\).*/{ s//\1/; q; }
14441  	  s/.*/./; q'`
14442    done
14443    test ! -n "$as_dirs" || mkdir $as_dirs
14444  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14445echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14446   { (exit 1); exit 1; }; }; }
14447
14448      rm -f $ac_file
14449      mv $tmp/config.h $ac_file
14450    fi
14451  else
14452    cat $tmp/config.h
14453    rm -f $tmp/config.h
14454  fi
14455# Compute $ac_file's index in $config_headers.
14456_am_stamp_count=1
14457for _am_header in $config_headers :; do
14458  case $_am_header in
14459    $ac_file | $ac_file:* )
14460      break ;;
14461    * )
14462      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
14463  esac
14464done
14465echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
14466$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14467	 X$ac_file : 'X\(//\)[^/]' \| \
14468	 X$ac_file : 'X\(//\)$' \| \
14469	 X$ac_file : 'X\(/\)' \| \
14470	 .     : '\(.\)' 2>/dev/null ||
14471echo X$ac_file |
14472    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14473  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14474  	  /^X\(\/\/\)$/{ s//\1/; q; }
14475  	  /^X\(\/\).*/{ s//\1/; q; }
14476  	  s/.*/./; q'`/stamp-h$_am_stamp_count
14477done
14478_ACEOF
14479cat >>$CONFIG_STATUS <<\_ACEOF
14480
14481#
14482# CONFIG_COMMANDS section.
14483#
14484for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
14485  ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
14486  ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
14487  ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
14488$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14489	 X"$ac_dest" : 'X\(//\)[^/]' \| \
14490	 X"$ac_dest" : 'X\(//\)$' \| \
14491	 X"$ac_dest" : 'X\(/\)' \| \
14492	 .     : '\(.\)' 2>/dev/null ||
14493echo X"$ac_dest" |
14494    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14495  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14496  	  /^X\(\/\/\)$/{ s//\1/; q; }
14497  	  /^X\(\/\).*/{ s//\1/; q; }
14498  	  s/.*/./; q'`
14499  { if $as_mkdir_p; then
14500    mkdir -p "$ac_dir"
14501  else
14502    as_dir="$ac_dir"
14503    as_dirs=
14504    while test ! -d "$as_dir"; do
14505      as_dirs="$as_dir $as_dirs"
14506      as_dir=`(dirname "$as_dir") 2>/dev/null ||
14507$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14508	 X"$as_dir" : 'X\(//\)[^/]' \| \
14509	 X"$as_dir" : 'X\(//\)$' \| \
14510	 X"$as_dir" : 'X\(/\)' \| \
14511	 .     : '\(.\)' 2>/dev/null ||
14512echo X"$as_dir" |
14513    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14514  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14515  	  /^X\(\/\/\)$/{ s//\1/; q; }
14516  	  /^X\(\/\).*/{ s//\1/; q; }
14517  	  s/.*/./; q'`
14518    done
14519    test ! -n "$as_dirs" || mkdir $as_dirs
14520  fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
14521echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
14522   { (exit 1); exit 1; }; }; }
14523
14524  ac_builddir=.
14525
14526if test "$ac_dir" != .; then
14527  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
14528  # A "../" for each directory in $ac_dir_suffix.
14529  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
14530else
14531  ac_dir_suffix= ac_top_builddir=
14532fi
14533
14534case $srcdir in
14535  .)  # No --srcdir option.  We are building in place.
14536    ac_srcdir=.
14537    if test -z "$ac_top_builddir"; then
14538       ac_top_srcdir=.
14539    else
14540       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
14541    fi ;;
14542  [\\/]* | ?:[\\/]* )  # Absolute path.
14543    ac_srcdir=$srcdir$ac_dir_suffix;
14544    ac_top_srcdir=$srcdir ;;
14545  *) # Relative path.
14546    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
14547    ac_top_srcdir=$ac_top_builddir$srcdir ;;
14548esac
14549
14550# Do not use `cd foo && pwd` to compute absolute paths, because
14551# the directories may not exist.
14552case `pwd` in
14553.) ac_abs_builddir="$ac_dir";;
14554*)
14555  case "$ac_dir" in
14556  .) ac_abs_builddir=`pwd`;;
14557  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
14558  *) ac_abs_builddir=`pwd`/"$ac_dir";;
14559  esac;;
14560esac
14561case $ac_abs_builddir in
14562.) ac_abs_top_builddir=${ac_top_builddir}.;;
14563*)
14564  case ${ac_top_builddir}. in
14565  .) ac_abs_top_builddir=$ac_abs_builddir;;
14566  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
14567  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
14568  esac;;
14569esac
14570case $ac_abs_builddir in
14571.) ac_abs_srcdir=$ac_srcdir;;
14572*)
14573  case $ac_srcdir in
14574  .) ac_abs_srcdir=$ac_abs_builddir;;
14575  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
14576  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
14577  esac;;
14578esac
14579case $ac_abs_builddir in
14580.) ac_abs_top_srcdir=$ac_top_srcdir;;
14581*)
14582  case $ac_top_srcdir in
14583  .) ac_abs_top_srcdir=$ac_abs_builddir;;
14584  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
14585  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
14586  esac;;
14587esac
14588
14589
14590  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
14591echo "$as_me: executing $ac_dest commands" >&6;}
14592  case $ac_dest in
14593    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
14594  # Strip MF so we end up with the name of the file.
14595  mf=`echo "$mf" | sed -e 's/:.*$//'`
14596  # Check whether this is an Automake generated Makefile or not.
14597  # We used to match only the files named `Makefile.in', but
14598  # some people rename them; so instead we look at the file content.
14599  # Grep'ing the first line is not enough: some people post-process
14600  # each Makefile.in and add a new line on top of each file to say so.
14601  # So let's grep whole file.
14602  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
14603    dirpart=`(dirname "$mf") 2>/dev/null ||
14604$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14605	 X"$mf" : 'X\(//\)[^/]' \| \
14606	 X"$mf" : 'X\(//\)$' \| \
14607	 X"$mf" : 'X\(/\)' \| \
14608	 .     : '\(.\)' 2>/dev/null ||
14609echo X"$mf" |
14610    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14611  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14612  	  /^X\(\/\/\)$/{ s//\1/; q; }
14613  	  /^X\(\/\).*/{ s//\1/; q; }
14614  	  s/.*/./; q'`
14615  else
14616    continue
14617  fi
14618  # Extract the definition of DEPDIR, am__include, and am__quote
14619  # from the Makefile without running `make'.
14620  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
14621  test -z "$DEPDIR" && continue
14622  am__include=`sed -n 's/^am__include = //p' < "$mf"`
14623  test -z "am__include" && continue
14624  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
14625  # When using ansi2knr, U may be empty or an underscore; expand it
14626  U=`sed -n 's/^U = //p' < "$mf"`
14627  # Find all dependency output files, they are included files with
14628  # $(DEPDIR) in their names.  We invoke sed twice because it is the
14629  # simplest approach to changing $(DEPDIR) to its actual value in the
14630  # expansion.
14631  for file in `sed -n "
14632    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
14633       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
14634    # Make sure the directory exists.
14635    test -f "$dirpart/$file" && continue
14636    fdir=`(dirname "$file") 2>/dev/null ||
14637$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14638	 X"$file" : 'X\(//\)[^/]' \| \
14639	 X"$file" : 'X\(//\)$' \| \
14640	 X"$file" : 'X\(/\)' \| \
14641	 .     : '\(.\)' 2>/dev/null ||
14642echo X"$file" |
14643    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14644  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14645  	  /^X\(\/\/\)$/{ s//\1/; q; }
14646  	  /^X\(\/\).*/{ s//\1/; q; }
14647  	  s/.*/./; q'`
14648    { if $as_mkdir_p; then
14649    mkdir -p $dirpart/$fdir
14650  else
14651    as_dir=$dirpart/$fdir
14652    as_dirs=
14653    while test ! -d "$as_dir"; do
14654      as_dirs="$as_dir $as_dirs"
14655      as_dir=`(dirname "$as_dir") 2>/dev/null ||
14656$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
14657	 X"$as_dir" : 'X\(//\)[^/]' \| \
14658	 X"$as_dir" : 'X\(//\)$' \| \
14659	 X"$as_dir" : 'X\(/\)' \| \
14660	 .     : '\(.\)' 2>/dev/null ||
14661echo X"$as_dir" |
14662    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
14663  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
14664  	  /^X\(\/\/\)$/{ s//\1/; q; }
14665  	  /^X\(\/\).*/{ s//\1/; q; }
14666  	  s/.*/./; q'`
14667    done
14668    test ! -n "$as_dirs" || mkdir $as_dirs
14669  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
14670echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
14671   { (exit 1); exit 1; }; }; }
14672
14673    # echo "creating $dirpart/$file"
14674    echo '# dummy' > "$dirpart/$file"
14675  done
14676done
14677 ;;
14678    default-1 )
14679    for ac_file in $CONFIG_FILES; do
14680      # Support "outfile[:infile[:infile...]]"
14681      case "$ac_file" in
14682        *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
14683      esac
14684      # PO directories have a Makefile.in generated from Makefile.in.in.
14685      case "$ac_file" in */Makefile.in)
14686        # Adjust a relative srcdir.
14687        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
14688        ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
14689        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
14690        # In autoconf-2.13 it is called $ac_given_srcdir.
14691        # In autoconf-2.50 it is called $srcdir.
14692        test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
14693        case "$ac_given_srcdir" in
14694          .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
14695          /*) top_srcdir="$ac_given_srcdir" ;;
14696          *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
14697        esac
14698        if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
14699          rm -f "$ac_dir/POTFILES"
14700          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
14701          cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
14702          POMAKEFILEDEPS="POTFILES.in"
14703          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
14704          # on $ac_dir but don't depend on user-specified configuration
14705          # parameters.
14706          if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
14707            # The LINGUAS file contains the set of available languages.
14708            if test -n "$OBSOLETE_ALL_LINGUAS"; then
14709              test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
14710            fi
14711            ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
14712            # Hide the ALL_LINGUAS assigment from automake.
14713            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
14714            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
14715          else
14716            # The set of available languages was given in configure.in.
14717            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
14718          fi
14719          # Compute POFILES
14720          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).po)
14721          # Compute UPDATEPOFILES
14722          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).po-update)
14723          # Compute DUMMYPOFILES
14724          # as      $(foreach lang, $(ALL_LINGUAS), $(lang).nop)
14725          # Compute GMOFILES
14726          # as      $(foreach lang, $(ALL_LINGUAS), $(srcdir)/$(lang).gmo)
14727          case "$ac_given_srcdir" in
14728            .) srcdirpre= ;;
14729            *) srcdirpre='$(srcdir)/' ;;
14730          esac
14731          POFILES=
14732          UPDATEPOFILES=
14733          DUMMYPOFILES=
14734          GMOFILES=
14735          for lang in $ALL_LINGUAS; do
14736            POFILES="$POFILES $srcdirpre$lang.po"
14737            UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
14738            DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
14739            GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
14740          done
14741          # CATALOGS depends on both $ac_dir and the user's LINGUAS
14742          # environment variable.
14743          INST_LINGUAS=
14744          if test -n "$ALL_LINGUAS"; then
14745            for presentlang in $ALL_LINGUAS; do
14746              useit=no
14747              if test "%UNSET%" != "$LINGUAS"; then
14748                desiredlanguages="$LINGUAS"
14749              else
14750                desiredlanguages="$ALL_LINGUAS"
14751              fi
14752              for desiredlang in $desiredlanguages; do
14753                # Use the presentlang catalog if desiredlang is
14754                #   a. equal to presentlang, or
14755                #   b. a variant of presentlang (because in this case,
14756                #      presentlang can be used as a fallback for messages
14757                #      which are not translated in the desiredlang catalog).
14758                case "$desiredlang" in
14759                  "$presentlang"*) useit=yes;;
14760                esac
14761              done
14762              if test $useit = yes; then
14763                INST_LINGUAS="$INST_LINGUAS $presentlang"
14764              fi
14765            done
14766          fi
14767          CATALOGS=
14768          if test -n "$INST_LINGUAS"; then
14769            for lang in $INST_LINGUAS; do
14770              CATALOGS="$CATALOGS $lang.gmo"
14771            done
14772          fi
14773          test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
14774          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"
14775          for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
14776            if test -f "$f"; then
14777              case "$f" in
14778                *.orig | *.bak | *~) ;;
14779                *) cat "$f" >> "$ac_dir/Makefile" ;;
14780              esac
14781            fi
14782          done
14783        fi
14784        ;;
14785      esac
14786    done ;;
14787  esac
14788done
14789_ACEOF
14790
14791cat >>$CONFIG_STATUS <<\_ACEOF
14792
14793{ (exit 0); exit 0; }
14794_ACEOF
14795chmod +x $CONFIG_STATUS
14796ac_clean_files=$ac_clean_files_save
14797
14798
14799# configure is writing to config.log, and then calls config.status.
14800# config.status does its own redirection, appending to config.log.
14801# Unfortunately, on DOS this fails, as config.log is still kept open
14802# by configure, so config.status won't be able to write to it; its
14803# output is simply discarded.  So we exec the FD to /dev/null,
14804# effectively closing config.log, so it can be properly (re)opened and
14805# appended to by config.status.  When coming back to configure, we
14806# need to make the FD available again.
14807if test "$no_create" != yes; then
14808  ac_cs_success=:
14809  ac_config_status_args=
14810  test "$silent" = yes &&
14811    ac_config_status_args="$ac_config_status_args --quiet"
14812  exec 5>/dev/null
14813  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
14814  exec 5>>config.log
14815  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
14816  # would make configure fail if this is the last instruction.
14817  $ac_cs_success || { (exit 1); exit 1; }
14818fi
14819
14820