configure revision 1.43
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.43Sdbj# Generated by Autoconf 2.52 for libnbcompat noversion.
41.1Stv#
51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>.
61.1Stv#
71.43Sdbj# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
81.1Stv# Free Software Foundation, Inc.
91.1Stv# This configure script is free software; the Free Software Foundation
101.1Stv# gives unlimited permission to copy, distribute and modify it.
111.1Stv
121.1Stv# Avoid depending upon Character Ranges.
131.1Stvas_cr_letters='abcdefghijklmnopqrstuvwxyz'
141.1Stvas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
151.1Stvas_cr_Letters=$as_cr_letters$as_cr_LETTERS
161.1Stvas_cr_digits='0123456789'
171.1Stvas_cr_alnum=$as_cr_Letters$as_cr_digits
181.1Stv
191.43Sdbj# Sed expression to map a string onto a valid variable name.
201.43Sdbjas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
211.39Sfredb
221.43Sdbj# Sed expression to map a string onto a valid CPP name.
231.43Sdbjas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
241.39Sfredb
251.43Sdbj# Be Bourne compatible
261.43Sdbjif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271.43Sdbj  emulate sh
281.43Sdbj  NULLCMD=:
291.43Sdbjelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
301.43Sdbj  set -o posix
311.43Sdbjfi
321.39Sfredb
331.43Sdbj# Name of the executable.
341.43Sdbjas_me=`echo "$0" |sed 's,.*[\\/],,'`
351.1Stv
361.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
371.1Stv  as_expr=expr
381.1Stvelse
391.1Stv  as_expr=false
401.1Stvfi
411.1Stv
421.1Stvrm -f conf$$ conf$$.exe conf$$.file
431.1Stvecho >conf$$.file
441.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
451.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
461.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
471.1Stv  if test -f conf$$.exe; then
481.1Stv    # Don't use ln at all; we don't have any links
491.1Stv    as_ln_s='cp -p'
501.1Stv  else
511.1Stv    as_ln_s='ln -s'
521.1Stv  fi
531.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
541.1Stv  as_ln_s=ln
551.1Stvelse
561.1Stv  as_ln_s='cp -p'
571.1Stvfi
581.1Stvrm -f conf$$ conf$$.exe conf$$.file
591.1Stv
601.43Sdbjas_executable_p="test -f"
611.43Sdbj
621.43Sdbj# Support unset when possible.
631.43Sdbjif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
641.43Sdbj  as_unset=unset
651.39Sfredbelse
661.43Sdbj  as_unset=false
671.39Sfredbfi
681.39Sfredb
691.43Sdbj# NLS nuisances.
701.43Sdbj$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
711.43Sdbj$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
721.43Sdbj$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
731.43Sdbj$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
741.43Sdbj$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
751.43Sdbj$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
761.43Sdbj$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
771.43Sdbj$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
781.1Stv
791.1Stv# IFS
801.1Stv# We need space, tab and new line, in precisely that order.
811.1Stvas_nl='
821.1Stv'
831.1StvIFS=" 	$as_nl"
841.1Stv
851.1Stv# CDPATH.
861.43Sdbj$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
871.1Stv
881.1Stv# Name of the host.
891.1Stv# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
901.1Stv# so uname gets run too.
911.1Stvac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
921.1Stv
931.1Stvexec 6>&1
941.1Stv
951.1Stv#
961.1Stv# Initializations.
971.1Stv#
981.1Stvac_default_prefix=/usr/local
991.1Stvcross_compiling=no
1001.1Stvsubdirs=
1011.43SdbjMFLAGS= MAKEFLAGS=
1021.1StvSHELL=${CONFIG_SHELL-/bin/sh}
1031.1Stv
1041.1Stv# Maximum number of lines to put in a shell here document.
1051.1Stv# This variable seems obsolete.  It should probably be removed, and
1061.1Stv# only ac_max_sed_lines should be used.
1071.1Stv: ${ac_max_here_lines=38}
1081.1Stv
1091.1Stv# Factoring default headers for most tests.
1101.1Stvac_includes_default="\
1111.1Stv#include <stdio.h>
1121.1Stv#if HAVE_SYS_TYPES_H
1131.1Stv# include <sys/types.h>
1141.1Stv#endif
1151.1Stv#if HAVE_SYS_STAT_H
1161.1Stv# include <sys/stat.h>
1171.1Stv#endif
1181.1Stv#if STDC_HEADERS
1191.1Stv# include <stdlib.h>
1201.1Stv# include <stddef.h>
1211.1Stv#else
1221.1Stv# if HAVE_STDLIB_H
1231.1Stv#  include <stdlib.h>
1241.1Stv# endif
1251.1Stv#endif
1261.1Stv#if HAVE_STRING_H
1271.1Stv# if !STDC_HEADERS && HAVE_MEMORY_H
1281.1Stv#  include <memory.h>
1291.1Stv# endif
1301.1Stv# include <string.h>
1311.1Stv#endif
1321.1Stv#if HAVE_STRINGS_H
1331.1Stv# include <strings.h>
1341.1Stv#endif
1351.1Stv#if HAVE_INTTYPES_H
1361.1Stv# include <inttypes.h>
1371.1Stv#else
1381.1Stv# if HAVE_STDINT_H
1391.1Stv#  include <stdint.h>
1401.1Stv# endif
1411.1Stv#endif
1421.1Stv#if HAVE_UNISTD_H
1431.1Stv# include <unistd.h>
1441.1Stv#endif"
1451.1Stv
1461.1Stv# Initialize some variables set by options.
1471.1Stvac_init_help=
1481.1Stvac_init_version=false
1491.1Stv# The variables have the same names as the options, with
1501.1Stv# dashes changed to underlines.
1511.1Stvcache_file=/dev/null
1521.1Stvexec_prefix=NONE
1531.1Stvno_create=
1541.1Stvno_recursion=
1551.1Stvprefix=NONE
1561.1Stvprogram_prefix=NONE
1571.1Stvprogram_suffix=NONE
1581.1Stvprogram_transform_name=s,x,x,
1591.1Stvsilent=
1601.1Stvsite=
1611.1Stvsrcdir=
1621.1Stvverbose=
1631.1Stvx_includes=NONE
1641.1Stvx_libraries=NONE
1651.1Stv
1661.1Stv# Installation directory options.
1671.1Stv# These are left unexpanded so users can "make install exec_prefix=/foo"
1681.1Stv# and all the variables that are supposed to be based on exec_prefix
1691.1Stv# by default will actually change.
1701.1Stv# Use braces instead of parens because sh, perl, etc. also accept them.
1711.1Stvbindir='${exec_prefix}/bin'
1721.1Stvsbindir='${exec_prefix}/sbin'
1731.1Stvlibexecdir='${exec_prefix}/libexec'
1741.1Stvdatadir='${prefix}/share'
1751.1Stvsysconfdir='${prefix}/etc'
1761.1Stvsharedstatedir='${prefix}/com'
1771.1Stvlocalstatedir='${prefix}/var'
1781.1Stvlibdir='${exec_prefix}/lib'
1791.1Stvincludedir='${prefix}/include'
1801.1Stvoldincludedir='/usr/include'
1811.1Stvinfodir='${prefix}/info'
1821.1Stvmandir='${prefix}/man'
1831.1Stv
1841.43Sdbj# Identity of this package.
1851.43SdbjPACKAGE_NAME='libnbcompat'
1861.43SdbjPACKAGE_TARNAME='libnbcompat'
1871.43SdbjPACKAGE_VERSION='noversion'
1881.43SdbjPACKAGE_STRING='libnbcompat noversion'
1891.43SdbjPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org'
1901.43Sdbj
1911.1Stvac_prev=
1921.1Stvfor ac_option
1931.1Stvdo
1941.1Stv  # If the previous option needs an argument, assign it.
1951.1Stv  if test -n "$ac_prev"; then
1961.1Stv    eval "$ac_prev=\$ac_option"
1971.1Stv    ac_prev=
1981.1Stv    continue
1991.1Stv  fi
2001.1Stv
2011.1Stv  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
2021.1Stv
2031.1Stv  # Accept the important Cygnus configure options, so we can diagnose typos.
2041.1Stv
2051.1Stv  case $ac_option in
2061.1Stv
2071.1Stv  -bindir | --bindir | --bindi | --bind | --bin | --bi)
2081.1Stv    ac_prev=bindir ;;
2091.1Stv  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
2101.1Stv    bindir=$ac_optarg ;;
2111.1Stv
2121.1Stv  -build | --build | --buil | --bui | --bu)
2131.1Stv    ac_prev=build_alias ;;
2141.1Stv  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
2151.1Stv    build_alias=$ac_optarg ;;
2161.1Stv
2171.1Stv  -cache-file | --cache-file | --cache-fil | --cache-fi \
2181.1Stv  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
2191.1Stv    ac_prev=cache_file ;;
2201.1Stv  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
2211.1Stv  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
2221.1Stv    cache_file=$ac_optarg ;;
2231.1Stv
2241.1Stv  --config-cache | -C)
2251.1Stv    cache_file=config.cache ;;
2261.1Stv
2271.1Stv  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
2281.1Stv    ac_prev=datadir ;;
2291.1Stv  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
2301.1Stv  | --da=*)
2311.1Stv    datadir=$ac_optarg ;;
2321.1Stv
2331.1Stv  -disable-* | --disable-*)
2341.1Stv    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2351.1Stv    # Reject names that are not valid shell variable names.
2361.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2371.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2381.1Stv   { (exit 1); exit 1; }; }
2391.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2401.1Stv    eval "enable_$ac_feature=no" ;;
2411.1Stv
2421.1Stv  -enable-* | --enable-*)
2431.1Stv    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2441.1Stv    # Reject names that are not valid shell variable names.
2451.1Stv    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
2461.1Stv      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
2471.1Stv   { (exit 1); exit 1; }; }
2481.1Stv    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
2491.1Stv    case $ac_option in
2501.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
2511.1Stv      *) ac_optarg=yes ;;
2521.1Stv    esac
2531.1Stv    eval "enable_$ac_feature='$ac_optarg'" ;;
2541.1Stv
2551.1Stv  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2561.1Stv  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2571.1Stv  | --exec | --exe | --ex)
2581.1Stv    ac_prev=exec_prefix ;;
2591.1Stv  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2601.1Stv  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2611.1Stv  | --exec=* | --exe=* | --ex=*)
2621.1Stv    exec_prefix=$ac_optarg ;;
2631.1Stv
2641.1Stv  -gas | --gas | --ga | --g)
2651.1Stv    # Obsolete; use --with-gas.
2661.1Stv    with_gas=yes ;;
2671.1Stv
2681.1Stv  -help | --help | --hel | --he | -h)
2691.1Stv    ac_init_help=long ;;
2701.1Stv  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2711.1Stv    ac_init_help=recursive ;;
2721.1Stv  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2731.1Stv    ac_init_help=short ;;
2741.1Stv
2751.1Stv  -host | --host | --hos | --ho)
2761.1Stv    ac_prev=host_alias ;;
2771.1Stv  -host=* | --host=* | --hos=* | --ho=*)
2781.1Stv    host_alias=$ac_optarg ;;
2791.1Stv
2801.1Stv  -includedir | --includedir | --includedi | --included | --include \
2811.1Stv  | --includ | --inclu | --incl | --inc)
2821.1Stv    ac_prev=includedir ;;
2831.1Stv  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2841.1Stv  | --includ=* | --inclu=* | --incl=* | --inc=*)
2851.1Stv    includedir=$ac_optarg ;;
2861.1Stv
2871.1Stv  -infodir | --infodir | --infodi | --infod | --info | --inf)
2881.1Stv    ac_prev=infodir ;;
2891.1Stv  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2901.1Stv    infodir=$ac_optarg ;;
2911.1Stv
2921.1Stv  -libdir | --libdir | --libdi | --libd)
2931.1Stv    ac_prev=libdir ;;
2941.1Stv  -libdir=* | --libdir=* | --libdi=* | --libd=*)
2951.1Stv    libdir=$ac_optarg ;;
2961.1Stv
2971.1Stv  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2981.1Stv  | --libexe | --libex | --libe)
2991.1Stv    ac_prev=libexecdir ;;
3001.1Stv  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
3011.1Stv  | --libexe=* | --libex=* | --libe=*)
3021.1Stv    libexecdir=$ac_optarg ;;
3031.1Stv
3041.1Stv  -localstatedir | --localstatedir | --localstatedi | --localstated \
3051.1Stv  | --localstate | --localstat | --localsta | --localst \
3061.1Stv  | --locals | --local | --loca | --loc | --lo)
3071.1Stv    ac_prev=localstatedir ;;
3081.1Stv  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
3091.1Stv  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
3101.1Stv  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
3111.1Stv    localstatedir=$ac_optarg ;;
3121.1Stv
3131.1Stv  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
3141.1Stv    ac_prev=mandir ;;
3151.1Stv  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
3161.1Stv    mandir=$ac_optarg ;;
3171.1Stv
3181.1Stv  -nfp | --nfp | --nf)
3191.1Stv    # Obsolete; use --without-fp.
3201.1Stv    with_fp=no ;;
3211.1Stv
3221.1Stv  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
3231.43Sdbj  | --no-cr | --no-c)
3241.1Stv    no_create=yes ;;
3251.1Stv
3261.1Stv  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
3271.1Stv  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
3281.1Stv    no_recursion=yes ;;
3291.1Stv
3301.1Stv  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
3311.1Stv  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
3321.1Stv  | --oldin | --oldi | --old | --ol | --o)
3331.1Stv    ac_prev=oldincludedir ;;
3341.1Stv  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
3351.1Stv  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
3361.1Stv  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
3371.1Stv    oldincludedir=$ac_optarg ;;
3381.1Stv
3391.1Stv  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
3401.1Stv    ac_prev=prefix ;;
3411.1Stv  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
3421.1Stv    prefix=$ac_optarg ;;
3431.1Stv
3441.1Stv  -program-prefix | --program-prefix | --program-prefi | --program-pref \
3451.1Stv  | --program-pre | --program-pr | --program-p)
3461.1Stv    ac_prev=program_prefix ;;
3471.1Stv  -program-prefix=* | --program-prefix=* | --program-prefi=* \
3481.1Stv  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
3491.1Stv    program_prefix=$ac_optarg ;;
3501.1Stv
3511.1Stv  -program-suffix | --program-suffix | --program-suffi | --program-suff \
3521.1Stv  | --program-suf | --program-su | --program-s)
3531.1Stv    ac_prev=program_suffix ;;
3541.1Stv  -program-suffix=* | --program-suffix=* | --program-suffi=* \
3551.1Stv  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
3561.1Stv    program_suffix=$ac_optarg ;;
3571.1Stv
3581.1Stv  -program-transform-name | --program-transform-name \
3591.1Stv  | --program-transform-nam | --program-transform-na \
3601.1Stv  | --program-transform-n | --program-transform- \
3611.1Stv  | --program-transform | --program-transfor \
3621.1Stv  | --program-transfo | --program-transf \
3631.1Stv  | --program-trans | --program-tran \
3641.1Stv  | --progr-tra | --program-tr | --program-t)
3651.1Stv    ac_prev=program_transform_name ;;
3661.1Stv  -program-transform-name=* | --program-transform-name=* \
3671.1Stv  | --program-transform-nam=* | --program-transform-na=* \
3681.1Stv  | --program-transform-n=* | --program-transform-=* \
3691.1Stv  | --program-transform=* | --program-transfor=* \
3701.1Stv  | --program-transfo=* | --program-transf=* \
3711.1Stv  | --program-trans=* | --program-tran=* \
3721.1Stv  | --progr-tra=* | --program-tr=* | --program-t=*)
3731.1Stv    program_transform_name=$ac_optarg ;;
3741.1Stv
3751.1Stv  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3761.1Stv  | -silent | --silent | --silen | --sile | --sil)
3771.1Stv    silent=yes ;;
3781.1Stv
3791.1Stv  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
3801.1Stv    ac_prev=sbindir ;;
3811.1Stv  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
3821.1Stv  | --sbi=* | --sb=*)
3831.1Stv    sbindir=$ac_optarg ;;
3841.1Stv
3851.1Stv  -sharedstatedir | --sharedstatedir | --sharedstatedi \
3861.1Stv  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
3871.1Stv  | --sharedst | --shareds | --shared | --share | --shar \
3881.1Stv  | --sha | --sh)
3891.1Stv    ac_prev=sharedstatedir ;;
3901.1Stv  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
3911.1Stv  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
3921.1Stv  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
3931.1Stv  | --sha=* | --sh=*)
3941.1Stv    sharedstatedir=$ac_optarg ;;
3951.1Stv
3961.1Stv  -site | --site | --sit)
3971.1Stv    ac_prev=site ;;
3981.1Stv  -site=* | --site=* | --sit=*)
3991.1Stv    site=$ac_optarg ;;
4001.1Stv
4011.1Stv  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
4021.1Stv    ac_prev=srcdir ;;
4031.1Stv  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
4041.1Stv    srcdir=$ac_optarg ;;
4051.1Stv
4061.1Stv  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
4071.1Stv  | --syscon | --sysco | --sysc | --sys | --sy)
4081.1Stv    ac_prev=sysconfdir ;;
4091.1Stv  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
4101.1Stv  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
4111.1Stv    sysconfdir=$ac_optarg ;;
4121.1Stv
4131.1Stv  -target | --target | --targe | --targ | --tar | --ta | --t)
4141.1Stv    ac_prev=target_alias ;;
4151.1Stv  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
4161.1Stv    target_alias=$ac_optarg ;;
4171.1Stv
4181.1Stv  -v | -verbose | --verbose | --verbos | --verbo | --verb)
4191.1Stv    verbose=yes ;;
4201.1Stv
4211.1Stv  -version | --version | --versio | --versi | --vers | -V)
4221.1Stv    ac_init_version=: ;;
4231.1Stv
4241.1Stv  -with-* | --with-*)
4251.1Stv    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
4261.1Stv    # Reject names that are not valid shell variable names.
4271.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4281.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
4291.1Stv   { (exit 1); exit 1; }; }
4301.1Stv    ac_package=`echo $ac_package| sed 's/-/_/g'`
4311.1Stv    case $ac_option in
4321.1Stv      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
4331.1Stv      *) ac_optarg=yes ;;
4341.1Stv    esac
4351.1Stv    eval "with_$ac_package='$ac_optarg'" ;;
4361.1Stv
4371.1Stv  -without-* | --without-*)
4381.1Stv    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
4391.1Stv    # Reject names that are not valid shell variable names.
4401.1Stv    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
4411.1Stv      { echo "$as_me: error: invalid package name: $ac_package" >&2
4421.1Stv   { (exit 1); exit 1; }; }
4431.1Stv    ac_package=`echo $ac_package | sed 's/-/_/g'`
4441.1Stv    eval "with_$ac_package=no" ;;
4451.1Stv
4461.1Stv  --x)
4471.1Stv    # Obsolete; use --with-x.
4481.1Stv    with_x=yes ;;
4491.1Stv
4501.1Stv  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
4511.1Stv  | --x-incl | --x-inc | --x-in | --x-i)
4521.1Stv    ac_prev=x_includes ;;
4531.1Stv  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
4541.1Stv  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
4551.1Stv    x_includes=$ac_optarg ;;
4561.1Stv
4571.1Stv  -x-libraries | --x-libraries | --x-librarie | --x-librari \
4581.1Stv  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
4591.1Stv    ac_prev=x_libraries ;;
4601.1Stv  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
4611.1Stv  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
4621.1Stv    x_libraries=$ac_optarg ;;
4631.1Stv
4641.1Stv  -*) { echo "$as_me: error: unrecognized option: $ac_option
4651.1StvTry \`$0 --help' for more information." >&2
4661.1Stv   { (exit 1); exit 1; }; }
4671.1Stv    ;;
4681.1Stv
4691.1Stv  *=*)
4701.1Stv    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
4711.1Stv    # Reject names that are not valid shell variable names.
4721.1Stv    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
4731.1Stv      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
4741.1Stv   { (exit 1); exit 1; }; }
4751.1Stv    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
4761.1Stv    eval "$ac_envvar='$ac_optarg'"
4771.1Stv    export $ac_envvar ;;
4781.1Stv
4791.1Stv  *)
4801.1Stv    # FIXME: should be removed in autoconf 3.0.
4811.1Stv    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
4821.1Stv    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
4831.1Stv      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
4841.1Stv    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
4851.1Stv    ;;
4861.1Stv
4871.1Stv  esac
4881.1Stvdone
4891.1Stv
4901.1Stvif test -n "$ac_prev"; then
4911.1Stv  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
4921.1Stv  { echo "$as_me: error: missing argument to $ac_option" >&2
4931.1Stv   { (exit 1); exit 1; }; }
4941.1Stvfi
4951.1Stv
4961.1Stv# Be sure to have absolute paths.
4971.1Stvfor ac_var in exec_prefix prefix
4981.1Stvdo
4991.1Stv  eval ac_val=$`echo $ac_var`
5001.1Stv  case $ac_val in
5011.1Stv    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
5021.43Sdbj    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5031.1Stv   { (exit 1); exit 1; }; };;
5041.1Stv  esac
5051.1Stvdone
5061.1Stv
5071.1Stv# Be sure to have absolute paths.
5081.1Stvfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
5091.1Stv              localstatedir libdir includedir oldincludedir infodir mandir
5101.1Stvdo
5111.1Stv  eval ac_val=$`echo $ac_var`
5121.1Stv  case $ac_val in
5131.1Stv    [\\/$]* | ?:[\\/]* ) ;;
5141.43Sdbj    *)  { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
5151.1Stv   { (exit 1); exit 1; }; };;
5161.1Stv  esac
5171.1Stvdone
5181.1Stv
5191.1Stv# There might be people who depend on the old broken behavior: `$host'
5201.1Stv# used to hold the argument of --host etc.
5211.1Stvbuild=$build_alias
5221.1Stvhost=$host_alias
5231.1Stvtarget=$target_alias
5241.1Stv
5251.43Sdbj# FIXME: should be removed in autoconf 3.0.
5261.1Stvif test "x$host_alias" != x; then
5271.1Stv  if test "x$build_alias" = x; then
5281.1Stv    cross_compiling=maybe
5291.1Stv    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
5301.1Stv    If a cross compiler is detected then cross compile mode will be used." >&2
5311.1Stv  elif test "x$build_alias" != "x$host_alias"; then
5321.1Stv    cross_compiling=yes
5331.1Stv  fi
5341.1Stvfi
5351.1Stv
5361.1Stvac_tool_prefix=
5371.1Stvtest -n "$host_alias" && ac_tool_prefix=$host_alias-
5381.1Stv
5391.1Stvtest "$silent" = yes && exec 6>/dev/null
5401.1Stv
5411.1Stv# Find the source files, if location was not specified.
5421.1Stvif test -z "$srcdir"; then
5431.1Stv  ac_srcdir_defaulted=yes
5441.1Stv  # Try the directory containing this script, then its parent.
5451.43Sdbj  ac_prog=$0
5461.43Sdbj  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
5471.43Sdbj  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
5481.1Stv  srcdir=$ac_confdir
5491.1Stv  if test ! -r $srcdir/$ac_unique_file; then
5501.1Stv    srcdir=..
5511.1Stv  fi
5521.1Stvelse
5531.1Stv  ac_srcdir_defaulted=no
5541.1Stvfi
5551.1Stvif test ! -r $srcdir/$ac_unique_file; then
5561.1Stv  if test "$ac_srcdir_defaulted" = yes; then
5571.43Sdbj    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
5581.1Stv   { (exit 1); exit 1; }; }
5591.1Stv  else
5601.43Sdbj    { echo "$as_me: error: cannot find sources in $srcdir" >&2
5611.1Stv   { (exit 1); exit 1; }; }
5621.1Stv  fi
5631.1Stvfi
5641.1Stvsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
5651.1Stvac_env_build_alias_set=${build_alias+set}
5661.1Stvac_env_build_alias_value=$build_alias
5671.1Stvac_cv_env_build_alias_set=${build_alias+set}
5681.1Stvac_cv_env_build_alias_value=$build_alias
5691.1Stvac_env_host_alias_set=${host_alias+set}
5701.1Stvac_env_host_alias_value=$host_alias
5711.1Stvac_cv_env_host_alias_set=${host_alias+set}
5721.1Stvac_cv_env_host_alias_value=$host_alias
5731.1Stvac_env_target_alias_set=${target_alias+set}
5741.1Stvac_env_target_alias_value=$target_alias
5751.1Stvac_cv_env_target_alias_set=${target_alias+set}
5761.1Stvac_cv_env_target_alias_value=$target_alias
5771.1Stvac_env_CC_set=${CC+set}
5781.1Stvac_env_CC_value=$CC
5791.1Stvac_cv_env_CC_set=${CC+set}
5801.1Stvac_cv_env_CC_value=$CC
5811.1Stvac_env_CFLAGS_set=${CFLAGS+set}
5821.1Stvac_env_CFLAGS_value=$CFLAGS
5831.1Stvac_cv_env_CFLAGS_set=${CFLAGS+set}
5841.1Stvac_cv_env_CFLAGS_value=$CFLAGS
5851.1Stvac_env_LDFLAGS_set=${LDFLAGS+set}
5861.1Stvac_env_LDFLAGS_value=$LDFLAGS
5871.1Stvac_cv_env_LDFLAGS_set=${LDFLAGS+set}
5881.1Stvac_cv_env_LDFLAGS_value=$LDFLAGS
5891.1Stvac_env_CPPFLAGS_set=${CPPFLAGS+set}
5901.1Stvac_env_CPPFLAGS_value=$CPPFLAGS
5911.1Stvac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
5921.1Stvac_cv_env_CPPFLAGS_value=$CPPFLAGS
5931.1Stvac_env_CPP_set=${CPP+set}
5941.1Stvac_env_CPP_value=$CPP
5951.1Stvac_cv_env_CPP_set=${CPP+set}
5961.1Stvac_cv_env_CPP_value=$CPP
5971.1Stv
5981.1Stv#
5991.1Stv# Report the --help message.
6001.1Stv#
6011.1Stvif test "$ac_init_help" = "long"; then
6021.1Stv  # Omit some internal or obsolete options to make the list less imposing.
6031.1Stv  # This message is too long to be a string in the A/UX 3.1 sh.
6041.43Sdbj  cat <<EOF
6051.1Stv\`configure' configures libnbcompat noversion to adapt to many kinds of systems.
6061.1Stv
6071.1StvUsage: $0 [OPTION]... [VAR=VALUE]...
6081.1Stv
6091.1StvTo assign environment variables (e.g., CC, CFLAGS...), specify them as
6101.1StvVAR=VALUE.  See below for descriptions of some of the useful variables.
6111.1Stv
6121.1StvDefaults for the options are specified in brackets.
6131.1Stv
6141.1StvConfiguration:
6151.1Stv  -h, --help              display this help and exit
6161.1Stv      --help=short        display options specific to this package
6171.1Stv      --help=recursive    display the short help of all the included packages
6181.1Stv  -V, --version           display version information and exit
6191.1Stv  -q, --quiet, --silent   do not print \`checking...' messages
6201.1Stv      --cache-file=FILE   cache test results in FILE [disabled]
6211.1Stv  -C, --config-cache      alias for \`--cache-file=config.cache'
6221.1Stv  -n, --no-create         do not create output files
6231.1Stv      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
6241.1Stv
6251.43SdbjEOF
6261.1Stv
6271.43Sdbj  cat <<EOF
6281.1StvInstallation directories:
6291.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
6301.1Stv                          [$ac_default_prefix]
6311.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6321.1Stv                          [PREFIX]
6331.1Stv
6341.1StvBy default, \`make install' will install all the files in
6351.1Stv\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
6361.1Stvan installation prefix other than \`$ac_default_prefix' using \`--prefix',
6371.1Stvfor instance \`--prefix=\$HOME'.
6381.1Stv
6391.1StvFor better control, use the options below.
6401.1Stv
6411.1StvFine tuning of the installation directories:
6421.1Stv  --bindir=DIR           user executables [EPREFIX/bin]
6431.1Stv  --sbindir=DIR          system admin executables [EPREFIX/sbin]
6441.1Stv  --libexecdir=DIR       program executables [EPREFIX/libexec]
6451.1Stv  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
6461.1Stv  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
6471.1Stv  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
6481.1Stv  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
6491.1Stv  --libdir=DIR           object code libraries [EPREFIX/lib]
6501.1Stv  --includedir=DIR       C header files [PREFIX/include]
6511.1Stv  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
6521.1Stv  --infodir=DIR          info documentation [PREFIX/info]
6531.1Stv  --mandir=DIR           man documentation [PREFIX/man]
6541.43SdbjEOF
6551.1Stv
6561.43Sdbj  cat <<\EOF
6571.43SdbjEOF
6581.1Stvfi
6591.1Stv
6601.1Stvif test -n "$ac_init_help"; then
6611.1Stv  case $ac_init_help in
6621.1Stv     short | recursive ) echo "Configuration of libnbcompat noversion:";;
6631.1Stv   esac
6641.43Sdbj  cat <<\EOF
6651.1Stv
6661.1StvSome influential environment variables:
6671.1Stv  CC          C compiler command
6681.1Stv  CFLAGS      C compiler flags
6691.1Stv  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
6701.1Stv              nonstandard directory <lib dir>
6711.1Stv  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
6721.1Stv              headers in a nonstandard directory <include dir>
6731.1Stv  CPP         C preprocessor
6741.1Stv
6751.1StvUse these variables to override the choices made by `configure' or to help
6761.1Stvit to find libraries and programs with nonstandard names/locations.
6771.1Stv
6781.41SsaloReport bugs to <lib-bug-people@NetBSD.org>.
6791.43SdbjEOF
6801.1Stvfi
6811.1Stv
6821.1Stvif test "$ac_init_help" = "recursive"; then
6831.1Stv  # If there are subdirs, report their specific --help.
6841.1Stv  ac_popdir=`pwd`
6851.43Sdbj  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
6861.43Sdbj    cd $ac_subdir
6871.43Sdbj    # A "../" for each directory in /$ac_subdir.
6881.43Sdbj    ac_dots=`echo $ac_subdir |
6891.43Sdbj             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
6901.43Sdbj
6911.43Sdbj    case $srcdir in
6921.43Sdbj    .) # No --srcdir option.  We are building in place.
6931.43Sdbj      ac_sub_srcdir=$srcdir ;;
6941.43Sdbj    [\\/]* | ?:[\\/]* ) # Absolute path.
6951.43Sdbj      ac_sub_srcdir=$srcdir/$ac_subdir ;;
6961.43Sdbj    *) # Relative path.
6971.43Sdbj      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
6981.43Sdbj    esac
6991.1Stv
7001.1Stv    # Check for guested configure; otherwise get Cygnus style configure.
7011.43Sdbj    if test -f $ac_sub_srcdir/configure.gnu; then
7021.1Stv      echo
7031.43Sdbj      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
7041.43Sdbj    elif test -f $ac_sub_srcdir/configure; then
7051.1Stv      echo
7061.43Sdbj      $SHELL $ac_sub_srcdir/configure  --help=recursive
7071.43Sdbj    elif test -f $ac_sub_srcdir/configure.ac ||
7081.43Sdbj           test -f $ac_sub_srcdir/configure.in; then
7091.1Stv      echo
7101.1Stv      $ac_configure --help
7111.1Stv    else
7121.43Sdbj      echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
7131.1Stv    fi
7141.1Stv    cd $ac_popdir
7151.1Stv  done
7161.1Stvfi
7171.1Stv
7181.1Stvtest -n "$ac_init_help" && exit 0
7191.1Stvif $ac_init_version; then
7201.43Sdbj  cat <<\EOF
7211.1Stvlibnbcompat configure noversion
7221.43Sdbjgenerated by GNU Autoconf 2.52
7231.1Stv
7241.43SdbjCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7251.1StvFree Software Foundation, Inc.
7261.1StvThis configure script is free software; the Free Software Foundation
7271.1Stvgives unlimited permission to copy, distribute and modify it.
7281.43SdbjEOF
7291.1Stv  exit 0
7301.1Stvfi
7311.1Stvexec 5>config.log
7321.43Sdbjcat >&5 <<EOF
7331.1StvThis file contains any messages produced by compilers while
7341.1Stvrunning configure, to aid debugging if configure makes a mistake.
7351.1Stv
7361.1StvIt was created by libnbcompat $as_me noversion, which was
7371.43Sdbjgenerated by GNU Autoconf 2.52.  Invocation command line was
7381.1Stv
7391.1Stv  $ $0 $@
7401.1Stv
7411.43SdbjEOF
7421.1Stv{
7431.1Stvcat <<_ASUNAME
7441.43Sdbj## ---------- ##
7451.43Sdbj## Platform.  ##
7461.43Sdbj## ---------- ##
7471.1Stv
7481.1Stvhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
7491.1Stvuname -m = `(uname -m) 2>/dev/null || echo unknown`
7501.1Stvuname -r = `(uname -r) 2>/dev/null || echo unknown`
7511.1Stvuname -s = `(uname -s) 2>/dev/null || echo unknown`
7521.1Stvuname -v = `(uname -v) 2>/dev/null || echo unknown`
7531.1Stv
7541.1Stv/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
7551.1Stv/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
7561.1Stv
7571.1Stv/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
7581.1Stv/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
7591.1Stv/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
7601.1Stvhostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
7611.1Stv/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
7621.1Stv/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
7631.1Stv/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
7641.1Stv
7651.43SdbjPATH = $PATH
7661.43Sdbj
7671.39Sfredb_ASUNAME
7681.1Stv} >&5
7691.1Stv
7701.43Sdbjcat >&5 <<EOF
7711.43Sdbj## ------------ ##
7721.43Sdbj## Core tests.  ##
7731.43Sdbj## ------------ ##
7741.1Stv
7751.43SdbjEOF
7761.1Stv
7771.1Stv# Keep a trace of the command line.
7781.1Stv# Strip out --no-create and --no-recursion so they do not pile up.
7791.1Stv# Also quote any args containing shell meta-characters.
7801.1Stvac_configure_args=
7811.1Stvac_sep=
7821.43Sdbjfor ac_arg
7831.1Stvdo
7841.43Sdbj  case $ac_arg in
7851.43Sdbj  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7861.43Sdbj  | --no-cr | --no-c) ;;
7871.43Sdbj  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7881.43Sdbj  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7891.43Sdbj  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7901.43Sdbj    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
7911.43Sdbj    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7921.43Sdbj    ac_sep=" " ;;
7931.43Sdbj  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
7941.43Sdbj     ac_sep=" " ;;
7951.43Sdbj  esac
7961.43Sdbj  # Get rid of the leading space.
7971.1Stvdone
7981.1Stv
7991.1Stv# When interrupted or exit'd, cleanup temporary files, and complete
8001.1Stv# config.log.  We remove comments because anyway the quotes in there
8011.1Stv# would cause problems or look ugly.
8021.1Stvtrap 'exit_status=$?
8031.1Stv  # Save into config.log some information that might help in debugging.
8041.43Sdbj  echo >&5
8051.43Sdbj  echo "## ----------------- ##" >&5
8061.43Sdbj  echo "## Cache variables.  ##" >&5
8071.43Sdbj  echo "## ----------------- ##" >&5
8081.43Sdbj  echo >&5
8091.43Sdbj  # The following way of writing the cache mishandles newlines in values,
8101.1Stv{
8111.1Stv  (set) 2>&1 |
8121.1Stv    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
8131.1Stv    *ac_space=\ *)
8141.1Stv      sed -n \
8151.1Stv        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
8161.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
8171.1Stv      ;;
8181.1Stv    *)
8191.1Stv      sed -n \
8201.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8211.1Stv      ;;
8221.1Stv    esac;
8231.43Sdbj} >&5
8241.43Sdbj  sed "/^$/d" confdefs.h >conftest.log
8251.43Sdbj  if test -s conftest.log; then
8261.43Sdbj    echo >&5
8271.43Sdbj    echo "## ------------ ##" >&5
8281.43Sdbj    echo "## confdefs.h.  ##" >&5
8291.43Sdbj    echo "## ------------ ##" >&5
8301.43Sdbj    echo >&5
8311.43Sdbj    cat conftest.log >&5
8321.43Sdbj  fi
8331.43Sdbj  (echo; echo) >&5
8341.43Sdbj  test "$ac_signal" != 0 &&
8351.43Sdbj    echo "$as_me: caught signal $ac_signal" >&5
8361.43Sdbj  echo "$as_me: exit $exit_status" >&5
8371.43Sdbj  rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
8381.1Stv    exit $exit_status
8391.1Stv     ' 0
8401.1Stvfor ac_signal in 1 2 13 15; do
8411.1Stv  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
8421.1Stvdone
8431.1Stvac_signal=0
8441.1Stv
8451.1Stv# confdefs.h avoids OS command line length limits that DEFS can exceed.
8461.1Stvrm -rf conftest* confdefs.h
8471.1Stv# AIX cpp loses on an empty file, so make sure it contains at least a newline.
8481.1Stvecho >confdefs.h
8491.1Stv
8501.1Stv# Let the site file select an alternate cache file if it wants to.
8511.1Stv# Prefer explicitly selected file to automatically selected ones.
8521.1Stvif test -z "$CONFIG_SITE"; then
8531.1Stv  if test "x$prefix" != xNONE; then
8541.1Stv    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
8551.1Stv  else
8561.1Stv    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
8571.1Stv  fi
8581.1Stvfi
8591.1Stvfor ac_site_file in $CONFIG_SITE; do
8601.1Stv  if test -r "$ac_site_file"; then
8611.43Sdbj    { echo "$as_me:861: loading site script $ac_site_file" >&5
8621.1Stvecho "$as_me: loading site script $ac_site_file" >&6;}
8631.43Sdbj    cat "$ac_site_file" >&5
8641.1Stv    . "$ac_site_file"
8651.1Stv  fi
8661.1Stvdone
8671.1Stv
8681.1Stvif test -r "$cache_file"; then
8691.1Stv  # Some versions of bash will fail to source /dev/null (special
8701.1Stv  # files actually), so we avoid doing that.
8711.1Stv  if test -f "$cache_file"; then
8721.43Sdbj    { echo "$as_me:872: loading cache $cache_file" >&5
8731.1Stvecho "$as_me: loading cache $cache_file" >&6;}
8741.1Stv    case $cache_file in
8751.1Stv      [\\/]* | ?:[\\/]* ) . $cache_file;;
8761.1Stv      *)                      . ./$cache_file;;
8771.1Stv    esac
8781.1Stv  fi
8791.1Stvelse
8801.43Sdbj  { echo "$as_me:880: creating cache $cache_file" >&5
8811.1Stvecho "$as_me: creating cache $cache_file" >&6;}
8821.1Stv  >$cache_file
8831.1Stvfi
8841.1Stv
8851.1Stv# Check that the precious variables saved in the cache have kept the same
8861.1Stv# value.
8871.1Stvac_cache_corrupted=false
8881.1Stvfor ac_var in `(set) 2>&1 |
8891.1Stv               sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
8901.1Stv  eval ac_old_set=\$ac_cv_env_${ac_var}_set
8911.1Stv  eval ac_new_set=\$ac_env_${ac_var}_set
8921.1Stv  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
8931.1Stv  eval ac_new_val="\$ac_env_${ac_var}_value"
8941.1Stv  case $ac_old_set,$ac_new_set in
8951.1Stv    set,)
8961.43Sdbj      { echo "$as_me:896: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
8971.1Stvecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
8981.1Stv      ac_cache_corrupted=: ;;
8991.1Stv    ,set)
9001.43Sdbj      { echo "$as_me:900: error: \`$ac_var' was not set in the previous run" >&5
9011.1Stvecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
9021.1Stv      ac_cache_corrupted=: ;;
9031.1Stv    ,);;
9041.1Stv    *)
9051.1Stv      if test "x$ac_old_val" != "x$ac_new_val"; then
9061.43Sdbj        { echo "$as_me:906: error: \`$ac_var' has changed since the previous run:" >&5
9071.1Stvecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
9081.43Sdbj        { echo "$as_me:908:   former value:  $ac_old_val" >&5
9091.1Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
9101.43Sdbj        { echo "$as_me:910:   current value: $ac_new_val" >&5
9111.1Stvecho "$as_me:   current value: $ac_new_val" >&2;}
9121.1Stv        ac_cache_corrupted=:
9131.1Stv      fi;;
9141.1Stv  esac
9151.43Sdbj  # Pass precious variables to config.status.  It doesn't matter if
9161.43Sdbj  # we pass some twice (in addition to the command line arguments).
9171.1Stv  if test "$ac_new_set" = set; then
9181.1Stv    case $ac_new_val in
9191.1Stv    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
9201.43Sdbj      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
9211.43Sdbj      ac_configure_args="$ac_configure_args '$ac_arg'"
9221.43Sdbj      ;;
9231.43Sdbj    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
9241.43Sdbj       ;;
9251.1Stv    esac
9261.1Stv  fi
9271.1Stvdone
9281.1Stvif $ac_cache_corrupted; then
9291.43Sdbj  { echo "$as_me:929: error: changes in the environment can compromise the build" >&5
9301.1Stvecho "$as_me: error: changes in the environment can compromise the build" >&2;}
9311.43Sdbj  { { echo "$as_me:931: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
9321.1Stvecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
9331.1Stv   { (exit 1); exit 1; }; }
9341.1Stvfi
9351.1Stv
9361.1Stvac_ext=c
9371.1Stvac_cpp='$CPP $CPPFLAGS'
9381.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9391.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9401.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
9411.1Stv
9421.43Sdbjcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9431.43Sdbj  *c*,-n*) ECHO_N= ECHO_C='
9441.43Sdbj' ECHO_T='	' ;;
9451.43Sdbj  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9461.43Sdbj  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
9471.43Sdbjesac
9481.43Sdbjecho "#! $SHELL" >conftest.sh
9491.43Sdbjecho  "exit 0"   >>conftest.sh
9501.43Sdbjchmod +x conftest.sh
9511.43Sdbjif { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
9521.43Sdbj  (PATH=".;."; conftest.sh) 2>&5
9531.43Sdbj  ac_status=$?
9541.43Sdbj  echo "$as_me:954: \$? = $ac_status" >&5
9551.43Sdbj  (exit $ac_status); }; then
9561.43Sdbj  ac_path_separator=';'
9571.43Sdbjelse
9581.43Sdbj  ac_path_separator=:
9591.43Sdbjfi
9601.43SdbjPATH_SEPARATOR="$ac_path_separator"
9611.43Sdbjrm -f conftest.sh
9621.1Stv
9631.43Sdbjac_config_headers="$ac_config_headers nbtool_config.h"
9641.1Stv
9651.43Sdbjac_config_files="$ac_config_files defs.mk"
9661.1Stv
9671.20Sbjh21# Extract the first word of "sh", so it can be a program name with args.
9681.20Sbjh21set dummy sh; ac_word=$2
9691.43Sdbjecho "$as_me:969: checking for $ac_word" >&5
9701.20Sbjh21echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9711.20Sbjh21if test "${ac_cv_path_BSHELL+set}" = set; then
9721.20Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
9731.20Sbjh21else
9741.20Sbjh21  case $BSHELL in
9751.20Sbjh21  [\\/]* | ?:[\\/]*)
9761.20Sbjh21  ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
9771.20Sbjh21  ;;
9781.20Sbjh21  *)
9791.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
9801.43Sdbjac_dummy="$PATH"
9811.43Sdbjfor ac_dir in $ac_dummy; do
9821.43Sdbj  IFS=$ac_save_IFS
9831.43Sdbj  test -z "$ac_dir" && ac_dir=.
9841.43Sdbj  if $as_executable_p "$ac_dir/$ac_word"; then
9851.43Sdbj   ac_cv_path_BSHELL="$ac_dir/$ac_word"
9861.43Sdbj   echo "$as_me:986: found $ac_dir/$ac_word" >&5
9871.43Sdbj   break
9881.43Sdbjfi
9891.20Sbjh21done
9901.20Sbjh21
9911.20Sbjh21  ;;
9921.20Sbjh21esac
9931.20Sbjh21fi
9941.20Sbjh21BSHELL=$ac_cv_path_BSHELL
9951.20Sbjh21
9961.20Sbjh21if test -n "$BSHELL"; then
9971.43Sdbj  echo "$as_me:997: result: $BSHELL" >&5
9981.20Sbjh21echo "${ECHO_T}$BSHELL" >&6
9991.20Sbjh21else
10001.43Sdbj  echo "$as_me:1000: result: no" >&5
10011.20Sbjh21echo "${ECHO_T}no" >&6
10021.20Sbjh21fi
10031.20Sbjh21
10041.20Sbjh21if test x"$BSHELL" = x; then
10051.43Sdbj	{ { echo "$as_me:1005: error: sh must be somewhere on \$PATH" >&5
10061.20Sbjh21echo "$as_me: error: sh must be somewhere on \$PATH" >&2;}
10071.20Sbjh21   { (exit 1); exit 1; }; }
10081.20Sbjh21fi
10091.43Sdbjcat >>confdefs.h <<EOF
10101.20Sbjh21#define PATH_BSHELL "$BSHELL"
10111.43SdbjEOF
10121.20Sbjh21
10131.1Stvac_ext=c
10141.1Stvac_cpp='$CPP $CPPFLAGS'
10151.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10161.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10171.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
10181.1Stvif test -n "$ac_tool_prefix"; then
10191.1Stv  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
10201.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2
10211.43Sdbjecho "$as_me:1021: checking for $ac_word" >&5
10221.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10231.1Stvif test "${ac_cv_prog_CC+set}" = set; then
10241.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10251.1Stvelse
10261.1Stv  if test -n "$CC"; then
10271.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
10281.1Stvelse
10291.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
10301.43Sdbjac_dummy="$PATH"
10311.43Sdbjfor ac_dir in $ac_dummy; do
10321.43Sdbj  IFS=$ac_save_IFS
10331.43Sdbj  test -z "$ac_dir" && ac_dir=.
10341.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
10351.43Sdbjac_cv_prog_CC="${ac_tool_prefix}gcc"
10361.43Sdbjecho "$as_me:1036: found $ac_dir/$ac_word" >&5
10371.43Sdbjbreak
10381.1Stvdone
10391.1Stv
10401.1Stvfi
10411.1Stvfi
10421.1StvCC=$ac_cv_prog_CC
10431.1Stvif test -n "$CC"; then
10441.43Sdbj  echo "$as_me:1044: result: $CC" >&5
10451.1Stvecho "${ECHO_T}$CC" >&6
10461.1Stvelse
10471.43Sdbj  echo "$as_me:1047: result: no" >&5
10481.1Stvecho "${ECHO_T}no" >&6
10491.1Stvfi
10501.1Stv
10511.1Stvfi
10521.1Stvif test -z "$ac_cv_prog_CC"; then
10531.1Stv  ac_ct_CC=$CC
10541.1Stv  # Extract the first word of "gcc", so it can be a program name with args.
10551.1Stvset dummy gcc; ac_word=$2
10561.43Sdbjecho "$as_me:1056: checking for $ac_word" >&5
10571.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10581.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10591.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10601.1Stvelse
10611.1Stv  if test -n "$ac_ct_CC"; then
10621.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10631.1Stvelse
10641.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
10651.43Sdbjac_dummy="$PATH"
10661.43Sdbjfor ac_dir in $ac_dummy; do
10671.43Sdbj  IFS=$ac_save_IFS
10681.43Sdbj  test -z "$ac_dir" && ac_dir=.
10691.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
10701.43Sdbjac_cv_prog_ac_ct_CC="gcc"
10711.43Sdbjecho "$as_me:1071: found $ac_dir/$ac_word" >&5
10721.43Sdbjbreak
10731.1Stvdone
10741.1Stv
10751.1Stvfi
10761.1Stvfi
10771.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
10781.1Stvif test -n "$ac_ct_CC"; then
10791.43Sdbj  echo "$as_me:1079: result: $ac_ct_CC" >&5
10801.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
10811.1Stvelse
10821.43Sdbj  echo "$as_me:1082: result: no" >&5
10831.1Stvecho "${ECHO_T}no" >&6
10841.1Stvfi
10851.1Stv
10861.1Stv  CC=$ac_ct_CC
10871.1Stvelse
10881.1Stv  CC="$ac_cv_prog_CC"
10891.1Stvfi
10901.1Stv
10911.1Stvif test -z "$CC"; then
10921.1Stv  if test -n "$ac_tool_prefix"; then
10931.1Stv  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10941.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
10951.43Sdbjecho "$as_me:1095: checking for $ac_word" >&5
10961.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10971.1Stvif test "${ac_cv_prog_CC+set}" = set; then
10981.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10991.1Stvelse
11001.1Stv  if test -n "$CC"; then
11011.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11021.1Stvelse
11031.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
11041.43Sdbjac_dummy="$PATH"
11051.43Sdbjfor ac_dir in $ac_dummy; do
11061.43Sdbj  IFS=$ac_save_IFS
11071.43Sdbj  test -z "$ac_dir" && ac_dir=.
11081.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
11091.43Sdbjac_cv_prog_CC="${ac_tool_prefix}cc"
11101.43Sdbjecho "$as_me:1110: found $ac_dir/$ac_word" >&5
11111.43Sdbjbreak
11121.1Stvdone
11131.1Stv
11141.1Stvfi
11151.1Stvfi
11161.1StvCC=$ac_cv_prog_CC
11171.1Stvif test -n "$CC"; then
11181.43Sdbj  echo "$as_me:1118: result: $CC" >&5
11191.1Stvecho "${ECHO_T}$CC" >&6
11201.1Stvelse
11211.43Sdbj  echo "$as_me:1121: result: no" >&5
11221.1Stvecho "${ECHO_T}no" >&6
11231.1Stvfi
11241.1Stv
11251.1Stvfi
11261.1Stvif test -z "$ac_cv_prog_CC"; then
11271.1Stv  ac_ct_CC=$CC
11281.1Stv  # Extract the first word of "cc", so it can be a program name with args.
11291.1Stvset dummy cc; ac_word=$2
11301.43Sdbjecho "$as_me:1130: checking for $ac_word" >&5
11311.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11321.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11331.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11341.1Stvelse
11351.1Stv  if test -n "$ac_ct_CC"; then
11361.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11371.1Stvelse
11381.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
11391.43Sdbjac_dummy="$PATH"
11401.43Sdbjfor ac_dir in $ac_dummy; do
11411.43Sdbj  IFS=$ac_save_IFS
11421.43Sdbj  test -z "$ac_dir" && ac_dir=.
11431.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
11441.43Sdbjac_cv_prog_ac_ct_CC="cc"
11451.43Sdbjecho "$as_me:1145: found $ac_dir/$ac_word" >&5
11461.43Sdbjbreak
11471.1Stvdone
11481.1Stv
11491.1Stvfi
11501.1Stvfi
11511.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
11521.1Stvif test -n "$ac_ct_CC"; then
11531.43Sdbj  echo "$as_me:1153: result: $ac_ct_CC" >&5
11541.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
11551.1Stvelse
11561.43Sdbj  echo "$as_me:1156: result: no" >&5
11571.1Stvecho "${ECHO_T}no" >&6
11581.1Stvfi
11591.1Stv
11601.1Stv  CC=$ac_ct_CC
11611.1Stvelse
11621.1Stv  CC="$ac_cv_prog_CC"
11631.1Stvfi
11641.1Stv
11651.1Stvfi
11661.1Stvif test -z "$CC"; then
11671.1Stv  # Extract the first word of "cc", so it can be a program name with args.
11681.1Stvset dummy cc; ac_word=$2
11691.43Sdbjecho "$as_me:1169: checking for $ac_word" >&5
11701.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11711.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11721.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11731.1Stvelse
11741.1Stv  if test -n "$CC"; then
11751.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11761.1Stvelse
11771.1Stv  ac_prog_rejected=no
11781.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
11791.43Sdbjac_dummy="$PATH"
11801.43Sdbjfor ac_dir in $ac_dummy; do
11811.43Sdbj  IFS=$ac_save_IFS
11821.43Sdbj  test -z "$ac_dir" && ac_dir=.
11831.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
11841.43Sdbjif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11851.43Sdbj  ac_prog_rejected=yes
11861.43Sdbj  continue
11871.43Sdbjfi
11881.43Sdbjac_cv_prog_CC="cc"
11891.43Sdbjecho "$as_me:1189: found $ac_dir/$ac_word" >&5
11901.43Sdbjbreak
11911.1Stvdone
11921.1Stv
11931.1Stvif test $ac_prog_rejected = yes; then
11941.1Stv  # We found a bogon in the path, so make sure we never use it.
11951.1Stv  set dummy $ac_cv_prog_CC
11961.1Stv  shift
11971.1Stv  if test $# != 0; then
11981.1Stv    # We chose a different compiler from the bogus one.
11991.1Stv    # However, it has the same basename, so the bogon will be chosen
12001.1Stv    # first if we set CC to just the basename; use the full file name.
12011.1Stv    shift
12021.43Sdbj    set dummy "$ac_dir/$ac_word" ${1+"$@"}
12031.43Sdbj    shift
12041.43Sdbj    ac_cv_prog_CC="$@"
12051.1Stv  fi
12061.1Stvfi
12071.1Stvfi
12081.1Stvfi
12091.1StvCC=$ac_cv_prog_CC
12101.1Stvif test -n "$CC"; then
12111.43Sdbj  echo "$as_me:1211: result: $CC" >&5
12121.1Stvecho "${ECHO_T}$CC" >&6
12131.1Stvelse
12141.43Sdbj  echo "$as_me:1214: result: no" >&5
12151.1Stvecho "${ECHO_T}no" >&6
12161.1Stvfi
12171.1Stv
12181.1Stvfi
12191.1Stvif test -z "$CC"; then
12201.1Stv  if test -n "$ac_tool_prefix"; then
12211.1Stv  for ac_prog in cl
12221.1Stv  do
12231.1Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12241.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
12251.43Sdbjecho "$as_me:1225: checking for $ac_word" >&5
12261.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12271.1Stvif test "${ac_cv_prog_CC+set}" = set; then
12281.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
12291.1Stvelse
12301.1Stv  if test -n "$CC"; then
12311.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
12321.1Stvelse
12331.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
12341.43Sdbjac_dummy="$PATH"
12351.43Sdbjfor ac_dir in $ac_dummy; do
12361.43Sdbj  IFS=$ac_save_IFS
12371.43Sdbj  test -z "$ac_dir" && ac_dir=.
12381.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
12391.43Sdbjac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12401.43Sdbjecho "$as_me:1240: found $ac_dir/$ac_word" >&5
12411.43Sdbjbreak
12421.1Stvdone
12431.1Stv
12441.1Stvfi
12451.1Stvfi
12461.1StvCC=$ac_cv_prog_CC
12471.1Stvif test -n "$CC"; then
12481.43Sdbj  echo "$as_me:1248: result: $CC" >&5
12491.1Stvecho "${ECHO_T}$CC" >&6
12501.1Stvelse
12511.43Sdbj  echo "$as_me:1251: result: no" >&5
12521.1Stvecho "${ECHO_T}no" >&6
12531.1Stvfi
12541.1Stv
12551.1Stv    test -n "$CC" && break
12561.1Stv  done
12571.1Stvfi
12581.1Stvif test -z "$CC"; then
12591.1Stv  ac_ct_CC=$CC
12601.1Stv  for ac_prog in cl
12611.1Stvdo
12621.1Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
12631.1Stvset dummy $ac_prog; ac_word=$2
12641.43Sdbjecho "$as_me:1264: checking for $ac_word" >&5
12651.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12661.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12671.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
12681.1Stvelse
12691.1Stv  if test -n "$ac_ct_CC"; then
12701.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12711.1Stvelse
12721.43Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
12731.43Sdbjac_dummy="$PATH"
12741.43Sdbjfor ac_dir in $ac_dummy; do
12751.43Sdbj  IFS=$ac_save_IFS
12761.43Sdbj  test -z "$ac_dir" && ac_dir=.
12771.43Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
12781.43Sdbjac_cv_prog_ac_ct_CC="$ac_prog"
12791.43Sdbjecho "$as_me:1279: found $ac_dir/$ac_word" >&5
12801.43Sdbjbreak
12811.1Stvdone
12821.1Stv
12831.1Stvfi
12841.1Stvfi
12851.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
12861.1Stvif test -n "$ac_ct_CC"; then
12871.43Sdbj  echo "$as_me:1287: result: $ac_ct_CC" >&5
12881.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
12891.1Stvelse
12901.43Sdbj  echo "$as_me:1290: result: no" >&5
12911.1Stvecho "${ECHO_T}no" >&6
12921.1Stvfi
12931.1Stv
12941.1Stv  test -n "$ac_ct_CC" && break
12951.1Stvdone
12961.1Stv
12971.1Stv  CC=$ac_ct_CC
12981.1Stvfi
12991.1Stv
13001.1Stvfi
13011.1Stv
13021.43Sdbjtest -z "$CC" && { { echo "$as_me:1302: error: no acceptable cc found in \$PATH" >&5
13031.43Sdbjecho "$as_me: error: no acceptable cc found in \$PATH" >&2;}
13041.1Stv   { (exit 1); exit 1; }; }
13051.1Stv
13061.1Stv# Provide some information about the compiler.
13071.43Sdbjecho "$as_me:1307:" \
13081.1Stv     "checking for C compiler version" >&5
13091.1Stvac_compiler=`set X $ac_compile; echo $2`
13101.43Sdbj{ (eval echo "$as_me:1310: \"$ac_compiler --version </dev/null >&5\"") >&5
13111.1Stv  (eval $ac_compiler --version </dev/null >&5) 2>&5
13121.1Stv  ac_status=$?
13131.43Sdbj  echo "$as_me:1313: \$? = $ac_status" >&5
13141.1Stv  (exit $ac_status); }
13151.43Sdbj{ (eval echo "$as_me:1315: \"$ac_compiler -v </dev/null >&5\"") >&5
13161.1Stv  (eval $ac_compiler -v </dev/null >&5) 2>&5
13171.1Stv  ac_status=$?
13181.43Sdbj  echo "$as_me:1318: \$? = $ac_status" >&5
13191.1Stv  (exit $ac_status); }
13201.43Sdbj{ (eval echo "$as_me:1320: \"$ac_compiler -V </dev/null >&5\"") >&5
13211.1Stv  (eval $ac_compiler -V </dev/null >&5) 2>&5
13221.1Stv  ac_status=$?
13231.43Sdbj  echo "$as_me:1323: \$? = $ac_status" >&5
13241.1Stv  (exit $ac_status); }
13251.1Stv
13261.1Stvcat >conftest.$ac_ext <<_ACEOF
13271.43Sdbj#line 1327 "configure"
13281.43Sdbj#include "confdefs.h"
13291.1Stv
13301.1Stvint
13311.1Stvmain ()
13321.1Stv{
13331.1Stv
13341.1Stv  ;
13351.1Stv  return 0;
13361.1Stv}
13371.1Stv_ACEOF
13381.1Stvac_clean_files_save=$ac_clean_files
13391.43Sdbjac_clean_files="$ac_clean_files a.out a.exe"
13401.1Stv# Try to create an executable without -o first, disregard a.out.
13411.1Stv# It will help us diagnose broken compilers, and finding out an intuition
13421.1Stv# of exeext.
13431.43Sdbjecho "$as_me:1343: checking for C compiler default output" >&5
13441.1Stvecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
13451.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13461.43Sdbjif { (eval echo "$as_me:1346: \"$ac_link_default\"") >&5
13471.1Stv  (eval $ac_link_default) 2>&5
13481.1Stv  ac_status=$?
13491.43Sdbj  echo "$as_me:1349: \$? = $ac_status" >&5
13501.1Stv  (exit $ac_status); }; then
13511.1Stv  # Find the output, starting from the most likely.  This scheme is
13521.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13531.1Stv# resort.
13541.43Sdbjfor ac_file in `ls a.exe conftest.exe 2>/dev/null;
13551.43Sdbj                ls a.out conftest 2>/dev/null;
13561.43Sdbj                ls a.* conftest.* 2>/dev/null`; do
13571.1Stv  case $ac_file in
13581.43Sdbj    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13591.43Sdbj    a.out ) # We found the default executable, but exeext='' is most
13601.43Sdbj            # certainly right.
13611.43Sdbj            break;;
13621.43Sdbj    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13631.43Sdbj          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
13641.43Sdbj          export ac_cv_exeext
13651.43Sdbj          break;;
13661.43Sdbj    * ) break;;
13671.1Stv  esac
13681.1Stvdone
13691.1Stvelse
13701.1Stv  echo "$as_me: failed program was:" >&5
13711.43Sdbjcat conftest.$ac_ext >&5
13721.43Sdbj{ { echo "$as_me:1372: error: C compiler cannot create executables" >&5
13731.43Sdbjecho "$as_me: error: C compiler cannot create executables" >&2;}
13741.1Stv   { (exit 77); exit 77; }; }
13751.1Stvfi
13761.1Stv
13771.1Stvac_exeext=$ac_cv_exeext
13781.43Sdbjecho "$as_me:1378: result: $ac_file" >&5
13791.1Stvecho "${ECHO_T}$ac_file" >&6
13801.1Stv
13811.1Stv# Check the compiler produces executables we can run.  If not, either
13821.1Stv# the compiler is broken, or we cross compile.
13831.43Sdbjecho "$as_me:1383: checking whether the C compiler works" >&5
13841.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
13851.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13861.1Stv# If not cross compiling, check that we can run a simple program.
13871.1Stvif test "$cross_compiling" != yes; then
13881.1Stv  if { ac_try='./$ac_file'
13891.43Sdbj  { (eval echo "$as_me:1389: \"$ac_try\"") >&5
13901.1Stv  (eval $ac_try) 2>&5
13911.1Stv  ac_status=$?
13921.43Sdbj  echo "$as_me:1392: \$? = $ac_status" >&5
13931.1Stv  (exit $ac_status); }; }; then
13941.1Stv    cross_compiling=no
13951.1Stv  else
13961.1Stv    if test "$cross_compiling" = maybe; then
13971.1Stv	cross_compiling=yes
13981.1Stv    else
13991.43Sdbj	{ { echo "$as_me:1399: error: cannot run C compiled programs.
14001.43SdbjIf you meant to cross compile, use \`--host'." >&5
14011.1Stvecho "$as_me: error: cannot run C compiled programs.
14021.43SdbjIf you meant to cross compile, use \`--host'." >&2;}
14031.1Stv   { (exit 1); exit 1; }; }
14041.1Stv    fi
14051.1Stv  fi
14061.1Stvfi
14071.43Sdbjecho "$as_me:1407: result: yes" >&5
14081.1Stvecho "${ECHO_T}yes" >&6
14091.1Stv
14101.43Sdbjrm -f a.out a.exe conftest$ac_cv_exeext
14111.1Stvac_clean_files=$ac_clean_files_save
14121.1Stv# Check the compiler produces executables we can run.  If not, either
14131.1Stv# the compiler is broken, or we cross compile.
14141.43Sdbjecho "$as_me:1414: checking whether we are cross compiling" >&5
14151.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
14161.43Sdbjecho "$as_me:1416: result: $cross_compiling" >&5
14171.1Stvecho "${ECHO_T}$cross_compiling" >&6
14181.1Stv
14191.43Sdbjecho "$as_me:1419: checking for executable suffix" >&5
14201.43Sdbjecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
14211.43Sdbjif { (eval echo "$as_me:1421: \"$ac_link\"") >&5
14221.1Stv  (eval $ac_link) 2>&5
14231.1Stv  ac_status=$?
14241.43Sdbj  echo "$as_me:1424: \$? = $ac_status" >&5
14251.1Stv  (exit $ac_status); }; then
14261.1Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
14271.1Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
14281.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
14291.1Stv# `rm'.
14301.43Sdbjfor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
14311.1Stv  case $ac_file in
14321.43Sdbj    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
14331.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14341.1Stv          export ac_cv_exeext
14351.1Stv          break;;
14361.1Stv    * ) break;;
14371.1Stv  esac
14381.1Stvdone
14391.1Stvelse
14401.43Sdbj  { { echo "$as_me:1440: error: cannot compute EXEEXT: cannot compile and link" >&5
14411.43Sdbjecho "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
14421.1Stv   { (exit 1); exit 1; }; }
14431.1Stvfi
14441.1Stv
14451.1Stvrm -f conftest$ac_cv_exeext
14461.43Sdbjecho "$as_me:1446: result: $ac_cv_exeext" >&5
14471.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6
14481.1Stv
14491.1Stvrm -f conftest.$ac_ext
14501.1StvEXEEXT=$ac_cv_exeext
14511.1Stvac_exeext=$EXEEXT
14521.43Sdbjecho "$as_me:1452: checking for object suffix" >&5
14531.43Sdbjecho $ECHO_N "checking for object suffix... $ECHO_C" >&6
14541.1Stvif test "${ac_cv_objext+set}" = set; then
14551.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14561.1Stvelse
14571.1Stv  cat >conftest.$ac_ext <<_ACEOF
14581.43Sdbj#line 1458 "configure"
14591.43Sdbj#include "confdefs.h"
14601.1Stv
14611.1Stvint
14621.1Stvmain ()
14631.1Stv{
14641.1Stv
14651.1Stv  ;
14661.1Stv  return 0;
14671.1Stv}
14681.1Stv_ACEOF
14691.1Stvrm -f conftest.o conftest.obj
14701.43Sdbjif { (eval echo "$as_me:1470: \"$ac_compile\"") >&5
14711.1Stv  (eval $ac_compile) 2>&5
14721.1Stv  ac_status=$?
14731.43Sdbj  echo "$as_me:1473: \$? = $ac_status" >&5
14741.1Stv  (exit $ac_status); }; then
14751.1Stv  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
14761.1Stv  case $ac_file in
14771.43Sdbj    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
14781.1Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14791.1Stv       break;;
14801.1Stv  esac
14811.1Stvdone
14821.1Stvelse
14831.1Stv  echo "$as_me: failed program was:" >&5
14841.43Sdbjcat conftest.$ac_ext >&5
14851.43Sdbj{ { echo "$as_me:1485: error: cannot compute OBJEXT: cannot compile" >&5
14861.43Sdbjecho "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
14871.1Stv   { (exit 1); exit 1; }; }
14881.1Stvfi
14891.1Stv
14901.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
14911.1Stvfi
14921.43Sdbjecho "$as_me:1492: result: $ac_cv_objext" >&5
14931.1Stvecho "${ECHO_T}$ac_cv_objext" >&6
14941.1StvOBJEXT=$ac_cv_objext
14951.1Stvac_objext=$OBJEXT
14961.43Sdbjecho "$as_me:1496: checking whether we are using the GNU C compiler" >&5
14971.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
14981.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then
14991.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15001.1Stvelse
15011.1Stv  cat >conftest.$ac_ext <<_ACEOF
15021.43Sdbj#line 1502 "configure"
15031.43Sdbj#include "confdefs.h"
15041.1Stv
15051.1Stvint
15061.1Stvmain ()
15071.1Stv{
15081.1Stv#ifndef __GNUC__
15091.1Stv       choke me
15101.1Stv#endif
15111.1Stv
15121.1Stv  ;
15131.1Stv  return 0;
15141.1Stv}
15151.1Stv_ACEOF
15161.1Stvrm -f conftest.$ac_objext
15171.43Sdbjif { (eval echo "$as_me:1517: \"$ac_compile\"") >&5
15181.1Stv  (eval $ac_compile) 2>&5
15191.1Stv  ac_status=$?
15201.43Sdbj  echo "$as_me:1520: \$? = $ac_status" >&5
15211.1Stv  (exit $ac_status); } &&
15221.1Stv         { ac_try='test -s conftest.$ac_objext'
15231.43Sdbj  { (eval echo "$as_me:1523: \"$ac_try\"") >&5
15241.1Stv  (eval $ac_try) 2>&5
15251.1Stv  ac_status=$?
15261.43Sdbj  echo "$as_me:1526: \$? = $ac_status" >&5
15271.1Stv  (exit $ac_status); }; }; then
15281.1Stv  ac_compiler_gnu=yes
15291.1Stvelse
15301.1Stv  echo "$as_me: failed program was:" >&5
15311.43Sdbjcat conftest.$ac_ext >&5
15321.1Stvac_compiler_gnu=no
15331.1Stvfi
15341.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
15351.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
15361.1Stv
15371.1Stvfi
15381.43Sdbjecho "$as_me:1538: result: $ac_cv_c_compiler_gnu" >&5
15391.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
15401.1StvGCC=`test $ac_compiler_gnu = yes && echo yes`
15411.1Stvac_test_CFLAGS=${CFLAGS+set}
15421.1Stvac_save_CFLAGS=$CFLAGS
15431.1StvCFLAGS="-g"
15441.43Sdbjecho "$as_me:1544: checking whether $CC accepts -g" >&5
15451.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15461.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then
15471.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15481.1Stvelse
15491.1Stv  cat >conftest.$ac_ext <<_ACEOF
15501.43Sdbj#line 1550 "configure"
15511.43Sdbj#include "confdefs.h"
15521.1Stv
15531.1Stvint
15541.1Stvmain ()
15551.1Stv{
15561.1Stv
15571.1Stv  ;
15581.1Stv  return 0;
15591.1Stv}
15601.1Stv_ACEOF
15611.1Stvrm -f conftest.$ac_objext
15621.43Sdbjif { (eval echo "$as_me:1562: \"$ac_compile\"") >&5
15631.1Stv  (eval $ac_compile) 2>&5
15641.1Stv  ac_status=$?
15651.43Sdbj  echo "$as_me:1565: \$? = $ac_status" >&5
15661.1Stv  (exit $ac_status); } &&
15671.1Stv         { ac_try='test -s conftest.$ac_objext'
15681.43Sdbj  { (eval echo "$as_me:1568: \"$ac_try\"") >&5
15691.1Stv  (eval $ac_try) 2>&5
15701.1Stv  ac_status=$?
15711.43Sdbj  echo "$as_me:1571: \$? = $ac_status" >&5
15721.1Stv  (exit $ac_status); }; }; then
15731.1Stv  ac_cv_prog_cc_g=yes
15741.1Stvelse
15751.1Stv  echo "$as_me: failed program was:" >&5
15761.43Sdbjcat conftest.$ac_ext >&5
15771.1Stvac_cv_prog_cc_g=no
15781.1Stvfi
15791.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
15801.1Stvfi
15811.43Sdbjecho "$as_me:1581: result: $ac_cv_prog_cc_g" >&5
15821.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
15831.1Stvif test "$ac_test_CFLAGS" = set; then
15841.1Stv  CFLAGS=$ac_save_CFLAGS
15851.1Stvelif test $ac_cv_prog_cc_g = yes; then
15861.1Stv  if test "$GCC" = yes; then
15871.1Stv    CFLAGS="-g -O2"
15881.1Stv  else
15891.1Stv    CFLAGS="-g"
15901.1Stv  fi
15911.1Stvelse
15921.1Stv  if test "$GCC" = yes; then
15931.1Stv    CFLAGS="-O2"
15941.1Stv  else
15951.1Stv    CFLAGS=
15961.1Stv  fi
15971.1Stvfi
15981.1Stv# Some people use a C++ compiler to compile C.  Since we use `exit',
15991.1Stv# in C++ we need to declare it.  In case someone uses the same compiler
16001.1Stv# for both compiling C and C++ we need to have the C++ compiler decide
16011.1Stv# the declaration of exit, since it's the most demanding environment.
16021.1Stvcat >conftest.$ac_ext <<_ACEOF
16031.1Stv#ifndef __cplusplus
16041.1Stv  choke me
16051.1Stv#endif
16061.1Stv_ACEOF
16071.1Stvrm -f conftest.$ac_objext
16081.43Sdbjif { (eval echo "$as_me:1608: \"$ac_compile\"") >&5
16091.1Stv  (eval $ac_compile) 2>&5
16101.1Stv  ac_status=$?
16111.43Sdbj  echo "$as_me:1611: \$? = $ac_status" >&5
16121.1Stv  (exit $ac_status); } &&
16131.1Stv         { ac_try='test -s conftest.$ac_objext'
16141.43Sdbj  { (eval echo "$as_me:1614: \"$ac_try\"") >&5
16151.1Stv  (eval $ac_try) 2>&5
16161.1Stv  ac_status=$?
16171.43Sdbj  echo "$as_me:1617: \$? = $ac_status" >&5
16181.1Stv  (exit $ac_status); }; }; then
16191.1Stv  for ac_declaration in \
16201.1Stv   ''\
16211.1Stv   '#include <stdlib.h>' \
16221.1Stv   'extern "C" void std::exit (int) throw (); using std::exit;' \
16231.1Stv   'extern "C" void std::exit (int); using std::exit;' \
16241.1Stv   'extern "C" void exit (int) throw ();' \
16251.1Stv   'extern "C" void exit (int);' \
16261.1Stv   'void exit (int);'
16271.1Stvdo
16281.1Stv  cat >conftest.$ac_ext <<_ACEOF
16291.43Sdbj#line 1629 "configure"
16301.43Sdbj#include "confdefs.h"
16311.1Stv#include <stdlib.h>
16321.1Stv$ac_declaration
16331.1Stvint
16341.1Stvmain ()
16351.1Stv{
16361.1Stvexit (42);
16371.1Stv  ;
16381.1Stv  return 0;
16391.1Stv}
16401.1Stv_ACEOF
16411.1Stvrm -f conftest.$ac_objext
16421.43Sdbjif { (eval echo "$as_me:1642: \"$ac_compile\"") >&5
16431.1Stv  (eval $ac_compile) 2>&5
16441.1Stv  ac_status=$?
16451.43Sdbj  echo "$as_me:1645: \$? = $ac_status" >&5
16461.1Stv  (exit $ac_status); } &&
16471.1Stv         { ac_try='test -s conftest.$ac_objext'
16481.43Sdbj  { (eval echo "$as_me:1648: \"$ac_try\"") >&5
16491.1Stv  (eval $ac_try) 2>&5
16501.1Stv  ac_status=$?
16511.43Sdbj  echo "$as_me:1651: \$? = $ac_status" >&5
16521.1Stv  (exit $ac_status); }; }; then
16531.1Stv  :
16541.1Stvelse
16551.1Stv  echo "$as_me: failed program was:" >&5
16561.43Sdbjcat conftest.$ac_ext >&5
16571.1Stvcontinue
16581.1Stvfi
16591.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
16601.1Stv  cat >conftest.$ac_ext <<_ACEOF
16611.43Sdbj#line 1661 "configure"
16621.43Sdbj#include "confdefs.h"
16631.1Stv$ac_declaration
16641.1Stvint
16651.1Stvmain ()
16661.1Stv{
16671.1Stvexit (42);
16681.1Stv  ;
16691.1Stv  return 0;
16701.1Stv}
16711.1Stv_ACEOF
16721.1Stvrm -f conftest.$ac_objext
16731.43Sdbjif { (eval echo "$as_me:1673: \"$ac_compile\"") >&5
16741.1Stv  (eval $ac_compile) 2>&5
16751.1Stv  ac_status=$?
16761.43Sdbj  echo "$as_me:1676: \$? = $ac_status" >&5
16771.1Stv  (exit $ac_status); } &&
16781.1Stv         { ac_try='test -s conftest.$ac_objext'
16791.43Sdbj  { (eval echo "$as_me:1679: \"$ac_try\"") >&5
16801.1Stv  (eval $ac_try) 2>&5
16811.1Stv  ac_status=$?
16821.43Sdbj  echo "$as_me:1682: \$? = $ac_status" >&5
16831.1Stv  (exit $ac_status); }; }; then
16841.1Stv  break
16851.1Stvelse
16861.1Stv  echo "$as_me: failed program was:" >&5
16871.43Sdbjcat conftest.$ac_ext >&5
16881.1Stvfi
16891.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
16901.1Stvdone
16911.1Stvrm -f conftest*
16921.1Stvif test -n "$ac_declaration"; then
16931.1Stv  echo '#ifdef __cplusplus' >>confdefs.h
16941.1Stv  echo $ac_declaration      >>confdefs.h
16951.1Stv  echo '#endif'             >>confdefs.h
16961.1Stvfi
16971.1Stv
16981.1Stvelse
16991.1Stv  echo "$as_me: failed program was:" >&5
17001.43Sdbjcat conftest.$ac_ext >&5
17011.1Stvfi
17021.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
17031.1Stvac_ext=c
17041.1Stvac_cpp='$CPP $CPPFLAGS'
17051.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17061.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17071.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
17081.1Stv
17091.43Sdbjecho "$as_me:1709: checking whether byte ordering is bigendian" >&5
17101.4Stvecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
17111.4Stvif test "${ac_cv_c_bigendian+set}" = set; then
17121.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
17131.4Stvelse
17141.43Sdbj  ac_cv_c_bigendian=unknown
17151.43Sdbj# See if sys/param.h defines the BYTE_ORDER macro.
17161.4Stvcat >conftest.$ac_ext <<_ACEOF
17171.43Sdbj#line 1717 "configure"
17181.43Sdbj#include "confdefs.h"
17191.4Stv#include <sys/types.h>
17201.4Stv#include <sys/param.h>
17211.4Stv
17221.4Stvint
17231.4Stvmain ()
17241.4Stv{
17251.4Stv#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
17261.4Stv bogus endian macros
17271.4Stv#endif
17281.4Stv
17291.4Stv  ;
17301.4Stv  return 0;
17311.4Stv}
17321.4Stv_ACEOF
17331.4Stvrm -f conftest.$ac_objext
17341.43Sdbjif { (eval echo "$as_me:1734: \"$ac_compile\"") >&5
17351.4Stv  (eval $ac_compile) 2>&5
17361.4Stv  ac_status=$?
17371.43Sdbj  echo "$as_me:1737: \$? = $ac_status" >&5
17381.4Stv  (exit $ac_status); } &&
17391.4Stv         { ac_try='test -s conftest.$ac_objext'
17401.43Sdbj  { (eval echo "$as_me:1740: \"$ac_try\"") >&5
17411.4Stv  (eval $ac_try) 2>&5
17421.4Stv  ac_status=$?
17431.43Sdbj  echo "$as_me:1743: \$? = $ac_status" >&5
17441.4Stv  (exit $ac_status); }; }; then
17451.4Stv  # It does; now see whether it defined to BIG_ENDIAN or not.
17461.4Stvcat >conftest.$ac_ext <<_ACEOF
17471.43Sdbj#line 1747 "configure"
17481.43Sdbj#include "confdefs.h"
17491.4Stv#include <sys/types.h>
17501.4Stv#include <sys/param.h>
17511.4Stv
17521.4Stvint
17531.4Stvmain ()
17541.4Stv{
17551.4Stv#if BYTE_ORDER != BIG_ENDIAN
17561.4Stv not big endian
17571.4Stv#endif
17581.4Stv
17591.4Stv  ;
17601.4Stv  return 0;
17611.4Stv}
17621.4Stv_ACEOF
17631.4Stvrm -f conftest.$ac_objext
17641.43Sdbjif { (eval echo "$as_me:1764: \"$ac_compile\"") >&5
17651.4Stv  (eval $ac_compile) 2>&5
17661.4Stv  ac_status=$?
17671.43Sdbj  echo "$as_me:1767: \$? = $ac_status" >&5
17681.4Stv  (exit $ac_status); } &&
17691.4Stv         { ac_try='test -s conftest.$ac_objext'
17701.43Sdbj  { (eval echo "$as_me:1770: \"$ac_try\"") >&5
17711.4Stv  (eval $ac_try) 2>&5
17721.4Stv  ac_status=$?
17731.43Sdbj  echo "$as_me:1773: \$? = $ac_status" >&5
17741.4Stv  (exit $ac_status); }; }; then
17751.4Stv  ac_cv_c_bigendian=yes
17761.4Stvelse
17771.4Stv  echo "$as_me: failed program was:" >&5
17781.43Sdbjcat conftest.$ac_ext >&5
17791.4Stvac_cv_c_bigendian=no
17801.4Stvfi
17811.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
17821.4Stvelse
17831.4Stv  echo "$as_me: failed program was:" >&5
17841.43Sdbjcat conftest.$ac_ext >&5
17851.4Stvfi
17861.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
17871.43Sdbjif test $ac_cv_c_bigendian = unknown; then
17881.43Sdbjif test "$cross_compiling" = yes; then
17891.43Sdbj  { { echo "$as_me:1789: error: cannot run test program while cross compiling" >&5
17901.43Sdbjecho "$as_me: error: cannot run test program while cross compiling" >&2;}
17911.43Sdbj   { (exit 1); exit 1; }; }
17921.4Stvelse
17931.4Stv  cat >conftest.$ac_ext <<_ACEOF
17941.43Sdbj#line 1794 "configure"
17951.43Sdbj#include "confdefs.h"
17961.4Stvint
17971.4Stvmain ()
17981.4Stv{
17991.4Stv  /* Are we little or big endian?  From Harbison&Steele.  */
18001.4Stv  union
18011.4Stv  {
18021.4Stv    long l;
18031.4Stv    char c[sizeof (long)];
18041.4Stv  } u;
18051.4Stv  u.l = 1;
18061.4Stv  exit (u.c[sizeof (long) - 1] == 1);
18071.4Stv}
18081.4Stv_ACEOF
18091.4Stvrm -f conftest$ac_exeext
18101.43Sdbjif { (eval echo "$as_me:1810: \"$ac_link\"") >&5
18111.4Stv  (eval $ac_link) 2>&5
18121.4Stv  ac_status=$?
18131.43Sdbj  echo "$as_me:1813: \$? = $ac_status" >&5
18141.4Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18151.43Sdbj  { (eval echo "$as_me:1815: \"$ac_try\"") >&5
18161.4Stv  (eval $ac_try) 2>&5
18171.4Stv  ac_status=$?
18181.43Sdbj  echo "$as_me:1818: \$? = $ac_status" >&5
18191.4Stv  (exit $ac_status); }; }; then
18201.4Stv  ac_cv_c_bigendian=no
18211.4Stvelse
18221.4Stv  echo "$as_me: program exited with status $ac_status" >&5
18231.4Stvecho "$as_me: failed program was:" >&5
18241.43Sdbjcat conftest.$ac_ext >&5
18251.4Stvac_cv_c_bigendian=yes
18261.4Stvfi
18271.43Sdbjrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18281.4Stvfi
18291.4Stvfi
18301.4Stvfi
18311.43Sdbjecho "$as_me:1831: result: $ac_cv_c_bigendian" >&5
18321.4Stvecho "${ECHO_T}$ac_cv_c_bigendian" >&6
18331.43Sdbjif test $ac_cv_c_bigendian = yes; then
18341.4Stv
18351.43Sdbjcat >>confdefs.h <<\EOF
18361.4Stv#define WORDS_BIGENDIAN 1
18371.43SdbjEOF
18381.43Sdbj
18391.43Sdbjfi
18401.4Stv
18411.1Stvac_ext=c
18421.1Stvac_cpp='$CPP $CPPFLAGS'
18431.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18441.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
18461.43Sdbjecho "$as_me:1846: checking how to run the C preprocessor" >&5
18471.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
18481.1Stv# On Suns, sometimes $CPP names a directory.
18491.1Stvif test -n "$CPP" && test -d "$CPP"; then
18501.1Stv  CPP=
18511.1Stvfi
18521.1Stvif test -z "$CPP"; then
18531.1Stv  if test "${ac_cv_prog_CPP+set}" = set; then
18541.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
18551.1Stvelse
18561.1Stv      # Double quotes because CPP needs to be expanded
18571.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
18581.1Stv    do
18591.1Stv      ac_preproc_ok=false
18601.1Stvfor ac_c_preproc_warn_flag in '' yes
18611.1Stvdo
18621.1Stv  # Use a header file that comes with gcc, so configuring glibc
18631.1Stv  # with a fresh cross-compiler works.
18641.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
18651.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
18661.1Stv  cat >conftest.$ac_ext <<_ACEOF
18671.43Sdbj#line 1867 "configure"
18681.43Sdbj#include "confdefs.h"
18691.43Sdbj#include <assert.h>
18701.1Stv                     Syntax error
18711.1Stv_ACEOF
18721.43Sdbjif { (eval echo "$as_me:1872: \"$ac_cpp conftest.$ac_ext\"") >&5
18731.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18741.1Stv  ac_status=$?
18751.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
18761.1Stv  rm -f conftest.er1
18771.1Stv  cat conftest.err >&5
18781.43Sdbj  echo "$as_me:1878: \$? = $ac_status" >&5
18791.1Stv  (exit $ac_status); } >/dev/null; then
18801.1Stv  if test -s conftest.err; then
18811.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
18821.1Stv  else
18831.1Stv    ac_cpp_err=
18841.1Stv  fi
18851.1Stvelse
18861.1Stv  ac_cpp_err=yes
18871.1Stvfi
18881.1Stvif test -z "$ac_cpp_err"; then
18891.1Stv  :
18901.1Stvelse
18911.1Stv  echo "$as_me: failed program was:" >&5
18921.43Sdbj  cat conftest.$ac_ext >&5
18931.1Stv  # Broken: fails on valid input.
18941.1Stvcontinue
18951.1Stvfi
18961.1Stvrm -f conftest.err conftest.$ac_ext
18971.1Stv
18981.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
18991.1Stv  # can be detected and how.
19001.1Stv  cat >conftest.$ac_ext <<_ACEOF
19011.43Sdbj#line 1901 "configure"
19021.43Sdbj#include "confdefs.h"
19031.1Stv#include <ac_nonexistent.h>
19041.1Stv_ACEOF
19051.43Sdbjif { (eval echo "$as_me:1905: \"$ac_cpp conftest.$ac_ext\"") >&5
19061.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19071.1Stv  ac_status=$?
19081.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
19091.1Stv  rm -f conftest.er1
19101.1Stv  cat conftest.err >&5
19111.43Sdbj  echo "$as_me:1911: \$? = $ac_status" >&5
19121.1Stv  (exit $ac_status); } >/dev/null; then
19131.1Stv  if test -s conftest.err; then
19141.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
19151.1Stv  else
19161.1Stv    ac_cpp_err=
19171.1Stv  fi
19181.1Stvelse
19191.1Stv  ac_cpp_err=yes
19201.1Stvfi
19211.1Stvif test -z "$ac_cpp_err"; then
19221.1Stv  # Broken: success on invalid input.
19231.1Stvcontinue
19241.1Stvelse
19251.1Stv  echo "$as_me: failed program was:" >&5
19261.43Sdbj  cat conftest.$ac_ext >&5
19271.1Stv  # Passes both tests.
19281.1Stvac_preproc_ok=:
19291.1Stvbreak
19301.1Stvfi
19311.1Stvrm -f conftest.err conftest.$ac_ext
19321.1Stv
19331.1Stvdone
19341.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
19351.1Stvrm -f conftest.err conftest.$ac_ext
19361.1Stvif $ac_preproc_ok; then
19371.1Stv  break
19381.1Stvfi
19391.1Stv
19401.1Stv    done
19411.1Stv    ac_cv_prog_CPP=$CPP
19421.1Stv
19431.1Stvfi
19441.1Stv  CPP=$ac_cv_prog_CPP
19451.1Stvelse
19461.1Stv  ac_cv_prog_CPP=$CPP
19471.1Stvfi
19481.43Sdbjecho "$as_me:1948: result: $CPP" >&5
19491.1Stvecho "${ECHO_T}$CPP" >&6
19501.1Stvac_preproc_ok=false
19511.1Stvfor ac_c_preproc_warn_flag in '' yes
19521.1Stvdo
19531.1Stv  # Use a header file that comes with gcc, so configuring glibc
19541.1Stv  # with a fresh cross-compiler works.
19551.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
19561.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
19571.1Stv  cat >conftest.$ac_ext <<_ACEOF
19581.43Sdbj#line 1958 "configure"
19591.43Sdbj#include "confdefs.h"
19601.43Sdbj#include <assert.h>
19611.1Stv                     Syntax error
19621.1Stv_ACEOF
19631.43Sdbjif { (eval echo "$as_me:1963: \"$ac_cpp conftest.$ac_ext\"") >&5
19641.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19651.1Stv  ac_status=$?
19661.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
19671.1Stv  rm -f conftest.er1
19681.1Stv  cat conftest.err >&5
19691.43Sdbj  echo "$as_me:1969: \$? = $ac_status" >&5
19701.1Stv  (exit $ac_status); } >/dev/null; then
19711.1Stv  if test -s conftest.err; then
19721.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
19731.1Stv  else
19741.1Stv    ac_cpp_err=
19751.1Stv  fi
19761.1Stvelse
19771.1Stv  ac_cpp_err=yes
19781.1Stvfi
19791.1Stvif test -z "$ac_cpp_err"; then
19801.1Stv  :
19811.1Stvelse
19821.1Stv  echo "$as_me: failed program was:" >&5
19831.43Sdbj  cat conftest.$ac_ext >&5
19841.1Stv  # Broken: fails on valid input.
19851.1Stvcontinue
19861.1Stvfi
19871.1Stvrm -f conftest.err conftest.$ac_ext
19881.1Stv
19891.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
19901.1Stv  # can be detected and how.
19911.1Stv  cat >conftest.$ac_ext <<_ACEOF
19921.43Sdbj#line 1992 "configure"
19931.43Sdbj#include "confdefs.h"
19941.1Stv#include <ac_nonexistent.h>
19951.1Stv_ACEOF
19961.43Sdbjif { (eval echo "$as_me:1996: \"$ac_cpp conftest.$ac_ext\"") >&5
19971.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19981.1Stv  ac_status=$?
19991.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
20001.1Stv  rm -f conftest.er1
20011.1Stv  cat conftest.err >&5
20021.43Sdbj  echo "$as_me:2002: \$? = $ac_status" >&5
20031.1Stv  (exit $ac_status); } >/dev/null; then
20041.1Stv  if test -s conftest.err; then
20051.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
20061.1Stv  else
20071.1Stv    ac_cpp_err=
20081.1Stv  fi
20091.1Stvelse
20101.1Stv  ac_cpp_err=yes
20111.1Stvfi
20121.1Stvif test -z "$ac_cpp_err"; then
20131.1Stv  # Broken: success on invalid input.
20141.1Stvcontinue
20151.1Stvelse
20161.1Stv  echo "$as_me: failed program was:" >&5
20171.43Sdbj  cat conftest.$ac_ext >&5
20181.1Stv  # Passes both tests.
20191.1Stvac_preproc_ok=:
20201.1Stvbreak
20211.1Stvfi
20221.1Stvrm -f conftest.err conftest.$ac_ext
20231.1Stv
20241.1Stvdone
20251.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
20261.1Stvrm -f conftest.err conftest.$ac_ext
20271.1Stvif $ac_preproc_ok; then
20281.1Stv  :
20291.1Stvelse
20301.43Sdbj  { { echo "$as_me:2030: error: C preprocessor \"$CPP\" fails sanity check" >&5
20311.43Sdbjecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
20321.1Stv   { (exit 1); exit 1; }; }
20331.1Stvfi
20341.1Stv
20351.1Stvac_ext=c
20361.1Stvac_cpp='$CPP $CPPFLAGS'
20371.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20381.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20391.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
20401.1Stv
20411.43Sdbjecho "$as_me:2041: checking for ANSI C header files" >&5
20421.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20431.6Stvif test "${ac_cv_header_stdc+set}" = set; then
20441.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
20451.6Stvelse
20461.6Stv  cat >conftest.$ac_ext <<_ACEOF
20471.43Sdbj#line 2047 "configure"
20481.43Sdbj#include "confdefs.h"
20491.6Stv#include <stdlib.h>
20501.6Stv#include <stdarg.h>
20511.6Stv#include <string.h>
20521.6Stv#include <float.h>
20531.6Stv
20541.6Stv_ACEOF
20551.43Sdbjif { (eval echo "$as_me:2055: \"$ac_cpp conftest.$ac_ext\"") >&5
20561.43Sdbj  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20571.39Sfredb  ac_status=$?
20581.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
20591.43Sdbj  rm -f conftest.er1
20601.43Sdbj  cat conftest.err >&5
20611.43Sdbj  echo "$as_me:2061: \$? = $ac_status" >&5
20621.43Sdbj  (exit $ac_status); } >/dev/null; then
20631.43Sdbj  if test -s conftest.err; then
20641.43Sdbj    ac_cpp_err=$ac_c_preproc_warn_flag
20651.43Sdbj  else
20661.43Sdbj    ac_cpp_err=
20671.43Sdbj  fi
20681.43Sdbjelse
20691.43Sdbj  ac_cpp_err=yes
20701.43Sdbjfi
20711.43Sdbjif test -z "$ac_cpp_err"; then
20721.6Stv  ac_cv_header_stdc=yes
20731.6Stvelse
20741.6Stv  echo "$as_me: failed program was:" >&5
20751.43Sdbj  cat conftest.$ac_ext >&5
20761.43Sdbj  ac_cv_header_stdc=no
20771.6Stvfi
20781.43Sdbjrm -f conftest.err conftest.$ac_ext
20791.6Stv
20801.6Stvif test $ac_cv_header_stdc = yes; then
20811.6Stv  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20821.6Stv  cat >conftest.$ac_ext <<_ACEOF
20831.43Sdbj#line 2083 "configure"
20841.43Sdbj#include "confdefs.h"
20851.6Stv#include <string.h>
20861.6Stv
20871.6Stv_ACEOF
20881.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20891.43Sdbj  egrep "memchr" >/dev/null 2>&1; then
20901.6Stv  :
20911.6Stvelse
20921.6Stv  ac_cv_header_stdc=no
20931.6Stvfi
20941.6Stvrm -f conftest*
20951.6Stv
20961.6Stvfi
20971.6Stv
20981.6Stvif test $ac_cv_header_stdc = yes; then
20991.6Stv  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21001.6Stv  cat >conftest.$ac_ext <<_ACEOF
21011.43Sdbj#line 2101 "configure"
21021.43Sdbj#include "confdefs.h"
21031.6Stv#include <stdlib.h>
21041.6Stv
21051.6Stv_ACEOF
21061.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21071.43Sdbj  egrep "free" >/dev/null 2>&1; then
21081.6Stv  :
21091.6Stvelse
21101.6Stv  ac_cv_header_stdc=no
21111.6Stvfi
21121.6Stvrm -f conftest*
21131.6Stv
21141.6Stvfi
21151.6Stv
21161.6Stvif test $ac_cv_header_stdc = yes; then
21171.6Stv  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21181.6Stv  if test "$cross_compiling" = yes; then
21191.6Stv  :
21201.6Stvelse
21211.6Stv  cat >conftest.$ac_ext <<_ACEOF
21221.43Sdbj#line 2122 "configure"
21231.43Sdbj#include "confdefs.h"
21241.6Stv#include <ctype.h>
21251.6Stv#if ((' ' & 0x0FF) == 0x020)
21261.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21271.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21281.6Stv#else
21291.43Sdbj# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
21301.6Stv                     || ('j' <= (c) && (c) <= 'r') \
21311.6Stv                     || ('s' <= (c) && (c) <= 'z'))
21321.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21331.6Stv#endif
21341.6Stv
21351.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21361.6Stvint
21371.6Stvmain ()
21381.6Stv{
21391.6Stv  int i;
21401.6Stv  for (i = 0; i < 256; i++)
21411.6Stv    if (XOR (islower (i), ISLOWER (i))
21421.6Stv        || toupper (i) != TOUPPER (i))
21431.6Stv      exit(2);
21441.6Stv  exit (0);
21451.6Stv}
21461.6Stv_ACEOF
21471.6Stvrm -f conftest$ac_exeext
21481.43Sdbjif { (eval echo "$as_me:2148: \"$ac_link\"") >&5
21491.6Stv  (eval $ac_link) 2>&5
21501.6Stv  ac_status=$?
21511.43Sdbj  echo "$as_me:2151: \$? = $ac_status" >&5
21521.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21531.43Sdbj  { (eval echo "$as_me:2153: \"$ac_try\"") >&5
21541.6Stv  (eval $ac_try) 2>&5
21551.6Stv  ac_status=$?
21561.43Sdbj  echo "$as_me:2156: \$? = $ac_status" >&5
21571.6Stv  (exit $ac_status); }; }; then
21581.6Stv  :
21591.6Stvelse
21601.6Stv  echo "$as_me: program exited with status $ac_status" >&5
21611.6Stvecho "$as_me: failed program was:" >&5
21621.43Sdbjcat conftest.$ac_ext >&5
21631.6Stvac_cv_header_stdc=no
21641.6Stvfi
21651.43Sdbjrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21661.6Stvfi
21671.6Stvfi
21681.6Stvfi
21691.43Sdbjecho "$as_me:2169: result: $ac_cv_header_stdc" >&5
21701.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6
21711.6Stvif test $ac_cv_header_stdc = yes; then
21721.6Stv
21731.43Sdbjcat >>confdefs.h <<\EOF
21741.6Stv#define STDC_HEADERS 1
21751.43SdbjEOF
21761.6Stv
21771.6Stvfi
21781.6Stv
21791.6Stv# Confirm existence of zlib.  (This is available as a default install
21801.6Stv# option on many OS's; this could be added as a reachover build in the
21811.6Stv# future.)
21821.43Sdbjecho "$as_me:2182: checking for zlib.h" >&5
21831.6Stvecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
21841.6Stvif test "${ac_cv_header_zlib_h+set}" = set; then
21851.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
21861.39Sfredbelse
21871.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
21881.43Sdbj#line 2188 "configure"
21891.43Sdbj#include "confdefs.h"
21901.6Stv#include <zlib.h>
21911.4Stv_ACEOF
21921.43Sdbjif { (eval echo "$as_me:2192: \"$ac_cpp conftest.$ac_ext\"") >&5
21931.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21941.4Stv  ac_status=$?
21951.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
21961.4Stv  rm -f conftest.er1
21971.4Stv  cat conftest.err >&5
21981.43Sdbj  echo "$as_me:2198: \$? = $ac_status" >&5
21991.4Stv  (exit $ac_status); } >/dev/null; then
22001.4Stv  if test -s conftest.err; then
22011.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
22021.4Stv  else
22031.4Stv    ac_cpp_err=
22041.4Stv  fi
22051.4Stvelse
22061.4Stv  ac_cpp_err=yes
22071.4Stvfi
22081.4Stvif test -z "$ac_cpp_err"; then
22091.43Sdbj  ac_cv_header_zlib_h=yes
22101.4Stvelse
22111.4Stv  echo "$as_me: failed program was:" >&5
22121.43Sdbj  cat conftest.$ac_ext >&5
22131.43Sdbj  ac_cv_header_zlib_h=no
22141.4Stvfi
22151.4Stvrm -f conftest.err conftest.$ac_ext
22161.4Stvfi
22171.43Sdbjecho "$as_me:2217: result: $ac_cv_header_zlib_h" >&5
22181.6Stvecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
22191.6Stvif test $ac_cv_header_zlib_h = yes; then
22201.6Stv  :
22211.6Stvelse
22221.43Sdbj  { { echo "$as_me:2222: error: zlib must be installed in a compiler-visible path" >&5
22231.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22241.6Stv   { (exit 1); exit 1; }; }
22251.6Stvfi
22261.6Stv
22271.43Sdbjecho "$as_me:2227: checking for gzdopen in -lz" >&5
22281.6Stvecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
22291.6Stvif test "${ac_cv_lib_z_gzdopen+set}" = set; then
22301.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22311.6Stvelse
22321.6Stv  ac_check_lib_save_LIBS=$LIBS
22331.6StvLIBS="-lz  $LIBS"
22341.6Stvcat >conftest.$ac_ext <<_ACEOF
22351.43Sdbj#line 2235 "configure"
22361.43Sdbj#include "confdefs.h"
22371.6Stv
22381.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
22391.6Stv#ifdef __cplusplus
22401.6Stvextern "C"
22411.6Stv#endif
22421.6Stv/* We use char because int might match the return type of a gcc2
22431.6Stv   builtin and then its argument prototype would still apply.  */
22441.6Stvchar gzdopen ();
22451.6Stvint
22461.6Stvmain ()
22471.6Stv{
22481.6Stvgzdopen ();
22491.6Stv  ;
22501.6Stv  return 0;
22511.6Stv}
22521.6Stv_ACEOF
22531.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
22541.43Sdbjif { (eval echo "$as_me:2254: \"$ac_link\"") >&5
22551.6Stv  (eval $ac_link) 2>&5
22561.6Stv  ac_status=$?
22571.43Sdbj  echo "$as_me:2257: \$? = $ac_status" >&5
22581.6Stv  (exit $ac_status); } &&
22591.6Stv         { ac_try='test -s conftest$ac_exeext'
22601.43Sdbj  { (eval echo "$as_me:2260: \"$ac_try\"") >&5
22611.6Stv  (eval $ac_try) 2>&5
22621.6Stv  ac_status=$?
22631.43Sdbj  echo "$as_me:2263: \$? = $ac_status" >&5
22641.6Stv  (exit $ac_status); }; }; then
22651.6Stv  ac_cv_lib_z_gzdopen=yes
22661.6Stvelse
22671.6Stv  echo "$as_me: failed program was:" >&5
22681.43Sdbjcat conftest.$ac_ext >&5
22691.6Stvac_cv_lib_z_gzdopen=no
22701.6Stvfi
22711.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
22721.6StvLIBS=$ac_check_lib_save_LIBS
22731.6Stvfi
22741.43Sdbjecho "$as_me:2274: result: $ac_cv_lib_z_gzdopen" >&5
22751.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
22761.6Stvif test $ac_cv_lib_z_gzdopen = yes; then
22771.43Sdbj  cat >>confdefs.h <<EOF
22781.6Stv#define HAVE_LIBZ 1
22791.43SdbjEOF
22801.4Stv
22811.6Stv  LIBS="-lz $LIBS"
22821.6Stv
22831.4Stvelse
22841.43Sdbj  { { echo "$as_me:2284: error: zlib must be installed in a compiler-visible path" >&5
22851.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22861.4Stv   { (exit 1); exit 1; }; }
22871.4Stvfi
22881.4Stv
22891.6Stv# Make sure certain required headers are available.
22901.6Stv# These are not necessarily required by the code, but they are not
22911.6Stv# currently conditionalized.
22921.4Stv
22931.43Sdbjfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
22941.43Sdbj	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
22951.43Sdbj	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
22961.43Sdbj	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
22971.43Sdbj	termios.h unistd.h
22981.43Sdbjdo
22991.43Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23001.43Sdbjecho "$as_me:2300: checking for $ac_header" >&5
23011.43Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23021.43Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then
23031.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
23041.43Sdbjelse
23051.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
23061.43Sdbj#line 2306 "configure"
23071.43Sdbj#include "confdefs.h"
23081.39Sfredb#include <$ac_header>
23091.39Sfredb_ACEOF
23101.43Sdbjif { (eval echo "$as_me:2310: \"$ac_cpp conftest.$ac_ext\"") >&5
23111.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23121.4Stv  ac_status=$?
23131.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
23141.4Stv  rm -f conftest.er1
23151.4Stv  cat conftest.err >&5
23161.43Sdbj  echo "$as_me:2316: \$? = $ac_status" >&5
23171.4Stv  (exit $ac_status); } >/dev/null; then
23181.4Stv  if test -s conftest.err; then
23191.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
23201.4Stv  else
23211.4Stv    ac_cpp_err=
23221.4Stv  fi
23231.4Stvelse
23241.6Stv  ac_cpp_err=yes
23251.6Stvfi
23261.6Stvif test -z "$ac_cpp_err"; then
23271.43Sdbj  eval "$as_ac_Header=yes"
23281.6Stvelse
23291.6Stv  echo "$as_me: failed program was:" >&5
23301.43Sdbj  cat conftest.$ac_ext >&5
23311.43Sdbj  eval "$as_ac_Header=no"
23321.6Stvfi
23331.6Stvrm -f conftest.err conftest.$ac_ext
23341.6Stvfi
23351.43Sdbjecho "$as_me:2335: result: `eval echo '${'$as_ac_Header'}'`" >&5
23361.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23371.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
23381.43Sdbj  cat >>confdefs.h <<EOF
23391.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23401.43SdbjEOF
23411.6Stv
23421.6Stvelse
23431.43Sdbj  { { echo "$as_me:2343: error: standard system header file not found" >&5
23441.6Stvecho "$as_me: error: standard system header file not found" >&2;}
23451.6Stv   { (exit 1); exit 1; }; }
23461.6Stvfi
23471.6Stvdone
23481.6Stv
23491.6Stv# Find headers that may not be available.
23501.6Stv
23511.6Stvac_header_dirent=no
23521.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
23531.6Stv  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
23541.43Sdbjecho "$as_me:2354: checking for $ac_hdr that defines DIR" >&5
23551.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
23561.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
23571.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23581.6Stvelse
23591.6Stv  cat >conftest.$ac_ext <<_ACEOF
23601.43Sdbj#line 2360 "configure"
23611.43Sdbj#include "confdefs.h"
23621.6Stv#include <sys/types.h>
23631.6Stv#include <$ac_hdr>
23641.6Stv
23651.6Stvint
23661.6Stvmain ()
23671.6Stv{
23681.6Stvif ((DIR *) 0)
23691.6Stvreturn 0;
23701.6Stv  ;
23711.6Stv  return 0;
23721.6Stv}
23731.6Stv_ACEOF
23741.6Stvrm -f conftest.$ac_objext
23751.43Sdbjif { (eval echo "$as_me:2375: \"$ac_compile\"") >&5
23761.6Stv  (eval $ac_compile) 2>&5
23771.6Stv  ac_status=$?
23781.43Sdbj  echo "$as_me:2378: \$? = $ac_status" >&5
23791.6Stv  (exit $ac_status); } &&
23801.6Stv         { ac_try='test -s conftest.$ac_objext'
23811.43Sdbj  { (eval echo "$as_me:2381: \"$ac_try\"") >&5
23821.6Stv  (eval $ac_try) 2>&5
23831.6Stv  ac_status=$?
23841.43Sdbj  echo "$as_me:2384: \$? = $ac_status" >&5
23851.6Stv  (exit $ac_status); }; }; then
23861.6Stv  eval "$as_ac_Header=yes"
23871.6Stvelse
23881.6Stv  echo "$as_me: failed program was:" >&5
23891.43Sdbjcat conftest.$ac_ext >&5
23901.6Stveval "$as_ac_Header=no"
23911.6Stvfi
23921.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
23931.6Stvfi
23941.43Sdbjecho "$as_me:2394: result: `eval echo '${'$as_ac_Header'}'`" >&5
23951.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23961.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
23971.43Sdbj  cat >>confdefs.h <<EOF
23981.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
23991.43SdbjEOF
24001.6Stv
24011.6Stvac_header_dirent=$ac_hdr; break
24021.6Stvfi
24031.6Stv
24041.6Stvdone
24051.6Stv# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
24061.6Stvif test $ac_header_dirent = dirent.h; then
24071.43Sdbj  echo "$as_me:2407: checking for opendir in -ldir" >&5
24081.43Sdbjecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
24091.43Sdbjif test "${ac_cv_lib_dir_opendir+set}" = set; then
24101.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24111.6Stvelse
24121.43Sdbj  ac_check_lib_save_LIBS=$LIBS
24131.43SdbjLIBS="-ldir  $LIBS"
24141.6Stvcat >conftest.$ac_ext <<_ACEOF
24151.43Sdbj#line 2415 "configure"
24161.43Sdbj#include "confdefs.h"
24171.6Stv
24181.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
24191.6Stv#ifdef __cplusplus
24201.6Stvextern "C"
24211.6Stv#endif
24221.6Stv/* We use char because int might match the return type of a gcc2
24231.6Stv   builtin and then its argument prototype would still apply.  */
24241.6Stvchar opendir ();
24251.6Stvint
24261.6Stvmain ()
24271.6Stv{
24281.6Stvopendir ();
24291.6Stv  ;
24301.6Stv  return 0;
24311.6Stv}
24321.6Stv_ACEOF
24331.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
24341.43Sdbjif { (eval echo "$as_me:2434: \"$ac_link\"") >&5
24351.6Stv  (eval $ac_link) 2>&5
24361.6Stv  ac_status=$?
24371.43Sdbj  echo "$as_me:2437: \$? = $ac_status" >&5
24381.6Stv  (exit $ac_status); } &&
24391.6Stv         { ac_try='test -s conftest$ac_exeext'
24401.43Sdbj  { (eval echo "$as_me:2440: \"$ac_try\"") >&5
24411.6Stv  (eval $ac_try) 2>&5
24421.6Stv  ac_status=$?
24431.43Sdbj  echo "$as_me:2443: \$? = $ac_status" >&5
24441.6Stv  (exit $ac_status); }; }; then
24451.43Sdbj  ac_cv_lib_dir_opendir=yes
24461.6Stvelse
24471.6Stv  echo "$as_me: failed program was:" >&5
24481.43Sdbjcat conftest.$ac_ext >&5
24491.43Sdbjac_cv_lib_dir_opendir=no
24501.6Stvfi
24511.6Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24521.43SdbjLIBS=$ac_check_lib_save_LIBS
24531.39Sfredbfi
24541.43Sdbjecho "$as_me:2454: result: $ac_cv_lib_dir_opendir" >&5
24551.43Sdbjecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
24561.43Sdbjif test $ac_cv_lib_dir_opendir = yes; then
24571.43Sdbj  LIBS="$LIBS -ldir"
24581.6Stvfi
24591.6Stv
24601.6Stvelse
24611.43Sdbj  echo "$as_me:2461: checking for opendir in -lx" >&5
24621.43Sdbjecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
24631.43Sdbjif test "${ac_cv_lib_x_opendir+set}" = set; then
24641.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24651.6Stvelse
24661.43Sdbj  ac_check_lib_save_LIBS=$LIBS
24671.43SdbjLIBS="-lx  $LIBS"
24681.6Stvcat >conftest.$ac_ext <<_ACEOF
24691.43Sdbj#line 2469 "configure"
24701.43Sdbj#include "confdefs.h"
24711.6Stv
24721.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
24731.6Stv#ifdef __cplusplus
24741.6Stvextern "C"
24751.6Stv#endif
24761.6Stv/* We use char because int might match the return type of a gcc2
24771.6Stv   builtin and then its argument prototype would still apply.  */
24781.6Stvchar opendir ();
24791.6Stvint
24801.6Stvmain ()
24811.6Stv{
24821.6Stvopendir ();
24831.6Stv  ;
24841.6Stv  return 0;
24851.6Stv}
24861.6Stv_ACEOF
24871.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
24881.43Sdbjif { (eval echo "$as_me:2488: \"$ac_link\"") >&5
24891.6Stv  (eval $ac_link) 2>&5
24901.6Stv  ac_status=$?
24911.43Sdbj  echo "$as_me:2491: \$? = $ac_status" >&5
24921.6Stv  (exit $ac_status); } &&
24931.6Stv         { ac_try='test -s conftest$ac_exeext'
24941.43Sdbj  { (eval echo "$as_me:2494: \"$ac_try\"") >&5
24951.6Stv  (eval $ac_try) 2>&5
24961.6Stv  ac_status=$?
24971.43Sdbj  echo "$as_me:2497: \$? = $ac_status" >&5
24981.6Stv  (exit $ac_status); }; }; then
24991.43Sdbj  ac_cv_lib_x_opendir=yes
25001.6Stvelse
25011.6Stv  echo "$as_me: failed program was:" >&5
25021.43Sdbjcat conftest.$ac_ext >&5
25031.43Sdbjac_cv_lib_x_opendir=no
25041.39Sfredbfi
25051.39Sfredbrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25061.43SdbjLIBS=$ac_check_lib_save_LIBS
25071.39Sfredbfi
25081.43Sdbjecho "$as_me:2508: result: $ac_cv_lib_x_opendir" >&5
25091.43Sdbjecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6
25101.43Sdbjif test $ac_cv_lib_x_opendir = yes; then
25111.43Sdbj  LIBS="$LIBS -lx"
25121.6Stvfi
25131.39Sfredb
25141.6Stvfi
25151.6Stv
25161.18Sbjh21for ac_header in sys/sysmacros.h sys/syslimits.h \
25171.43Sdbj	features.h malloc.h sys/poll.h stddef.h
25181.6Stvdo
25191.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25201.43Sdbjecho "$as_me:2520: checking for $ac_header" >&5
25211.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25221.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
25231.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25241.39Sfredbelse
25251.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
25261.43Sdbj#line 2526 "configure"
25271.43Sdbj#include "confdefs.h"
25281.6Stv#include <$ac_header>
25291.6Stv_ACEOF
25301.43Sdbjif { (eval echo "$as_me:2530: \"$ac_cpp conftest.$ac_ext\"") >&5
25311.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25321.6Stv  ac_status=$?
25331.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
25341.6Stv  rm -f conftest.er1
25351.6Stv  cat conftest.err >&5
25361.43Sdbj  echo "$as_me:2536: \$? = $ac_status" >&5
25371.6Stv  (exit $ac_status); } >/dev/null; then
25381.6Stv  if test -s conftest.err; then
25391.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
25401.6Stv  else
25411.6Stv    ac_cpp_err=
25421.6Stv  fi
25431.6Stvelse
25441.6Stv  ac_cpp_err=yes
25451.6Stvfi
25461.6Stvif test -z "$ac_cpp_err"; then
25471.43Sdbj  eval "$as_ac_Header=yes"
25481.6Stvelse
25491.6Stv  echo "$as_me: failed program was:" >&5
25501.43Sdbj  cat conftest.$ac_ext >&5
25511.43Sdbj  eval "$as_ac_Header=no"
25521.6Stvfi
25531.6Stvrm -f conftest.err conftest.$ac_ext
25541.6Stvfi
25551.43Sdbjecho "$as_me:2555: result: `eval echo '${'$as_ac_Header'}'`" >&5
25561.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25571.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
25581.43Sdbj  cat >>confdefs.h <<EOF
25591.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25601.43SdbjEOF
25611.6Stv
25621.6Stvfi
25631.6Stvdone
25641.6Stv
25651.39Sfredbfor ac_header in machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
25661.39Sfredb	err.h inttypes.h libgen.h paths.h stdint.h util.h
25671.39Sfredbdo
25681.39Sfredbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25691.43Sdbjecho "$as_me:2569: checking for $ac_header" >&5
25701.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25711.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
25721.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
25731.39Sfredbelse
25741.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
25751.43Sdbj#line 2575 "configure"
25761.43Sdbj#include "confdefs.h"
25771.39Sfredb#include <$ac_header>
25781.39Sfredb_ACEOF
25791.43Sdbjif { (eval echo "$as_me:2579: \"$ac_cpp conftest.$ac_ext\"") >&5
25801.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25811.6Stv  ac_status=$?
25821.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
25831.6Stv  rm -f conftest.er1
25841.6Stv  cat conftest.err >&5
25851.43Sdbj  echo "$as_me:2585: \$? = $ac_status" >&5
25861.6Stv  (exit $ac_status); } >/dev/null; then
25871.6Stv  if test -s conftest.err; then
25881.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
25891.6Stv  else
25901.6Stv    ac_cpp_err=
25911.6Stv  fi
25921.6Stvelse
25931.6Stv  ac_cpp_err=yes
25941.6Stvfi
25951.6Stvif test -z "$ac_cpp_err"; then
25961.43Sdbj  eval "$as_ac_Header=yes"
25971.6Stvelse
25981.6Stv  echo "$as_me: failed program was:" >&5
25991.43Sdbj  cat conftest.$ac_ext >&5
26001.43Sdbj  eval "$as_ac_Header=no"
26011.6Stvfi
26021.6Stvrm -f conftest.err conftest.$ac_ext
26031.6Stvfi
26041.43Sdbjecho "$as_me:2604: result: `eval echo '${'$as_ac_Header'}'`" >&5
26051.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26061.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
26071.43Sdbj  cat >>confdefs.h <<EOF
26081.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26091.43SdbjEOF
26101.6Stv
26111.6Stvelse
26121.11Stv  test -f include/$ac_header || touch include/$ac_header
26131.6Stvfi
26141.6Stvdone
26151.6Stv
26161.24Sbriggsfor ac_header in rpc/types.h getopt.h netconfig.h
26171.7Stvdo
26181.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26191.43Sdbjecho "$as_me:2619: checking for $ac_header" >&5
26201.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26211.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
26221.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26231.39Sfredbelse
26241.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
26251.43Sdbj#line 2625 "configure"
26261.43Sdbj#include "confdefs.h"
26271.7Stv#include <$ac_header>
26281.7Stv_ACEOF
26291.43Sdbjif { (eval echo "$as_me:2629: \"$ac_cpp conftest.$ac_ext\"") >&5
26301.7Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26311.7Stv  ac_status=$?
26321.43Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
26331.7Stv  rm -f conftest.er1
26341.7Stv  cat conftest.err >&5
26351.43Sdbj  echo "$as_me:2635: \$? = $ac_status" >&5
26361.7Stv  (exit $ac_status); } >/dev/null; then
26371.7Stv  if test -s conftest.err; then
26381.7Stv    ac_cpp_err=$ac_c_preproc_warn_flag
26391.7Stv  else
26401.7Stv    ac_cpp_err=
26411.7Stv  fi
26421.7Stvelse
26431.7Stv  ac_cpp_err=yes
26441.7Stvfi
26451.7Stvif test -z "$ac_cpp_err"; then
26461.43Sdbj  eval "$as_ac_Header=yes"
26471.7Stvelse
26481.7Stv  echo "$as_me: failed program was:" >&5
26491.43Sdbj  cat conftest.$ac_ext >&5
26501.43Sdbj  eval "$as_ac_Header=no"
26511.43Sdbjfi
26521.43Sdbjrm -f conftest.err conftest.$ac_ext
26531.43Sdbjfi
26541.43Sdbjecho "$as_me:2654: result: `eval echo '${'$as_ac_Header'}'`" >&5
26551.43Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26561.43Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
26571.43Sdbj  cat >>confdefs.h <<EOF
26581.43Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26591.43SdbjEOF
26601.39Sfredb
26611.43Sdbjelse
26621.43Sdbj  echo '#include "nbtool_config.h"' >include/$ac_header.new
26631.43Sdbj	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
26641.43Sdbj	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
26651.43Sdbj		rm -f include/$ac_header.new
26661.43Sdbj	else
26671.43Sdbj		mv -f include/$ac_header.new include/$ac_header
26681.43Sdbj	fi
26691.7Stvfi
26701.43Sdbjdone
26711.43Sdbj
26721.43Sdbj# Typedefs.
26731.43Sdbj# On IRIX 5.3, sys/types and inttypes.h are conflicting.
26741.39Sfredb
26751.43Sdbjfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
26761.43Sdbj                  inttypes.h stdint.h unistd.h
26771.43Sdbjdo
26781.43Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26791.43Sdbjecho "$as_me:2679: checking for $ac_header" >&5
26801.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26811.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
26821.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
26831.39Sfredbelse
26841.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
26851.43Sdbj#line 2685 "configure"
26861.43Sdbj#include "confdefs.h"
26871.43Sdbj$ac_includes_default
26881.43Sdbj#include <$ac_header>
26891.43Sdbj_ACEOF
26901.43Sdbjrm -f conftest.$ac_objext
26911.43Sdbjif { (eval echo "$as_me:2691: \"$ac_compile\"") >&5
26921.43Sdbj  (eval $ac_compile) 2>&5
26931.43Sdbj  ac_status=$?
26941.43Sdbj  echo "$as_me:2694: \$? = $ac_status" >&5
26951.43Sdbj  (exit $ac_status); } &&
26961.43Sdbj         { ac_try='test -s conftest.$ac_objext'
26971.43Sdbj  { (eval echo "$as_me:2697: \"$ac_try\"") >&5
26981.43Sdbj  (eval $ac_try) 2>&5
26991.43Sdbj  ac_status=$?
27001.43Sdbj  echo "$as_me:2700: \$? = $ac_status" >&5
27011.43Sdbj  (exit $ac_status); }; }; then
27021.43Sdbj  eval "$as_ac_Header=yes"
27031.43Sdbjelse
27041.43Sdbj  echo "$as_me: failed program was:" >&5
27051.43Sdbjcat conftest.$ac_ext >&5
27061.43Sdbjeval "$as_ac_Header=no"
27071.43Sdbjfi
27081.43Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
27091.7Stvfi
27101.43Sdbjecho "$as_me:2710: result: `eval echo '${'$as_ac_Header'}'`" >&5
27111.7Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27121.7Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
27131.43Sdbj  cat >>confdefs.h <<EOF
27141.7Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27151.43SdbjEOF
27161.7Stv
27171.7Stvfi
27181.7Stvdone
27191.7Stv
27201.43Sdbjecho "$as_me:2720: checking for size_t" >&5
27211.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6
27221.6Stvif test "${ac_cv_type_size_t+set}" = set; then
27231.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27241.6Stvelse
27251.6Stv  cat >conftest.$ac_ext <<_ACEOF
27261.43Sdbj#line 2726 "configure"
27271.43Sdbj#include "confdefs.h"
27281.6Stv$ac_includes_default
27291.6Stvint
27301.6Stvmain ()
27311.6Stv{
27321.6Stvif ((size_t *) 0)
27331.6Stv  return 0;
27341.6Stvif (sizeof (size_t))
27351.6Stv  return 0;
27361.6Stv  ;
27371.6Stv  return 0;
27381.6Stv}
27391.6Stv_ACEOF
27401.6Stvrm -f conftest.$ac_objext
27411.43Sdbjif { (eval echo "$as_me:2741: \"$ac_compile\"") >&5
27421.6Stv  (eval $ac_compile) 2>&5
27431.6Stv  ac_status=$?
27441.43Sdbj  echo "$as_me:2744: \$? = $ac_status" >&5
27451.6Stv  (exit $ac_status); } &&
27461.6Stv         { ac_try='test -s conftest.$ac_objext'
27471.43Sdbj  { (eval echo "$as_me:2747: \"$ac_try\"") >&5
27481.6Stv  (eval $ac_try) 2>&5
27491.6Stv  ac_status=$?
27501.43Sdbj  echo "$as_me:2750: \$? = $ac_status" >&5
27511.6Stv  (exit $ac_status); }; }; then
27521.6Stv  ac_cv_type_size_t=yes
27531.6Stvelse
27541.6Stv  echo "$as_me: failed program was:" >&5
27551.43Sdbjcat conftest.$ac_ext >&5
27561.6Stvac_cv_type_size_t=no
27571.6Stvfi
27581.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
27591.6Stvfi
27601.43Sdbjecho "$as_me:2760: result: $ac_cv_type_size_t" >&5
27611.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6
27621.6Stvif test $ac_cv_type_size_t = yes; then
27631.6Stv  :
27641.6Stvelse
27651.6Stv
27661.43Sdbjcat >>confdefs.h <<EOF
27671.6Stv#define size_t unsigned
27681.43SdbjEOF
27691.6Stv
27701.6Stvfi
27711.6Stv
27721.43Sdbjecho "$as_me:2772: checking for id_t" >&5
27731.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6
27741.6Stvif test "${ac_cv_type_id_t+set}" = set; then
27751.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27761.6Stvelse
27771.6Stv  cat >conftest.$ac_ext <<_ACEOF
27781.43Sdbj#line 2778 "configure"
27791.43Sdbj#include "confdefs.h"
27801.6Stv$ac_includes_default
27811.6Stvint
27821.6Stvmain ()
27831.6Stv{
27841.6Stvif ((id_t *) 0)
27851.6Stv  return 0;
27861.6Stvif (sizeof (id_t))
27871.6Stv  return 0;
27881.6Stv  ;
27891.6Stv  return 0;
27901.6Stv}
27911.6Stv_ACEOF
27921.6Stvrm -f conftest.$ac_objext
27931.43Sdbjif { (eval echo "$as_me:2793: \"$ac_compile\"") >&5
27941.6Stv  (eval $ac_compile) 2>&5
27951.6Stv  ac_status=$?
27961.43Sdbj  echo "$as_me:2796: \$? = $ac_status" >&5
27971.6Stv  (exit $ac_status); } &&
27981.6Stv         { ac_try='test -s conftest.$ac_objext'
27991.43Sdbj  { (eval echo "$as_me:2799: \"$ac_try\"") >&5
28001.6Stv  (eval $ac_try) 2>&5
28011.6Stv  ac_status=$?
28021.43Sdbj  echo "$as_me:2802: \$? = $ac_status" >&5
28031.6Stv  (exit $ac_status); }; }; then
28041.6Stv  ac_cv_type_id_t=yes
28051.6Stvelse
28061.6Stv  echo "$as_me: failed program was:" >&5
28071.43Sdbjcat conftest.$ac_ext >&5
28081.6Stvac_cv_type_id_t=no
28091.6Stvfi
28101.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
28111.6Stvfi
28121.43Sdbjecho "$as_me:2812: result: $ac_cv_type_id_t" >&5
28131.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6
28141.6Stvif test $ac_cv_type_id_t = yes; then
28151.6Stv
28161.43Sdbjcat >>confdefs.h <<EOF
28171.6Stv#define HAVE_ID_T 1
28181.43SdbjEOF
28191.6Stv
28201.6Stvfi
28211.43Sdbjecho "$as_me:2821: checking for long long" >&5
28221.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6
28231.6Stvif test "${ac_cv_type_long_long+set}" = set; then
28241.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28251.6Stvelse
28261.6Stv  cat >conftest.$ac_ext <<_ACEOF
28271.43Sdbj#line 2827 "configure"
28281.43Sdbj#include "confdefs.h"
28291.6Stv$ac_includes_default
28301.6Stvint
28311.6Stvmain ()
28321.6Stv{
28331.6Stvif ((long long *) 0)
28341.6Stv  return 0;
28351.6Stvif (sizeof (long long))
28361.6Stv  return 0;
28371.6Stv  ;
28381.6Stv  return 0;
28391.6Stv}
28401.6Stv_ACEOF
28411.6Stvrm -f conftest.$ac_objext
28421.43Sdbjif { (eval echo "$as_me:2842: \"$ac_compile\"") >&5
28431.6Stv  (eval $ac_compile) 2>&5
28441.6Stv  ac_status=$?
28451.43Sdbj  echo "$as_me:2845: \$? = $ac_status" >&5
28461.6Stv  (exit $ac_status); } &&
28471.6Stv         { ac_try='test -s conftest.$ac_objext'
28481.43Sdbj  { (eval echo "$as_me:2848: \"$ac_try\"") >&5
28491.6Stv  (eval $ac_try) 2>&5
28501.6Stv  ac_status=$?
28511.43Sdbj  echo "$as_me:2851: \$? = $ac_status" >&5
28521.6Stv  (exit $ac_status); }; }; then
28531.6Stv  ac_cv_type_long_long=yes
28541.6Stvelse
28551.6Stv  echo "$as_me: failed program was:" >&5
28561.43Sdbjcat conftest.$ac_ext >&5
28571.6Stvac_cv_type_long_long=no
28581.6Stvfi
28591.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
28601.6Stvfi
28611.43Sdbjecho "$as_me:2861: result: $ac_cv_type_long_long" >&5
28621.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6
28631.6Stvif test $ac_cv_type_long_long = yes; then
28641.6Stv
28651.43Sdbjcat >>confdefs.h <<EOF
28661.6Stv#define HAVE_LONG_LONG 1
28671.43SdbjEOF
28681.6Stv
28691.6Stvfi
28701.43Sdbjecho "$as_me:2870: checking for u_long" >&5
28711.38Sfredbecho $ECHO_N "checking for u_long... $ECHO_C" >&6
28721.38Sfredbif test "${ac_cv_type_u_long+set}" = set; then
28731.38Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
28741.38Sfredbelse
28751.38Sfredb  cat >conftest.$ac_ext <<_ACEOF
28761.43Sdbj#line 2876 "configure"
28771.43Sdbj#include "confdefs.h"
28781.38Sfredb$ac_includes_default
28791.38Sfredbint
28801.38Sfredbmain ()
28811.38Sfredb{
28821.38Sfredbif ((u_long *) 0)
28831.38Sfredb  return 0;
28841.38Sfredbif (sizeof (u_long))
28851.38Sfredb  return 0;
28861.38Sfredb  ;
28871.38Sfredb  return 0;
28881.38Sfredb}
28891.38Sfredb_ACEOF
28901.38Sfredbrm -f conftest.$ac_objext
28911.43Sdbjif { (eval echo "$as_me:2891: \"$ac_compile\"") >&5
28921.38Sfredb  (eval $ac_compile) 2>&5
28931.38Sfredb  ac_status=$?
28941.43Sdbj  echo "$as_me:2894: \$? = $ac_status" >&5
28951.38Sfredb  (exit $ac_status); } &&
28961.38Sfredb         { ac_try='test -s conftest.$ac_objext'
28971.43Sdbj  { (eval echo "$as_me:2897: \"$ac_try\"") >&5
28981.38Sfredb  (eval $ac_try) 2>&5
28991.38Sfredb  ac_status=$?
29001.43Sdbj  echo "$as_me:2900: \$? = $ac_status" >&5
29011.38Sfredb  (exit $ac_status); }; }; then
29021.38Sfredb  ac_cv_type_u_long=yes
29031.38Sfredbelse
29041.38Sfredb  echo "$as_me: failed program was:" >&5
29051.43Sdbjcat conftest.$ac_ext >&5
29061.38Sfredbac_cv_type_u_long=no
29071.38Sfredbfi
29081.38Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
29091.38Sfredbfi
29101.43Sdbjecho "$as_me:2910: result: $ac_cv_type_u_long" >&5
29111.38Sfredbecho "${ECHO_T}$ac_cv_type_u_long" >&6
29121.38Sfredbif test $ac_cv_type_u_long = yes; then
29131.38Sfredb
29141.43Sdbjcat >>confdefs.h <<EOF
29151.38Sfredb#define HAVE_U_LONG 1
29161.43SdbjEOF
29171.39Sfredb
29181.38Sfredbfi
29191.43Sdbjecho "$as_me:2919: checking for u_quad_t" >&5
29201.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
29211.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
29221.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
29231.7Stvelse
29241.7Stv  cat >conftest.$ac_ext <<_ACEOF
29251.43Sdbj#line 2925 "configure"
29261.43Sdbj#include "confdefs.h"
29271.7Stv$ac_includes_default
29281.7Stvint
29291.7Stvmain ()
29301.7Stv{
29311.7Stvif ((u_quad_t *) 0)
29321.7Stv  return 0;
29331.7Stvif (sizeof (u_quad_t))
29341.7Stv  return 0;
29351.7Stv  ;
29361.7Stv  return 0;
29371.7Stv}
29381.7Stv_ACEOF
29391.7Stvrm -f conftest.$ac_objext
29401.43Sdbjif { (eval echo "$as_me:2940: \"$ac_compile\"") >&5
29411.7Stv  (eval $ac_compile) 2>&5
29421.7Stv  ac_status=$?
29431.43Sdbj  echo "$as_me:2943: \$? = $ac_status" >&5
29441.7Stv  (exit $ac_status); } &&
29451.7Stv         { ac_try='test -s conftest.$ac_objext'
29461.43Sdbj  { (eval echo "$as_me:2946: \"$ac_try\"") >&5
29471.7Stv  (eval $ac_try) 2>&5
29481.7Stv  ac_status=$?
29491.43Sdbj  echo "$as_me:2949: \$? = $ac_status" >&5
29501.7Stv  (exit $ac_status); }; }; then
29511.7Stv  ac_cv_type_u_quad_t=yes
29521.7Stvelse
29531.7Stv  echo "$as_me: failed program was:" >&5
29541.43Sdbjcat conftest.$ac_ext >&5
29551.7Stvac_cv_type_u_quad_t=no
29561.7Stvfi
29571.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
29581.7Stvfi
29591.43Sdbjecho "$as_me:2959: result: $ac_cv_type_u_quad_t" >&5
29601.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
29611.7Stvif test $ac_cv_type_u_quad_t = yes; then
29621.7Stv
29631.43Sdbjcat >>confdefs.h <<EOF
29641.7Stv#define HAVE_U_QUAD_T 1
29651.43SdbjEOF
29661.7Stv
29671.7Stvfi
29681.35Sthorpej
29691.43Sdbjecho "$as_me:2969: checking for socklen_t" >&5
29701.34Sthorpejecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6
29711.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then
29721.34Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
29731.34Sthorpejelse
29741.34Sthorpej  cat >conftest.$ac_ext <<_ACEOF
29751.43Sdbj#line 2975 "configure"
29761.43Sdbj#include "confdefs.h"
29771.35Sthorpej#include <sys/types.h>
29781.35Sthorpej#include <sys/socket.h>
29791.35Sthorpej
29801.34Sthorpejint
29811.34Sthorpejmain ()
29821.34Sthorpej{
29831.34Sthorpejif ((socklen_t *) 0)
29841.34Sthorpej  return 0;
29851.34Sthorpejif (sizeof (socklen_t))
29861.34Sthorpej  return 0;
29871.34Sthorpej  ;
29881.34Sthorpej  return 0;
29891.34Sthorpej}
29901.34Sthorpej_ACEOF
29911.34Sthorpejrm -f conftest.$ac_objext
29921.43Sdbjif { (eval echo "$as_me:2992: \"$ac_compile\"") >&5
29931.34Sthorpej  (eval $ac_compile) 2>&5
29941.34Sthorpej  ac_status=$?
29951.43Sdbj  echo "$as_me:2995: \$? = $ac_status" >&5
29961.34Sthorpej  (exit $ac_status); } &&
29971.34Sthorpej         { ac_try='test -s conftest.$ac_objext'
29981.43Sdbj  { (eval echo "$as_me:2998: \"$ac_try\"") >&5
29991.34Sthorpej  (eval $ac_try) 2>&5
30001.34Sthorpej  ac_status=$?
30011.43Sdbj  echo "$as_me:3001: \$? = $ac_status" >&5
30021.34Sthorpej  (exit $ac_status); }; }; then
30031.34Sthorpej  ac_cv_type_socklen_t=yes
30041.34Sthorpejelse
30051.34Sthorpej  echo "$as_me: failed program was:" >&5
30061.43Sdbjcat conftest.$ac_ext >&5
30071.34Sthorpejac_cv_type_socklen_t=no
30081.34Sthorpejfi
30091.34Sthorpejrm -f conftest.$ac_objext conftest.$ac_ext
30101.34Sthorpejfi
30111.43Sdbjecho "$as_me:3011: result: $ac_cv_type_socklen_t" >&5
30121.34Sthorpejecho "${ECHO_T}$ac_cv_type_socklen_t" >&6
30131.34Sthorpejif test $ac_cv_type_socklen_t = yes; then
30141.43Sdbj  cat >>confdefs.h <<\EOF
30151.34Sthorpej#define HAVE_SOCKLEN_T 1
30161.43SdbjEOF
30171.34Sthorpej
30181.34Sthorpejfi
30191.34Sthorpej
30201.43Sdbj	echo "$as_me:3020: checking for uint8_t" >&5
30211.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
30221.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
30231.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
30241.6Stvelse
30251.6Stv  cat >conftest.$ac_ext <<_ACEOF
30261.43Sdbj#line 3026 "configure"
30271.43Sdbj#include "confdefs.h"
30281.6Stv$ac_includes_default
30291.6Stvint
30301.6Stvmain ()
30311.6Stv{
30321.9Stvif ((uint8_t *) 0)
30331.6Stv  return 0;
30341.9Stvif (sizeof (uint8_t))
30351.6Stv  return 0;
30361.6Stv  ;
30371.6Stv  return 0;
30381.6Stv}
30391.6Stv_ACEOF
30401.6Stvrm -f conftest.$ac_objext
30411.43Sdbjif { (eval echo "$as_me:3041: \"$ac_compile\"") >&5
30421.6Stv  (eval $ac_compile) 2>&5
30431.6Stv  ac_status=$?
30441.43Sdbj  echo "$as_me:3044: \$? = $ac_status" >&5
30451.6Stv  (exit $ac_status); } &&
30461.6Stv         { ac_try='test -s conftest.$ac_objext'
30471.43Sdbj  { (eval echo "$as_me:3047: \"$ac_try\"") >&5
30481.6Stv  (eval $ac_try) 2>&5
30491.6Stv  ac_status=$?
30501.43Sdbj  echo "$as_me:3050: \$? = $ac_status" >&5
30511.6Stv  (exit $ac_status); }; }; then
30521.9Stv  ac_cv_type_uint8_t=yes
30531.9Stvelse
30541.9Stv  echo "$as_me: failed program was:" >&5
30551.43Sdbjcat conftest.$ac_ext >&5
30561.9Stvac_cv_type_uint8_t=no
30571.9Stvfi
30581.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
30591.9Stvfi
30601.43Sdbjecho "$as_me:3060: result: $ac_cv_type_uint8_t" >&5
30611.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
30621.9Stvif test $ac_cv_type_uint8_t = yes; then
30631.9Stv  :
30641.9Stvelse
30651.9Stv
30661.43Sdbj		echo "$as_me:3066: checking for u_int8_t" >&5
30671.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
30681.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
30691.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
30701.9Stvelse
30711.9Stv  cat >conftest.$ac_ext <<_ACEOF
30721.43Sdbj#line 3072 "configure"
30731.43Sdbj#include "confdefs.h"
30741.9Stv$ac_includes_default
30751.9Stvint
30761.9Stvmain ()
30771.9Stv{
30781.9Stvif ((u_int8_t *) 0)
30791.9Stv  return 0;
30801.9Stvif (sizeof (u_int8_t))
30811.9Stv  return 0;
30821.9Stv  ;
30831.9Stv  return 0;
30841.9Stv}
30851.9Stv_ACEOF
30861.9Stvrm -f conftest.$ac_objext
30871.43Sdbjif { (eval echo "$as_me:3087: \"$ac_compile\"") >&5
30881.9Stv  (eval $ac_compile) 2>&5
30891.9Stv  ac_status=$?
30901.43Sdbj  echo "$as_me:3090: \$? = $ac_status" >&5
30911.9Stv  (exit $ac_status); } &&
30921.9Stv         { ac_try='test -s conftest.$ac_objext'
30931.43Sdbj  { (eval echo "$as_me:3093: \"$ac_try\"") >&5
30941.9Stv  (eval $ac_try) 2>&5
30951.9Stv  ac_status=$?
30961.43Sdbj  echo "$as_me:3096: \$? = $ac_status" >&5
30971.9Stv  (exit $ac_status); }; }; then
30981.6Stv  ac_cv_type_u_int8_t=yes
30991.6Stvelse
31001.6Stv  echo "$as_me: failed program was:" >&5
31011.43Sdbjcat conftest.$ac_ext >&5
31021.6Stvac_cv_type_u_int8_t=no
31031.6Stvfi
31041.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
31051.6Stvfi
31061.43Sdbjecho "$as_me:3106: result: $ac_cv_type_u_int8_t" >&5
31071.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
31081.9Stvif test $ac_cv_type_u_int8_t = yes; then
31091.43Sdbj  cat >>confdefs.h <<\EOF
31101.9Stv#define uint8_t u_int8_t
31111.43SdbjEOF
31121.9Stv
31131.9Stvelse
31141.43Sdbj  { { echo "$as_me:3114: error: cannot find a suitable type for uint8_t" >&5
31151.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
31161.9Stv   { (exit 1); exit 1; }; }
31171.9Stvfi
31181.9Stv
31191.9Stvfi
31201.9Stv
31211.43Sdbj	echo "$as_me:3121: checking for u_int8_t" >&5
31221.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
31231.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
31241.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31251.9Stvelse
31261.9Stv  cat >conftest.$ac_ext <<_ACEOF
31271.43Sdbj#line 3127 "configure"
31281.43Sdbj#include "confdefs.h"
31291.9Stv$ac_includes_default
31301.9Stvint
31311.9Stvmain ()
31321.9Stv{
31331.9Stvif ((u_int8_t *) 0)
31341.9Stv  return 0;
31351.9Stvif (sizeof (u_int8_t))
31361.9Stv  return 0;
31371.9Stv  ;
31381.9Stv  return 0;
31391.9Stv}
31401.9Stv_ACEOF
31411.9Stvrm -f conftest.$ac_objext
31421.43Sdbjif { (eval echo "$as_me:3142: \"$ac_compile\"") >&5
31431.9Stv  (eval $ac_compile) 2>&5
31441.9Stv  ac_status=$?
31451.43Sdbj  echo "$as_me:3145: \$? = $ac_status" >&5
31461.9Stv  (exit $ac_status); } &&
31471.9Stv         { ac_try='test -s conftest.$ac_objext'
31481.43Sdbj  { (eval echo "$as_me:3148: \"$ac_try\"") >&5
31491.9Stv  (eval $ac_try) 2>&5
31501.9Stv  ac_status=$?
31511.43Sdbj  echo "$as_me:3151: \$? = $ac_status" >&5
31521.9Stv  (exit $ac_status); }; }; then
31531.9Stv  ac_cv_type_u_int8_t=yes
31541.9Stvelse
31551.9Stv  echo "$as_me: failed program was:" >&5
31561.43Sdbjcat conftest.$ac_ext >&5
31571.9Stvac_cv_type_u_int8_t=no
31581.9Stvfi
31591.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
31601.9Stvfi
31611.43Sdbjecho "$as_me:3161: result: $ac_cv_type_u_int8_t" >&5
31621.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
31631.6Stvif test $ac_cv_type_u_int8_t = yes; then
31641.6Stv  :
31651.6Stvelse
31661.6Stv
31671.43Sdbj		echo "$as_me:3167: checking for uint8_t" >&5
31681.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
31691.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
31701.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31711.6Stvelse
31721.6Stv  cat >conftest.$ac_ext <<_ACEOF
31731.43Sdbj#line 3173 "configure"
31741.43Sdbj#include "confdefs.h"
31751.6Stv$ac_includes_default
31761.6Stvint
31771.6Stvmain ()
31781.6Stv{
31791.6Stvif ((uint8_t *) 0)
31801.6Stv  return 0;
31811.6Stvif (sizeof (uint8_t))
31821.6Stv  return 0;
31831.6Stv  ;
31841.6Stv  return 0;
31851.6Stv}
31861.6Stv_ACEOF
31871.6Stvrm -f conftest.$ac_objext
31881.43Sdbjif { (eval echo "$as_me:3188: \"$ac_compile\"") >&5
31891.6Stv  (eval $ac_compile) 2>&5
31901.6Stv  ac_status=$?
31911.43Sdbj  echo "$as_me:3191: \$? = $ac_status" >&5
31921.6Stv  (exit $ac_status); } &&
31931.6Stv         { ac_try='test -s conftest.$ac_objext'
31941.43Sdbj  { (eval echo "$as_me:3194: \"$ac_try\"") >&5
31951.6Stv  (eval $ac_try) 2>&5
31961.6Stv  ac_status=$?
31971.43Sdbj  echo "$as_me:3197: \$? = $ac_status" >&5
31981.6Stv  (exit $ac_status); }; }; then
31991.6Stv  ac_cv_type_uint8_t=yes
32001.4Stvelse
32011.4Stv  echo "$as_me: failed program was:" >&5
32021.43Sdbjcat conftest.$ac_ext >&5
32031.6Stvac_cv_type_uint8_t=no
32041.4Stvfi
32051.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
32061.4Stvfi
32071.43Sdbjecho "$as_me:3207: result: $ac_cv_type_uint8_t" >&5
32081.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
32091.6Stvif test $ac_cv_type_uint8_t = yes; then
32101.43Sdbj  cat >>confdefs.h <<\EOF
32111.6Stv#define u_int8_t uint8_t
32121.43SdbjEOF
32131.4Stv
32141.6Stvelse
32151.43Sdbj  { { echo "$as_me:3215: error: cannot find a suitable type for u_int8_t" >&5
32161.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
32171.6Stv   { (exit 1); exit 1; }; }
32181.6Stvfi
32191.6Stv
32201.4Stvfi
32211.4Stv
32221.43Sdbj	echo "$as_me:3222: checking for uint16_t" >&5
32231.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
32241.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
32251.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32261.9Stvelse
32271.9Stv  cat >conftest.$ac_ext <<_ACEOF
32281.43Sdbj#line 3228 "configure"
32291.43Sdbj#include "confdefs.h"
32301.9Stv$ac_includes_default
32311.9Stvint
32321.9Stvmain ()
32331.9Stv{
32341.9Stvif ((uint16_t *) 0)
32351.9Stv  return 0;
32361.9Stvif (sizeof (uint16_t))
32371.9Stv  return 0;
32381.9Stv  ;
32391.9Stv  return 0;
32401.9Stv}
32411.9Stv_ACEOF
32421.9Stvrm -f conftest.$ac_objext
32431.43Sdbjif { (eval echo "$as_me:3243: \"$ac_compile\"") >&5
32441.9Stv  (eval $ac_compile) 2>&5
32451.9Stv  ac_status=$?
32461.43Sdbj  echo "$as_me:3246: \$? = $ac_status" >&5
32471.9Stv  (exit $ac_status); } &&
32481.9Stv         { ac_try='test -s conftest.$ac_objext'
32491.43Sdbj  { (eval echo "$as_me:3249: \"$ac_try\"") >&5
32501.9Stv  (eval $ac_try) 2>&5
32511.9Stv  ac_status=$?
32521.43Sdbj  echo "$as_me:3252: \$? = $ac_status" >&5
32531.9Stv  (exit $ac_status); }; }; then
32541.9Stv  ac_cv_type_uint16_t=yes
32551.9Stvelse
32561.9Stv  echo "$as_me: failed program was:" >&5
32571.43Sdbjcat conftest.$ac_ext >&5
32581.9Stvac_cv_type_uint16_t=no
32591.9Stvfi
32601.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
32611.9Stvfi
32621.43Sdbjecho "$as_me:3262: result: $ac_cv_type_uint16_t" >&5
32631.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
32641.9Stvif test $ac_cv_type_uint16_t = yes; then
32651.9Stv  :
32661.9Stvelse
32671.9Stv
32681.43Sdbj		echo "$as_me:3268: checking for u_int16_t" >&5
32691.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
32701.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
32711.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32721.9Stvelse
32731.9Stv  cat >conftest.$ac_ext <<_ACEOF
32741.43Sdbj#line 3274 "configure"
32751.43Sdbj#include "confdefs.h"
32761.9Stv$ac_includes_default
32771.9Stvint
32781.9Stvmain ()
32791.9Stv{
32801.9Stvif ((u_int16_t *) 0)
32811.9Stv  return 0;
32821.9Stvif (sizeof (u_int16_t))
32831.9Stv  return 0;
32841.9Stv  ;
32851.9Stv  return 0;
32861.9Stv}
32871.9Stv_ACEOF
32881.9Stvrm -f conftest.$ac_objext
32891.43Sdbjif { (eval echo "$as_me:3289: \"$ac_compile\"") >&5
32901.9Stv  (eval $ac_compile) 2>&5
32911.9Stv  ac_status=$?
32921.43Sdbj  echo "$as_me:3292: \$? = $ac_status" >&5
32931.9Stv  (exit $ac_status); } &&
32941.9Stv         { ac_try='test -s conftest.$ac_objext'
32951.43Sdbj  { (eval echo "$as_me:3295: \"$ac_try\"") >&5
32961.9Stv  (eval $ac_try) 2>&5
32971.9Stv  ac_status=$?
32981.43Sdbj  echo "$as_me:3298: \$? = $ac_status" >&5
32991.9Stv  (exit $ac_status); }; }; then
33001.9Stv  ac_cv_type_u_int16_t=yes
33011.9Stvelse
33021.9Stv  echo "$as_me: failed program was:" >&5
33031.43Sdbjcat conftest.$ac_ext >&5
33041.9Stvac_cv_type_u_int16_t=no
33051.9Stvfi
33061.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
33071.9Stvfi
33081.43Sdbjecho "$as_me:3308: result: $ac_cv_type_u_int16_t" >&5
33091.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
33101.9Stvif test $ac_cv_type_u_int16_t = yes; then
33111.43Sdbj  cat >>confdefs.h <<\EOF
33121.9Stv#define uint16_t u_int16_t
33131.43SdbjEOF
33141.9Stv
33151.9Stvelse
33161.43Sdbj  { { echo "$as_me:3316: error: cannot find a suitable type for uint16_t" >&5
33171.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
33181.9Stv   { (exit 1); exit 1; }; }
33191.9Stvfi
33201.9Stv
33211.9Stvfi
33221.9Stv
33231.43Sdbj	echo "$as_me:3323: checking for u_int16_t" >&5
33241.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
33251.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
33261.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33271.1Stvelse
33281.1Stv  cat >conftest.$ac_ext <<_ACEOF
33291.43Sdbj#line 3329 "configure"
33301.43Sdbj#include "confdefs.h"
33311.6Stv$ac_includes_default
33321.6Stvint
33331.6Stvmain ()
33341.6Stv{
33351.6Stvif ((u_int16_t *) 0)
33361.6Stv  return 0;
33371.6Stvif (sizeof (u_int16_t))
33381.6Stv  return 0;
33391.6Stv  ;
33401.6Stv  return 0;
33411.6Stv}
33421.1Stv_ACEOF
33431.6Stvrm -f conftest.$ac_objext
33441.43Sdbjif { (eval echo "$as_me:3344: \"$ac_compile\"") >&5
33451.6Stv  (eval $ac_compile) 2>&5
33461.6Stv  ac_status=$?
33471.43Sdbj  echo "$as_me:3347: \$? = $ac_status" >&5
33481.6Stv  (exit $ac_status); } &&
33491.6Stv         { ac_try='test -s conftest.$ac_objext'
33501.43Sdbj  { (eval echo "$as_me:3350: \"$ac_try\"") >&5
33511.6Stv  (eval $ac_try) 2>&5
33521.1Stv  ac_status=$?
33531.43Sdbj  echo "$as_me:3353: \$? = $ac_status" >&5
33541.6Stv  (exit $ac_status); }; }; then
33551.6Stv  ac_cv_type_u_int16_t=yes
33561.1Stvelse
33571.6Stv  echo "$as_me: failed program was:" >&5
33581.43Sdbjcat conftest.$ac_ext >&5
33591.6Stvac_cv_type_u_int16_t=no
33601.6Stvfi
33611.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
33621.1Stvfi
33631.43Sdbjecho "$as_me:3363: result: $ac_cv_type_u_int16_t" >&5
33641.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
33651.6Stvif test $ac_cv_type_u_int16_t = yes; then
33661.6Stv  :
33671.1Stvelse
33681.1Stv
33691.43Sdbj		echo "$as_me:3369: checking for uint16_t" >&5
33701.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
33711.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
33721.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33731.6Stvelse
33741.1Stv  cat >conftest.$ac_ext <<_ACEOF
33751.43Sdbj#line 3375 "configure"
33761.43Sdbj#include "confdefs.h"
33771.6Stv$ac_includes_default
33781.6Stvint
33791.6Stvmain ()
33801.6Stv{
33811.6Stvif ((uint16_t *) 0)
33821.6Stv  return 0;
33831.6Stvif (sizeof (uint16_t))
33841.6Stv  return 0;
33851.6Stv  ;
33861.6Stv  return 0;
33871.6Stv}
33881.1Stv_ACEOF
33891.6Stvrm -f conftest.$ac_objext
33901.43Sdbjif { (eval echo "$as_me:3390: \"$ac_compile\"") >&5
33911.6Stv  (eval $ac_compile) 2>&5
33921.6Stv  ac_status=$?
33931.43Sdbj  echo "$as_me:3393: \$? = $ac_status" >&5
33941.6Stv  (exit $ac_status); } &&
33951.6Stv         { ac_try='test -s conftest.$ac_objext'
33961.43Sdbj  { (eval echo "$as_me:3396: \"$ac_try\"") >&5
33971.6Stv  (eval $ac_try) 2>&5
33981.6Stv  ac_status=$?
33991.43Sdbj  echo "$as_me:3399: \$? = $ac_status" >&5
34001.6Stv  (exit $ac_status); }; }; then
34011.6Stv  ac_cv_type_uint16_t=yes
34021.1Stvelse
34031.6Stv  echo "$as_me: failed program was:" >&5
34041.43Sdbjcat conftest.$ac_ext >&5
34051.6Stvac_cv_type_uint16_t=no
34061.1Stvfi
34071.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
34081.1Stvfi
34091.43Sdbjecho "$as_me:3409: result: $ac_cv_type_uint16_t" >&5
34101.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
34111.6Stvif test $ac_cv_type_uint16_t = yes; then
34121.43Sdbj  cat >>confdefs.h <<\EOF
34131.6Stv#define u_int16_t uint16_t
34141.43SdbjEOF
34151.1Stv
34161.1Stvelse
34171.43Sdbj  { { echo "$as_me:3417: error: cannot find a suitable type for u_int16_t" >&5
34181.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
34191.6Stv   { (exit 1); exit 1; }; }
34201.1Stvfi
34211.1Stv
34221.1Stvfi
34231.1Stv
34241.43Sdbj	echo "$as_me:3424: checking for uint32_t" >&5
34251.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
34261.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
34271.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34281.9Stvelse
34291.9Stv  cat >conftest.$ac_ext <<_ACEOF
34301.43Sdbj#line 3430 "configure"
34311.43Sdbj#include "confdefs.h"
34321.9Stv$ac_includes_default
34331.9Stvint
34341.9Stvmain ()
34351.9Stv{
34361.9Stvif ((uint32_t *) 0)
34371.9Stv  return 0;
34381.9Stvif (sizeof (uint32_t))
34391.9Stv  return 0;
34401.9Stv  ;
34411.9Stv  return 0;
34421.9Stv}
34431.9Stv_ACEOF
34441.9Stvrm -f conftest.$ac_objext
34451.43Sdbjif { (eval echo "$as_me:3445: \"$ac_compile\"") >&5
34461.9Stv  (eval $ac_compile) 2>&5
34471.9Stv  ac_status=$?
34481.43Sdbj  echo "$as_me:3448: \$? = $ac_status" >&5
34491.9Stv  (exit $ac_status); } &&
34501.9Stv         { ac_try='test -s conftest.$ac_objext'
34511.43Sdbj  { (eval echo "$as_me:3451: \"$ac_try\"") >&5
34521.9Stv  (eval $ac_try) 2>&5
34531.9Stv  ac_status=$?
34541.43Sdbj  echo "$as_me:3454: \$? = $ac_status" >&5
34551.9Stv  (exit $ac_status); }; }; then
34561.9Stv  ac_cv_type_uint32_t=yes
34571.9Stvelse
34581.9Stv  echo "$as_me: failed program was:" >&5
34591.43Sdbjcat conftest.$ac_ext >&5
34601.9Stvac_cv_type_uint32_t=no
34611.9Stvfi
34621.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
34631.9Stvfi
34641.43Sdbjecho "$as_me:3464: result: $ac_cv_type_uint32_t" >&5
34651.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
34661.9Stvif test $ac_cv_type_uint32_t = yes; then
34671.9Stv  :
34681.9Stvelse
34691.9Stv
34701.43Sdbj		echo "$as_me:3470: checking for u_int32_t" >&5
34711.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
34721.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
34731.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34741.1Stvelse
34751.1Stv  cat >conftest.$ac_ext <<_ACEOF
34761.43Sdbj#line 3476 "configure"
34771.43Sdbj#include "confdefs.h"
34781.9Stv$ac_includes_default
34791.9Stvint
34801.9Stvmain ()
34811.9Stv{
34821.9Stvif ((u_int32_t *) 0)
34831.9Stv  return 0;
34841.9Stvif (sizeof (u_int32_t))
34851.9Stv  return 0;
34861.9Stv  ;
34871.9Stv  return 0;
34881.9Stv}
34891.9Stv_ACEOF
34901.9Stvrm -f conftest.$ac_objext
34911.43Sdbjif { (eval echo "$as_me:3491: \"$ac_compile\"") >&5
34921.9Stv  (eval $ac_compile) 2>&5
34931.9Stv  ac_status=$?
34941.43Sdbj  echo "$as_me:3494: \$? = $ac_status" >&5
34951.9Stv  (exit $ac_status); } &&
34961.9Stv         { ac_try='test -s conftest.$ac_objext'
34971.43Sdbj  { (eval echo "$as_me:3497: \"$ac_try\"") >&5
34981.9Stv  (eval $ac_try) 2>&5
34991.9Stv  ac_status=$?
35001.43Sdbj  echo "$as_me:3500: \$? = $ac_status" >&5
35011.9Stv  (exit $ac_status); }; }; then
35021.9Stv  ac_cv_type_u_int32_t=yes
35031.9Stvelse
35041.9Stv  echo "$as_me: failed program was:" >&5
35051.43Sdbjcat conftest.$ac_ext >&5
35061.9Stvac_cv_type_u_int32_t=no
35071.9Stvfi
35081.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
35091.9Stvfi
35101.43Sdbjecho "$as_me:3510: result: $ac_cv_type_u_int32_t" >&5
35111.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
35121.9Stvif test $ac_cv_type_u_int32_t = yes; then
35131.43Sdbj  cat >>confdefs.h <<\EOF
35141.9Stv#define uint32_t u_int32_t
35151.43SdbjEOF
35161.9Stv
35171.9Stvelse
35181.43Sdbj  { { echo "$as_me:3518: error: cannot find a suitable type for uint32_t" >&5
35191.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
35201.9Stv   { (exit 1); exit 1; }; }
35211.9Stvfi
35221.9Stv
35231.9Stvfi
35241.9Stv
35251.43Sdbj	echo "$as_me:3525: checking for u_int32_t" >&5
35261.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
35271.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
35281.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35291.9Stvelse
35301.9Stv  cat >conftest.$ac_ext <<_ACEOF
35311.43Sdbj#line 3531 "configure"
35321.43Sdbj#include "confdefs.h"
35331.6Stv$ac_includes_default
35341.1Stvint
35351.1Stvmain ()
35361.1Stv{
35371.6Stvif ((u_int32_t *) 0)
35381.6Stv  return 0;
35391.6Stvif (sizeof (u_int32_t))
35401.6Stv  return 0;
35411.6Stv  ;
35421.6Stv  return 0;
35431.1Stv}
35441.1Stv_ACEOF
35451.6Stvrm -f conftest.$ac_objext
35461.43Sdbjif { (eval echo "$as_me:3546: \"$ac_compile\"") >&5
35471.6Stv  (eval $ac_compile) 2>&5
35481.1Stv  ac_status=$?
35491.43Sdbj  echo "$as_me:3549: \$? = $ac_status" >&5
35501.6Stv  (exit $ac_status); } &&
35511.6Stv         { ac_try='test -s conftest.$ac_objext'
35521.43Sdbj  { (eval echo "$as_me:3552: \"$ac_try\"") >&5
35531.1Stv  (eval $ac_try) 2>&5
35541.1Stv  ac_status=$?
35551.43Sdbj  echo "$as_me:3555: \$? = $ac_status" >&5
35561.1Stv  (exit $ac_status); }; }; then
35571.6Stv  ac_cv_type_u_int32_t=yes
35581.1Stvelse
35591.6Stv  echo "$as_me: failed program was:" >&5
35601.43Sdbjcat conftest.$ac_ext >&5
35611.6Stvac_cv_type_u_int32_t=no
35621.1Stvfi
35631.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
35641.1Stvfi
35651.43Sdbjecho "$as_me:3565: result: $ac_cv_type_u_int32_t" >&5
35661.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
35671.6Stvif test $ac_cv_type_u_int32_t = yes; then
35681.6Stv  :
35691.6Stvelse
35701.1Stv
35711.43Sdbj		echo "$as_me:3571: checking for uint32_t" >&5
35721.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
35731.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
35741.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35751.1Stvelse
35761.1Stv  cat >conftest.$ac_ext <<_ACEOF
35771.43Sdbj#line 3577 "configure"
35781.43Sdbj#include "confdefs.h"
35791.1Stv$ac_includes_default
35801.6Stvint
35811.6Stvmain ()
35821.6Stv{
35831.6Stvif ((uint32_t *) 0)
35841.6Stv  return 0;
35851.6Stvif (sizeof (uint32_t))
35861.6Stv  return 0;
35871.6Stv  ;
35881.6Stv  return 0;
35891.6Stv}
35901.1Stv_ACEOF
35911.1Stvrm -f conftest.$ac_objext
35921.43Sdbjif { (eval echo "$as_me:3592: \"$ac_compile\"") >&5
35931.1Stv  (eval $ac_compile) 2>&5
35941.1Stv  ac_status=$?
35951.43Sdbj  echo "$as_me:3595: \$? = $ac_status" >&5
35961.1Stv  (exit $ac_status); } &&
35971.1Stv         { ac_try='test -s conftest.$ac_objext'
35981.43Sdbj  { (eval echo "$as_me:3598: \"$ac_try\"") >&5
35991.1Stv  (eval $ac_try) 2>&5
36001.1Stv  ac_status=$?
36011.43Sdbj  echo "$as_me:3601: \$? = $ac_status" >&5
36021.1Stv  (exit $ac_status); }; }; then
36031.6Stv  ac_cv_type_uint32_t=yes
36041.1Stvelse
36051.1Stv  echo "$as_me: failed program was:" >&5
36061.43Sdbjcat conftest.$ac_ext >&5
36071.6Stvac_cv_type_uint32_t=no
36081.1Stvfi
36091.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
36101.1Stvfi
36111.43Sdbjecho "$as_me:3611: result: $ac_cv_type_uint32_t" >&5
36121.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
36131.6Stvif test $ac_cv_type_uint32_t = yes; then
36141.43Sdbj  cat >>confdefs.h <<\EOF
36151.6Stv#define u_int32_t uint32_t
36161.43SdbjEOF
36171.1Stv
36181.6Stvelse
36191.43Sdbj  { { echo "$as_me:3619: error: cannot find a suitable type for u_int32_t" >&5
36201.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
36211.6Stv   { (exit 1); exit 1; }; }
36221.6Stvfi
36231.6Stv
36241.1Stvfi
36251.1Stv
36261.43Sdbj	echo "$as_me:3626: checking for uint64_t" >&5
36271.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
36281.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
36291.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36301.9Stvelse
36311.9Stv  cat >conftest.$ac_ext <<_ACEOF
36321.43Sdbj#line 3632 "configure"
36331.43Sdbj#include "confdefs.h"
36341.9Stv$ac_includes_default
36351.9Stvint
36361.9Stvmain ()
36371.9Stv{
36381.9Stvif ((uint64_t *) 0)
36391.9Stv  return 0;
36401.9Stvif (sizeof (uint64_t))
36411.9Stv  return 0;
36421.9Stv  ;
36431.9Stv  return 0;
36441.9Stv}
36451.9Stv_ACEOF
36461.9Stvrm -f conftest.$ac_objext
36471.43Sdbjif { (eval echo "$as_me:3647: \"$ac_compile\"") >&5
36481.9Stv  (eval $ac_compile) 2>&5
36491.9Stv  ac_status=$?
36501.43Sdbj  echo "$as_me:3650: \$? = $ac_status" >&5
36511.9Stv  (exit $ac_status); } &&
36521.9Stv         { ac_try='test -s conftest.$ac_objext'
36531.43Sdbj  { (eval echo "$as_me:3653: \"$ac_try\"") >&5
36541.9Stv  (eval $ac_try) 2>&5
36551.9Stv  ac_status=$?
36561.43Sdbj  echo "$as_me:3656: \$? = $ac_status" >&5
36571.9Stv  (exit $ac_status); }; }; then
36581.9Stv  ac_cv_type_uint64_t=yes
36591.9Stvelse
36601.9Stv  echo "$as_me: failed program was:" >&5
36611.43Sdbjcat conftest.$ac_ext >&5
36621.9Stvac_cv_type_uint64_t=no
36631.9Stvfi
36641.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
36651.9Stvfi
36661.43Sdbjecho "$as_me:3666: result: $ac_cv_type_uint64_t" >&5
36671.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
36681.9Stvif test $ac_cv_type_uint64_t = yes; then
36691.9Stv  :
36701.9Stvelse
36711.9Stv
36721.43Sdbj		echo "$as_me:3672: checking for u_int64_t" >&5
36731.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
36741.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
36751.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36761.9Stvelse
36771.9Stv  cat >conftest.$ac_ext <<_ACEOF
36781.43Sdbj#line 3678 "configure"
36791.43Sdbj#include "confdefs.h"
36801.9Stv$ac_includes_default
36811.9Stvint
36821.9Stvmain ()
36831.9Stv{
36841.9Stvif ((u_int64_t *) 0)
36851.9Stv  return 0;
36861.9Stvif (sizeof (u_int64_t))
36871.9Stv  return 0;
36881.9Stv  ;
36891.9Stv  return 0;
36901.9Stv}
36911.9Stv_ACEOF
36921.9Stvrm -f conftest.$ac_objext
36931.43Sdbjif { (eval echo "$as_me:3693: \"$ac_compile\"") >&5
36941.9Stv  (eval $ac_compile) 2>&5
36951.9Stv  ac_status=$?
36961.43Sdbj  echo "$as_me:3696: \$? = $ac_status" >&5
36971.9Stv  (exit $ac_status); } &&
36981.9Stv         { ac_try='test -s conftest.$ac_objext'
36991.43Sdbj  { (eval echo "$as_me:3699: \"$ac_try\"") >&5
37001.9Stv  (eval $ac_try) 2>&5
37011.9Stv  ac_status=$?
37021.43Sdbj  echo "$as_me:3702: \$? = $ac_status" >&5
37031.9Stv  (exit $ac_status); }; }; then
37041.9Stv  ac_cv_type_u_int64_t=yes
37051.9Stvelse
37061.9Stv  echo "$as_me: failed program was:" >&5
37071.43Sdbjcat conftest.$ac_ext >&5
37081.9Stvac_cv_type_u_int64_t=no
37091.9Stvfi
37101.9Stvrm -f conftest.$ac_objext conftest.$ac_ext
37111.9Stvfi
37121.43Sdbjecho "$as_me:3712: result: $ac_cv_type_u_int64_t" >&5
37131.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
37141.9Stvif test $ac_cv_type_u_int64_t = yes; then
37151.43Sdbj  cat >>confdefs.h <<\EOF
37161.9Stv#define uint64_t u_int64_t
37171.43SdbjEOF
37181.9Stv
37191.9Stvelse
37201.43Sdbj  { { echo "$as_me:3720: error: cannot find a suitable type for uint64_t" >&5
37211.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
37221.9Stv   { (exit 1); exit 1; }; }
37231.9Stvfi
37241.9Stv
37251.9Stvfi
37261.9Stv
37271.43Sdbj	echo "$as_me:3727: checking for u_int64_t" >&5
37281.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
37291.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
37301.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37311.1Stvelse
37321.1Stv  cat >conftest.$ac_ext <<_ACEOF
37331.43Sdbj#line 3733 "configure"
37341.43Sdbj#include "confdefs.h"
37351.1Stv$ac_includes_default
37361.1Stvint
37371.1Stvmain ()
37381.1Stv{
37391.6Stvif ((u_int64_t *) 0)
37401.1Stv  return 0;
37411.6Stvif (sizeof (u_int64_t))
37421.1Stv  return 0;
37431.1Stv  ;
37441.1Stv  return 0;
37451.1Stv}
37461.1Stv_ACEOF
37471.1Stvrm -f conftest.$ac_objext
37481.43Sdbjif { (eval echo "$as_me:3748: \"$ac_compile\"") >&5
37491.1Stv  (eval $ac_compile) 2>&5
37501.1Stv  ac_status=$?
37511.43Sdbj  echo "$as_me:3751: \$? = $ac_status" >&5
37521.1Stv  (exit $ac_status); } &&
37531.1Stv         { ac_try='test -s conftest.$ac_objext'
37541.43Sdbj  { (eval echo "$as_me:3754: \"$ac_try\"") >&5
37551.1Stv  (eval $ac_try) 2>&5
37561.1Stv  ac_status=$?
37571.43Sdbj  echo "$as_me:3757: \$? = $ac_status" >&5
37581.1Stv  (exit $ac_status); }; }; then
37591.6Stv  ac_cv_type_u_int64_t=yes
37601.1Stvelse
37611.1Stv  echo "$as_me: failed program was:" >&5
37621.43Sdbjcat conftest.$ac_ext >&5
37631.6Stvac_cv_type_u_int64_t=no
37641.1Stvfi
37651.1Stvrm -f conftest.$ac_objext conftest.$ac_ext
37661.1Stvfi
37671.43Sdbjecho "$as_me:3767: result: $ac_cv_type_u_int64_t" >&5
37681.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
37691.6Stvif test $ac_cv_type_u_int64_t = yes; then
37701.1Stv  :
37711.1Stvelse
37721.1Stv
37731.43Sdbj		echo "$as_me:3773: checking for uint64_t" >&5
37741.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
37751.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
37761.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37771.1Stvelse
37781.1Stv  cat >conftest.$ac_ext <<_ACEOF
37791.43Sdbj#line 3779 "configure"
37801.43Sdbj#include "confdefs.h"
37811.4Stv$ac_includes_default
37821.4Stvint
37831.4Stvmain ()
37841.4Stv{
37851.6Stvif ((uint64_t *) 0)
37861.4Stv  return 0;
37871.6Stvif (sizeof (uint64_t))
37881.4Stv  return 0;
37891.4Stv  ;
37901.4Stv  return 0;
37911.4Stv}
37921.1Stv_ACEOF
37931.4Stvrm -f conftest.$ac_objext
37941.43Sdbjif { (eval echo "$as_me:3794: \"$ac_compile\"") >&5
37951.4Stv  (eval $ac_compile) 2>&5
37961.4Stv  ac_status=$?
37971.43Sdbj  echo "$as_me:3797: \$? = $ac_status" >&5
37981.4Stv  (exit $ac_status); } &&
37991.4Stv         { ac_try='test -s conftest.$ac_objext'
38001.43Sdbj  { (eval echo "$as_me:3800: \"$ac_try\"") >&5
38011.4Stv  (eval $ac_try) 2>&5
38021.4Stv  ac_status=$?
38031.43Sdbj  echo "$as_me:3803: \$? = $ac_status" >&5
38041.4Stv  (exit $ac_status); }; }; then
38051.6Stv  ac_cv_type_uint64_t=yes
38061.4Stvelse
38071.4Stv  echo "$as_me: failed program was:" >&5
38081.43Sdbjcat conftest.$ac_ext >&5
38091.6Stvac_cv_type_uint64_t=no
38101.4Stvfi
38111.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
38121.4Stvfi
38131.43Sdbjecho "$as_me:3813: result: $ac_cv_type_uint64_t" >&5
38141.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
38151.6Stvif test $ac_cv_type_uint64_t = yes; then
38161.43Sdbj  cat >>confdefs.h <<\EOF
38171.6Stv#define u_int64_t uint64_t
38181.43SdbjEOF
38191.4Stv
38201.6Stvelse
38211.43Sdbj  { { echo "$as_me:3821: error: cannot find a suitable type for u_int64_t" >&5
38221.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
38231.6Stv   { (exit 1); exit 1; }; }
38241.6Stvfi
38251.4Stv
38261.4Stvfi
38271.4Stv
38281.4Stv# Struct members.
38291.43Sdbjecho "$as_me:3829: checking for DIR.dd_fd" >&5
38301.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
38311.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
38321.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38331.7Stvelse
38341.7Stv  cat >conftest.$ac_ext <<_ACEOF
38351.43Sdbj#line 3835 "configure"
38361.43Sdbj#include "confdefs.h"
38371.32Sthorpej#include <sys/types.h>
38381.7Stv#include <dirent.h>
38391.7Stv
38401.7Stvint
38411.7Stvmain ()
38421.7Stv{
38431.7Stvstatic DIR ac_aggr;
38441.7Stvif (ac_aggr.dd_fd)
38451.7Stvreturn 0;
38461.7Stv  ;
38471.7Stv  return 0;
38481.7Stv}
38491.7Stv_ACEOF
38501.7Stvrm -f conftest.$ac_objext
38511.43Sdbjif { (eval echo "$as_me:3851: \"$ac_compile\"") >&5
38521.7Stv  (eval $ac_compile) 2>&5
38531.7Stv  ac_status=$?
38541.43Sdbj  echo "$as_me:3854: \$? = $ac_status" >&5
38551.7Stv  (exit $ac_status); } &&
38561.7Stv         { ac_try='test -s conftest.$ac_objext'
38571.43Sdbj  { (eval echo "$as_me:3857: \"$ac_try\"") >&5
38581.7Stv  (eval $ac_try) 2>&5
38591.7Stv  ac_status=$?
38601.43Sdbj  echo "$as_me:3860: \$? = $ac_status" >&5
38611.7Stv  (exit $ac_status); }; }; then
38621.7Stv  ac_cv_member_DIR_dd_fd=yes
38631.7Stvelse
38641.7Stv  echo "$as_me: failed program was:" >&5
38651.43Sdbjcat conftest.$ac_ext >&5
38661.7Stvac_cv_member_DIR_dd_fd=no
38671.7Stvfi
38681.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
38691.7Stvfi
38701.43Sdbjecho "$as_me:3870: result: $ac_cv_member_DIR_dd_fd" >&5
38711.7Stvecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
38721.7Stvif test $ac_cv_member_DIR_dd_fd = yes; then
38731.7Stv
38741.43Sdbjcat >>confdefs.h <<EOF
38751.7Stv#define HAVE_DIR_DD_FD 1
38761.43SdbjEOF
38771.7Stv
38781.7Stvfi
38791.43Sdbjecho "$as_me:3879: checking for struct dirent.d_namlen" >&5
38801.8Stvecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
38811.8Stvif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
38821.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38831.8Stvelse
38841.8Stv  cat >conftest.$ac_ext <<_ACEOF
38851.43Sdbj#line 3885 "configure"
38861.43Sdbj#include "confdefs.h"
38871.32Sthorpej#include <sys/types.h>
38881.8Stv#include <dirent.h>
38891.8Stv
38901.8Stvint
38911.8Stvmain ()
38921.8Stv{
38931.8Stvstatic struct dirent ac_aggr;
38941.8Stvif (ac_aggr.d_namlen)
38951.8Stvreturn 0;
38961.8Stv  ;
38971.8Stv  return 0;
38981.8Stv}
38991.8Stv_ACEOF
39001.8Stvrm -f conftest.$ac_objext
39011.43Sdbjif { (eval echo "$as_me:3901: \"$ac_compile\"") >&5
39021.8Stv  (eval $ac_compile) 2>&5
39031.8Stv  ac_status=$?
39041.43Sdbj  echo "$as_me:3904: \$? = $ac_status" >&5
39051.8Stv  (exit $ac_status); } &&
39061.8Stv         { ac_try='test -s conftest.$ac_objext'
39071.43Sdbj  { (eval echo "$as_me:3907: \"$ac_try\"") >&5
39081.8Stv  (eval $ac_try) 2>&5
39091.8Stv  ac_status=$?
39101.43Sdbj  echo "$as_me:3910: \$? = $ac_status" >&5
39111.8Stv  (exit $ac_status); }; }; then
39121.8Stv  ac_cv_member_struct_dirent_d_namlen=yes
39131.8Stvelse
39141.8Stv  echo "$as_me: failed program was:" >&5
39151.43Sdbjcat conftest.$ac_ext >&5
39161.8Stvac_cv_member_struct_dirent_d_namlen=no
39171.8Stvfi
39181.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
39191.8Stvfi
39201.43Sdbjecho "$as_me:3920: result: $ac_cv_member_struct_dirent_d_namlen" >&5
39211.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
39221.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then
39231.8Stv
39241.43Sdbjcat >>confdefs.h <<EOF
39251.39Sfredb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
39261.43SdbjEOF
39271.39Sfredb
39281.39Sfredbfi
39291.39Sfredb
39301.43Sdbjecho "$as_me:3930: checking for struct stat.st_flags" >&5
39311.39Sfredbecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
39321.39Sfredbif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
39331.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
39341.39Sfredbelse
39351.39Sfredb  cat >conftest.$ac_ext <<_ACEOF
39361.43Sdbj#line 3936 "configure"
39371.43Sdbj#include "confdefs.h"
39381.4Stv#include <sys/stat.h>
39391.4Stv
39401.4Stvint
39411.4Stvmain ()
39421.4Stv{
39431.4Stvstatic struct stat ac_aggr;
39441.43Sdbjif (ac_aggr.st_flags)
39451.4Stvreturn 0;
39461.4Stv  ;
39471.4Stv  return 0;
39481.4Stv}
39491.4Stv_ACEOF
39501.4Stvrm -f conftest.$ac_objext
39511.43Sdbjif { (eval echo "$as_me:3951: \"$ac_compile\"") >&5
39521.4Stv  (eval $ac_compile) 2>&5
39531.4Stv  ac_status=$?
39541.43Sdbj  echo "$as_me:3954: \$? = $ac_status" >&5
39551.4Stv  (exit $ac_status); } &&
39561.4Stv         { ac_try='test -s conftest.$ac_objext'
39571.43Sdbj  { (eval echo "$as_me:3957: \"$ac_try\"") >&5
39581.4Stv  (eval $ac_try) 2>&5
39591.4Stv  ac_status=$?
39601.43Sdbj  echo "$as_me:3960: \$? = $ac_status" >&5
39611.4Stv  (exit $ac_status); }; }; then
39621.43Sdbj  ac_cv_member_struct_stat_st_flags=yes
39631.4Stvelse
39641.4Stv  echo "$as_me: failed program was:" >&5
39651.43Sdbjcat conftest.$ac_ext >&5
39661.43Sdbjac_cv_member_struct_stat_st_flags=no
39671.39Sfredbfi
39681.39Sfredbrm -f conftest.$ac_objext conftest.$ac_ext
39691.4Stvfi
39701.43Sdbjecho "$as_me:3970: result: $ac_cv_member_struct_stat_st_flags" >&5
39711.43Sdbjecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
39721.43Sdbjif test $ac_cv_member_struct_stat_st_flags = yes; then
39731.4Stv
39741.43Sdbjcat >>confdefs.h <<EOF
39751.43Sdbj#define HAVE_STRUCT_STAT_ST_FLAGS 1
39761.43SdbjEOF
39771.4Stv
39781.4Stvfi
39791.43Sdbjecho "$as_me:3979: checking for struct stat.st_gen" >&5
39801.43Sdbjecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
39811.43Sdbjif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
39821.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
39831.40Satatatelse
39841.40Satatat  cat >conftest.$ac_ext <<_ACEOF
39851.43Sdbj#line 3985 "configure"
39861.43Sdbj#include "confdefs.h"
39871.40Satatat#include <sys/stat.h>
39881.40Satatat
39891.40Satatatint
39901.40Satatatmain ()
39911.40Satatat{
39921.40Satatatstatic struct stat ac_aggr;
39931.43Sdbjif (ac_aggr.st_gen)
39941.40Satatatreturn 0;
39951.40Satatat  ;
39961.40Satatat  return 0;
39971.40Satatat}
39981.40Satatat_ACEOF
39991.40Satatatrm -f conftest.$ac_objext
40001.43Sdbjif { (eval echo "$as_me:4000: \"$ac_compile\"") >&5
40011.40Satatat  (eval $ac_compile) 2>&5
40021.40Satatat  ac_status=$?
40031.43Sdbj  echo "$as_me:4003: \$? = $ac_status" >&5
40041.40Satatat  (exit $ac_status); } &&
40051.40Satatat         { ac_try='test -s conftest.$ac_objext'
40061.43Sdbj  { (eval echo "$as_me:4006: \"$ac_try\"") >&5
40071.40Satatat  (eval $ac_try) 2>&5
40081.40Satatat  ac_status=$?
40091.43Sdbj  echo "$as_me:4009: \$? = $ac_status" >&5
40101.40Satatat  (exit $ac_status); }; }; then
40111.43Sdbj  ac_cv_member_struct_stat_st_gen=yes
40121.40Satatatelse
40131.40Satatat  echo "$as_me: failed program was:" >&5
40141.43Sdbjcat conftest.$ac_ext >&5
40151.43Sdbjac_cv_member_struct_stat_st_gen=no
40161.43Sdbjfi
40171.43Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
40181.43Sdbjfi
40191.43Sdbjecho "$as_me:4019: result: $ac_cv_member_struct_stat_st_gen" >&5
40201.43Sdbjecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
40211.43Sdbjif test $ac_cv_member_struct_stat_st_gen = yes; then
40221.43Sdbj
40231.43Sdbjcat >>confdefs.h <<EOF
40241.43Sdbj#define HAVE_STRUCT_STAT_ST_GEN 1
40251.43SdbjEOF
40261.40Satatat
40271.43Sdbjfi
40281.43Sdbjecho "$as_me:4028: checking for struct stat.st_birthtime" >&5
40291.43Sdbjecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
40301.43Sdbjif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
40311.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
40321.43Sdbjelse
40331.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
40341.43Sdbj#line 4034 "configure"
40351.43Sdbj#include "confdefs.h"
40361.40Satatat#include <sys/stat.h>
40371.40Satatat
40381.40Satatatint
40391.40Satatatmain ()
40401.40Satatat{
40411.40Satatatstatic struct stat ac_aggr;
40421.43Sdbjif (ac_aggr.st_birthtime)
40431.40Satatatreturn 0;
40441.40Satatat  ;
40451.40Satatat  return 0;
40461.40Satatat}
40471.40Satatat_ACEOF
40481.40Satatatrm -f conftest.$ac_objext
40491.43Sdbjif { (eval echo "$as_me:4049: \"$ac_compile\"") >&5
40501.40Satatat  (eval $ac_compile) 2>&5
40511.40Satatat  ac_status=$?
40521.43Sdbj  echo "$as_me:4052: \$? = $ac_status" >&5
40531.40Satatat  (exit $ac_status); } &&
40541.40Satatat         { ac_try='test -s conftest.$ac_objext'
40551.43Sdbj  { (eval echo "$as_me:4055: \"$ac_try\"") >&5
40561.40Satatat  (eval $ac_try) 2>&5
40571.40Satatat  ac_status=$?
40581.43Sdbj  echo "$as_me:4058: \$? = $ac_status" >&5
40591.40Satatat  (exit $ac_status); }; }; then
40601.40Satatat  ac_cv_member_struct_stat_st_birthtime=yes
40611.40Satatatelse
40621.40Satatat  echo "$as_me: failed program was:" >&5
40631.43Sdbjcat conftest.$ac_ext >&5
40641.40Satatatac_cv_member_struct_stat_st_birthtime=no
40651.40Satatatfi
40661.40Satatatrm -f conftest.$ac_objext conftest.$ac_ext
40671.40Satatatfi
40681.43Sdbjecho "$as_me:4068: result: $ac_cv_member_struct_stat_st_birthtime" >&5
40691.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
40701.40Satatatif test $ac_cv_member_struct_stat_st_birthtime = yes; then
40711.40Satatat
40721.43Sdbjcat >>confdefs.h <<EOF
40731.40Satatat#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
40741.43SdbjEOF
40751.40Satatat
40761.40Satatatfi
40771.43Sdbjecho "$as_me:4077: checking for struct stat.st_atim" >&5
40781.40Satatatecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
40791.40Satatatif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
40801.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
40811.40Satatatelse
40821.40Satatat  cat >conftest.$ac_ext <<_ACEOF
40831.43Sdbj#line 4083 "configure"
40841.43Sdbj#include "confdefs.h"
40851.40Satatat#include <sys/stat.h>
40861.40Satatat
40871.40Satatatint
40881.40Satatatmain ()
40891.40Satatat{
40901.40Satatatstatic struct stat ac_aggr;
40911.40Satatatif (ac_aggr.st_atim)
40921.40Satatatreturn 0;
40931.40Satatat  ;
40941.40Satatat  return 0;
40951.40Satatat}
40961.40Satatat_ACEOF
40971.40Satatatrm -f conftest.$ac_objext
40981.43Sdbjif { (eval echo "$as_me:4098: \"$ac_compile\"") >&5
40991.40Satatat  (eval $ac_compile) 2>&5
41001.40Satatat  ac_status=$?
41011.43Sdbj  echo "$as_me:4101: \$? = $ac_status" >&5
41021.40Satatat  (exit $ac_status); } &&
41031.40Satatat         { ac_try='test -s conftest.$ac_objext'
41041.43Sdbj  { (eval echo "$as_me:4104: \"$ac_try\"") >&5
41051.40Satatat  (eval $ac_try) 2>&5
41061.40Satatat  ac_status=$?
41071.43Sdbj  echo "$as_me:4107: \$? = $ac_status" >&5
41081.40Satatat  (exit $ac_status); }; }; then
41091.40Satatat  ac_cv_member_struct_stat_st_atim=yes
41101.40Satatatelse
41111.40Satatat  echo "$as_me: failed program was:" >&5
41121.43Sdbjcat conftest.$ac_ext >&5
41131.40Satatatac_cv_member_struct_stat_st_atim=no
41141.40Satatatfi
41151.40Satatatrm -f conftest.$ac_objext conftest.$ac_ext
41161.40Satatatfi
41171.43Sdbjecho "$as_me:4117: result: $ac_cv_member_struct_stat_st_atim" >&5
41181.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
41191.40Satatatif test $ac_cv_member_struct_stat_st_atim = yes; then
41201.40Satatat
41211.43Sdbjcat >>confdefs.h <<EOF
41221.40Satatat#define HAVE_STRUCT_STAT_ST_ATIM 1
41231.43SdbjEOF
41241.40Satatat
41251.40Satatatfi
41261.43Sdbjecho "$as_me:4126: checking for struct stat.st_mtimensec" >&5
41271.39Sfredbecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
41281.39Sfredbif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
41291.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
41301.7Stvelse
41311.7Stv  cat >conftest.$ac_ext <<_ACEOF
41321.43Sdbj#line 4132 "configure"
41331.43Sdbj#include "confdefs.h"
41341.7Stv#include <sys/stat.h>
41351.7Stv
41361.7Stvint
41371.7Stvmain ()
41381.7Stv{
41391.7Stvstatic struct stat ac_aggr;
41401.39Sfredbif (ac_aggr.st_mtimensec)
41411.7Stvreturn 0;
41421.7Stv  ;
41431.7Stv  return 0;
41441.7Stv}
41451.7Stv_ACEOF
41461.7Stvrm -f conftest.$ac_objext
41471.43Sdbjif { (eval echo "$as_me:4147: \"$ac_compile\"") >&5
41481.7Stv  (eval $ac_compile) 2>&5
41491.7Stv  ac_status=$?
41501.43Sdbj  echo "$as_me:4150: \$? = $ac_status" >&5
41511.7Stv  (exit $ac_status); } &&
41521.7Stv         { ac_try='test -s conftest.$ac_objext'
41531.43Sdbj  { (eval echo "$as_me:4153: \"$ac_try\"") >&5
41541.7Stv  (eval $ac_try) 2>&5
41551.7Stv  ac_status=$?
41561.43Sdbj  echo "$as_me:4156: \$? = $ac_status" >&5
41571.7Stv  (exit $ac_status); }; }; then
41581.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
41591.7Stvelse
41601.7Stv  echo "$as_me: failed program was:" >&5
41611.43Sdbjcat conftest.$ac_ext >&5
41621.7Stvac_cv_member_struct_stat_st_mtimensec=no
41631.7Stvfi
41641.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
41651.7Stvfi
41661.43Sdbjecho "$as_me:4166: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
41671.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
41681.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
41691.7Stv
41701.43Sdbjcat >>confdefs.h <<EOF
41711.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
41721.43SdbjEOF
41731.7Stv
41741.7Stvfi
41751.4Stv
41761.43Sdbjecho "$as_me:4176: checking for struct statfs.f_iosize" >&5
41771.7Stvecho $ECHO_N "checking for struct statfs.f_iosize... $ECHO_C" >&6
41781.7Stvif test "${ac_cv_member_struct_statfs_f_iosize+set}" = set; then
41791.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
41801.6Stvelse
41811.6Stv  cat >conftest.$ac_ext <<_ACEOF
41821.43Sdbj#line 4182 "configure"
41831.43Sdbj#include "confdefs.h"
41841.7Stv#include <sys/mount.h>
41851.6Stv
41861.6Stvint
41871.6Stvmain ()
41881.6Stv{
41891.7Stvstatic struct statfs ac_aggr;
41901.7Stvif (ac_aggr.f_iosize)
41911.6Stvreturn 0;
41921.6Stv  ;
41931.6Stv  return 0;
41941.6Stv}
41951.6Stv_ACEOF
41961.6Stvrm -f conftest.$ac_objext
41971.43Sdbjif { (eval echo "$as_me:4197: \"$ac_compile\"") >&5
41981.6Stv  (eval $ac_compile) 2>&5
41991.6Stv  ac_status=$?
42001.43Sdbj  echo "$as_me:4200: \$? = $ac_status" >&5
42011.6Stv  (exit $ac_status); } &&
42021.6Stv         { ac_try='test -s conftest.$ac_objext'
42031.43Sdbj  { (eval echo "$as_me:4203: \"$ac_try\"") >&5
42041.6Stv  (eval $ac_try) 2>&5
42051.6Stv  ac_status=$?
42061.43Sdbj  echo "$as_me:4206: \$? = $ac_status" >&5
42071.6Stv  (exit $ac_status); }; }; then
42081.7Stv  ac_cv_member_struct_statfs_f_iosize=yes
42091.6Stvelse
42101.6Stv  echo "$as_me: failed program was:" >&5
42111.43Sdbjcat conftest.$ac_ext >&5
42121.7Stvac_cv_member_struct_statfs_f_iosize=no
42131.6Stvfi
42141.6Stvrm -f conftest.$ac_objext conftest.$ac_ext
42151.6Stvfi
42161.43Sdbjecho "$as_me:4216: result: $ac_cv_member_struct_statfs_f_iosize" >&5
42171.7Stvecho "${ECHO_T}$ac_cv_member_struct_statfs_f_iosize" >&6
42181.7Stvif test $ac_cv_member_struct_statfs_f_iosize = yes; then
42191.6Stv
42201.43Sdbjcat >>confdefs.h <<EOF
42211.7Stv#define HAVE_STRUCT_STATFS_F_IOSIZE 1
42221.43SdbjEOF
42231.6Stv
42241.6Stvfi
42251.6Stv
42261.4Stv# Global variable decls.
42271.43Sdbjecho "$as_me:4227: checking whether optind is declared" >&5
42281.7Stvecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
42291.7Stvif test "${ac_cv_have_decl_optind+set}" = set; then
42301.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
42311.7Stvelse
42321.7Stv  cat >conftest.$ac_ext <<_ACEOF
42331.43Sdbj#line 4233 "configure"
42341.43Sdbj#include "confdefs.h"
42351.7Stv
42361.7Stv#include <stdio.h>
42371.7Stv#include <stdlib.h>
42381.7Stv#include <unistd.h>
42391.7Stv
42401.7Stvint
42411.7Stvmain ()
42421.7Stv{
42431.7Stv#ifndef optind
42441.7Stv  char *p = (char *) optind;
42451.7Stv#endif
42461.7Stv
42471.7Stv  ;
42481.7Stv  return 0;
42491.7Stv}
42501.7Stv_ACEOF
42511.7Stvrm -f conftest.$ac_objext
42521.43Sdbjif { (eval echo "$as_me:4252: \"$ac_compile\"") >&5
42531.7Stv  (eval $ac_compile) 2>&5
42541.7Stv  ac_status=$?
42551.43Sdbj  echo "$as_me:4255: \$? = $ac_status" >&5
42561.7Stv  (exit $ac_status); } &&
42571.7Stv         { ac_try='test -s conftest.$ac_objext'
42581.43Sdbj  { (eval echo "$as_me:4258: \"$ac_try\"") >&5
42591.7Stv  (eval $ac_try) 2>&5
42601.7Stv  ac_status=$?
42611.43Sdbj  echo "$as_me:4261: \$? = $ac_status" >&5
42621.7Stv  (exit $ac_status); }; }; then
42631.7Stv  ac_cv_have_decl_optind=yes
42641.7Stvelse
42651.7Stv  echo "$as_me: failed program was:" >&5
42661.43Sdbjcat conftest.$ac_ext >&5
42671.7Stvac_cv_have_decl_optind=no
42681.7Stvfi
42691.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
42701.7Stvfi
42711.43Sdbjecho "$as_me:4271: result: $ac_cv_have_decl_optind" >&5
42721.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
42731.7Stvif test $ac_cv_have_decl_optind = yes; then
42741.7Stv
42751.43Sdbjcat >>confdefs.h <<EOF
42761.7Stv#define HAVE_DECL_OPTIND 1
42771.43SdbjEOF
42781.7Stv
42791.7Stvelse
42801.43Sdbj  cat >>confdefs.h <<EOF
42811.7Stv#define HAVE_DECL_OPTIND 0
42821.43SdbjEOF
42831.7Stv
42841.7Stvfi
42851.43Sdbjecho "$as_me:4285: checking whether optreset is declared" >&5
42861.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
42871.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
42881.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
42891.7Stvelse
42901.7Stv  cat >conftest.$ac_ext <<_ACEOF
42911.43Sdbj#line 4291 "configure"
42921.43Sdbj#include "confdefs.h"
42931.7Stv
42941.7Stv#include <stdio.h>
42951.7Stv#include <stdlib.h>
42961.7Stv#include <unistd.h>
42971.7Stv
42981.7Stvint
42991.7Stvmain ()
43001.7Stv{
43011.7Stv#ifndef optreset
43021.7Stv  char *p = (char *) optreset;
43031.7Stv#endif
43041.7Stv
43051.7Stv  ;
43061.7Stv  return 0;
43071.7Stv}
43081.7Stv_ACEOF
43091.7Stvrm -f conftest.$ac_objext
43101.43Sdbjif { (eval echo "$as_me:4310: \"$ac_compile\"") >&5
43111.7Stv  (eval $ac_compile) 2>&5
43121.7Stv  ac_status=$?
43131.43Sdbj  echo "$as_me:4313: \$? = $ac_status" >&5
43141.7Stv  (exit $ac_status); } &&
43151.7Stv         { ac_try='test -s conftest.$ac_objext'
43161.43Sdbj  { (eval echo "$as_me:4316: \"$ac_try\"") >&5
43171.7Stv  (eval $ac_try) 2>&5
43181.7Stv  ac_status=$?
43191.43Sdbj  echo "$as_me:4319: \$? = $ac_status" >&5
43201.7Stv  (exit $ac_status); }; }; then
43211.7Stv  ac_cv_have_decl_optreset=yes
43221.7Stvelse
43231.7Stv  echo "$as_me: failed program was:" >&5
43241.43Sdbjcat conftest.$ac_ext >&5
43251.7Stvac_cv_have_decl_optreset=no
43261.7Stvfi
43271.7Stvrm -f conftest.$ac_objext conftest.$ac_ext
43281.7Stvfi
43291.43Sdbjecho "$as_me:4329: result: $ac_cv_have_decl_optreset" >&5
43301.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
43311.7Stvif test $ac_cv_have_decl_optreset = yes; then
43321.7Stv
43331.43Sdbjcat >>confdefs.h <<EOF
43341.7Stv#define HAVE_DECL_OPTRESET 1
43351.43SdbjEOF
43361.7Stv
43371.7Stvelse
43381.43Sdbj  cat >>confdefs.h <<EOF
43391.7Stv#define HAVE_DECL_OPTRESET 0
43401.43SdbjEOF
43411.7Stv
43421.7Stvfi
43431.7Stv
43441.43Sdbjecho "$as_me:4344: checking whether sys_signame is declared" >&5
43451.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
43461.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
43471.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
43481.4Stvelse
43491.4Stv  cat >conftest.$ac_ext <<_ACEOF
43501.43Sdbj#line 4350 "configure"
43511.43Sdbj#include "confdefs.h"
43521.4Stv#include <signal.h>
43531.4Stv
43541.4Stvint
43551.4Stvmain ()
43561.4Stv{
43571.4Stv#ifndef sys_signame
43581.4Stv  char *p = (char *) sys_signame;
43591.4Stv#endif
43601.4Stv
43611.4Stv  ;
43621.4Stv  return 0;
43631.4Stv}
43641.4Stv_ACEOF
43651.4Stvrm -f conftest.$ac_objext
43661.43Sdbjif { (eval echo "$as_me:4366: \"$ac_compile\"") >&5
43671.4Stv  (eval $ac_compile) 2>&5
43681.4Stv  ac_status=$?
43691.43Sdbj  echo "$as_me:4369: \$? = $ac_status" >&5
43701.4Stv  (exit $ac_status); } &&
43711.4Stv         { ac_try='test -s conftest.$ac_objext'
43721.43Sdbj  { (eval echo "$as_me:4372: \"$ac_try\"") >&5
43731.4Stv  (eval $ac_try) 2>&5
43741.4Stv  ac_status=$?
43751.43Sdbj  echo "$as_me:4375: \$? = $ac_status" >&5
43761.4Stv  (exit $ac_status); }; }; then
43771.4Stv  ac_cv_have_decl_sys_signame=yes
43781.4Stvelse
43791.4Stv  echo "$as_me: failed program was:" >&5
43801.43Sdbjcat conftest.$ac_ext >&5
43811.4Stvac_cv_have_decl_sys_signame=no
43821.4Stvfi
43831.4Stvrm -f conftest.$ac_objext conftest.$ac_ext
43841.4Stvfi
43851.43Sdbjecho "$as_me:4385: result: $ac_cv_have_decl_sys_signame" >&5
43861.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
43871.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
43881.4Stv
43891.43Sdbjcat >>confdefs.h <<EOF
43901.4Stv#define HAVE_DECL_SYS_SIGNAME 1
43911.43SdbjEOF
43921.4Stv
43931.4Stvelse
43941.43Sdbj  cat >>confdefs.h <<EOF
43951.4Stv#define HAVE_DECL_SYS_SIGNAME 0
43961.43SdbjEOF
43971.4Stv
43981.4Stvfi
43991.4Stv
44001.4Stv# Library functions (where a .h check isn't enough).
44011.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
44021.19Sbjh21# for constant arguments.  Useless!
44031.43Sdbjecho "$as_me:4403: checking for working alloca.h" >&5
44041.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
44051.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
44061.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
44071.19Sbjh21else
44081.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
44091.43Sdbj#line 4409 "configure"
44101.43Sdbj#include "confdefs.h"
44111.19Sbjh21#include <alloca.h>
44121.19Sbjh21int
44131.19Sbjh21main ()
44141.19Sbjh21{
44151.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
44161.19Sbjh21  ;
44171.19Sbjh21  return 0;
44181.19Sbjh21}
44191.19Sbjh21_ACEOF
44201.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
44211.43Sdbjif { (eval echo "$as_me:4421: \"$ac_link\"") >&5
44221.19Sbjh21  (eval $ac_link) 2>&5
44231.19Sbjh21  ac_status=$?
44241.43Sdbj  echo "$as_me:4424: \$? = $ac_status" >&5
44251.19Sbjh21  (exit $ac_status); } &&
44261.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
44271.43Sdbj  { (eval echo "$as_me:4427: \"$ac_try\"") >&5
44281.19Sbjh21  (eval $ac_try) 2>&5
44291.19Sbjh21  ac_status=$?
44301.43Sdbj  echo "$as_me:4430: \$? = $ac_status" >&5
44311.19Sbjh21  (exit $ac_status); }; }; then
44321.19Sbjh21  ac_cv_working_alloca_h=yes
44331.19Sbjh21else
44341.19Sbjh21  echo "$as_me: failed program was:" >&5
44351.43Sdbjcat conftest.$ac_ext >&5
44361.19Sbjh21ac_cv_working_alloca_h=no
44371.19Sbjh21fi
44381.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
44391.19Sbjh21fi
44401.43Sdbjecho "$as_me:4440: result: $ac_cv_working_alloca_h" >&5
44411.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
44421.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
44431.19Sbjh21
44441.43Sdbjcat >>confdefs.h <<\EOF
44451.19Sbjh21#define HAVE_ALLOCA_H 1
44461.43SdbjEOF
44471.19Sbjh21
44481.19Sbjh21fi
44491.19Sbjh21
44501.43Sdbjecho "$as_me:4450: checking for alloca" >&5
44511.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
44521.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
44531.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
44541.19Sbjh21else
44551.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
44561.43Sdbj#line 4456 "configure"
44571.43Sdbj#include "confdefs.h"
44581.19Sbjh21#ifdef __GNUC__
44591.19Sbjh21# define alloca __builtin_alloca
44601.19Sbjh21#else
44611.19Sbjh21# ifdef _MSC_VER
44621.19Sbjh21#  include <malloc.h>
44631.19Sbjh21#  define alloca _alloca
44641.19Sbjh21# else
44651.19Sbjh21#  if HAVE_ALLOCA_H
44661.19Sbjh21#   include <alloca.h>
44671.19Sbjh21#  else
44681.19Sbjh21#   ifdef _AIX
44691.19Sbjh21 #pragma alloca
44701.19Sbjh21#   else
44711.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
44721.19Sbjh21char *alloca ();
44731.19Sbjh21#    endif
44741.19Sbjh21#   endif
44751.19Sbjh21#  endif
44761.19Sbjh21# endif
44771.19Sbjh21#endif
44781.19Sbjh21
44791.19Sbjh21int
44801.19Sbjh21main ()
44811.19Sbjh21{
44821.19Sbjh21char *p = (char *) alloca (1);
44831.19Sbjh21  ;
44841.19Sbjh21  return 0;
44851.19Sbjh21}
44861.19Sbjh21_ACEOF
44871.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
44881.43Sdbjif { (eval echo "$as_me:4488: \"$ac_link\"") >&5
44891.19Sbjh21  (eval $ac_link) 2>&5
44901.19Sbjh21  ac_status=$?
44911.43Sdbj  echo "$as_me:4491: \$? = $ac_status" >&5
44921.19Sbjh21  (exit $ac_status); } &&
44931.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
44941.43Sdbj  { (eval echo "$as_me:4494: \"$ac_try\"") >&5
44951.19Sbjh21  (eval $ac_try) 2>&5
44961.19Sbjh21  ac_status=$?
44971.43Sdbj  echo "$as_me:4497: \$? = $ac_status" >&5
44981.19Sbjh21  (exit $ac_status); }; }; then
44991.19Sbjh21  ac_cv_func_alloca_works=yes
45001.19Sbjh21else
45011.19Sbjh21  echo "$as_me: failed program was:" >&5
45021.43Sdbjcat conftest.$ac_ext >&5
45031.19Sbjh21ac_cv_func_alloca_works=no
45041.19Sbjh21fi
45051.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
45061.19Sbjh21fi
45071.43Sdbjecho "$as_me:4507: result: $ac_cv_func_alloca_works" >&5
45081.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
45091.19Sbjh21
45101.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
45111.19Sbjh21
45121.43Sdbjcat >>confdefs.h <<\EOF
45131.19Sbjh21#define HAVE_ALLOCA 1
45141.43SdbjEOF
45151.19Sbjh21
45161.19Sbjh21else
45171.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
45181.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
45191.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
45201.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
45211.19Sbjh21
45221.19Sbjh21ALLOCA=alloca.$ac_objext
45231.19Sbjh21
45241.43Sdbjcat >>confdefs.h <<\EOF
45251.19Sbjh21#define C_ALLOCA 1
45261.43SdbjEOF
45271.39Sfredb
45281.43Sdbjecho "$as_me:4528: checking whether \`alloca.c' needs Cray hooks" >&5
45291.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
45301.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
45311.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
45321.19Sbjh21else
45331.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
45341.43Sdbj#line 4534 "configure"
45351.43Sdbj#include "confdefs.h"
45361.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
45371.19Sbjh21webecray
45381.19Sbjh21#else
45391.19Sbjh21wenotbecray
45401.19Sbjh21#endif
45411.19Sbjh21
45421.19Sbjh21_ACEOF
45431.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
45441.43Sdbj  egrep "webecray" >/dev/null 2>&1; then
45451.19Sbjh21  ac_cv_os_cray=yes
45461.19Sbjh21else
45471.19Sbjh21  ac_cv_os_cray=no
45481.19Sbjh21fi
45491.19Sbjh21rm -f conftest*
45501.19Sbjh21
45511.19Sbjh21fi
45521.43Sdbjecho "$as_me:4552: result: $ac_cv_os_cray" >&5
45531.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
45541.19Sbjh21if test $ac_cv_os_cray = yes; then
45551.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
45561.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45571.43Sdbjecho "$as_me:4557: checking for $ac_func" >&5
45581.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45591.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
45601.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
45611.19Sbjh21else
45621.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
45631.43Sdbj#line 4563 "configure"
45641.43Sdbj#include "confdefs.h"
45651.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
45661.43Sdbj    which can conflict with char $ac_func (); below.  */
45671.43Sdbj#include <assert.h>
45681.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
45691.19Sbjh21#ifdef __cplusplus
45701.19Sbjh21extern "C"
45711.19Sbjh21#endif
45721.19Sbjh21/* We use char because int might match the return type of a gcc2
45731.19Sbjh21   builtin and then its argument prototype would still apply.  */
45741.19Sbjh21char $ac_func ();
45751.43Sdbjchar (*f) ();
45761.43Sdbj
45771.43Sdbjint
45781.43Sdbjmain ()
45791.43Sdbj{
45801.19Sbjh21/* The GNU C library defines this for functions which it implements
45811.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
45821.19Sbjh21    something starting with __ and the normal name is an alias.  */
45831.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45841.19Sbjh21choke me
45851.19Sbjh21#else
45861.43Sdbjf = $ac_func;
45871.19Sbjh21#endif
45881.19Sbjh21
45891.19Sbjh21  ;
45901.19Sbjh21  return 0;
45911.19Sbjh21}
45921.19Sbjh21_ACEOF
45931.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
45941.43Sdbjif { (eval echo "$as_me:4594: \"$ac_link\"") >&5
45951.19Sbjh21  (eval $ac_link) 2>&5
45961.19Sbjh21  ac_status=$?
45971.43Sdbj  echo "$as_me:4597: \$? = $ac_status" >&5
45981.19Sbjh21  (exit $ac_status); } &&
45991.19Sbjh21         { ac_try='test -s conftest$ac_exeext'
46001.43Sdbj  { (eval echo "$as_me:4600: \"$ac_try\"") >&5
46011.19Sbjh21  (eval $ac_try) 2>&5
46021.19Sbjh21  ac_status=$?
46031.43Sdbj  echo "$as_me:4603: \$? = $ac_status" >&5
46041.19Sbjh21  (exit $ac_status); }; }; then
46051.19Sbjh21  eval "$as_ac_var=yes"
46061.19Sbjh21else
46071.19Sbjh21  echo "$as_me: failed program was:" >&5
46081.43Sdbjcat conftest.$ac_ext >&5
46091.19Sbjh21eval "$as_ac_var=no"
46101.19Sbjh21fi
46111.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46121.19Sbjh21fi
46131.43Sdbjecho "$as_me:4613: result: `eval echo '${'$as_ac_var'}'`" >&5
46141.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46151.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
46161.19Sbjh21
46171.43Sdbjcat >>confdefs.h <<EOF
46181.19Sbjh21#define CRAY_STACKSEG_END $ac_func
46191.43SdbjEOF
46201.19Sbjh21
46211.19Sbjh21    break
46221.19Sbjh21fi
46231.19Sbjh21
46241.19Sbjh21  done
46251.19Sbjh21fi
46261.19Sbjh21
46271.43Sdbjecho "$as_me:4627: checking stack direction for C alloca" >&5
46281.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
46291.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
46301.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
46311.19Sbjh21else
46321.19Sbjh21  if test "$cross_compiling" = yes; then
46331.19Sbjh21  ac_cv_c_stack_direction=0
46341.19Sbjh21else
46351.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
46361.43Sdbj#line 4636 "configure"
46371.43Sdbj#include "confdefs.h"
46381.19Sbjh21int
46391.19Sbjh21find_stack_direction ()
46401.19Sbjh21{
46411.19Sbjh21  static char *addr = 0;
46421.19Sbjh21  auto char dummy;
46431.19Sbjh21  if (addr == 0)
46441.19Sbjh21    {
46451.19Sbjh21      addr = &dummy;
46461.19Sbjh21      return find_stack_direction ();
46471.19Sbjh21    }
46481.19Sbjh21  else
46491.19Sbjh21    return (&dummy > addr) ? 1 : -1;
46501.19Sbjh21}
46511.19Sbjh21
46521.43Sdbjint
46531.43Sdbjmain ()
46541.43Sdbj{
46551.43Sdbj  exit (find_stack_direction () < 0);
46561.43Sdbj}
46571.43Sdbj_ACEOF
46581.43Sdbjrm -f conftest$ac_exeext
46591.43Sdbjif { (eval echo "$as_me:4659: \"$ac_link\"") >&5
46601.43Sdbj  (eval $ac_link) 2>&5
46611.43Sdbj  ac_status=$?
46621.43Sdbj  echo "$as_me:4662: \$? = $ac_status" >&5
46631.43Sdbj  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
46641.43Sdbj  { (eval echo "$as_me:4664: \"$ac_try\"") >&5
46651.43Sdbj  (eval $ac_try) 2>&5
46661.43Sdbj  ac_status=$?
46671.43Sdbj  echo "$as_me:4667: \$? = $ac_status" >&5
46681.43Sdbj  (exit $ac_status); }; }; then
46691.43Sdbj  ac_cv_c_stack_direction=1
46701.43Sdbjelse
46711.43Sdbj  echo "$as_me: program exited with status $ac_status" >&5
46721.43Sdbjecho "$as_me: failed program was:" >&5
46731.43Sdbjcat conftest.$ac_ext >&5
46741.43Sdbjac_cv_c_stack_direction=-1
46751.43Sdbjfi
46761.43Sdbjrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
46771.43Sdbjfi
46781.43Sdbjfi
46791.43Sdbjecho "$as_me:4679: result: $ac_cv_c_stack_direction" >&5
46801.43Sdbjecho "${ECHO_T}$ac_cv_c_stack_direction" >&6
46811.39Sfredb
46821.43Sdbjcat >>confdefs.h <<EOF
46831.43Sdbj#define STACK_DIRECTION $ac_cv_c_stack_direction
46841.43SdbjEOF
46851.39Sfredb
46861.43Sdbjfi
46871.40Satatat
46881.40Satatatfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
46891.7Stv	fgetln flock fparseln futimes getopt getopt_long \
46901.26Slukem	isblank issetugid lchflags lchmod lchown lutimes mkstemp mkdtemp \
46911.36Sthorpej	poll pread putc_unlocked pwcache_userdb pwrite random setenv \
46921.36Sthorpej	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
46931.29Slukem	strsuftoll strtoll \
46941.23Sthorpej	user_from_uid vasprintf vasnprintf vsnprintf
46951.1Stvdo
46961.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46971.43Sdbjecho "$as_me:4697: checking for $ac_func" >&5
46981.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46991.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then
47001.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47011.1Stvelse
47021.1Stv  cat >conftest.$ac_ext <<_ACEOF
47031.43Sdbj#line 4703 "configure"
47041.43Sdbj#include "confdefs.h"
47051.39Sfredb/* System header to define __stub macros and hopefully few prototypes,
47061.43Sdbj    which can conflict with char $ac_func (); below.  */
47071.43Sdbj#include <assert.h>
47081.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
47091.1Stv#ifdef __cplusplus
47101.1Stvextern "C"
47111.1Stv#endif
47121.1Stv/* We use char because int might match the return type of a gcc2
47131.1Stv   builtin and then its argument prototype would still apply.  */
47141.1Stvchar $ac_func ();
47151.43Sdbjchar (*f) ();
47161.43Sdbj
47171.43Sdbjint
47181.43Sdbjmain ()
47191.43Sdbj{
47201.1Stv/* The GNU C library defines this for functions which it implements
47211.1Stv    to always fail with ENOSYS.  Some functions are actually named
47221.1Stv    something starting with __ and the normal name is an alias.  */
47231.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47241.1Stvchoke me
47251.1Stv#else
47261.43Sdbjf = $ac_func;
47271.1Stv#endif
47281.1Stv
47291.1Stv  ;
47301.1Stv  return 0;
47311.1Stv}
47321.1Stv_ACEOF
47331.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
47341.43Sdbjif { (eval echo "$as_me:4734: \"$ac_link\"") >&5
47351.1Stv  (eval $ac_link) 2>&5
47361.1Stv  ac_status=$?
47371.43Sdbj  echo "$as_me:4737: \$? = $ac_status" >&5
47381.1Stv  (exit $ac_status); } &&
47391.1Stv         { ac_try='test -s conftest$ac_exeext'
47401.43Sdbj  { (eval echo "$as_me:4740: \"$ac_try\"") >&5
47411.1Stv  (eval $ac_try) 2>&5
47421.1Stv  ac_status=$?
47431.43Sdbj  echo "$as_me:4743: \$? = $ac_status" >&5
47441.1Stv  (exit $ac_status); }; }; then
47451.1Stv  eval "$as_ac_var=yes"
47461.1Stvelse
47471.1Stv  echo "$as_me: failed program was:" >&5
47481.43Sdbjcat conftest.$ac_ext >&5
47491.1Stveval "$as_ac_var=no"
47501.1Stvfi
47511.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47521.1Stvfi
47531.43Sdbjecho "$as_me:4753: result: `eval echo '${'$as_ac_var'}'`" >&5
47541.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47551.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then
47561.43Sdbj  cat >>confdefs.h <<EOF
47571.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47581.43SdbjEOF
47591.1Stv
47601.1Stvfi
47611.1Stvdone
47621.1Stv
47631.43Sdbjecho "$as_me:4763: checking whether setgroupent is declared" >&5
47641.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
47651.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
47661.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
47671.8Stvelse
47681.8Stv  cat >conftest.$ac_ext <<_ACEOF
47691.43Sdbj#line 4769 "configure"
47701.43Sdbj#include "confdefs.h"
47711.8Stv
47721.33Sthorpej#include <sys/types.h>
47731.8Stv#include <grp.h>
47741.8Stv#include <pwd.h>
47751.8Stv
47761.8Stvint
47771.8Stvmain ()
47781.8Stv{
47791.8Stv#ifndef setgroupent
47801.8Stv  char *p = (char *) setgroupent;
47811.8Stv#endif
47821.8Stv
47831.8Stv  ;
47841.8Stv  return 0;
47851.8Stv}
47861.8Stv_ACEOF
47871.8Stvrm -f conftest.$ac_objext
47881.43Sdbjif { (eval echo "$as_me:4788: \"$ac_compile\"") >&5
47891.8Stv  (eval $ac_compile) 2>&5
47901.8Stv  ac_status=$?
47911.43Sdbj  echo "$as_me:4791: \$? = $ac_status" >&5
47921.8Stv  (exit $ac_status); } &&
47931.8Stv         { ac_try='test -s conftest.$ac_objext'
47941.43Sdbj  { (eval echo "$as_me:4794: \"$ac_try\"") >&5
47951.8Stv  (eval $ac_try) 2>&5
47961.8Stv  ac_status=$?
47971.43Sdbj  echo "$as_me:4797: \$? = $ac_status" >&5
47981.8Stv  (exit $ac_status); }; }; then
47991.8Stv  ac_cv_have_decl_setgroupent=yes
48001.8Stvelse
48011.8Stv  echo "$as_me: failed program was:" >&5
48021.43Sdbjcat conftest.$ac_ext >&5
48031.8Stvac_cv_have_decl_setgroupent=no
48041.8Stvfi
48051.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
48061.8Stvfi
48071.43Sdbjecho "$as_me:4807: result: $ac_cv_have_decl_setgroupent" >&5
48081.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
48091.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
48101.8Stv
48111.43Sdbjcat >>confdefs.h <<EOF
48121.8Stv#define HAVE_DECL_SETGROUPENT 1
48131.43SdbjEOF
48141.8Stv
48151.8Stvelse
48161.43Sdbj  cat >>confdefs.h <<EOF
48171.8Stv#define HAVE_DECL_SETGROUPENT 0
48181.43SdbjEOF
48191.8Stv
48201.8Stvfi
48211.43Sdbjecho "$as_me:4821: checking whether setpassent is declared" >&5
48221.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
48231.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
48241.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
48251.8Stvelse
48261.8Stv  cat >conftest.$ac_ext <<_ACEOF
48271.43Sdbj#line 4827 "configure"
48281.43Sdbj#include "confdefs.h"
48291.8Stv
48301.33Sthorpej#include <sys/types.h>
48311.8Stv#include <grp.h>
48321.8Stv#include <pwd.h>
48331.8Stv
48341.8Stvint
48351.8Stvmain ()
48361.8Stv{
48371.8Stv#ifndef setpassent
48381.8Stv  char *p = (char *) setpassent;
48391.8Stv#endif
48401.8Stv
48411.8Stv  ;
48421.8Stv  return 0;
48431.8Stv}
48441.8Stv_ACEOF
48451.8Stvrm -f conftest.$ac_objext
48461.43Sdbjif { (eval echo "$as_me:4846: \"$ac_compile\"") >&5
48471.8Stv  (eval $ac_compile) 2>&5
48481.8Stv  ac_status=$?
48491.43Sdbj  echo "$as_me:4849: \$? = $ac_status" >&5
48501.8Stv  (exit $ac_status); } &&
48511.8Stv         { ac_try='test -s conftest.$ac_objext'
48521.43Sdbj  { (eval echo "$as_me:4852: \"$ac_try\"") >&5
48531.8Stv  (eval $ac_try) 2>&5
48541.8Stv  ac_status=$?
48551.43Sdbj  echo "$as_me:4855: \$? = $ac_status" >&5
48561.8Stv  (exit $ac_status); }; }; then
48571.8Stv  ac_cv_have_decl_setpassent=yes
48581.8Stvelse
48591.8Stv  echo "$as_me: failed program was:" >&5
48601.43Sdbjcat conftest.$ac_ext >&5
48611.8Stvac_cv_have_decl_setpassent=no
48621.8Stvfi
48631.8Stvrm -f conftest.$ac_objext conftest.$ac_ext
48641.8Stvfi
48651.43Sdbjecho "$as_me:4865: result: $ac_cv_have_decl_setpassent" >&5
48661.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
48671.8Stvif test $ac_cv_have_decl_setpassent = yes; then
48681.8Stv
48691.43Sdbjcat >>confdefs.h <<EOF
48701.8Stv#define HAVE_DECL_SETPASSENT 1
48711.43SdbjEOF
48721.8Stv
48731.8Stvelse
48741.43Sdbj  cat >>confdefs.h <<EOF
48751.8Stv#define HAVE_DECL_SETPASSENT 0
48761.43SdbjEOF
48771.8Stv
48781.8Stvfi
48791.8Stv
48801.4Stv# regcomp() and regexec() are also names of functions in the old V8
48811.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
48821.4Stv
48831.43Sdbjecho "$as_me:4883: checking for regfree in -lregex" >&5
48841.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
48851.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
48861.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
48871.4Stvelse
48881.4Stv  ac_check_lib_save_LIBS=$LIBS
48891.4StvLIBS="-lregex  $LIBS"
48901.4Stvcat >conftest.$ac_ext <<_ACEOF
48911.43Sdbj#line 4891 "configure"
48921.43Sdbj#include "confdefs.h"
48931.4Stv
48941.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
48951.4Stv#ifdef __cplusplus
48961.4Stvextern "C"
48971.4Stv#endif
48981.4Stv/* We use char because int might match the return type of a gcc2
48991.4Stv   builtin and then its argument prototype would still apply.  */
49001.4Stvchar regfree ();
49011.4Stvint
49021.4Stvmain ()
49031.4Stv{
49041.4Stvregfree ();
49051.4Stv  ;
49061.4Stv  return 0;
49071.4Stv}
49081.4Stv_ACEOF
49091.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
49101.43Sdbjif { (eval echo "$as_me:4910: \"$ac_link\"") >&5
49111.4Stv  (eval $ac_link) 2>&5
49121.4Stv  ac_status=$?
49131.43Sdbj  echo "$as_me:4913: \$? = $ac_status" >&5
49141.4Stv  (exit $ac_status); } &&
49151.4Stv         { ac_try='test -s conftest$ac_exeext'
49161.43Sdbj  { (eval echo "$as_me:4916: \"$ac_try\"") >&5
49171.4Stv  (eval $ac_try) 2>&5
49181.4Stv  ac_status=$?
49191.43Sdbj  echo "$as_me:4919: \$? = $ac_status" >&5
49201.4Stv  (exit $ac_status); }; }; then
49211.4Stv  ac_cv_lib_regex_regfree=yes
49221.4Stvelse
49231.4Stv  echo "$as_me: failed program was:" >&5
49241.43Sdbjcat conftest.$ac_ext >&5
49251.4Stvac_cv_lib_regex_regfree=no
49261.4Stvfi
49271.4Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49281.4StvLIBS=$ac_check_lib_save_LIBS
49291.4Stvfi
49301.43Sdbjecho "$as_me:4930: result: $ac_cv_lib_regex_regfree" >&5
49311.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
49321.4Stvif test $ac_cv_lib_regex_regfree = yes; then
49331.43Sdbj  cat >>confdefs.h <<EOF
49341.4Stv#define HAVE_LIBREGEX 1
49351.43SdbjEOF
49361.4Stv
49371.4Stv  LIBS="-lregex $LIBS"
49381.4Stv
49391.4Stvfi
49401.4Stv
49411.43Sdbjecho "$as_me:4941: checking for library containing regfree" >&5
49421.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
49431.4Stvif test "${ac_cv_search_regfree+set}" = set; then
49441.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
49451.1Stvelse
49461.1Stv  ac_func_search_save_LIBS=$LIBS
49471.4Stvac_cv_search_regfree=no
49481.1Stvcat >conftest.$ac_ext <<_ACEOF
49491.43Sdbj#line 4949 "configure"
49501.43Sdbj#include "confdefs.h"
49511.1Stv
49521.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
49531.1Stv#ifdef __cplusplus
49541.1Stvextern "C"
49551.1Stv#endif
49561.1Stv/* We use char because int might match the return type of a gcc2
49571.1Stv   builtin and then its argument prototype would still apply.  */
49581.4Stvchar regfree ();
49591.1Stvint
49601.1Stvmain ()
49611.1Stv{
49621.4Stvregfree ();
49631.1Stv  ;
49641.1Stv  return 0;
49651.1Stv}
49661.1Stv_ACEOF
49671.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
49681.43Sdbjif { (eval echo "$as_me:4968: \"$ac_link\"") >&5
49691.1Stv  (eval $ac_link) 2>&5
49701.1Stv  ac_status=$?
49711.43Sdbj  echo "$as_me:4971: \$? = $ac_status" >&5
49721.1Stv  (exit $ac_status); } &&
49731.1Stv         { ac_try='test -s conftest$ac_exeext'
49741.43Sdbj  { (eval echo "$as_me:4974: \"$ac_try\"") >&5
49751.1Stv  (eval $ac_try) 2>&5
49761.1Stv  ac_status=$?
49771.43Sdbj  echo "$as_me:4977: \$? = $ac_status" >&5
49781.1Stv  (exit $ac_status); }; }; then
49791.4Stv  ac_cv_search_regfree="none required"
49801.1Stvelse
49811.1Stv  echo "$as_me: failed program was:" >&5
49821.43Sdbjcat conftest.$ac_ext >&5
49831.1Stvfi
49841.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49851.4Stvif test "$ac_cv_search_regfree" = no; then
49861.4Stv  for ac_lib in rx posix; do
49871.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
49881.1Stv    cat >conftest.$ac_ext <<_ACEOF
49891.43Sdbj#line 4989 "configure"
49901.43Sdbj#include "confdefs.h"
49911.1Stv
49921.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
49931.1Stv#ifdef __cplusplus
49941.1Stvextern "C"
49951.1Stv#endif
49961.1Stv/* We use char because int might match the return type of a gcc2
49971.1Stv   builtin and then its argument prototype would still apply.  */
49981.4Stvchar regfree ();
49991.1Stvint
50001.1Stvmain ()
50011.1Stv{
50021.4Stvregfree ();
50031.1Stv  ;
50041.1Stv  return 0;
50051.1Stv}
50061.1Stv_ACEOF
50071.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
50081.43Sdbjif { (eval echo "$as_me:5008: \"$ac_link\"") >&5
50091.1Stv  (eval $ac_link) 2>&5
50101.1Stv  ac_status=$?
50111.43Sdbj  echo "$as_me:5011: \$? = $ac_status" >&5
50121.1Stv  (exit $ac_status); } &&
50131.1Stv         { ac_try='test -s conftest$ac_exeext'
50141.43Sdbj  { (eval echo "$as_me:5014: \"$ac_try\"") >&5
50151.1Stv  (eval $ac_try) 2>&5
50161.1Stv  ac_status=$?
50171.43Sdbj  echo "$as_me:5017: \$? = $ac_status" >&5
50181.1Stv  (exit $ac_status); }; }; then
50191.4Stv  ac_cv_search_regfree="-l$ac_lib"
50201.1Stvbreak
50211.1Stvelse
50221.1Stv  echo "$as_me: failed program was:" >&5
50231.43Sdbjcat conftest.$ac_ext >&5
50241.1Stvfi
50251.1Stvrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50261.1Stv  done
50271.1Stvfi
50281.1StvLIBS=$ac_func_search_save_LIBS
50291.1Stvfi
50301.43Sdbjecho "$as_me:5030: result: $ac_cv_search_regfree" >&5
50311.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
50321.4Stvif test "$ac_cv_search_regfree" != no; then
50331.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
50341.1Stv
50351.1Stvfi
50361.1Stv
50371.1Stvcat >confcache <<\_ACEOF
50381.1Stv# This file is a shell script that caches the results of configure
50391.1Stv# tests run on this system so they can be shared between configure
50401.1Stv# scripts and configure runs, see configure's option --config-cache.
50411.1Stv# It is not useful on other systems.  If it contains results you don't
50421.1Stv# want to keep, you may remove or edit it.
50431.1Stv#
50441.1Stv# config.status only pays attention to the cache file if you give it
50451.1Stv# the --recheck option to rerun configure.
50461.1Stv#
50471.43Sdbj# `ac_cv_env_foo' variables (set or unset) will be overriden when
50481.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
50491.1Stv# following values.
50501.1Stv
50511.1Stv_ACEOF
50521.1Stv
50531.1Stv# The following way of writing the cache mishandles newlines in values,
50541.1Stv# but we know of no workaround that is simple, portable, and efficient.
50551.1Stv# So, don't put newlines in cache variables' values.
50561.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
50571.1Stv# and sets the high bit in the cache file unless we assign to the vars.
50581.1Stv{
50591.1Stv  (set) 2>&1 |
50601.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
50611.1Stv    *ac_space=\ *)
50621.1Stv      # `set' does not quote correctly, so add quotes (double-quote
50631.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
50641.1Stv      sed -n \
50651.1Stv        "s/'/'\\\\''/g;
50661.1Stv    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50671.1Stv      ;;
50681.1Stv    *)
50691.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
50701.1Stv      sed -n \
50711.1Stv        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50721.1Stv      ;;
50731.1Stv    esac;
50741.1Stv} |
50751.1Stv  sed '
50761.1Stv     t clear
50771.1Stv     : clear
50781.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50791.1Stv     t end
50801.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50811.1Stv     : end' >>confcache
50821.43Sdbjif cmp -s $cache_file confcache; then :; else
50831.1Stv  if test -w $cache_file; then
50841.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50851.1Stv    cat confcache >$cache_file
50861.1Stv  else
50871.1Stv    echo "not updating unwritable cache $cache_file"
50881.1Stv  fi
50891.1Stvfi
50901.1Stvrm -f confcache
50911.1Stv
50921.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
50931.1Stv# Let make expand exec_prefix.
50941.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50951.1Stv
50961.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
50971.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50981.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
50991.1Stv# (actually we leave an empty line to preserve line numbers).
51001.1Stvif test "x$srcdir" = x.; then
51011.1Stv  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
51021.1Stvs/:*\$(srcdir):*/:/;
51031.1Stvs/:*\${srcdir}:*/:/;
51041.1Stvs/:*@srcdir@:*/:/;
51051.1Stvs/^\([^=]*=[ 	]*\):*/\1/;
51061.1Stvs/:*$//;
51071.1Stvs/^[^=]*=[ 	]*$//;
51081.1Stv}'
51091.1Stvfi
51101.1Stv
51111.1StvDEFS=-DHAVE_CONFIG_H
51121.1Stv
51131.1Stv: ${CONFIG_STATUS=./config.status}
51141.1Stvac_clean_files_save=$ac_clean_files
51151.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
51161.43Sdbj{ echo "$as_me:5116: creating $CONFIG_STATUS" >&5
51171.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
51181.1Stvcat >$CONFIG_STATUS <<_ACEOF
51191.1Stv#! $SHELL
51201.43Sdbj# Generated automatically by configure.
51211.1Stv# Run this file to recreate the current configuration.
51221.1Stv# Compiler output produced by configure, useful for debugging
51231.1Stv# configure, is in config.log if it exists.
51241.1Stv
51251.1Stvdebug=false
51261.1StvSHELL=\${CONFIG_SHELL-$SHELL}
51271.43Sdbjac_cs_invocation="\$0 \$@"
51281.43Sdbj
51291.1Stv_ACEOF
51301.1Stv
51311.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
51321.1Stv# Be Bourne compatible
51331.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51341.1Stv  emulate sh
51351.1Stv  NULLCMD=:
51361.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51371.1Stv  set -o posix
51381.1Stvfi
51391.1Stv
51401.1Stv# Name of the executable.
51411.43Sdbjas_me=`echo "$0" |sed 's,.*[\\/],,'`
51421.1Stv
51431.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
51441.1Stv  as_expr=expr
51451.1Stvelse
51461.1Stv  as_expr=false
51471.1Stvfi
51481.1Stv
51491.1Stvrm -f conf$$ conf$$.exe conf$$.file
51501.1Stvecho >conf$$.file
51511.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
51521.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
51531.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51541.1Stv  if test -f conf$$.exe; then
51551.1Stv    # Don't use ln at all; we don't have any links
51561.1Stv    as_ln_s='cp -p'
51571.1Stv  else
51581.1Stv    as_ln_s='ln -s'
51591.1Stv  fi
51601.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
51611.1Stv  as_ln_s=ln
51621.1Stvelse
51631.1Stv  as_ln_s='cp -p'
51641.1Stvfi
51651.1Stvrm -f conf$$ conf$$.exe conf$$.file
51661.1Stv
51671.43Sdbjas_executable_p="test -f"
51681.43Sdbj
51691.43Sdbj# Support unset when possible.
51701.43Sdbjif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
51711.43Sdbj  as_unset=unset
51721.39Sfredbelse
51731.43Sdbj  as_unset=false
51741.39Sfredbfi
51751.39Sfredb
51761.43Sdbj# NLS nuisances.
51771.43Sdbj$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
51781.43Sdbj$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
51791.43Sdbj$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
51801.43Sdbj$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
51811.43Sdbj$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
51821.43Sdbj$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
51831.43Sdbj$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
51841.43Sdbj$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
51851.1Stv
51861.1Stv# IFS
51871.1Stv# We need space, tab and new line, in precisely that order.
51881.1Stvas_nl='
51891.1Stv'
51901.1StvIFS=" 	$as_nl"
51911.1Stv
51921.1Stv# CDPATH.
51931.43Sdbj$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
51941.1Stv
51951.1Stvexec 6>&1
51961.1Stv
51971.1Stv_ACEOF
51981.1Stv
51991.1Stv# Files that config.status was made for.
52001.1Stvif test -n "$ac_config_files"; then
52011.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
52021.1Stvfi
52031.1Stv
52041.1Stvif test -n "$ac_config_headers"; then
52051.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
52061.1Stvfi
52071.1Stv
52081.1Stvif test -n "$ac_config_links"; then
52091.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
52101.1Stvfi
52111.1Stv
52121.1Stvif test -n "$ac_config_commands"; then
52131.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
52141.1Stvfi
52151.1Stv
52161.43Sdbjcat >>$CONFIG_STATUS <<\EOF
52171.1Stv
52181.1Stvac_cs_usage="\
52191.1Stv\`$as_me' instantiates files from templates according to the
52201.1Stvcurrent configuration.
52211.1Stv
52221.1StvUsage: $0 [OPTIONS] [FILE]...
52231.1Stv
52241.1Stv  -h, --help       print this help, then exit
52251.1Stv  -V, --version    print version number, then exit
52261.1Stv  -d, --debug      don't remove temporary files
52271.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
52281.1Stv  --file=FILE[:TEMPLATE]
52291.1Stv                   instantiate the configuration file FILE
52301.1Stv  --header=FILE[:TEMPLATE]
52311.1Stv                   instantiate the configuration header FILE
52321.1Stv
52331.1StvConfiguration files:
52341.1Stv$config_files
52351.1Stv
52361.1StvConfiguration headers:
52371.1Stv$config_headers
52381.1Stv
52391.1StvReport bugs to <bug-autoconf@gnu.org>."
52401.43SdbjEOF
52411.1Stv
52421.43Sdbjcat >>$CONFIG_STATUS <<EOF
52431.1Stvac_cs_version="\\
52441.1Stvlibnbcompat config.status noversion
52451.43Sdbjconfigured by $0, generated by GNU Autoconf 2.52,
52461.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
52471.1Stv
52481.1StvCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
52491.1StvFree Software Foundation, Inc.
52501.1StvThis config.status script is free software; the Free Software Foundation
52511.1Stvgives unlimited permission to copy, distribute and modify it."
52521.1Stvsrcdir=$srcdir
52531.43SdbjEOF
52541.1Stv
52551.43Sdbjcat >>$CONFIG_STATUS <<\EOF
52561.1Stv# If no file are specified by the user, then we need to provide default
52571.1Stv# value.  By we need to know if files were specified by the user.
52581.1Stvac_need_defaults=:
52591.1Stvwhile test $# != 0
52601.1Stvdo
52611.1Stv  case $1 in
52621.1Stv  --*=*)
52631.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
52641.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
52651.43Sdbj    shift
52661.43Sdbj    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
52671.43Sdbj    shift
52681.1Stv    ;;
52691.43Sdbj  -*);;
52701.1Stv  *) # This is not an option, so the user has probably given explicit
52711.1Stv     # arguments.
52721.1Stv     ac_need_defaults=false;;
52731.1Stv  esac
52741.1Stv
52751.43Sdbj  case $1 in
52761.1Stv  # Handling of the options.
52771.43SdbjEOF
52781.43Sdbjcat >>$CONFIG_STATUS <<EOF
52791.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
52801.43Sdbj    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
52811.43Sdbj    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
52821.43SdbjEOF
52831.43Sdbjcat >>$CONFIG_STATUS <<\EOF
52841.1Stv  --version | --vers* | -V )
52851.1Stv    echo "$ac_cs_version"; exit 0 ;;
52861.1Stv  --he | --h)
52871.1Stv    # Conflict between --help and --header
52881.43Sdbj    { { echo "$as_me:5288: error: ambiguous option: $1
52891.1StvTry \`$0 --help' for more information." >&5
52901.1Stvecho "$as_me: error: ambiguous option: $1
52911.1StvTry \`$0 --help' for more information." >&2;}
52921.1Stv   { (exit 1); exit 1; }; };;
52931.1Stv  --help | --hel | -h )
52941.1Stv    echo "$ac_cs_usage"; exit 0 ;;
52951.1Stv  --debug | --d* | -d )
52961.1Stv    debug=: ;;
52971.1Stv  --file | --fil | --fi | --f )
52981.43Sdbj    shift
52991.43Sdbj    CONFIG_FILES="$CONFIG_FILES $1"
53001.1Stv    ac_need_defaults=false;;
53011.1Stv  --header | --heade | --head | --hea )
53021.43Sdbj    shift
53031.43Sdbj    CONFIG_HEADERS="$CONFIG_HEADERS $1"
53041.1Stv    ac_need_defaults=false;;
53051.1Stv
53061.1Stv  # This is an error.
53071.43Sdbj  -*) { { echo "$as_me:5307: error: unrecognized option: $1
53081.1StvTry \`$0 --help' for more information." >&5
53091.1Stvecho "$as_me: error: unrecognized option: $1
53101.1StvTry \`$0 --help' for more information." >&2;}
53111.1Stv   { (exit 1); exit 1; }; } ;;
53121.1Stv
53131.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
53141.1Stv
53151.1Stv  esac
53161.1Stv  shift
53171.1Stvdone
53181.1Stv
53191.43Sdbjexec 5>>config.log
53201.43Sdbjcat >&5 << _ACEOF
53211.1Stv
53221.43Sdbj## ----------------------- ##
53231.43Sdbj## Running config.status.  ##
53241.43Sdbj## ----------------------- ##
53251.1Stv
53261.43SdbjThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
53271.43Sdbj  CONFIG_FILES    = $CONFIG_FILES
53281.43Sdbj  CONFIG_HEADERS  = $CONFIG_HEADERS
53291.43Sdbj  CONFIG_LINKS    = $CONFIG_LINKS
53301.43Sdbj  CONFIG_COMMANDS = $CONFIG_COMMANDS
53311.43Sdbj  > $ac_cs_invocation
53321.43Sdbjon `(hostname || uname -n) 2>/dev/null | sed 1q`
53331.1Stv
53341.1Stv_ACEOF
53351.43SdbjEOF
53361.1Stv
53371.43Sdbjcat >>$CONFIG_STATUS <<\EOF
53381.1Stvfor ac_config_target in $ac_config_targets
53391.1Stvdo
53401.1Stv  case "$ac_config_target" in
53411.1Stv  # Handling of arguments.
53421.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
53431.42Slukem  "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
53441.43Sdbj  *) { { echo "$as_me:5344: error: invalid argument: $ac_config_target" >&5
53451.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
53461.1Stv   { (exit 1); exit 1; }; };;
53471.1Stv  esac
53481.1Stvdone
53491.1Stv
53501.1Stv# If the user did not use the arguments to specify the items to instantiate,
53511.1Stv# then the envvar interface is used.  Set only those that are not.
53521.1Stv# We use the long form for the default assignment because of an extremely
53531.1Stv# bizarre bug on SunOS 4.1.3.
53541.1Stvif $ac_need_defaults; then
53551.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
53561.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
53571.1Stvfi
53581.1Stv
53591.1Stv# Create a temporary directory, and hook for its removal unless debugging.
53601.1Stv$debug ||
53611.1Stv{
53621.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
53631.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
53641.1Stv}
53651.1Stv
53661.1Stv# Create a (secure) tmp directory for tmp files.
53671.43Sdbj: ${TMPDIR=/tmp}
53681.1Stv{
53691.43Sdbj  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
53701.1Stv  test -n "$tmp" && test -d "$tmp"
53711.1Stv}  ||
53721.1Stv{
53731.43Sdbj  tmp=$TMPDIR/cs$$-$RANDOM
53741.1Stv  (umask 077 && mkdir $tmp)
53751.1Stv} ||
53761.1Stv{
53771.43Sdbj   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
53781.1Stv   { (exit 1); exit 1; }
53791.1Stv}
53801.1Stv
53811.43SdbjEOF
53821.1Stv
53831.43Sdbjcat >>$CONFIG_STATUS <<EOF
53841.1Stv
53851.1Stv#
53861.1Stv# CONFIG_FILES section.
53871.1Stv#
53881.1Stv
53891.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
53901.1Stv# This happens for instance when ./config.status config.h
53911.1Stvif test -n "\$CONFIG_FILES"; then
53921.1Stv  # Protect against being on the right side of a sed subst in config.status.
53931.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
53941.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
53951.1Stvs,@SHELL@,$SHELL,;t t
53961.1Stvs,@exec_prefix@,$exec_prefix,;t t
53971.1Stvs,@prefix@,$prefix,;t t
53981.1Stvs,@program_transform_name@,$program_transform_name,;t t
53991.1Stvs,@bindir@,$bindir,;t t
54001.1Stvs,@sbindir@,$sbindir,;t t
54011.1Stvs,@libexecdir@,$libexecdir,;t t
54021.1Stvs,@datadir@,$datadir,;t t
54031.1Stvs,@sysconfdir@,$sysconfdir,;t t
54041.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
54051.1Stvs,@localstatedir@,$localstatedir,;t t
54061.1Stvs,@libdir@,$libdir,;t t
54071.1Stvs,@includedir@,$includedir,;t t
54081.1Stvs,@oldincludedir@,$oldincludedir,;t t
54091.1Stvs,@infodir@,$infodir,;t t
54101.1Stvs,@mandir@,$mandir,;t t
54111.43Sdbjs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
54121.43Sdbjs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
54131.43Sdbjs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
54141.43Sdbjs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
54151.43Sdbjs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
54161.1Stvs,@build_alias@,$build_alias,;t t
54171.1Stvs,@host_alias@,$host_alias,;t t
54181.1Stvs,@target_alias@,$target_alias,;t t
54191.1Stvs,@ECHO_C@,$ECHO_C,;t t
54201.1Stvs,@ECHO_N@,$ECHO_N,;t t
54211.1Stvs,@ECHO_T@,$ECHO_T,;t t
54221.43Sdbjs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
54231.43Sdbjs,@DEFS@,$DEFS,;t t
54241.1Stvs,@LIBS@,$LIBS,;t t
54251.20Sbjh21s,@BSHELL@,$BSHELL,;t t
54261.1Stvs,@CC@,$CC,;t t
54271.1Stvs,@CFLAGS@,$CFLAGS,;t t
54281.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
54291.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
54301.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
54311.1Stvs,@EXEEXT@,$EXEEXT,;t t
54321.1Stvs,@OBJEXT@,$OBJEXT,;t t
54331.1Stvs,@CPP@,$CPP,;t t
54341.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
54351.1StvCEOF
54361.1Stv
54371.43SdbjEOF
54381.1Stv
54391.43Sdbj  cat >>$CONFIG_STATUS <<\EOF
54401.1Stv  # Split the substitutions into bite-sized pieces for seds with
54411.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
54421.1Stv  ac_max_sed_lines=48
54431.1Stv  ac_sed_frag=1 # Number of current file.
54441.1Stv  ac_beg=1 # First line for current file.
54451.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
54461.1Stv  ac_more_lines=:
54471.1Stv  ac_sed_cmds=
54481.1Stv  while $ac_more_lines; do
54491.1Stv    if test $ac_beg -gt 1; then
54501.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
54511.1Stv    else
54521.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
54531.1Stv    fi
54541.1Stv    if test ! -s $tmp/subs.frag; then
54551.1Stv      ac_more_lines=false
54561.1Stv    else
54571.1Stv      # The purpose of the label and of the branching condition is to
54581.1Stv      # speed up the sed processing (if there are no `@' at all, there
54591.1Stv      # is no need to browse any of the substitutions).
54601.1Stv      # These are the two extra sed commands mentioned above.
54611.1Stv      (echo ':t
54621.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
54631.1Stv      if test -z "$ac_sed_cmds"; then
54641.1Stv  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
54651.1Stv      else
54661.1Stv  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
54671.1Stv      fi
54681.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
54691.1Stv      ac_beg=$ac_end
54701.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
54711.1Stv    fi
54721.1Stv  done
54731.1Stv  if test -z "$ac_sed_cmds"; then
54741.1Stv    ac_sed_cmds=cat
54751.1Stv  fi
54761.1Stvfi # test -n "$CONFIG_FILES"
54771.1Stv
54781.43SdbjEOF
54791.43Sdbjcat >>$CONFIG_STATUS <<\EOF
54801.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
54811.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
54821.1Stv  case $ac_file in
54831.1Stv  - | *:- | *:-:* ) # input from stdin
54841.1Stv        cat >$tmp/stdin
54851.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54861.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54871.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
54881.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
54891.1Stv  * )   ac_file_in=$ac_file.in ;;
54901.1Stv  esac
54911.1Stv
54921.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
54931.43Sdbj  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
54941.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
54951.1Stv         X"$ac_file" : 'X\(//\)$' \| \
54961.1Stv         X"$ac_file" : 'X\(/\)' \| \
54971.1Stv         .     : '\(.\)' 2>/dev/null ||
54981.1Stvecho X"$ac_file" |
54991.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
55001.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
55011.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
55021.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
55031.1Stv  	  s/.*/./; q'`
55041.43Sdbj  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
55051.43Sdbj    { case "$ac_dir" in
55061.43Sdbj  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
55071.43Sdbj  *)                      as_incr_dir=.;;
55081.1Stvesac
55091.43Sdbjas_dummy="$ac_dir"
55101.43Sdbjfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
55111.43Sdbj  case $as_mkdir_dir in
55121.43Sdbj    # Skip DOS drivespec
55131.43Sdbj    ?:) as_incr_dir=$as_mkdir_dir ;;
55141.43Sdbj    *)
55151.43Sdbj      as_incr_dir=$as_incr_dir/$as_mkdir_dir
55161.43Sdbj      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
55171.43Sdbj    ;;
55181.43Sdbj  esac
55191.43Sdbjdone; }
55201.1Stv
55211.43Sdbj    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
55221.43Sdbj    # A "../" for each directory in $ac_dir_suffix.
55231.43Sdbj    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
55241.43Sdbj  else
55251.43Sdbj    ac_dir_suffix= ac_dots=
55261.43Sdbj  fi
55271.1Stv
55281.43Sdbj  case $srcdir in
55291.43Sdbj  .)  ac_srcdir=.
55301.43Sdbj      if test -z "$ac_dots"; then
55311.43Sdbj         ac_top_srcdir=.
55321.43Sdbj      else
55331.43Sdbj         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
55341.43Sdbj      fi ;;
55351.43Sdbj  [\\/]* | ?:[\\/]* )
55361.43Sdbj      ac_srcdir=$srcdir$ac_dir_suffix;
55371.43Sdbj      ac_top_srcdir=$srcdir ;;
55381.43Sdbj  *) # Relative path.
55391.43Sdbj    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
55401.43Sdbj    ac_top_srcdir=$ac_dots$srcdir ;;
55411.43Sdbj  esac
55421.1Stv
55431.1Stv  if test x"$ac_file" != x-; then
55441.43Sdbj    { echo "$as_me:5544: creating $ac_file" >&5
55451.1Stvecho "$as_me: creating $ac_file" >&6;}
55461.1Stv    rm -f "$ac_file"
55471.1Stv  fi
55481.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
55491.1Stv  # use $as_me), people would be surprised to read:
55501.43Sdbj  #    /* config.h.  Generated automatically by config.status.  */
55511.43Sdbj  configure_input="Generated automatically from `echo $ac_file_in |
55521.43Sdbj                                                 sed 's,.*/,,'` by configure."
55531.1Stv
55541.1Stv  # First look for the input files in the build tree, otherwise in the
55551.1Stv  # src tree.
55561.1Stv  ac_file_inputs=`IFS=:
55571.1Stv    for f in $ac_file_in; do
55581.1Stv      case $f in
55591.1Stv      -) echo $tmp/stdin ;;
55601.1Stv      [\\/$]*)
55611.1Stv         # Absolute (can't be DOS-style, as IFS=:)
55621.43Sdbj         test -f "$f" || { { echo "$as_me:5562: error: cannot find input file: $f" >&5
55631.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
55641.1Stv   { (exit 1); exit 1; }; }
55651.1Stv         echo $f;;
55661.1Stv      *) # Relative
55671.1Stv         if test -f "$f"; then
55681.1Stv           # Build tree
55691.1Stv           echo $f
55701.1Stv         elif test -f "$srcdir/$f"; then
55711.1Stv           # Source tree
55721.1Stv           echo $srcdir/$f
55731.1Stv         else
55741.1Stv           # /dev/null tree
55751.43Sdbj           { { echo "$as_me:5575: error: cannot find input file: $f" >&5
55761.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
55771.1Stv   { (exit 1); exit 1; }; }
55781.1Stv         fi;;
55791.1Stv      esac
55801.1Stv    done` || { (exit 1); exit 1; }
55811.43SdbjEOF
55821.43Sdbjcat >>$CONFIG_STATUS <<EOF
55831.1Stv  sed "$ac_vpsub
55841.1Stv$extrasub
55851.43SdbjEOF
55861.43Sdbjcat >>$CONFIG_STATUS <<\EOF
55871.1Stv:t
55881.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
55891.1Stvs,@configure_input@,$configure_input,;t t
55901.1Stvs,@srcdir@,$ac_srcdir,;t t
55911.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
55921.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
55931.1Stv  rm -f $tmp/stdin
55941.1Stv  if test x"$ac_file" != x-; then
55951.1Stv    mv $tmp/out $ac_file
55961.1Stv  else
55971.1Stv    cat $tmp/out
55981.1Stv    rm -f $tmp/out
55991.1Stv  fi
56001.1Stv
56011.1Stvdone
56021.43SdbjEOF
56031.43Sdbjcat >>$CONFIG_STATUS <<\EOF
56041.1Stv
56051.1Stv#
56061.1Stv# CONFIG_HEADER section.
56071.1Stv#
56081.1Stv
56091.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
56101.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
56111.1Stv#
56121.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
56131.1Stvac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
56141.1Stvac_dB='[ 	].*$,\1#\2'
56151.1Stvac_dC=' '
56161.1Stvac_dD=',;t'
56171.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
56181.1Stvac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
56191.1Stvac_uB='$,\1#\2define\3'
56201.1Stvac_uC=' '
56211.1Stvac_uD=',;t'
56221.1Stv
56231.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
56241.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
56251.1Stv  case $ac_file in
56261.1Stv  - | *:- | *:-:* ) # input from stdin
56271.1Stv        cat >$tmp/stdin
56281.1Stv        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
56291.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
56301.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
56311.1Stv        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
56321.1Stv  * )   ac_file_in=$ac_file.in ;;
56331.1Stv  esac
56341.1Stv
56351.43Sdbj  test x"$ac_file" != x- && { echo "$as_me:5635: creating $ac_file" >&5
56361.1Stvecho "$as_me: creating $ac_file" >&6;}
56371.1Stv
56381.1Stv  # First look for the input files in the build tree, otherwise in the
56391.1Stv  # src tree.
56401.1Stv  ac_file_inputs=`IFS=:
56411.1Stv    for f in $ac_file_in; do
56421.1Stv      case $f in
56431.1Stv      -) echo $tmp/stdin ;;
56441.1Stv      [\\/$]*)
56451.1Stv         # Absolute (can't be DOS-style, as IFS=:)
56461.43Sdbj         test -f "$f" || { { echo "$as_me:5646: error: cannot find input file: $f" >&5
56471.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
56481.1Stv   { (exit 1); exit 1; }; }
56491.1Stv         echo $f;;
56501.1Stv      *) # Relative
56511.1Stv         if test -f "$f"; then
56521.1Stv           # Build tree
56531.1Stv           echo $f
56541.1Stv         elif test -f "$srcdir/$f"; then
56551.1Stv           # Source tree
56561.1Stv           echo $srcdir/$f
56571.1Stv         else
56581.1Stv           # /dev/null tree
56591.43Sdbj           { { echo "$as_me:5659: error: cannot find input file: $f" >&5
56601.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
56611.1Stv   { (exit 1); exit 1; }; }
56621.1Stv         fi;;
56631.1Stv      esac
56641.1Stv    done` || { (exit 1); exit 1; }
56651.1Stv  # Remove the trailing spaces.
56661.1Stv  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
56671.1Stv
56681.43SdbjEOF
56691.1Stv
56701.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
56711.1Stv# `conftest.undefs', that substitutes the proper values into
56721.1Stv# config.h.in to produce config.h.  The first handles `#define'
56731.1Stv# templates, and the second `#undef' templates.
56741.1Stv# And first: Protect against being on the right side of a sed subst in
56751.1Stv# config.status.  Protect against being in an unquoted here document
56761.1Stv# in config.status.
56771.1Stvrm -f conftest.defines conftest.undefs
56781.1Stv# Using a here document instead of a string reduces the quoting nightmare.
56791.1Stv# Putting comments in sed scripts is not portable.
56801.1Stv#
56811.1Stv# `end' is used to avoid that the second main sed command (meant for
56821.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
56831.1Stv# See the Autoconf documentation for `clear'.
56841.43Sdbjcat >confdef2sed.sed <<\EOF
56851.1Stvs/[\\&,]/\\&/g
56861.1Stvs,[\\$`],\\&,g
56871.1Stvt clear
56881.1Stv: clear
56891.43Sdbjs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
56901.1Stvt end
56911.1Stvs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
56921.1Stv: end
56931.43SdbjEOF
56941.1Stv# If some macros were called several times there might be several times
56951.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
56961.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
56971.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
56981.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
56991.1Stvrm -f confdef2sed.sed
57001.1Stv
57011.1Stv# This sed command replaces #undef with comments.  This is necessary, for
57021.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
57031.1Stv# on some systems where configure will not decide to define it.
57041.43Sdbjcat >>conftest.undefs <<\EOF
57051.1Stvs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
57061.43SdbjEOF
57071.1Stv
57081.1Stv# Break up conftest.defines because some shells have a limit on the size
57091.1Stv# of here documents, and old seds have small limits too (100 cmds).
57101.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
57111.43Sdbjecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
57121.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
57131.1Stvecho '  :' >>$CONFIG_STATUS
57141.1Stvrm -f conftest.tail
57151.1Stvwhile grep . conftest.defines >/dev/null
57161.1Stvdo
57171.1Stv  # Write a limited-size here document to $tmp/defines.sed.
57181.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
57191.1Stv  # Speed up: don't consider the non `#define' lines.
57201.1Stv  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
57211.1Stv  # Work around the forget-to-reset-the-flag bug.
57221.1Stv  echo 't clr' >>$CONFIG_STATUS
57231.1Stv  echo ': clr' >>$CONFIG_STATUS
57241.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
57251.1Stv  echo 'CEOF
57261.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
57271.1Stv  rm -f $tmp/in
57281.1Stv  mv $tmp/out $tmp/in
57291.1Stv' >>$CONFIG_STATUS
57301.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
57311.1Stv  rm -f conftest.defines
57321.1Stv  mv conftest.tail conftest.defines
57331.1Stvdone
57341.1Stvrm -f conftest.defines
57351.43Sdbjecho '  fi # egrep' >>$CONFIG_STATUS
57361.1Stvecho >>$CONFIG_STATUS
57371.1Stv
57381.1Stv# Break up conftest.undefs because some shells have a limit on the size
57391.1Stv# of here documents, and old seds have small limits too (100 cmds).
57401.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
57411.1Stvrm -f conftest.tail
57421.1Stvwhile grep . conftest.undefs >/dev/null
57431.1Stvdo
57441.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
57451.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
57461.1Stv  # Speed up: don't consider the non `#undef'
57471.1Stv  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
57481.1Stv  # Work around the forget-to-reset-the-flag bug.
57491.1Stv  echo 't clr' >>$CONFIG_STATUS
57501.1Stv  echo ': clr' >>$CONFIG_STATUS
57511.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
57521.1Stv  echo 'CEOF
57531.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
57541.1Stv  rm -f $tmp/in
57551.1Stv  mv $tmp/out $tmp/in
57561.1Stv' >>$CONFIG_STATUS
57571.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
57581.1Stv  rm -f conftest.undefs
57591.1Stv  mv conftest.tail conftest.undefs
57601.1Stvdone
57611.1Stvrm -f conftest.undefs
57621.1Stv
57631.43Sdbjcat >>$CONFIG_STATUS <<\EOF
57641.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
57651.1Stv  # use $as_me), people would be surprised to read:
57661.43Sdbj  #    /* config.h.  Generated automatically by config.status.  */
57671.1Stv  if test x"$ac_file" = x-; then
57681.43Sdbj    echo "/* Generated automatically by configure.  */" >$tmp/config.h
57691.1Stv  else
57701.43Sdbj    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
57711.1Stv  fi
57721.1Stv  cat $tmp/in >>$tmp/config.h
57731.1Stv  rm -f $tmp/in
57741.1Stv  if test x"$ac_file" != x-; then
57751.43Sdbj    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
57761.43Sdbj      { echo "$as_me:5776: $ac_file is unchanged" >&5
57771.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
57781.1Stv    else
57791.43Sdbj      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
57801.1Stv         X"$ac_file" : 'X\(//\)[^/]' \| \
57811.1Stv         X"$ac_file" : 'X\(//\)$' \| \
57821.1Stv         X"$ac_file" : 'X\(/\)' \| \
57831.1Stv         .     : '\(.\)' 2>/dev/null ||
57841.1Stvecho X"$ac_file" |
57851.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
57861.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
57871.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
57881.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
57891.1Stv  	  s/.*/./; q'`
57901.43Sdbj      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
57911.43Sdbj        { case "$ac_dir" in
57921.43Sdbj  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
57931.43Sdbj  *)                      as_incr_dir=.;;
57941.43Sdbjesac
57951.43Sdbjas_dummy="$ac_dir"
57961.43Sdbjfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
57971.43Sdbj  case $as_mkdir_dir in
57981.43Sdbj    # Skip DOS drivespec
57991.43Sdbj    ?:) as_incr_dir=$as_mkdir_dir ;;
58001.43Sdbj    *)
58011.43Sdbj      as_incr_dir=$as_incr_dir/$as_mkdir_dir
58021.43Sdbj      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
58031.43Sdbj    ;;
58041.43Sdbj  esac
58051.43Sdbjdone; }
58061.1Stv
58071.43Sdbj      fi
58081.1Stv      rm -f $ac_file
58091.1Stv      mv $tmp/config.h $ac_file
58101.1Stv    fi
58111.1Stv  else
58121.1Stv    cat $tmp/config.h
58131.1Stv    rm -f $tmp/config.h
58141.1Stv  fi
58151.1Stvdone
58161.43SdbjEOF
58171.1Stv
58181.43Sdbjcat >>$CONFIG_STATUS <<\EOF
58191.1Stv
58201.1Stv{ (exit 0); exit 0; }
58211.43SdbjEOF
58221.1Stvchmod +x $CONFIG_STATUS
58231.1Stvac_clean_files=$ac_clean_files_save
58241.1Stv
58251.1Stv# configure is writing to config.log, and then calls config.status.
58261.1Stv# config.status does its own redirection, appending to config.log.
58271.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
58281.1Stv# by configure, so config.status won't be able to write to it; its
58291.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
58301.1Stv# effectively closing config.log, so it can be properly (re)opened and
58311.1Stv# appended to by config.status.  When coming back to configure, we
58321.1Stv# need to make the FD available again.
58331.1Stvif test "$no_create" != yes; then
58341.1Stv  ac_cs_success=:
58351.1Stv  exec 5>/dev/null
58361.43Sdbj  $SHELL $CONFIG_STATUS || ac_cs_success=false
58371.1Stv  exec 5>>config.log
58381.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
58391.1Stv  # would make configure fail if this is the last instruction.
58401.1Stv  $ac_cs_success || { (exit 1); exit 1; }
58411.1Stvfi
58421.1Stv
5843