configure revision 1.52
11.1Stv#! /bin/sh
21.1Stv# Guess values for system-dependent variables and create Makefiles.
31.52Sdbj# Generated by Autoconf 2.52 for libnbcompat noversion.
41.1Stv#
51.41Ssalo# Report bugs to <lib-bug-people@NetBSD.org>.
61.1Stv#
71.52Sdbj# Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
81.52Sdbj# 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.52Sdbj# Sed expression to map a string onto a valid variable name.
201.52Sdbjas_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
211.48Sjmc
221.52Sdbj# Sed expression to map a string onto a valid CPP name.
231.52Sdbjas_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
241.48Sjmc
251.52Sdbj# Be Bourne compatible
261.52Sdbjif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
271.52Sdbj  emulate sh
281.52Sdbj  NULLCMD=:
291.52Sdbjelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
301.52Sdbj  set -o posix
311.52Sdbjfi
321.39Sfredb
331.52Sdbj# Name of the executable.
341.52Sdbjas_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.52Sdbjas_executable_p="test -f"
611.52Sdbj
621.52Sdbj# Support unset when possible.
631.52Sdbjif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
641.52Sdbj  as_unset=unset
651.48Sjmcelse
661.52Sdbj  as_unset=false
671.48Sjmcfi
681.48Sjmc
691.52Sdbj# NLS nuisances.
701.52Sdbj$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
711.52Sdbj$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
721.52Sdbj$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
731.52Sdbj$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
741.52Sdbj$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
751.52Sdbj$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
761.52Sdbj$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
771.52Sdbj$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.52Sdbj$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.52SdbjMFLAGS= 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.52Sdbj# Identity of this package.
1851.52SdbjPACKAGE_NAME='libnbcompat'
1861.52SdbjPACKAGE_TARNAME='libnbcompat'
1871.52SdbjPACKAGE_VERSION='noversion'
1881.52SdbjPACKAGE_STRING='libnbcompat noversion'
1891.52SdbjPACKAGE_BUGREPORT='lib-bug-people@NetBSD.org'
1901.52Sdbj
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.52Sdbj  | --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.52Sdbj    *)  { 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.52Sdbj              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.52Sdbj    *)  { 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.52Sdbj# 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.52Sdbj  ac_prog=$0
5461.52Sdbj  ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
5471.52Sdbj  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.52Sdbj    { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
5581.1Stv   { (exit 1); exit 1; }; }
5591.1Stv  else
5601.52Sdbj    { 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.52Sdbj  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.52SdbjEOF
6261.1Stv
6271.52Sdbj  cat <<EOF
6281.1StvInstallation directories:
6291.1Stv  --prefix=PREFIX         install architecture-independent files in PREFIX
6301.52Sdbj                          [$ac_default_prefix]
6311.1Stv  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
6321.52Sdbj                          [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.52SdbjEOF
6551.1Stv
6561.52Sdbj  cat <<\EOF
6571.52SdbjEOF
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.52Sdbj  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.52SdbjEOF
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.52Sdbj  for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
6861.52Sdbj    cd $ac_subdir
6871.52Sdbj    # A "../" for each directory in /$ac_subdir.
6881.52Sdbj    ac_dots=`echo $ac_subdir |
6891.52Sdbj             sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
6901.52Sdbj
6911.52Sdbj    case $srcdir in
6921.52Sdbj    .) # No --srcdir option.  We are building in place.
6931.52Sdbj      ac_sub_srcdir=$srcdir ;;
6941.52Sdbj    [\\/]* | ?:[\\/]* ) # Absolute path.
6951.52Sdbj      ac_sub_srcdir=$srcdir/$ac_subdir ;;
6961.52Sdbj    *) # Relative path.
6971.52Sdbj      ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
6981.52Sdbj    esac
6991.1Stv
7001.1Stv    # Check for guested configure; otherwise get Cygnus style configure.
7011.52Sdbj    if test -f $ac_sub_srcdir/configure.gnu; then
7021.1Stv      echo
7031.52Sdbj      $SHELL $ac_sub_srcdir/configure.gnu  --help=recursive
7041.52Sdbj    elif test -f $ac_sub_srcdir/configure; then
7051.1Stv      echo
7061.52Sdbj      $SHELL $ac_sub_srcdir/configure  --help=recursive
7071.52Sdbj    elif test -f $ac_sub_srcdir/configure.ac ||
7081.52Sdbj           test -f $ac_sub_srcdir/configure.in; then
7091.1Stv      echo
7101.1Stv      $ac_configure --help
7111.1Stv    else
7121.52Sdbj      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.52Sdbj  cat <<\EOF
7211.1Stvlibnbcompat configure noversion
7221.52Sdbjgenerated by GNU Autoconf 2.52
7231.1Stv
7241.52SdbjCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
7251.52SdbjFree 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.52SdbjEOF
7291.1Stv  exit 0
7301.1Stvfi
7311.1Stvexec 5>config.log
7321.52Sdbjcat >&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.52Sdbjgenerated by GNU Autoconf 2.52.  Invocation command line was
7381.1Stv
7391.1Stv  $ $0 $@
7401.1Stv
7411.52SdbjEOF
7421.1Stv{
7431.1Stvcat <<_ASUNAME
7441.52Sdbj## ---------- ##
7451.52Sdbj## Platform.  ##
7461.52Sdbj## ---------- ##
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.52SdbjPATH = $PATH
7661.52Sdbj
7671.48Sjmc_ASUNAME
7681.1Stv} >&5
7691.1Stv
7701.52Sdbjcat >&5 <<EOF
7711.52Sdbj## ------------ ##
7721.52Sdbj## Core tests.  ##
7731.52Sdbj## ------------ ##
7741.1Stv
7751.52SdbjEOF
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.52Sdbjfor ac_arg
7831.1Stvdo
7841.52Sdbj  case $ac_arg in
7851.52Sdbj  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
7861.52Sdbj  | --no-cr | --no-c) ;;
7871.52Sdbj  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
7881.52Sdbj  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
7891.52Sdbj  *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
7901.52Sdbj    ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
7911.52Sdbj    ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
7921.52Sdbj    ac_sep=" " ;;
7931.52Sdbj  *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
7941.52Sdbj     ac_sep=" " ;;
7951.52Sdbj  esac
7961.52Sdbj  # 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.52Sdbj  echo >&5
8051.52Sdbj  echo "## ----------------- ##" >&5
8061.52Sdbj  echo "## Cache variables.  ##" >&5
8071.52Sdbj  echo "## ----------------- ##" >&5
8081.52Sdbj  echo >&5
8091.52Sdbj  # 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.52Sdbj        "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
8161.52Sdbj    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
8171.1Stv      ;;
8181.1Stv    *)
8191.1Stv      sed -n \
8201.52Sdbj        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
8211.1Stv      ;;
8221.1Stv    esac;
8231.52Sdbj} >&5
8241.52Sdbj  sed "/^$/d" confdefs.h >conftest.log
8251.52Sdbj  if test -s conftest.log; then
8261.52Sdbj    echo >&5
8271.52Sdbj    echo "## ------------ ##" >&5
8281.52Sdbj    echo "## confdefs.h.  ##" >&5
8291.52Sdbj    echo "## ------------ ##" >&5
8301.52Sdbj    echo >&5
8311.52Sdbj    cat conftest.log >&5
8321.52Sdbj  fi
8331.52Sdbj  (echo; echo) >&5
8341.52Sdbj  test "$ac_signal" != 0 &&
8351.52Sdbj    echo "$as_me: caught signal $ac_signal" >&5
8361.52Sdbj  echo "$as_me: exit $exit_status" >&5
8371.52Sdbj  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.52Sdbj    { echo "$as_me:861: loading site script $ac_site_file" >&5
8621.1Stvecho "$as_me: loading site script $ac_site_file" >&6;}
8631.52Sdbj    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.52Sdbj    { 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.52Sdbj  { 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.52Sdbj               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.52Sdbj      { 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.52Sdbj      { 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.52Sdbj        { 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.52Sdbj        { echo "$as_me:908:   former value:  $ac_old_val" >&5
9091.1Stvecho "$as_me:   former value:  $ac_old_val" >&2;}
9101.52Sdbj        { echo "$as_me:910:   current value: $ac_new_val" >&5
9111.1Stvecho "$as_me:   current value: $ac_new_val" >&2;}
9121.52Sdbj        ac_cache_corrupted=:
9131.1Stv      fi;;
9141.1Stv  esac
9151.52Sdbj  # Pass precious variables to config.status.  It doesn't matter if
9161.52Sdbj  # 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.52Sdbj      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
9211.52Sdbj      ac_configure_args="$ac_configure_args '$ac_arg'"
9221.52Sdbj      ;;
9231.52Sdbj    *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
9241.52Sdbj       ;;
9251.1Stv    esac
9261.1Stv  fi
9271.1Stvdone
9281.1Stvif $ac_cache_corrupted; then
9291.52Sdbj  { 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.52Sdbj  { { 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.52Sdbjcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
9431.52Sdbj  *c*,-n*) ECHO_N= ECHO_C='
9441.52Sdbj' ECHO_T='	' ;;
9451.52Sdbj  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
9461.52Sdbj  *)      ECHO_N= ECHO_C='\c' ECHO_T= ;;
9471.52Sdbjesac
9481.52Sdbjecho "#! $SHELL" >conftest.sh
9491.52Sdbjecho  "exit 0"   >>conftest.sh
9501.52Sdbjchmod +x conftest.sh
9511.52Sdbjif { (echo "$as_me:951: PATH=\".;.\"; conftest.sh") >&5
9521.52Sdbj  (PATH=".;."; conftest.sh) 2>&5
9531.52Sdbj  ac_status=$?
9541.52Sdbj  echo "$as_me:954: \$? = $ac_status" >&5
9551.52Sdbj  (exit $ac_status); }; then
9561.52Sdbj  ac_path_separator=';'
9571.52Sdbjelse
9581.52Sdbj  ac_path_separator=:
9591.52Sdbjfi
9601.52SdbjPATH_SEPARATOR="$ac_path_separator"
9611.52Sdbjrm -f conftest.sh
9621.1Stv
9631.52Sdbjac_config_headers="$ac_config_headers nbtool_config.h"
9641.1Stv
9651.52Sdbjac_config_files="$ac_config_files defs.mk"
9661.1Stv
9671.45Sjmc# AC_NETBSD
9681.20Sbjh21
9691.1Stvac_ext=c
9701.1Stvac_cpp='$CPP $CPPFLAGS'
9711.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9721.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9731.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
9741.1Stvif test -n "$ac_tool_prefix"; then
9751.1Stv  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
9761.1Stvset dummy ${ac_tool_prefix}gcc; ac_word=$2
9771.52Sdbjecho "$as_me:977: checking for $ac_word" >&5
9781.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9791.1Stvif test "${ac_cv_prog_CC+set}" = set; then
9801.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
9811.1Stvelse
9821.1Stv  if test -n "$CC"; then
9831.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
9841.1Stvelse
9851.52Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
9861.52Sdbjac_dummy="$PATH"
9871.52Sdbjfor ac_dir in $ac_dummy; do
9881.52Sdbj  IFS=$ac_save_IFS
9891.52Sdbj  test -z "$ac_dir" && ac_dir=.
9901.52Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
9911.52Sdbjac_cv_prog_CC="${ac_tool_prefix}gcc"
9921.52Sdbjecho "$as_me:992: found $ac_dir/$ac_word" >&5
9931.52Sdbjbreak
9941.1Stvdone
9951.1Stv
9961.1Stvfi
9971.1Stvfi
9981.1StvCC=$ac_cv_prog_CC
9991.1Stvif test -n "$CC"; then
10001.52Sdbj  echo "$as_me:1000: result: $CC" >&5
10011.1Stvecho "${ECHO_T}$CC" >&6
10021.1Stvelse
10031.52Sdbj  echo "$as_me:1003: result: no" >&5
10041.1Stvecho "${ECHO_T}no" >&6
10051.1Stvfi
10061.1Stv
10071.1Stvfi
10081.1Stvif test -z "$ac_cv_prog_CC"; then
10091.1Stv  ac_ct_CC=$CC
10101.1Stv  # Extract the first word of "gcc", so it can be a program name with args.
10111.1Stvset dummy gcc; ac_word=$2
10121.52Sdbjecho "$as_me:1012: checking for $ac_word" >&5
10131.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10141.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10151.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10161.1Stvelse
10171.1Stv  if test -n "$ac_ct_CC"; then
10181.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10191.1Stvelse
10201.52Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
10211.52Sdbjac_dummy="$PATH"
10221.52Sdbjfor ac_dir in $ac_dummy; do
10231.52Sdbj  IFS=$ac_save_IFS
10241.52Sdbj  test -z "$ac_dir" && ac_dir=.
10251.52Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
10261.52Sdbjac_cv_prog_ac_ct_CC="gcc"
10271.52Sdbjecho "$as_me:1027: found $ac_dir/$ac_word" >&5
10281.52Sdbjbreak
10291.1Stvdone
10301.1Stv
10311.1Stvfi
10321.1Stvfi
10331.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
10341.1Stvif test -n "$ac_ct_CC"; then
10351.52Sdbj  echo "$as_me:1035: result: $ac_ct_CC" >&5
10361.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
10371.1Stvelse
10381.52Sdbj  echo "$as_me:1038: result: no" >&5
10391.1Stvecho "${ECHO_T}no" >&6
10401.1Stvfi
10411.1Stv
10421.1Stv  CC=$ac_ct_CC
10431.1Stvelse
10441.1Stv  CC="$ac_cv_prog_CC"
10451.1Stvfi
10461.1Stv
10471.1Stvif test -z "$CC"; then
10481.1Stv  if test -n "$ac_tool_prefix"; then
10491.1Stv  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
10501.1Stvset dummy ${ac_tool_prefix}cc; ac_word=$2
10511.52Sdbjecho "$as_me:1051: checking for $ac_word" >&5
10521.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10531.1Stvif test "${ac_cv_prog_CC+set}" = set; then
10541.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10551.1Stvelse
10561.1Stv  if test -n "$CC"; then
10571.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
10581.1Stvelse
10591.52Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
10601.52Sdbjac_dummy="$PATH"
10611.52Sdbjfor ac_dir in $ac_dummy; do
10621.52Sdbj  IFS=$ac_save_IFS
10631.52Sdbj  test -z "$ac_dir" && ac_dir=.
10641.52Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
10651.52Sdbjac_cv_prog_CC="${ac_tool_prefix}cc"
10661.52Sdbjecho "$as_me:1066: found $ac_dir/$ac_word" >&5
10671.52Sdbjbreak
10681.1Stvdone
10691.1Stv
10701.1Stvfi
10711.1Stvfi
10721.1StvCC=$ac_cv_prog_CC
10731.1Stvif test -n "$CC"; then
10741.52Sdbj  echo "$as_me:1074: result: $CC" >&5
10751.1Stvecho "${ECHO_T}$CC" >&6
10761.1Stvelse
10771.52Sdbj  echo "$as_me:1077: result: no" >&5
10781.1Stvecho "${ECHO_T}no" >&6
10791.1Stvfi
10801.1Stv
10811.1Stvfi
10821.1Stvif test -z "$ac_cv_prog_CC"; then
10831.1Stv  ac_ct_CC=$CC
10841.1Stv  # Extract the first word of "cc", so it can be a program name with args.
10851.1Stvset dummy cc; ac_word=$2
10861.52Sdbjecho "$as_me:1086: checking for $ac_word" >&5
10871.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10881.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
10891.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
10901.1Stvelse
10911.1Stv  if test -n "$ac_ct_CC"; then
10921.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
10931.1Stvelse
10941.52Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
10951.52Sdbjac_dummy="$PATH"
10961.52Sdbjfor ac_dir in $ac_dummy; do
10971.52Sdbj  IFS=$ac_save_IFS
10981.52Sdbj  test -z "$ac_dir" && ac_dir=.
10991.52Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
11001.52Sdbjac_cv_prog_ac_ct_CC="cc"
11011.52Sdbjecho "$as_me:1101: found $ac_dir/$ac_word" >&5
11021.52Sdbjbreak
11031.1Stvdone
11041.1Stv
11051.1Stvfi
11061.1Stvfi
11071.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
11081.1Stvif test -n "$ac_ct_CC"; then
11091.52Sdbj  echo "$as_me:1109: result: $ac_ct_CC" >&5
11101.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
11111.1Stvelse
11121.52Sdbj  echo "$as_me:1112: result: no" >&5
11131.1Stvecho "${ECHO_T}no" >&6
11141.1Stvfi
11151.1Stv
11161.1Stv  CC=$ac_ct_CC
11171.1Stvelse
11181.1Stv  CC="$ac_cv_prog_CC"
11191.1Stvfi
11201.1Stv
11211.1Stvfi
11221.1Stvif test -z "$CC"; then
11231.1Stv  # Extract the first word of "cc", so it can be a program name with args.
11241.1Stvset dummy cc; ac_word=$2
11251.52Sdbjecho "$as_me:1125: checking for $ac_word" >&5
11261.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11271.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11281.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11291.1Stvelse
11301.1Stv  if test -n "$CC"; then
11311.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11321.1Stvelse
11331.1Stv  ac_prog_rejected=no
11341.52Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
11351.52Sdbjac_dummy="$PATH"
11361.52Sdbjfor ac_dir in $ac_dummy; do
11371.52Sdbj  IFS=$ac_save_IFS
11381.52Sdbj  test -z "$ac_dir" && ac_dir=.
11391.52Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
11401.52Sdbjif test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
11411.52Sdbj  ac_prog_rejected=yes
11421.52Sdbj  continue
11431.52Sdbjfi
11441.52Sdbjac_cv_prog_CC="cc"
11451.52Sdbjecho "$as_me:1145: found $ac_dir/$ac_word" >&5
11461.52Sdbjbreak
11471.1Stvdone
11481.1Stv
11491.1Stvif test $ac_prog_rejected = yes; then
11501.1Stv  # We found a bogon in the path, so make sure we never use it.
11511.1Stv  set dummy $ac_cv_prog_CC
11521.1Stv  shift
11531.1Stv  if test $# != 0; then
11541.1Stv    # We chose a different compiler from the bogus one.
11551.1Stv    # However, it has the same basename, so the bogon will be chosen
11561.1Stv    # first if we set CC to just the basename; use the full file name.
11571.1Stv    shift
11581.52Sdbj    set dummy "$ac_dir/$ac_word" ${1+"$@"}
11591.52Sdbj    shift
11601.52Sdbj    ac_cv_prog_CC="$@"
11611.1Stv  fi
11621.1Stvfi
11631.1Stvfi
11641.1Stvfi
11651.1StvCC=$ac_cv_prog_CC
11661.1Stvif test -n "$CC"; then
11671.52Sdbj  echo "$as_me:1167: result: $CC" >&5
11681.1Stvecho "${ECHO_T}$CC" >&6
11691.1Stvelse
11701.52Sdbj  echo "$as_me:1170: result: no" >&5
11711.1Stvecho "${ECHO_T}no" >&6
11721.1Stvfi
11731.1Stv
11741.1Stvfi
11751.1Stvif test -z "$CC"; then
11761.1Stv  if test -n "$ac_tool_prefix"; then
11771.1Stv  for ac_prog in cl
11781.1Stv  do
11791.1Stv    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11801.1Stvset dummy $ac_tool_prefix$ac_prog; ac_word=$2
11811.52Sdbjecho "$as_me:1181: checking for $ac_word" >&5
11821.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11831.1Stvif test "${ac_cv_prog_CC+set}" = set; then
11841.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
11851.1Stvelse
11861.1Stv  if test -n "$CC"; then
11871.1Stv  ac_cv_prog_CC="$CC" # Let the user override the test.
11881.1Stvelse
11891.52Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
11901.52Sdbjac_dummy="$PATH"
11911.52Sdbjfor ac_dir in $ac_dummy; do
11921.52Sdbj  IFS=$ac_save_IFS
11931.52Sdbj  test -z "$ac_dir" && ac_dir=.
11941.52Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
11951.52Sdbjac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11961.52Sdbjecho "$as_me:1196: found $ac_dir/$ac_word" >&5
11971.52Sdbjbreak
11981.1Stvdone
11991.1Stv
12001.1Stvfi
12011.1Stvfi
12021.1StvCC=$ac_cv_prog_CC
12031.1Stvif test -n "$CC"; then
12041.52Sdbj  echo "$as_me:1204: result: $CC" >&5
12051.1Stvecho "${ECHO_T}$CC" >&6
12061.1Stvelse
12071.52Sdbj  echo "$as_me:1207: result: no" >&5
12081.1Stvecho "${ECHO_T}no" >&6
12091.1Stvfi
12101.1Stv
12111.1Stv    test -n "$CC" && break
12121.1Stv  done
12131.1Stvfi
12141.1Stvif test -z "$CC"; then
12151.1Stv  ac_ct_CC=$CC
12161.1Stv  for ac_prog in cl
12171.1Stvdo
12181.1Stv  # Extract the first word of "$ac_prog", so it can be a program name with args.
12191.1Stvset dummy $ac_prog; ac_word=$2
12201.52Sdbjecho "$as_me:1220: checking for $ac_word" >&5
12211.1Stvecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12221.1Stvif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12231.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
12241.1Stvelse
12251.1Stv  if test -n "$ac_ct_CC"; then
12261.1Stv  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12271.1Stvelse
12281.52Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
12291.52Sdbjac_dummy="$PATH"
12301.52Sdbjfor ac_dir in $ac_dummy; do
12311.52Sdbj  IFS=$ac_save_IFS
12321.52Sdbj  test -z "$ac_dir" && ac_dir=.
12331.52Sdbj  $as_executable_p "$ac_dir/$ac_word" || continue
12341.52Sdbjac_cv_prog_ac_ct_CC="$ac_prog"
12351.52Sdbjecho "$as_me:1235: found $ac_dir/$ac_word" >&5
12361.52Sdbjbreak
12371.1Stvdone
12381.1Stv
12391.1Stvfi
12401.1Stvfi
12411.1Stvac_ct_CC=$ac_cv_prog_ac_ct_CC
12421.1Stvif test -n "$ac_ct_CC"; then
12431.52Sdbj  echo "$as_me:1243: result: $ac_ct_CC" >&5
12441.1Stvecho "${ECHO_T}$ac_ct_CC" >&6
12451.1Stvelse
12461.52Sdbj  echo "$as_me:1246: result: no" >&5
12471.1Stvecho "${ECHO_T}no" >&6
12481.1Stvfi
12491.1Stv
12501.1Stv  test -n "$ac_ct_CC" && break
12511.1Stvdone
12521.1Stv
12531.1Stv  CC=$ac_ct_CC
12541.1Stvfi
12551.1Stv
12561.1Stvfi
12571.1Stv
12581.52Sdbjtest -z "$CC" && { { echo "$as_me:1258: error: no acceptable cc found in \$PATH" >&5
12591.52Sdbjecho "$as_me: error: no acceptable cc found in \$PATH" >&2;}
12601.1Stv   { (exit 1); exit 1; }; }
12611.1Stv
12621.1Stv# Provide some information about the compiler.
12631.52Sdbjecho "$as_me:1263:" \
12641.1Stv     "checking for C compiler version" >&5
12651.1Stvac_compiler=`set X $ac_compile; echo $2`
12661.52Sdbj{ (eval echo "$as_me:1266: \"$ac_compiler --version </dev/null >&5\"") >&5
12671.1Stv  (eval $ac_compiler --version </dev/null >&5) 2>&5
12681.1Stv  ac_status=$?
12691.52Sdbj  echo "$as_me:1269: \$? = $ac_status" >&5
12701.1Stv  (exit $ac_status); }
12711.52Sdbj{ (eval echo "$as_me:1271: \"$ac_compiler -v </dev/null >&5\"") >&5
12721.1Stv  (eval $ac_compiler -v </dev/null >&5) 2>&5
12731.1Stv  ac_status=$?
12741.52Sdbj  echo "$as_me:1274: \$? = $ac_status" >&5
12751.1Stv  (exit $ac_status); }
12761.52Sdbj{ (eval echo "$as_me:1276: \"$ac_compiler -V </dev/null >&5\"") >&5
12771.1Stv  (eval $ac_compiler -V </dev/null >&5) 2>&5
12781.1Stv  ac_status=$?
12791.52Sdbj  echo "$as_me:1279: \$? = $ac_status" >&5
12801.1Stv  (exit $ac_status); }
12811.1Stv
12821.1Stvcat >conftest.$ac_ext <<_ACEOF
12831.52Sdbj#line 1283 "configure"
12841.52Sdbj#include "confdefs.h"
12851.1Stv
12861.1Stvint
12871.1Stvmain ()
12881.1Stv{
12891.1Stv
12901.1Stv  ;
12911.1Stv  return 0;
12921.1Stv}
12931.1Stv_ACEOF
12941.1Stvac_clean_files_save=$ac_clean_files
12951.52Sdbjac_clean_files="$ac_clean_files a.out a.exe"
12961.1Stv# Try to create an executable without -o first, disregard a.out.
12971.1Stv# It will help us diagnose broken compilers, and finding out an intuition
12981.1Stv# of exeext.
12991.52Sdbjecho "$as_me:1299: checking for C compiler default output" >&5
13001.52Sdbjecho $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
13011.1Stvac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13021.52Sdbjif { (eval echo "$as_me:1302: \"$ac_link_default\"") >&5
13031.1Stv  (eval $ac_link_default) 2>&5
13041.1Stv  ac_status=$?
13051.52Sdbj  echo "$as_me:1305: \$? = $ac_status" >&5
13061.1Stv  (exit $ac_status); }; then
13071.1Stv  # Find the output, starting from the most likely.  This scheme is
13081.1Stv# not robust to junk in `.', hence go to wildcards (a.*) only as a last
13091.1Stv# resort.
13101.52Sdbjfor ac_file in `ls a.exe conftest.exe 2>/dev/null;
13111.52Sdbj                ls a.out conftest 2>/dev/null;
13121.52Sdbj                ls a.* conftest.* 2>/dev/null`; do
13131.1Stv  case $ac_file in
13141.52Sdbj    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13151.52Sdbj    a.out ) # We found the default executable, but exeext='' is most
13161.52Sdbj            # certainly right.
13171.52Sdbj            break;;
13181.52Sdbj    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13191.52Sdbj          # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
13201.52Sdbj          export ac_cv_exeext
13211.52Sdbj          break;;
13221.52Sdbj    * ) break;;
13231.1Stv  esac
13241.1Stvdone
13251.1Stvelse
13261.1Stv  echo "$as_me: failed program was:" >&5
13271.52Sdbjcat conftest.$ac_ext >&5
13281.52Sdbj{ { echo "$as_me:1328: error: C compiler cannot create executables" >&5
13291.52Sdbjecho "$as_me: error: C compiler cannot create executables" >&2;}
13301.1Stv   { (exit 77); exit 77; }; }
13311.1Stvfi
13321.1Stv
13331.1Stvac_exeext=$ac_cv_exeext
13341.52Sdbjecho "$as_me:1334: result: $ac_file" >&5
13351.1Stvecho "${ECHO_T}$ac_file" >&6
13361.1Stv
13371.1Stv# Check the compiler produces executables we can run.  If not, either
13381.1Stv# the compiler is broken, or we cross compile.
13391.52Sdbjecho "$as_me:1339: checking whether the C compiler works" >&5
13401.1Stvecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
13411.1Stv# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13421.1Stv# If not cross compiling, check that we can run a simple program.
13431.1Stvif test "$cross_compiling" != yes; then
13441.1Stv  if { ac_try='./$ac_file'
13451.52Sdbj  { (eval echo "$as_me:1345: \"$ac_try\"") >&5
13461.1Stv  (eval $ac_try) 2>&5
13471.1Stv  ac_status=$?
13481.52Sdbj  echo "$as_me:1348: \$? = $ac_status" >&5
13491.1Stv  (exit $ac_status); }; }; then
13501.1Stv    cross_compiling=no
13511.1Stv  else
13521.1Stv    if test "$cross_compiling" = maybe; then
13531.1Stv	cross_compiling=yes
13541.1Stv    else
13551.52Sdbj	{ { echo "$as_me:1355: error: cannot run C compiled programs.
13561.52SdbjIf you meant to cross compile, use \`--host'." >&5
13571.1Stvecho "$as_me: error: cannot run C compiled programs.
13581.52SdbjIf you meant to cross compile, use \`--host'." >&2;}
13591.1Stv   { (exit 1); exit 1; }; }
13601.1Stv    fi
13611.1Stv  fi
13621.1Stvfi
13631.52Sdbjecho "$as_me:1363: result: yes" >&5
13641.1Stvecho "${ECHO_T}yes" >&6
13651.1Stv
13661.52Sdbjrm -f a.out a.exe conftest$ac_cv_exeext
13671.1Stvac_clean_files=$ac_clean_files_save
13681.1Stv# Check the compiler produces executables we can run.  If not, either
13691.1Stv# the compiler is broken, or we cross compile.
13701.52Sdbjecho "$as_me:1370: checking whether we are cross compiling" >&5
13711.1Stvecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
13721.52Sdbjecho "$as_me:1372: result: $cross_compiling" >&5
13731.1Stvecho "${ECHO_T}$cross_compiling" >&6
13741.1Stv
13751.52Sdbjecho "$as_me:1375: checking for executable suffix" >&5
13761.52Sdbjecho $ECHO_N "checking for executable suffix... $ECHO_C" >&6
13771.52Sdbjif { (eval echo "$as_me:1377: \"$ac_link\"") >&5
13781.1Stv  (eval $ac_link) 2>&5
13791.1Stv  ac_status=$?
13801.52Sdbj  echo "$as_me:1380: \$? = $ac_status" >&5
13811.1Stv  (exit $ac_status); }; then
13821.1Stv  # If both `conftest.exe' and `conftest' are `present' (well, observable)
13831.1Stv# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
13841.1Stv# work properly (i.e., refer to `conftest.exe'), while it won't with
13851.1Stv# `rm'.
13861.52Sdbjfor ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
13871.1Stv  case $ac_file in
13881.52Sdbj    *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
13891.1Stv    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13901.52Sdbj          export ac_cv_exeext
13911.52Sdbj          break;;
13921.1Stv    * ) break;;
13931.1Stv  esac
13941.1Stvdone
13951.1Stvelse
13961.52Sdbj  { { echo "$as_me:1396: error: cannot compute EXEEXT: cannot compile and link" >&5
13971.52Sdbjecho "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
13981.1Stv   { (exit 1); exit 1; }; }
13991.1Stvfi
14001.1Stv
14011.1Stvrm -f conftest$ac_cv_exeext
14021.52Sdbjecho "$as_me:1402: result: $ac_cv_exeext" >&5
14031.1Stvecho "${ECHO_T}$ac_cv_exeext" >&6
14041.1Stv
14051.1Stvrm -f conftest.$ac_ext
14061.1StvEXEEXT=$ac_cv_exeext
14071.1Stvac_exeext=$EXEEXT
14081.52Sdbjecho "$as_me:1408: checking for object suffix" >&5
14091.52Sdbjecho $ECHO_N "checking for object suffix... $ECHO_C" >&6
14101.1Stvif test "${ac_cv_objext+set}" = set; then
14111.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14121.1Stvelse
14131.1Stv  cat >conftest.$ac_ext <<_ACEOF
14141.52Sdbj#line 1414 "configure"
14151.52Sdbj#include "confdefs.h"
14161.1Stv
14171.1Stvint
14181.1Stvmain ()
14191.1Stv{
14201.1Stv
14211.1Stv  ;
14221.1Stv  return 0;
14231.1Stv}
14241.1Stv_ACEOF
14251.1Stvrm -f conftest.o conftest.obj
14261.52Sdbjif { (eval echo "$as_me:1426: \"$ac_compile\"") >&5
14271.1Stv  (eval $ac_compile) 2>&5
14281.1Stv  ac_status=$?
14291.52Sdbj  echo "$as_me:1429: \$? = $ac_status" >&5
14301.1Stv  (exit $ac_status); }; then
14311.1Stv  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
14321.1Stv  case $ac_file in
14331.52Sdbj    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
14341.1Stv    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14351.1Stv       break;;
14361.1Stv  esac
14371.1Stvdone
14381.1Stvelse
14391.1Stv  echo "$as_me: failed program was:" >&5
14401.52Sdbjcat conftest.$ac_ext >&5
14411.52Sdbj{ { echo "$as_me:1441: error: cannot compute OBJEXT: cannot compile" >&5
14421.52Sdbjecho "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
14431.1Stv   { (exit 1); exit 1; }; }
14441.1Stvfi
14451.1Stv
14461.1Stvrm -f conftest.$ac_cv_objext conftest.$ac_ext
14471.1Stvfi
14481.52Sdbjecho "$as_me:1448: result: $ac_cv_objext" >&5
14491.1Stvecho "${ECHO_T}$ac_cv_objext" >&6
14501.1StvOBJEXT=$ac_cv_objext
14511.1Stvac_objext=$OBJEXT
14521.52Sdbjecho "$as_me:1452: checking whether we are using the GNU C compiler" >&5
14531.1Stvecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
14541.1Stvif test "${ac_cv_c_compiler_gnu+set}" = set; then
14551.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
14561.1Stvelse
14571.1Stv  cat >conftest.$ac_ext <<_ACEOF
14581.52Sdbj#line 1458 "configure"
14591.52Sdbj#include "confdefs.h"
14601.1Stv
14611.1Stvint
14621.1Stvmain ()
14631.1Stv{
14641.1Stv#ifndef __GNUC__
14651.1Stv       choke me
14661.1Stv#endif
14671.1Stv
14681.1Stv  ;
14691.1Stv  return 0;
14701.1Stv}
14711.1Stv_ACEOF
14721.1Stvrm -f conftest.$ac_objext
14731.52Sdbjif { (eval echo "$as_me:1473: \"$ac_compile\"") >&5
14741.52Sdbj  (eval $ac_compile) 2>&5
14751.1Stv  ac_status=$?
14761.52Sdbj  echo "$as_me:1476: \$? = $ac_status" >&5
14771.1Stv  (exit $ac_status); } &&
14781.52Sdbj         { ac_try='test -s conftest.$ac_objext'
14791.52Sdbj  { (eval echo "$as_me:1479: \"$ac_try\"") >&5
14801.1Stv  (eval $ac_try) 2>&5
14811.1Stv  ac_status=$?
14821.52Sdbj  echo "$as_me:1482: \$? = $ac_status" >&5
14831.1Stv  (exit $ac_status); }; }; then
14841.1Stv  ac_compiler_gnu=yes
14851.1Stvelse
14861.1Stv  echo "$as_me: failed program was:" >&5
14871.52Sdbjcat conftest.$ac_ext >&5
14881.1Stvac_compiler_gnu=no
14891.1Stvfi
14901.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
14911.1Stvac_cv_c_compiler_gnu=$ac_compiler_gnu
14921.1Stv
14931.1Stvfi
14941.52Sdbjecho "$as_me:1494: result: $ac_cv_c_compiler_gnu" >&5
14951.1Stvecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
14961.1StvGCC=`test $ac_compiler_gnu = yes && echo yes`
14971.1Stvac_test_CFLAGS=${CFLAGS+set}
14981.1Stvac_save_CFLAGS=$CFLAGS
14991.1StvCFLAGS="-g"
15001.52Sdbjecho "$as_me:1500: checking whether $CC accepts -g" >&5
15011.1Stvecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
15021.1Stvif test "${ac_cv_prog_cc_g+set}" = set; then
15031.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
15041.1Stvelse
15051.1Stv  cat >conftest.$ac_ext <<_ACEOF
15061.52Sdbj#line 1506 "configure"
15071.52Sdbj#include "confdefs.h"
15081.1Stv
15091.1Stvint
15101.1Stvmain ()
15111.1Stv{
15121.1Stv
15131.1Stv  ;
15141.1Stv  return 0;
15151.1Stv}
15161.1Stv_ACEOF
15171.1Stvrm -f conftest.$ac_objext
15181.52Sdbjif { (eval echo "$as_me:1518: \"$ac_compile\"") >&5
15191.52Sdbj  (eval $ac_compile) 2>&5
15201.1Stv  ac_status=$?
15211.52Sdbj  echo "$as_me:1521: \$? = $ac_status" >&5
15221.52Sdbj  (exit $ac_status); } &&
15231.52Sdbj         { ac_try='test -s conftest.$ac_objext'
15241.52Sdbj  { (eval echo "$as_me:1524: \"$ac_try\"") >&5
15251.1Stv  (eval $ac_try) 2>&5
15261.1Stv  ac_status=$?
15271.52Sdbj  echo "$as_me:1527: \$? = $ac_status" >&5
15281.1Stv  (exit $ac_status); }; }; then
15291.1Stv  ac_cv_prog_cc_g=yes
15301.1Stvelse
15311.1Stv  echo "$as_me: failed program was:" >&5
15321.52Sdbjcat conftest.$ac_ext >&5
15331.1Stvac_cv_prog_cc_g=no
15341.1Stvfi
15351.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
15361.1Stvfi
15371.52Sdbjecho "$as_me:1537: result: $ac_cv_prog_cc_g" >&5
15381.1Stvecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
15391.1Stvif test "$ac_test_CFLAGS" = set; then
15401.1Stv  CFLAGS=$ac_save_CFLAGS
15411.1Stvelif test $ac_cv_prog_cc_g = yes; then
15421.1Stv  if test "$GCC" = yes; then
15431.1Stv    CFLAGS="-g -O2"
15441.1Stv  else
15451.1Stv    CFLAGS="-g"
15461.1Stv  fi
15471.1Stvelse
15481.1Stv  if test "$GCC" = yes; then
15491.1Stv    CFLAGS="-O2"
15501.1Stv  else
15511.1Stv    CFLAGS=
15521.1Stv  fi
15531.1Stvfi
15541.1Stv# Some people use a C++ compiler to compile C.  Since we use `exit',
15551.1Stv# in C++ we need to declare it.  In case someone uses the same compiler
15561.1Stv# for both compiling C and C++ we need to have the C++ compiler decide
15571.1Stv# the declaration of exit, since it's the most demanding environment.
15581.1Stvcat >conftest.$ac_ext <<_ACEOF
15591.1Stv#ifndef __cplusplus
15601.1Stv  choke me
15611.1Stv#endif
15621.1Stv_ACEOF
15631.1Stvrm -f conftest.$ac_objext
15641.52Sdbjif { (eval echo "$as_me:1564: \"$ac_compile\"") >&5
15651.52Sdbj  (eval $ac_compile) 2>&5
15661.1Stv  ac_status=$?
15671.52Sdbj  echo "$as_me:1567: \$? = $ac_status" >&5
15681.1Stv  (exit $ac_status); } &&
15691.52Sdbj         { ac_try='test -s conftest.$ac_objext'
15701.52Sdbj  { (eval echo "$as_me:1570: \"$ac_try\"") >&5
15711.50Sjmc  (eval $ac_try) 2>&5
15721.50Sjmc  ac_status=$?
15731.52Sdbj  echo "$as_me:1573: \$? = $ac_status" >&5
15741.1Stv  (exit $ac_status); }; }; then
15751.1Stv  for ac_declaration in \
15761.52Sdbj   ''\
15771.52Sdbj   '#include <stdlib.h>' \
15781.1Stv   'extern "C" void std::exit (int) throw (); using std::exit;' \
15791.1Stv   'extern "C" void std::exit (int); using std::exit;' \
15801.1Stv   'extern "C" void exit (int) throw ();' \
15811.1Stv   'extern "C" void exit (int);' \
15821.1Stv   'void exit (int);'
15831.1Stvdo
15841.1Stv  cat >conftest.$ac_ext <<_ACEOF
15851.52Sdbj#line 1585 "configure"
15861.52Sdbj#include "confdefs.h"
15871.52Sdbj#include <stdlib.h>
15881.50Sjmc$ac_declaration
15891.1Stvint
15901.1Stvmain ()
15911.1Stv{
15921.1Stvexit (42);
15931.1Stv  ;
15941.1Stv  return 0;
15951.1Stv}
15961.1Stv_ACEOF
15971.1Stvrm -f conftest.$ac_objext
15981.52Sdbjif { (eval echo "$as_me:1598: \"$ac_compile\"") >&5
15991.52Sdbj  (eval $ac_compile) 2>&5
16001.1Stv  ac_status=$?
16011.52Sdbj  echo "$as_me:1601: \$? = $ac_status" >&5
16021.1Stv  (exit $ac_status); } &&
16031.52Sdbj         { ac_try='test -s conftest.$ac_objext'
16041.52Sdbj  { (eval echo "$as_me:1604: \"$ac_try\"") >&5
16051.50Sjmc  (eval $ac_try) 2>&5
16061.50Sjmc  ac_status=$?
16071.52Sdbj  echo "$as_me:1607: \$? = $ac_status" >&5
16081.1Stv  (exit $ac_status); }; }; then
16091.1Stv  :
16101.1Stvelse
16111.1Stv  echo "$as_me: failed program was:" >&5
16121.52Sdbjcat conftest.$ac_ext >&5
16131.1Stvcontinue
16141.1Stvfi
16151.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
16161.1Stv  cat >conftest.$ac_ext <<_ACEOF
16171.52Sdbj#line 1617 "configure"
16181.52Sdbj#include "confdefs.h"
16191.1Stv$ac_declaration
16201.1Stvint
16211.1Stvmain ()
16221.1Stv{
16231.1Stvexit (42);
16241.1Stv  ;
16251.1Stv  return 0;
16261.1Stv}
16271.1Stv_ACEOF
16281.1Stvrm -f conftest.$ac_objext
16291.52Sdbjif { (eval echo "$as_me:1629: \"$ac_compile\"") >&5
16301.52Sdbj  (eval $ac_compile) 2>&5
16311.1Stv  ac_status=$?
16321.52Sdbj  echo "$as_me:1632: \$? = $ac_status" >&5
16331.1Stv  (exit $ac_status); } &&
16341.52Sdbj         { ac_try='test -s conftest.$ac_objext'
16351.52Sdbj  { (eval echo "$as_me:1635: \"$ac_try\"") >&5
16361.1Stv  (eval $ac_try) 2>&5
16371.1Stv  ac_status=$?
16381.52Sdbj  echo "$as_me:1638: \$? = $ac_status" >&5
16391.1Stv  (exit $ac_status); }; }; then
16401.1Stv  break
16411.1Stvelse
16421.1Stv  echo "$as_me: failed program was:" >&5
16431.52Sdbjcat conftest.$ac_ext >&5
16441.1Stvfi
16451.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
16461.1Stvdone
16471.1Stvrm -f conftest*
16481.1Stvif test -n "$ac_declaration"; then
16491.1Stv  echo '#ifdef __cplusplus' >>confdefs.h
16501.1Stv  echo $ac_declaration      >>confdefs.h
16511.1Stv  echo '#endif'             >>confdefs.h
16521.1Stvfi
16531.1Stv
16541.1Stvelse
16551.1Stv  echo "$as_me: failed program was:" >&5
16561.52Sdbjcat conftest.$ac_ext >&5
16571.1Stvfi
16581.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
16591.1Stvac_ext=c
16601.1Stvac_cpp='$CPP $CPPFLAGS'
16611.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16621.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16631.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
16641.1Stv
16651.1Stvac_ext=c
16661.1Stvac_cpp='$CPP $CPPFLAGS'
16671.1Stvac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16681.1Stvac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16691.1Stvac_compiler_gnu=$ac_cv_c_compiler_gnu
16701.52Sdbjecho "$as_me:1670: checking how to run the C preprocessor" >&5
16711.1Stvecho $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
16721.1Stv# On Suns, sometimes $CPP names a directory.
16731.1Stvif test -n "$CPP" && test -d "$CPP"; then
16741.1Stv  CPP=
16751.1Stvfi
16761.1Stvif test -z "$CPP"; then
16771.1Stv  if test "${ac_cv_prog_CPP+set}" = set; then
16781.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
16791.1Stvelse
16801.1Stv      # Double quotes because CPP needs to be expanded
16811.1Stv    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
16821.1Stv    do
16831.1Stv      ac_preproc_ok=false
16841.1Stvfor ac_c_preproc_warn_flag in '' yes
16851.1Stvdo
16861.1Stv  # Use a header file that comes with gcc, so configuring glibc
16871.1Stv  # with a fresh cross-compiler works.
16881.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
16891.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
16901.1Stv  cat >conftest.$ac_ext <<_ACEOF
16911.52Sdbj#line 1691 "configure"
16921.52Sdbj#include "confdefs.h"
16931.52Sdbj#include <assert.h>
16941.52Sdbj                     Syntax error
16951.48Sjmc_ACEOF
16961.52Sdbjif { (eval echo "$as_me:1696: \"$ac_cpp conftest.$ac_ext\"") >&5
16971.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16981.1Stv  ac_status=$?
16991.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
17001.1Stv  rm -f conftest.er1
17011.1Stv  cat conftest.err >&5
17021.52Sdbj  echo "$as_me:1702: \$? = $ac_status" >&5
17031.1Stv  (exit $ac_status); } >/dev/null; then
17041.1Stv  if test -s conftest.err; then
17051.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
17061.1Stv  else
17071.1Stv    ac_cpp_err=
17081.1Stv  fi
17091.1Stvelse
17101.1Stv  ac_cpp_err=yes
17111.1Stvfi
17121.1Stvif test -z "$ac_cpp_err"; then
17131.1Stv  :
17141.1Stvelse
17151.1Stv  echo "$as_me: failed program was:" >&5
17161.52Sdbj  cat conftest.$ac_ext >&5
17171.1Stv  # Broken: fails on valid input.
17181.1Stvcontinue
17191.1Stvfi
17201.1Stvrm -f conftest.err conftest.$ac_ext
17211.1Stv
17221.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
17231.1Stv  # can be detected and how.
17241.1Stv  cat >conftest.$ac_ext <<_ACEOF
17251.52Sdbj#line 1725 "configure"
17261.52Sdbj#include "confdefs.h"
17271.1Stv#include <ac_nonexistent.h>
17281.1Stv_ACEOF
17291.52Sdbjif { (eval echo "$as_me:1729: \"$ac_cpp conftest.$ac_ext\"") >&5
17301.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17311.1Stv  ac_status=$?
17321.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
17331.1Stv  rm -f conftest.er1
17341.1Stv  cat conftest.err >&5
17351.52Sdbj  echo "$as_me:1735: \$? = $ac_status" >&5
17361.1Stv  (exit $ac_status); } >/dev/null; then
17371.1Stv  if test -s conftest.err; then
17381.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
17391.1Stv  else
17401.1Stv    ac_cpp_err=
17411.1Stv  fi
17421.1Stvelse
17431.1Stv  ac_cpp_err=yes
17441.1Stvfi
17451.1Stvif test -z "$ac_cpp_err"; then
17461.1Stv  # Broken: success on invalid input.
17471.1Stvcontinue
17481.1Stvelse
17491.1Stv  echo "$as_me: failed program was:" >&5
17501.52Sdbj  cat conftest.$ac_ext >&5
17511.1Stv  # Passes both tests.
17521.1Stvac_preproc_ok=:
17531.1Stvbreak
17541.1Stvfi
17551.1Stvrm -f conftest.err conftest.$ac_ext
17561.1Stv
17571.1Stvdone
17581.1Stv# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
17591.1Stvrm -f conftest.err conftest.$ac_ext
17601.1Stvif $ac_preproc_ok; then
17611.1Stv  break
17621.1Stvfi
17631.1Stv
17641.1Stv    done
17651.1Stv    ac_cv_prog_CPP=$CPP
17661.1Stv
17671.1Stvfi
17681.1Stv  CPP=$ac_cv_prog_CPP
17691.1Stvelse
17701.1Stv  ac_cv_prog_CPP=$CPP
17711.1Stvfi
17721.52Sdbjecho "$as_me:1772: result: $CPP" >&5
17731.1Stvecho "${ECHO_T}$CPP" >&6
17741.1Stvac_preproc_ok=false
17751.1Stvfor ac_c_preproc_warn_flag in '' yes
17761.1Stvdo
17771.1Stv  # Use a header file that comes with gcc, so configuring glibc
17781.1Stv  # with a fresh cross-compiler works.
17791.1Stv  # On the NeXT, cc -E runs the code through the compiler's parser,
17801.1Stv  # not just through cpp. "Syntax error" is here to catch this case.
17811.1Stv  cat >conftest.$ac_ext <<_ACEOF
17821.52Sdbj#line 1782 "configure"
17831.52Sdbj#include "confdefs.h"
17841.52Sdbj#include <assert.h>
17851.52Sdbj                     Syntax error
17861.48Sjmc_ACEOF
17871.52Sdbjif { (eval echo "$as_me:1787: \"$ac_cpp conftest.$ac_ext\"") >&5
17881.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17891.1Stv  ac_status=$?
17901.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
17911.1Stv  rm -f conftest.er1
17921.1Stv  cat conftest.err >&5
17931.52Sdbj  echo "$as_me:1793: \$? = $ac_status" >&5
17941.1Stv  (exit $ac_status); } >/dev/null; then
17951.1Stv  if test -s conftest.err; then
17961.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
17971.1Stv  else
17981.1Stv    ac_cpp_err=
17991.1Stv  fi
18001.1Stvelse
18011.1Stv  ac_cpp_err=yes
18021.1Stvfi
18031.1Stvif test -z "$ac_cpp_err"; then
18041.1Stv  :
18051.1Stvelse
18061.1Stv  echo "$as_me: failed program was:" >&5
18071.52Sdbj  cat conftest.$ac_ext >&5
18081.1Stv  # Broken: fails on valid input.
18091.1Stvcontinue
18101.1Stvfi
18111.1Stvrm -f conftest.err conftest.$ac_ext
18121.1Stv
18131.1Stv  # OK, works on sane cases.  Now check whether non-existent headers
18141.1Stv  # can be detected and how.
18151.1Stv  cat >conftest.$ac_ext <<_ACEOF
18161.52Sdbj#line 1816 "configure"
18171.52Sdbj#include "confdefs.h"
18181.1Stv#include <ac_nonexistent.h>
18191.1Stv_ACEOF
18201.52Sdbjif { (eval echo "$as_me:1820: \"$ac_cpp conftest.$ac_ext\"") >&5
18211.1Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18221.1Stv  ac_status=$?
18231.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
18241.1Stv  rm -f conftest.er1
18251.1Stv  cat conftest.err >&5
18261.52Sdbj  echo "$as_me:1826: \$? = $ac_status" >&5
18271.1Stv  (exit $ac_status); } >/dev/null; then
18281.1Stv  if test -s conftest.err; then
18291.1Stv    ac_cpp_err=$ac_c_preproc_warn_flag
18301.1Stv  else
18311.1Stv    ac_cpp_err=
18321.1Stv  fi
18331.1Stvelse
18341.45Sjmc  ac_cpp_err=yes
18351.45Sjmcfi
18361.45Sjmcif test -z "$ac_cpp_err"; then
18371.45Sjmc  # Broken: success on invalid input.
18381.45Sjmccontinue
18391.45Sjmcelse
18401.45Sjmc  echo "$as_me: failed program was:" >&5
18411.52Sdbj  cat conftest.$ac_ext >&5
18421.45Sjmc  # Passes both tests.
18431.45Sjmcac_preproc_ok=:
18441.45Sjmcbreak
18451.45Sjmcfi
18461.45Sjmcrm -f conftest.err conftest.$ac_ext
18471.45Sjmc
18481.45Sjmcdone
18491.45Sjmc# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
18501.45Sjmcrm -f conftest.err conftest.$ac_ext
18511.45Sjmcif $ac_preproc_ok; then
18521.45Sjmc  :
18531.45Sjmcelse
18541.52Sdbj  { { echo "$as_me:1854: error: C preprocessor \"$CPP\" fails sanity check" >&5
18551.52Sdbjecho "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
18561.45Sjmc   { (exit 1); exit 1; }; }
18571.45Sjmcfi
18581.45Sjmc
18591.45Sjmcac_ext=c
18601.45Sjmcac_cpp='$CPP $CPPFLAGS'
18611.45Sjmcac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18621.45Sjmcac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631.45Sjmcac_compiler_gnu=$ac_cv_c_compiler_gnu
18641.45Sjmc
18651.52Sdbj            echo "$as_me:1865: checking for NetBSD" >&5
18661.45Sjmcecho $ECHO_N "checking for NetBSD... $ECHO_C" >&6
18671.45Sjmc      cat >conftest.$ac_ext <<_ACEOF
18681.52Sdbj#line 1868 "configure"
18691.52Sdbj#include "confdefs.h"
18701.45Sjmc#ifdef __NetBSD__
18711.45Sjmc	yes
18721.45Sjmc	#endif
18731.45Sjmc
18741.45Sjmc_ACEOF
18751.45Sjmcif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18761.52Sdbj  egrep "yes" >/dev/null 2>&1; then
18771.52Sdbj  echo "$as_me:1877: result: yes" >&5
18781.45Sjmcecho "${ECHO_T}yes" >&6
18791.52Sdbj	cat >>confdefs.h <<\EOF
18801.45Sjmc#define _POSIX_SOURCE 1
18811.52SdbjEOF
18821.52Sdbj cat >>confdefs.h <<\EOF
18831.45Sjmc#define _POSIX_C_SOURCE 200112L
18841.52SdbjEOF
18851.52Sdbj cat >>confdefs.h <<\EOF
18861.45Sjmc#define _XOPEN_SOURCE 600
18871.52SdbjEOF
18881.45Sjmc
18891.45Sjmcelse
18901.52Sdbj  echo "$as_me:1890: result: no" >&5
18911.45Sjmcecho "${ECHO_T}no" >&6
18921.45Sjmcfi
18931.45Sjmcrm -f conftest*
18941.45Sjmc
18951.45Sjmc# Extract the first word of "sh", so it can be a program name with args.
18961.45Sjmcset dummy sh; ac_word=$2
18971.52Sdbjecho "$as_me:1897: checking for $ac_word" >&5
18981.45Sjmcecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18991.45Sjmcif test "${ac_cv_path_BSHELL+set}" = set; then
19001.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
19011.45Sjmcelse
19021.45Sjmc  case $BSHELL in
19031.45Sjmc  [\\/]* | ?:[\\/]*)
19041.45Sjmc  ac_cv_path_BSHELL="$BSHELL" # Let the user override the test with a path.
19051.45Sjmc  ;;
19061.45Sjmc  *)
19071.52Sdbj  ac_save_IFS=$IFS; IFS=$ac_path_separator
19081.52Sdbjac_dummy="$PATH"
19091.52Sdbjfor ac_dir in $ac_dummy; do
19101.52Sdbj  IFS=$ac_save_IFS
19111.52Sdbj  test -z "$ac_dir" && ac_dir=.
19121.52Sdbj  if $as_executable_p "$ac_dir/$ac_word"; then
19131.52Sdbj   ac_cv_path_BSHELL="$ac_dir/$ac_word"
19141.52Sdbj   echo "$as_me:1914: found $ac_dir/$ac_word" >&5
19151.52Sdbj   break
19161.52Sdbjfi
19171.45Sjmcdone
19181.45Sjmc
19191.45Sjmc  ;;
19201.45Sjmcesac
19211.45Sjmcfi
19221.45SjmcBSHELL=$ac_cv_path_BSHELL
19231.45Sjmc
19241.45Sjmcif test -n "$BSHELL"; then
19251.52Sdbj  echo "$as_me:1925: result: $BSHELL" >&5
19261.45Sjmcecho "${ECHO_T}$BSHELL" >&6
19271.45Sjmcelse
19281.52Sdbj  echo "$as_me:1928: result: no" >&5
19291.45Sjmcecho "${ECHO_T}no" >&6
19301.45Sjmcfi
19311.45Sjmc
19321.45Sjmcif test x"$BSHELL" = x; then
19331.52Sdbj	{ { echo "$as_me:1933: error: sh must be somewhere on \$PATH" >&5
19341.45Sjmcecho "$as_me: error: sh must be somewhere on \$PATH" >&2;}
19351.45Sjmc   { (exit 1); exit 1; }; }
19361.45Sjmcfi
19371.52Sdbjcat >>confdefs.h <<EOF
19381.45Sjmc#define PATH_BSHELL "$BSHELL"
19391.52SdbjEOF
19401.45Sjmc
19411.52Sdbjecho "$as_me:1941: checking whether byte ordering is bigendian" >&5
19421.45Sjmcecho $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
19431.45Sjmcif test "${ac_cv_c_bigendian+set}" = set; then
19441.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
19451.45Sjmcelse
19461.52Sdbj  ac_cv_c_bigendian=unknown
19471.52Sdbj# See if sys/param.h defines the BYTE_ORDER macro.
19481.45Sjmccat >conftest.$ac_ext <<_ACEOF
19491.52Sdbj#line 1949 "configure"
19501.52Sdbj#include "confdefs.h"
19511.45Sjmc#include <sys/types.h>
19521.45Sjmc#include <sys/param.h>
19531.45Sjmc
19541.45Sjmcint
19551.45Sjmcmain ()
19561.45Sjmc{
19571.45Sjmc#if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
19581.45Sjmc bogus endian macros
19591.45Sjmc#endif
19601.45Sjmc
19611.45Sjmc  ;
19621.45Sjmc  return 0;
19631.45Sjmc}
19641.45Sjmc_ACEOF
19651.45Sjmcrm -f conftest.$ac_objext
19661.52Sdbjif { (eval echo "$as_me:1966: \"$ac_compile\"") >&5
19671.52Sdbj  (eval $ac_compile) 2>&5
19681.45Sjmc  ac_status=$?
19691.52Sdbj  echo "$as_me:1969: \$? = $ac_status" >&5
19701.45Sjmc  (exit $ac_status); } &&
19711.52Sdbj         { ac_try='test -s conftest.$ac_objext'
19721.52Sdbj  { (eval echo "$as_me:1972: \"$ac_try\"") >&5
19731.45Sjmc  (eval $ac_try) 2>&5
19741.45Sjmc  ac_status=$?
19751.52Sdbj  echo "$as_me:1975: \$? = $ac_status" >&5
19761.45Sjmc  (exit $ac_status); }; }; then
19771.45Sjmc  # It does; now see whether it defined to BIG_ENDIAN or not.
19781.45Sjmccat >conftest.$ac_ext <<_ACEOF
19791.52Sdbj#line 1979 "configure"
19801.52Sdbj#include "confdefs.h"
19811.45Sjmc#include <sys/types.h>
19821.45Sjmc#include <sys/param.h>
19831.45Sjmc
19841.45Sjmcint
19851.45Sjmcmain ()
19861.45Sjmc{
19871.45Sjmc#if BYTE_ORDER != BIG_ENDIAN
19881.45Sjmc not big endian
19891.45Sjmc#endif
19901.45Sjmc
19911.45Sjmc  ;
19921.45Sjmc  return 0;
19931.45Sjmc}
19941.45Sjmc_ACEOF
19951.45Sjmcrm -f conftest.$ac_objext
19961.52Sdbjif { (eval echo "$as_me:1996: \"$ac_compile\"") >&5
19971.52Sdbj  (eval $ac_compile) 2>&5
19981.45Sjmc  ac_status=$?
19991.52Sdbj  echo "$as_me:1999: \$? = $ac_status" >&5
20001.45Sjmc  (exit $ac_status); } &&
20011.52Sdbj         { ac_try='test -s conftest.$ac_objext'
20021.52Sdbj  { (eval echo "$as_me:2002: \"$ac_try\"") >&5
20031.45Sjmc  (eval $ac_try) 2>&5
20041.45Sjmc  ac_status=$?
20051.52Sdbj  echo "$as_me:2005: \$? = $ac_status" >&5
20061.45Sjmc  (exit $ac_status); }; }; then
20071.45Sjmc  ac_cv_c_bigendian=yes
20081.45Sjmcelse
20091.45Sjmc  echo "$as_me: failed program was:" >&5
20101.52Sdbjcat conftest.$ac_ext >&5
20111.45Sjmcac_cv_c_bigendian=no
20121.45Sjmcfi
20131.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
20141.48Sjmcelse
20151.48Sjmc  echo "$as_me: failed program was:" >&5
20161.52Sdbjcat conftest.$ac_ext >&5
20171.52Sdbjfi
20181.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
20191.52Sdbjif test $ac_cv_c_bigendian = unknown; then
20201.48Sjmcif test "$cross_compiling" = yes; then
20211.52Sdbj  { { echo "$as_me:2021: error: cannot run test program while cross compiling" >&5
20221.52Sdbjecho "$as_me: error: cannot run test program while cross compiling" >&2;}
20231.52Sdbj   { (exit 1); exit 1; }; }
20241.45Sjmcelse
20251.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
20261.52Sdbj#line 2026 "configure"
20271.52Sdbj#include "confdefs.h"
20281.45Sjmcint
20291.45Sjmcmain ()
20301.45Sjmc{
20311.45Sjmc  /* Are we little or big endian?  From Harbison&Steele.  */
20321.45Sjmc  union
20331.45Sjmc  {
20341.45Sjmc    long l;
20351.45Sjmc    char c[sizeof (long)];
20361.45Sjmc  } u;
20371.45Sjmc  u.l = 1;
20381.45Sjmc  exit (u.c[sizeof (long) - 1] == 1);
20391.45Sjmc}
20401.45Sjmc_ACEOF
20411.45Sjmcrm -f conftest$ac_exeext
20421.52Sdbjif { (eval echo "$as_me:2042: \"$ac_link\"") >&5
20431.45Sjmc  (eval $ac_link) 2>&5
20441.45Sjmc  ac_status=$?
20451.52Sdbj  echo "$as_me:2045: \$? = $ac_status" >&5
20461.45Sjmc  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20471.52Sdbj  { (eval echo "$as_me:2047: \"$ac_try\"") >&5
20481.45Sjmc  (eval $ac_try) 2>&5
20491.45Sjmc  ac_status=$?
20501.52Sdbj  echo "$as_me:2050: \$? = $ac_status" >&5
20511.45Sjmc  (exit $ac_status); }; }; then
20521.45Sjmc  ac_cv_c_bigendian=no
20531.45Sjmcelse
20541.45Sjmc  echo "$as_me: program exited with status $ac_status" >&5
20551.45Sjmcecho "$as_me: failed program was:" >&5
20561.52Sdbjcat conftest.$ac_ext >&5
20571.45Sjmcac_cv_c_bigendian=yes
20581.45Sjmcfi
20591.52Sdbjrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20601.45Sjmcfi
20611.1Stvfi
20621.1Stvfi
20631.52Sdbjecho "$as_me:2063: result: $ac_cv_c_bigendian" >&5
20641.45Sjmcecho "${ECHO_T}$ac_cv_c_bigendian" >&6
20651.52Sdbjif test $ac_cv_c_bigendian = yes; then
20661.45Sjmc
20671.52Sdbjcat >>confdefs.h <<\EOF
20681.45Sjmc#define WORDS_BIGENDIAN 1
20691.52SdbjEOF
20701.52Sdbj
20711.52Sdbjfi
20721.1Stv
20731.52Sdbjecho "$as_me:2073: checking for ANSI C header files" >&5
20741.6Stvecho $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
20751.6Stvif test "${ac_cv_header_stdc+set}" = set; then
20761.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
20771.6Stvelse
20781.6Stv  cat >conftest.$ac_ext <<_ACEOF
20791.52Sdbj#line 2079 "configure"
20801.52Sdbj#include "confdefs.h"
20811.6Stv#include <stdlib.h>
20821.6Stv#include <stdarg.h>
20831.6Stv#include <string.h>
20841.6Stv#include <float.h>
20851.6Stv
20861.6Stv_ACEOF
20871.52Sdbjif { (eval echo "$as_me:2087: \"$ac_cpp conftest.$ac_ext\"") >&5
20881.52Sdbj  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20891.39Sfredb  ac_status=$?
20901.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
20911.50Sjmc  rm -f conftest.er1
20921.50Sjmc  cat conftest.err >&5
20931.52Sdbj  echo "$as_me:2093: \$? = $ac_status" >&5
20941.52Sdbj  (exit $ac_status); } >/dev/null; then
20951.52Sdbj  if test -s conftest.err; then
20961.52Sdbj    ac_cpp_err=$ac_c_preproc_warn_flag
20971.52Sdbj  else
20981.52Sdbj    ac_cpp_err=
20991.52Sdbj  fi
21001.52Sdbjelse
21011.52Sdbj  ac_cpp_err=yes
21021.52Sdbjfi
21031.52Sdbjif test -z "$ac_cpp_err"; then
21041.6Stv  ac_cv_header_stdc=yes
21051.6Stvelse
21061.6Stv  echo "$as_me: failed program was:" >&5
21071.52Sdbj  cat conftest.$ac_ext >&5
21081.52Sdbj  ac_cv_header_stdc=no
21091.6Stvfi
21101.52Sdbjrm -f conftest.err conftest.$ac_ext
21111.6Stv
21121.6Stvif test $ac_cv_header_stdc = yes; then
21131.6Stv  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
21141.6Stv  cat >conftest.$ac_ext <<_ACEOF
21151.52Sdbj#line 2115 "configure"
21161.52Sdbj#include "confdefs.h"
21171.6Stv#include <string.h>
21181.6Stv
21191.6Stv_ACEOF
21201.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21211.52Sdbj  egrep "memchr" >/dev/null 2>&1; then
21221.6Stv  :
21231.6Stvelse
21241.6Stv  ac_cv_header_stdc=no
21251.6Stvfi
21261.6Stvrm -f conftest*
21271.6Stv
21281.6Stvfi
21291.6Stv
21301.6Stvif test $ac_cv_header_stdc = yes; then
21311.6Stv  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
21321.6Stv  cat >conftest.$ac_ext <<_ACEOF
21331.52Sdbj#line 2133 "configure"
21341.52Sdbj#include "confdefs.h"
21351.6Stv#include <stdlib.h>
21361.6Stv
21371.6Stv_ACEOF
21381.6Stvif (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21391.52Sdbj  egrep "free" >/dev/null 2>&1; then
21401.6Stv  :
21411.6Stvelse
21421.6Stv  ac_cv_header_stdc=no
21431.6Stvfi
21441.6Stvrm -f conftest*
21451.6Stv
21461.6Stvfi
21471.6Stv
21481.6Stvif test $ac_cv_header_stdc = yes; then
21491.6Stv  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
21501.6Stv  if test "$cross_compiling" = yes; then
21511.6Stv  :
21521.6Stvelse
21531.6Stv  cat >conftest.$ac_ext <<_ACEOF
21541.52Sdbj#line 2154 "configure"
21551.52Sdbj#include "confdefs.h"
21561.6Stv#include <ctype.h>
21571.6Stv#if ((' ' & 0x0FF) == 0x020)
21581.6Stv# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
21591.6Stv# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
21601.6Stv#else
21611.52Sdbj# define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
21621.52Sdbj                     || ('j' <= (c) && (c) <= 'r') \
21631.52Sdbj                     || ('s' <= (c) && (c) <= 'z'))
21641.6Stv# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
21651.6Stv#endif
21661.6Stv
21671.6Stv#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
21681.6Stvint
21691.6Stvmain ()
21701.6Stv{
21711.6Stv  int i;
21721.6Stv  for (i = 0; i < 256; i++)
21731.6Stv    if (XOR (islower (i), ISLOWER (i))
21741.52Sdbj        || toupper (i) != TOUPPER (i))
21751.6Stv      exit(2);
21761.6Stv  exit (0);
21771.6Stv}
21781.6Stv_ACEOF
21791.6Stvrm -f conftest$ac_exeext
21801.52Sdbjif { (eval echo "$as_me:2180: \"$ac_link\"") >&5
21811.6Stv  (eval $ac_link) 2>&5
21821.6Stv  ac_status=$?
21831.52Sdbj  echo "$as_me:2183: \$? = $ac_status" >&5
21841.6Stv  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21851.52Sdbj  { (eval echo "$as_me:2185: \"$ac_try\"") >&5
21861.6Stv  (eval $ac_try) 2>&5
21871.6Stv  ac_status=$?
21881.52Sdbj  echo "$as_me:2188: \$? = $ac_status" >&5
21891.6Stv  (exit $ac_status); }; }; then
21901.6Stv  :
21911.6Stvelse
21921.6Stv  echo "$as_me: program exited with status $ac_status" >&5
21931.6Stvecho "$as_me: failed program was:" >&5
21941.52Sdbjcat conftest.$ac_ext >&5
21951.6Stvac_cv_header_stdc=no
21961.6Stvfi
21971.52Sdbjrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21981.6Stvfi
21991.6Stvfi
22001.6Stvfi
22011.52Sdbjecho "$as_me:2201: result: $ac_cv_header_stdc" >&5
22021.6Stvecho "${ECHO_T}$ac_cv_header_stdc" >&6
22031.6Stvif test $ac_cv_header_stdc = yes; then
22041.6Stv
22051.52Sdbjcat >>confdefs.h <<\EOF
22061.6Stv#define STDC_HEADERS 1
22071.52SdbjEOF
22081.6Stv
22091.6Stvfi
22101.6Stv
22111.6Stv# Confirm existence of zlib.  (This is available as a default install
22121.6Stv# option on many OS's; this could be added as a reachover build in the
22131.6Stv# future.)
22141.52Sdbjecho "$as_me:2214: checking for zlib.h" >&5
22151.52Sdbjecho $ECHO_N "checking for zlib.h... $ECHO_C" >&6
22161.52Sdbjif test "${ac_cv_header_zlib_h+set}" = set; then
22171.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
22181.39Sfredbelse
22191.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
22201.52Sdbj#line 2220 "configure"
22211.52Sdbj#include "confdefs.h"
22221.52Sdbj#include <zlib.h>
22231.48Sjmc_ACEOF
22241.52Sdbjif { (eval echo "$as_me:2224: \"$ac_cpp conftest.$ac_ext\"") >&5
22251.52Sdbj  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22261.4Stv  ac_status=$?
22271.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
22281.50Sjmc  rm -f conftest.er1
22291.50Sjmc  cat conftest.err >&5
22301.52Sdbj  echo "$as_me:2230: \$? = $ac_status" >&5
22311.52Sdbj  (exit $ac_status); } >/dev/null; then
22321.52Sdbj  if test -s conftest.err; then
22331.52Sdbj    ac_cpp_err=$ac_c_preproc_warn_flag
22341.52Sdbj  else
22351.52Sdbj    ac_cpp_err=
22361.52Sdbj  fi
22371.52Sdbjelse
22381.52Sdbj  ac_cpp_err=yes
22391.52Sdbjfi
22401.52Sdbjif test -z "$ac_cpp_err"; then
22411.52Sdbj  ac_cv_header_zlib_h=yes
22421.4Stvelse
22431.4Stv  echo "$as_me: failed program was:" >&5
22441.52Sdbj  cat conftest.$ac_ext >&5
22451.52Sdbj  ac_cv_header_zlib_h=no
22461.4Stvfi
22471.52Sdbjrm -f conftest.err conftest.$ac_ext
22481.4Stvfi
22491.52Sdbjecho "$as_me:2249: result: $ac_cv_header_zlib_h" >&5
22501.52Sdbjecho "${ECHO_T}$ac_cv_header_zlib_h" >&6
22511.52Sdbjif test $ac_cv_header_zlib_h = yes; then
22521.52Sdbj  :
22531.52Sdbjelse
22541.52Sdbj  { { echo "$as_me:2254: error: zlib must be installed in a compiler-visible path" >&5
22551.52Sdbjecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
22561.52Sdbj   { (exit 1); exit 1; }; }
22571.6Stvfi
22581.6Stv
22591.52Sdbjecho "$as_me:2259: checking for gzdopen in -lz" >&5
22601.52Sdbjecho $ECHO_N "checking for gzdopen in -lz... $ECHO_C" >&6
22611.52Sdbjif test "${ac_cv_lib_z_gzdopen+set}" = set; then
22621.52Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
22631.52Sdbjelse
22641.52Sdbj  ac_check_lib_save_LIBS=$LIBS
22651.52SdbjLIBS="-lz  $LIBS"
22661.52Sdbjcat >conftest.$ac_ext <<_ACEOF
22671.52Sdbj#line 2267 "configure"
22681.52Sdbj#include "confdefs.h"
22691.48Sjmc
22701.52Sdbj/* Override any gcc2 internal prototype to avoid an error.  */
22711.6Stv#ifdef __cplusplus
22721.6Stvextern "C"
22731.6Stv#endif
22741.6Stv/* We use char because int might match the return type of a gcc2
22751.6Stv   builtin and then its argument prototype would still apply.  */
22761.6Stvchar gzdopen ();
22771.6Stvint
22781.6Stvmain ()
22791.6Stv{
22801.6Stvgzdopen ();
22811.6Stv  ;
22821.6Stv  return 0;
22831.6Stv}
22841.6Stv_ACEOF
22851.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
22861.52Sdbjif { (eval echo "$as_me:2286: \"$ac_link\"") >&5
22871.52Sdbj  (eval $ac_link) 2>&5
22881.6Stv  ac_status=$?
22891.52Sdbj  echo "$as_me:2289: \$? = $ac_status" >&5
22901.6Stv  (exit $ac_status); } &&
22911.52Sdbj         { ac_try='test -s conftest$ac_exeext'
22921.52Sdbj  { (eval echo "$as_me:2292: \"$ac_try\"") >&5
22931.48Sjmc  (eval $ac_try) 2>&5
22941.48Sjmc  ac_status=$?
22951.52Sdbj  echo "$as_me:2295: \$? = $ac_status" >&5
22961.6Stv  (exit $ac_status); }; }; then
22971.6Stv  ac_cv_lib_z_gzdopen=yes
22981.6Stvelse
22991.6Stv  echo "$as_me: failed program was:" >&5
23001.52Sdbjcat conftest.$ac_ext >&5
23011.6Stvac_cv_lib_z_gzdopen=no
23021.6Stvfi
23031.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
23041.6StvLIBS=$ac_check_lib_save_LIBS
23051.6Stvfi
23061.52Sdbjecho "$as_me:2306: result: $ac_cv_lib_z_gzdopen" >&5
23071.6Stvecho "${ECHO_T}$ac_cv_lib_z_gzdopen" >&6
23081.6Stvif test $ac_cv_lib_z_gzdopen = yes; then
23091.52Sdbj  cat >>confdefs.h <<EOF
23101.6Stv#define HAVE_LIBZ 1
23111.52SdbjEOF
23121.4Stv
23131.6Stv  LIBS="-lz $LIBS"
23141.6Stv
23151.4Stvelse
23161.52Sdbj  { { echo "$as_me:2316: error: zlib must be installed in a compiler-visible path" >&5
23171.6Stvecho "$as_me: error: zlib must be installed in a compiler-visible path" >&2;}
23181.4Stv   { (exit 1); exit 1; }; }
23191.4Stvfi
23201.4Stv
23211.6Stv# Make sure certain required headers are available.
23221.6Stv# These are not necessarily required by the code, but they are not
23231.6Stv# currently conditionalized.
23241.4Stv
23251.43Sdbjfor ac_header in sys/ioctl.h sys/mman.h sys/mtio.h sys/param.h \
23261.43Sdbj	sys/socket.h sys/stat.h sys/time.h sys/types.h sys/utsname.h \
23271.43Sdbj	sys/wait.h assert.h ctype.h errno.h fcntl.h grp.h limits.h locale.h \
23281.43Sdbj	netdb.h pwd.h signal.h stdarg.h stdio.h stdlib.h string.h \
23291.43Sdbj	termios.h unistd.h
23301.43Sdbjdo
23311.43Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23321.52Sdbjecho "$as_me:2332: checking for $ac_header" >&5
23331.43Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23341.43Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then
23351.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
23361.43Sdbjelse
23371.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
23381.52Sdbj#line 2338 "configure"
23391.52Sdbj#include "confdefs.h"
23401.48Sjmc#include <$ac_header>
23411.48Sjmc_ACEOF
23421.52Sdbjif { (eval echo "$as_me:2342: \"$ac_cpp conftest.$ac_ext\"") >&5
23431.4Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23441.4Stv  ac_status=$?
23451.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
23461.4Stv  rm -f conftest.er1
23471.4Stv  cat conftest.err >&5
23481.52Sdbj  echo "$as_me:2348: \$? = $ac_status" >&5
23491.4Stv  (exit $ac_status); } >/dev/null; then
23501.4Stv  if test -s conftest.err; then
23511.4Stv    ac_cpp_err=$ac_c_preproc_warn_flag
23521.4Stv  else
23531.4Stv    ac_cpp_err=
23541.4Stv  fi
23551.4Stvelse
23561.6Stv  ac_cpp_err=yes
23571.6Stvfi
23581.6Stvif test -z "$ac_cpp_err"; then
23591.52Sdbj  eval "$as_ac_Header=yes"
23601.6Stvelse
23611.6Stv  echo "$as_me: failed program was:" >&5
23621.52Sdbj  cat conftest.$ac_ext >&5
23631.52Sdbj  eval "$as_ac_Header=no"
23641.6Stvfi
23651.6Stvrm -f conftest.err conftest.$ac_ext
23661.6Stvfi
23671.52Sdbjecho "$as_me:2367: result: `eval echo '${'$as_ac_Header'}'`" >&5
23681.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23691.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
23701.52Sdbj  cat >>confdefs.h <<EOF
23711.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23721.52SdbjEOF
23731.6Stv
23741.6Stvelse
23751.52Sdbj  { { echo "$as_me:2375: error: standard system header file not found" >&5
23761.6Stvecho "$as_me: error: standard system header file not found" >&2;}
23771.6Stv   { (exit 1); exit 1; }; }
23781.6Stvfi
23791.6Stvdone
23801.6Stv
23811.6Stv# Find headers that may not be available.
23821.6Stv
23831.6Stvac_header_dirent=no
23841.6Stvfor ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
23851.6Stv  as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
23861.52Sdbjecho "$as_me:2386: checking for $ac_hdr that defines DIR" >&5
23871.6Stvecho $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
23881.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
23891.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
23901.6Stvelse
23911.6Stv  cat >conftest.$ac_ext <<_ACEOF
23921.52Sdbj#line 2392 "configure"
23931.52Sdbj#include "confdefs.h"
23941.6Stv#include <sys/types.h>
23951.6Stv#include <$ac_hdr>
23961.6Stv
23971.6Stvint
23981.6Stvmain ()
23991.6Stv{
24001.6Stvif ((DIR *) 0)
24011.6Stvreturn 0;
24021.6Stv  ;
24031.6Stv  return 0;
24041.6Stv}
24051.6Stv_ACEOF
24061.6Stvrm -f conftest.$ac_objext
24071.52Sdbjif { (eval echo "$as_me:2407: \"$ac_compile\"") >&5
24081.52Sdbj  (eval $ac_compile) 2>&5
24091.6Stv  ac_status=$?
24101.52Sdbj  echo "$as_me:2410: \$? = $ac_status" >&5
24111.6Stv  (exit $ac_status); } &&
24121.52Sdbj         { ac_try='test -s conftest.$ac_objext'
24131.52Sdbj  { (eval echo "$as_me:2413: \"$ac_try\"") >&5
24141.50Sjmc  (eval $ac_try) 2>&5
24151.50Sjmc  ac_status=$?
24161.52Sdbj  echo "$as_me:2416: \$? = $ac_status" >&5
24171.6Stv  (exit $ac_status); }; }; then
24181.6Stv  eval "$as_ac_Header=yes"
24191.6Stvelse
24201.6Stv  echo "$as_me: failed program was:" >&5
24211.52Sdbjcat conftest.$ac_ext >&5
24221.6Stveval "$as_ac_Header=no"
24231.6Stvfi
24241.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
24251.6Stvfi
24261.52Sdbjecho "$as_me:2426: result: `eval echo '${'$as_ac_Header'}'`" >&5
24271.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
24281.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
24291.52Sdbj  cat >>confdefs.h <<EOF
24301.6Stv#define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
24311.52SdbjEOF
24321.6Stv
24331.6Stvac_header_dirent=$ac_hdr; break
24341.6Stvfi
24351.6Stv
24361.6Stvdone
24371.6Stv# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
24381.6Stvif test $ac_header_dirent = dirent.h; then
24391.52Sdbj  echo "$as_me:2439: checking for opendir in -ldir" >&5
24401.52Sdbjecho $ECHO_N "checking for opendir in -ldir... $ECHO_C" >&6
24411.52Sdbjif test "${ac_cv_lib_dir_opendir+set}" = set; then
24421.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24431.6Stvelse
24441.52Sdbj  ac_check_lib_save_LIBS=$LIBS
24451.52SdbjLIBS="-ldir  $LIBS"
24461.6Stvcat >conftest.$ac_ext <<_ACEOF
24471.52Sdbj#line 2447 "configure"
24481.52Sdbj#include "confdefs.h"
24491.48Sjmc
24501.48Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
24511.48Sjmc#ifdef __cplusplus
24521.48Sjmcextern "C"
24531.48Sjmc#endif
24541.48Sjmc/* We use char because int might match the return type of a gcc2
24551.48Sjmc   builtin and then its argument prototype would still apply.  */
24561.48Sjmcchar opendir ();
24571.48Sjmcint
24581.48Sjmcmain ()
24591.48Sjmc{
24601.48Sjmcopendir ();
24611.48Sjmc  ;
24621.48Sjmc  return 0;
24631.48Sjmc}
24641.48Sjmc_ACEOF
24651.48Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
24661.52Sdbjif { (eval echo "$as_me:2466: \"$ac_link\"") >&5
24671.52Sdbj  (eval $ac_link) 2>&5
24681.6Stv  ac_status=$?
24691.52Sdbj  echo "$as_me:2469: \$? = $ac_status" >&5
24701.6Stv  (exit $ac_status); } &&
24711.52Sdbj         { ac_try='test -s conftest$ac_exeext'
24721.52Sdbj  { (eval echo "$as_me:2472: \"$ac_try\"") >&5
24731.50Sjmc  (eval $ac_try) 2>&5
24741.50Sjmc  ac_status=$?
24751.52Sdbj  echo "$as_me:2475: \$? = $ac_status" >&5
24761.6Stv  (exit $ac_status); }; }; then
24771.52Sdbj  ac_cv_lib_dir_opendir=yes
24781.6Stvelse
24791.6Stv  echo "$as_me: failed program was:" >&5
24801.52Sdbjcat conftest.$ac_ext >&5
24811.52Sdbjac_cv_lib_dir_opendir=no
24821.6Stvfi
24831.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
24841.52SdbjLIBS=$ac_check_lib_save_LIBS
24851.39Sfredbfi
24861.52Sdbjecho "$as_me:2486: result: $ac_cv_lib_dir_opendir" >&5
24871.52Sdbjecho "${ECHO_T}$ac_cv_lib_dir_opendir" >&6
24881.52Sdbjif test $ac_cv_lib_dir_opendir = yes; then
24891.52Sdbj  LIBS="$LIBS -ldir"
24901.6Stvfi
24911.6Stv
24921.6Stvelse
24931.52Sdbj  echo "$as_me:2493: checking for opendir in -lx" >&5
24941.52Sdbjecho $ECHO_N "checking for opendir in -lx... $ECHO_C" >&6
24951.52Sdbjif test "${ac_cv_lib_x_opendir+set}" = set; then
24961.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
24971.6Stvelse
24981.52Sdbj  ac_check_lib_save_LIBS=$LIBS
24991.52SdbjLIBS="-lx  $LIBS"
25001.6Stvcat >conftest.$ac_ext <<_ACEOF
25011.52Sdbj#line 2501 "configure"
25021.52Sdbj#include "confdefs.h"
25031.6Stv
25041.6Stv/* Override any gcc2 internal prototype to avoid an error.  */
25051.6Stv#ifdef __cplusplus
25061.6Stvextern "C"
25071.6Stv#endif
25081.6Stv/* We use char because int might match the return type of a gcc2
25091.6Stv   builtin and then its argument prototype would still apply.  */
25101.6Stvchar opendir ();
25111.6Stvint
25121.6Stvmain ()
25131.6Stv{
25141.6Stvopendir ();
25151.6Stv  ;
25161.6Stv  return 0;
25171.6Stv}
25181.6Stv_ACEOF
25191.6Stvrm -f conftest.$ac_objext conftest$ac_exeext
25201.52Sdbjif { (eval echo "$as_me:2520: \"$ac_link\"") >&5
25211.52Sdbj  (eval $ac_link) 2>&5
25221.48Sjmc  ac_status=$?
25231.52Sdbj  echo "$as_me:2523: \$? = $ac_status" >&5
25241.48Sjmc  (exit $ac_status); } &&
25251.52Sdbj         { ac_try='test -s conftest$ac_exeext'
25261.52Sdbj  { (eval echo "$as_me:2526: \"$ac_try\"") >&5
25271.50Sjmc  (eval $ac_try) 2>&5
25281.50Sjmc  ac_status=$?
25291.52Sdbj  echo "$as_me:2529: \$? = $ac_status" >&5
25301.48Sjmc  (exit $ac_status); }; }; then
25311.52Sdbj  ac_cv_lib_x_opendir=yes
25321.48Sjmcelse
25331.48Sjmc  echo "$as_me: failed program was:" >&5
25341.52Sdbjcat conftest.$ac_ext >&5
25351.52Sdbjac_cv_lib_x_opendir=no
25361.48Sjmcfi
25371.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
25381.52SdbjLIBS=$ac_check_lib_save_LIBS
25391.48Sjmcfi
25401.52Sdbjecho "$as_me:2540: result: $ac_cv_lib_x_opendir" >&5
25411.52Sdbjecho "${ECHO_T}$ac_cv_lib_x_opendir" >&6
25421.52Sdbjif test $ac_cv_lib_x_opendir = yes; then
25431.52Sdbj  LIBS="$LIBS -lx"
25441.6Stvfi
25451.39Sfredb
25461.6Stvfi
25471.6Stv
25481.18Sbjh21for ac_header in sys/sysmacros.h sys/syslimits.h \
25491.45Sjmc	getopt.h features.h malloc.h sys/poll.h stddef.h
25501.6Stvdo
25511.6Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
25521.52Sdbjecho "$as_me:2552: checking for $ac_header" >&5
25531.6Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
25541.6Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
25551.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
25561.48Sjmcelse
25571.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
25581.52Sdbj#line 2558 "configure"
25591.52Sdbj#include "confdefs.h"
25601.6Stv#include <$ac_header>
25611.6Stv_ACEOF
25621.52Sdbjif { (eval echo "$as_me:2562: \"$ac_cpp conftest.$ac_ext\"") >&5
25631.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25641.6Stv  ac_status=$?
25651.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
25661.6Stv  rm -f conftest.er1
25671.6Stv  cat conftest.err >&5
25681.52Sdbj  echo "$as_me:2568: \$? = $ac_status" >&5
25691.6Stv  (exit $ac_status); } >/dev/null; then
25701.6Stv  if test -s conftest.err; then
25711.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
25721.6Stv  else
25731.6Stv    ac_cpp_err=
25741.6Stv  fi
25751.6Stvelse
25761.6Stv  ac_cpp_err=yes
25771.6Stvfi
25781.6Stvif test -z "$ac_cpp_err"; then
25791.52Sdbj  eval "$as_ac_Header=yes"
25801.6Stvelse
25811.6Stv  echo "$as_me: failed program was:" >&5
25821.52Sdbj  cat conftest.$ac_ext >&5
25831.52Sdbj  eval "$as_ac_Header=no"
25841.6Stvfi
25851.6Stvrm -f conftest.err conftest.$ac_ext
25861.6Stvfi
25871.52Sdbjecho "$as_me:2587: result: `eval echo '${'$as_ac_Header'}'`" >&5
25881.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
25891.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
25901.52Sdbj  cat >>confdefs.h <<EOF
25911.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
25921.52SdbjEOF
25931.6Stv
25941.6Stvfi
25951.6Stvdone
25961.6Stv
25971.52Sdbjfor ac_header in sys/bswap.h machine/bswap.h sys/cdefs.h sys/endian.h sys/featuretest.h \
25981.39Sfredb	err.h inttypes.h libgen.h paths.h stdint.h util.h
25991.39Sfredbdo
26001.39Sfredbas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26011.52Sdbjecho "$as_me:2601: checking for $ac_header" >&5
26021.39Sfredbecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26031.39Sfredbif eval "test \"\${$as_ac_Header+set}\" = set"; then
26041.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
26051.48Sjmcelse
26061.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
26071.52Sdbj#line 2607 "configure"
26081.52Sdbj#include "confdefs.h"
26091.48Sjmc#include <$ac_header>
26101.48Sjmc_ACEOF
26111.52Sdbjif { (eval echo "$as_me:2611: \"$ac_cpp conftest.$ac_ext\"") >&5
26121.6Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26131.6Stv  ac_status=$?
26141.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
26151.6Stv  rm -f conftest.er1
26161.6Stv  cat conftest.err >&5
26171.52Sdbj  echo "$as_me:2617: \$? = $ac_status" >&5
26181.6Stv  (exit $ac_status); } >/dev/null; then
26191.6Stv  if test -s conftest.err; then
26201.6Stv    ac_cpp_err=$ac_c_preproc_warn_flag
26211.6Stv  else
26221.6Stv    ac_cpp_err=
26231.6Stv  fi
26241.6Stvelse
26251.6Stv  ac_cpp_err=yes
26261.6Stvfi
26271.6Stvif test -z "$ac_cpp_err"; then
26281.52Sdbj  eval "$as_ac_Header=yes"
26291.6Stvelse
26301.6Stv  echo "$as_me: failed program was:" >&5
26311.52Sdbj  cat conftest.$ac_ext >&5
26321.52Sdbj  eval "$as_ac_Header=no"
26331.6Stvfi
26341.6Stvrm -f conftest.err conftest.$ac_ext
26351.6Stvfi
26361.52Sdbjecho "$as_me:2636: result: `eval echo '${'$as_ac_Header'}'`" >&5
26371.6Stvecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26381.6Stvif test `eval echo '${'$as_ac_Header'}'` = yes; then
26391.52Sdbj  cat >>confdefs.h <<EOF
26401.6Stv#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26411.52SdbjEOF
26421.6Stv
26431.6Stvelse
26441.11Stv  test -f include/$ac_header || touch include/$ac_header
26451.6Stvfi
26461.6Stvdone
26471.6Stv
26481.45Sjmcfor ac_header in rpc/types.h netconfig.h
26491.7Stvdo
26501.7Stvas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26511.52Sdbjecho "$as_me:2651: checking for $ac_header" >&5
26521.7Stvecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26531.7Stvif eval "test \"\${$as_ac_Header+set}\" = set"; then
26541.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
26551.39Sfredbelse
26561.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
26571.52Sdbj#line 2657 "configure"
26581.52Sdbj#include "confdefs.h"
26591.7Stv#include <$ac_header>
26601.7Stv_ACEOF
26611.52Sdbjif { (eval echo "$as_me:2661: \"$ac_cpp conftest.$ac_ext\"") >&5
26621.7Stv  (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26631.7Stv  ac_status=$?
26641.52Sdbj  egrep -v '^ *\+' conftest.er1 >conftest.err
26651.7Stv  rm -f conftest.er1
26661.7Stv  cat conftest.err >&5
26671.52Sdbj  echo "$as_me:2667: \$? = $ac_status" >&5
26681.7Stv  (exit $ac_status); } >/dev/null; then
26691.7Stv  if test -s conftest.err; then
26701.7Stv    ac_cpp_err=$ac_c_preproc_warn_flag
26711.7Stv  else
26721.7Stv    ac_cpp_err=
26731.7Stv  fi
26741.7Stvelse
26751.7Stv  ac_cpp_err=yes
26761.7Stvfi
26771.7Stvif test -z "$ac_cpp_err"; then
26781.52Sdbj  eval "$as_ac_Header=yes"
26791.7Stvelse
26801.7Stv  echo "$as_me: failed program was:" >&5
26811.52Sdbj  cat conftest.$ac_ext >&5
26821.52Sdbj  eval "$as_ac_Header=no"
26831.43Sdbjfi
26841.43Sdbjrm -f conftest.err conftest.$ac_ext
26851.43Sdbjfi
26861.52Sdbjecho "$as_me:2686: result: `eval echo '${'$as_ac_Header'}'`" >&5
26871.43Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26881.43Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
26891.52Sdbj  cat >>confdefs.h <<EOF
26901.43Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
26911.52SdbjEOF
26921.39Sfredb
26931.43Sdbjelse
26941.43Sdbj  echo '#include "nbtool_config.h"' >include/$ac_header.new
26951.43Sdbj	echo '#include "'$srcdir/../../include/$ac_header'"' >>include/$ac_header.new
26961.43Sdbj	if cmp include/$ac_header.new include/$ac_header >/dev/null 2>&1; then
26971.43Sdbj		rm -f include/$ac_header.new
26981.43Sdbj	else
26991.43Sdbj		mv -f include/$ac_header.new include/$ac_header
27001.43Sdbj	fi
27011.7Stvfi
27021.52Sdbjdone
27031.52Sdbj
27041.52Sdbj# Typedefs.
27051.52Sdbj# On IRIX 5.3, sys/types and inttypes.h are conflicting.
27061.52Sdbj
27071.52Sdbjfor ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
27081.52Sdbj                  inttypes.h stdint.h unistd.h
27091.52Sdbjdo
27101.52Sdbjas_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27111.52Sdbjecho "$as_me:2711: checking for $ac_header" >&5
27121.52Sdbjecho $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27131.52Sdbjif eval "test \"\${$as_ac_Header+set}\" = set"; then
27141.52Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
27151.52Sdbjelse
27161.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
27171.52Sdbj#line 2717 "configure"
27181.52Sdbj#include "confdefs.h"
27191.52Sdbj$ac_includes_default
27201.52Sdbj#include <$ac_header>
27211.52Sdbj_ACEOF
27221.52Sdbjrm -f conftest.$ac_objext
27231.52Sdbjif { (eval echo "$as_me:2723: \"$ac_compile\"") >&5
27241.52Sdbj  (eval $ac_compile) 2>&5
27251.52Sdbj  ac_status=$?
27261.52Sdbj  echo "$as_me:2726: \$? = $ac_status" >&5
27271.52Sdbj  (exit $ac_status); } &&
27281.52Sdbj         { ac_try='test -s conftest.$ac_objext'
27291.52Sdbj  { (eval echo "$as_me:2729: \"$ac_try\"") >&5
27301.52Sdbj  (eval $ac_try) 2>&5
27311.52Sdbj  ac_status=$?
27321.52Sdbj  echo "$as_me:2732: \$? = $ac_status" >&5
27331.52Sdbj  (exit $ac_status); }; }; then
27341.52Sdbj  eval "$as_ac_Header=yes"
27351.52Sdbjelse
27361.52Sdbj  echo "$as_me: failed program was:" >&5
27371.52Sdbjcat conftest.$ac_ext >&5
27381.52Sdbjeval "$as_ac_Header=no"
27391.52Sdbjfi
27401.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
27411.52Sdbjfi
27421.52Sdbjecho "$as_me:2742: result: `eval echo '${'$as_ac_Header'}'`" >&5
27431.52Sdbjecho "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27441.52Sdbjif test `eval echo '${'$as_ac_Header'}'` = yes; then
27451.52Sdbj  cat >>confdefs.h <<EOF
27461.52Sdbj#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27471.52SdbjEOF
27481.48Sjmc
27491.52Sdbjfi
27501.43Sdbjdone
27511.43Sdbj
27521.52Sdbjecho "$as_me:2752: checking for size_t" >&5
27531.6Stvecho $ECHO_N "checking for size_t... $ECHO_C" >&6
27541.6Stvif test "${ac_cv_type_size_t+set}" = set; then
27551.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
27561.6Stvelse
27571.6Stv  cat >conftest.$ac_ext <<_ACEOF
27581.52Sdbj#line 2758 "configure"
27591.52Sdbj#include "confdefs.h"
27601.6Stv$ac_includes_default
27611.6Stvint
27621.6Stvmain ()
27631.6Stv{
27641.6Stvif ((size_t *) 0)
27651.6Stv  return 0;
27661.6Stvif (sizeof (size_t))
27671.6Stv  return 0;
27681.6Stv  ;
27691.6Stv  return 0;
27701.6Stv}
27711.6Stv_ACEOF
27721.6Stvrm -f conftest.$ac_objext
27731.52Sdbjif { (eval echo "$as_me:2773: \"$ac_compile\"") >&5
27741.52Sdbj  (eval $ac_compile) 2>&5
27751.6Stv  ac_status=$?
27761.52Sdbj  echo "$as_me:2776: \$? = $ac_status" >&5
27771.6Stv  (exit $ac_status); } &&
27781.52Sdbj         { ac_try='test -s conftest.$ac_objext'
27791.52Sdbj  { (eval echo "$as_me:2779: \"$ac_try\"") >&5
27801.6Stv  (eval $ac_try) 2>&5
27811.6Stv  ac_status=$?
27821.52Sdbj  echo "$as_me:2782: \$? = $ac_status" >&5
27831.6Stv  (exit $ac_status); }; }; then
27841.6Stv  ac_cv_type_size_t=yes
27851.6Stvelse
27861.6Stv  echo "$as_me: failed program was:" >&5
27871.52Sdbjcat conftest.$ac_ext >&5
27881.6Stvac_cv_type_size_t=no
27891.6Stvfi
27901.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
27911.6Stvfi
27921.52Sdbjecho "$as_me:2792: result: $ac_cv_type_size_t" >&5
27931.6Stvecho "${ECHO_T}$ac_cv_type_size_t" >&6
27941.6Stvif test $ac_cv_type_size_t = yes; then
27951.6Stv  :
27961.6Stvelse
27971.6Stv
27981.52Sdbjcat >>confdefs.h <<EOF
27991.6Stv#define size_t unsigned
28001.52SdbjEOF
28011.6Stv
28021.6Stvfi
28031.6Stv
28041.52Sdbjecho "$as_me:2804: checking for id_t" >&5
28051.6Stvecho $ECHO_N "checking for id_t... $ECHO_C" >&6
28061.6Stvif test "${ac_cv_type_id_t+set}" = set; then
28071.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28081.6Stvelse
28091.6Stv  cat >conftest.$ac_ext <<_ACEOF
28101.52Sdbj#line 2810 "configure"
28111.52Sdbj#include "confdefs.h"
28121.6Stv$ac_includes_default
28131.6Stvint
28141.6Stvmain ()
28151.6Stv{
28161.6Stvif ((id_t *) 0)
28171.6Stv  return 0;
28181.6Stvif (sizeof (id_t))
28191.6Stv  return 0;
28201.6Stv  ;
28211.6Stv  return 0;
28221.6Stv}
28231.6Stv_ACEOF
28241.6Stvrm -f conftest.$ac_objext
28251.52Sdbjif { (eval echo "$as_me:2825: \"$ac_compile\"") >&5
28261.52Sdbj  (eval $ac_compile) 2>&5
28271.6Stv  ac_status=$?
28281.52Sdbj  echo "$as_me:2828: \$? = $ac_status" >&5
28291.6Stv  (exit $ac_status); } &&
28301.52Sdbj         { ac_try='test -s conftest.$ac_objext'
28311.52Sdbj  { (eval echo "$as_me:2831: \"$ac_try\"") >&5
28321.50Sjmc  (eval $ac_try) 2>&5
28331.50Sjmc  ac_status=$?
28341.52Sdbj  echo "$as_me:2834: \$? = $ac_status" >&5
28351.6Stv  (exit $ac_status); }; }; then
28361.6Stv  ac_cv_type_id_t=yes
28371.6Stvelse
28381.6Stv  echo "$as_me: failed program was:" >&5
28391.52Sdbjcat conftest.$ac_ext >&5
28401.6Stvac_cv_type_id_t=no
28411.6Stvfi
28421.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
28431.6Stvfi
28441.52Sdbjecho "$as_me:2844: result: $ac_cv_type_id_t" >&5
28451.6Stvecho "${ECHO_T}$ac_cv_type_id_t" >&6
28461.6Stvif test $ac_cv_type_id_t = yes; then
28471.6Stv
28481.52Sdbjcat >>confdefs.h <<EOF
28491.6Stv#define HAVE_ID_T 1
28501.52SdbjEOF
28511.6Stv
28521.6Stvfi
28531.52Sdbjecho "$as_me:2853: checking for long long" >&5
28541.6Stvecho $ECHO_N "checking for long long... $ECHO_C" >&6
28551.6Stvif test "${ac_cv_type_long_long+set}" = set; then
28561.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
28571.6Stvelse
28581.6Stv  cat >conftest.$ac_ext <<_ACEOF
28591.52Sdbj#line 2859 "configure"
28601.52Sdbj#include "confdefs.h"
28611.6Stv$ac_includes_default
28621.6Stvint
28631.6Stvmain ()
28641.6Stv{
28651.6Stvif ((long long *) 0)
28661.6Stv  return 0;
28671.6Stvif (sizeof (long long))
28681.6Stv  return 0;
28691.6Stv  ;
28701.6Stv  return 0;
28711.6Stv}
28721.6Stv_ACEOF
28731.6Stvrm -f conftest.$ac_objext
28741.52Sdbjif { (eval echo "$as_me:2874: \"$ac_compile\"") >&5
28751.52Sdbj  (eval $ac_compile) 2>&5
28761.6Stv  ac_status=$?
28771.52Sdbj  echo "$as_me:2877: \$? = $ac_status" >&5
28781.6Stv  (exit $ac_status); } &&
28791.52Sdbj         { ac_try='test -s conftest.$ac_objext'
28801.52Sdbj  { (eval echo "$as_me:2880: \"$ac_try\"") >&5
28811.48Sjmc  (eval $ac_try) 2>&5
28821.48Sjmc  ac_status=$?
28831.52Sdbj  echo "$as_me:2883: \$? = $ac_status" >&5
28841.6Stv  (exit $ac_status); }; }; then
28851.6Stv  ac_cv_type_long_long=yes
28861.6Stvelse
28871.6Stv  echo "$as_me: failed program was:" >&5
28881.52Sdbjcat conftest.$ac_ext >&5
28891.6Stvac_cv_type_long_long=no
28901.6Stvfi
28911.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
28921.6Stvfi
28931.52Sdbjecho "$as_me:2893: result: $ac_cv_type_long_long" >&5
28941.6Stvecho "${ECHO_T}$ac_cv_type_long_long" >&6
28951.6Stvif test $ac_cv_type_long_long = yes; then
28961.6Stv
28971.52Sdbjcat >>confdefs.h <<EOF
28981.52Sdbj#define HAVE_LONG_LONG 1
28991.52SdbjEOF
29001.6Stv
29011.6Stvfi
29021.52Sdbjecho "$as_me:2902: checking for u_long" >&5
29031.38Sfredbecho $ECHO_N "checking for u_long... $ECHO_C" >&6
29041.38Sfredbif test "${ac_cv_type_u_long+set}" = set; then
29051.38Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
29061.38Sfredbelse
29071.38Sfredb  cat >conftest.$ac_ext <<_ACEOF
29081.52Sdbj#line 2908 "configure"
29091.52Sdbj#include "confdefs.h"
29101.38Sfredb$ac_includes_default
29111.38Sfredbint
29121.38Sfredbmain ()
29131.38Sfredb{
29141.38Sfredbif ((u_long *) 0)
29151.38Sfredb  return 0;
29161.38Sfredbif (sizeof (u_long))
29171.38Sfredb  return 0;
29181.38Sfredb  ;
29191.38Sfredb  return 0;
29201.38Sfredb}
29211.38Sfredb_ACEOF
29221.38Sfredbrm -f conftest.$ac_objext
29231.52Sdbjif { (eval echo "$as_me:2923: \"$ac_compile\"") >&5
29241.52Sdbj  (eval $ac_compile) 2>&5
29251.38Sfredb  ac_status=$?
29261.52Sdbj  echo "$as_me:2926: \$? = $ac_status" >&5
29271.38Sfredb  (exit $ac_status); } &&
29281.52Sdbj         { ac_try='test -s conftest.$ac_objext'
29291.52Sdbj  { (eval echo "$as_me:2929: \"$ac_try\"") >&5
29301.38Sfredb  (eval $ac_try) 2>&5
29311.38Sfredb  ac_status=$?
29321.52Sdbj  echo "$as_me:2932: \$? = $ac_status" >&5
29331.38Sfredb  (exit $ac_status); }; }; then
29341.38Sfredb  ac_cv_type_u_long=yes
29351.38Sfredbelse
29361.38Sfredb  echo "$as_me: failed program was:" >&5
29371.52Sdbjcat conftest.$ac_ext >&5
29381.38Sfredbac_cv_type_u_long=no
29391.38Sfredbfi
29401.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
29411.38Sfredbfi
29421.52Sdbjecho "$as_me:2942: result: $ac_cv_type_u_long" >&5
29431.38Sfredbecho "${ECHO_T}$ac_cv_type_u_long" >&6
29441.38Sfredbif test $ac_cv_type_u_long = yes; then
29451.38Sfredb
29461.52Sdbjcat >>confdefs.h <<EOF
29471.38Sfredb#define HAVE_U_LONG 1
29481.52SdbjEOF
29491.39Sfredb
29501.38Sfredbfi
29511.52Sdbjecho "$as_me:2951: checking for u_char" >&5
29521.45Sjmcecho $ECHO_N "checking for u_char... $ECHO_C" >&6
29531.45Sjmcif test "${ac_cv_type_u_char+set}" = set; then
29541.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
29551.45Sjmcelse
29561.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
29571.52Sdbj#line 2957 "configure"
29581.52Sdbj#include "confdefs.h"
29591.45Sjmc$ac_includes_default
29601.45Sjmcint
29611.45Sjmcmain ()
29621.45Sjmc{
29631.45Sjmcif ((u_char *) 0)
29641.45Sjmc  return 0;
29651.45Sjmcif (sizeof (u_char))
29661.45Sjmc  return 0;
29671.45Sjmc  ;
29681.45Sjmc  return 0;
29691.45Sjmc}
29701.45Sjmc_ACEOF
29711.45Sjmcrm -f conftest.$ac_objext
29721.52Sdbjif { (eval echo "$as_me:2972: \"$ac_compile\"") >&5
29731.52Sdbj  (eval $ac_compile) 2>&5
29741.45Sjmc  ac_status=$?
29751.52Sdbj  echo "$as_me:2975: \$? = $ac_status" >&5
29761.45Sjmc  (exit $ac_status); } &&
29771.52Sdbj         { ac_try='test -s conftest.$ac_objext'
29781.52Sdbj  { (eval echo "$as_me:2978: \"$ac_try\"") >&5
29791.48Sjmc  (eval $ac_try) 2>&5
29801.48Sjmc  ac_status=$?
29811.52Sdbj  echo "$as_me:2981: \$? = $ac_status" >&5
29821.45Sjmc  (exit $ac_status); }; }; then
29831.45Sjmc  ac_cv_type_u_char=yes
29841.45Sjmcelse
29851.45Sjmc  echo "$as_me: failed program was:" >&5
29861.52Sdbjcat conftest.$ac_ext >&5
29871.45Sjmcac_cv_type_u_char=no
29881.45Sjmcfi
29891.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
29901.45Sjmcfi
29911.52Sdbjecho "$as_me:2991: result: $ac_cv_type_u_char" >&5
29921.45Sjmcecho "${ECHO_T}$ac_cv_type_u_char" >&6
29931.45Sjmcif test $ac_cv_type_u_char = yes; then
29941.45Sjmc
29951.52Sdbjcat >>confdefs.h <<EOF
29961.45Sjmc#define HAVE_U_CHAR 1
29971.52SdbjEOF
29981.45Sjmc
29991.45Sjmcfi
30001.52Sdbjecho "$as_me:3000: checking for u_short" >&5
30011.45Sjmcecho $ECHO_N "checking for u_short... $ECHO_C" >&6
30021.45Sjmcif test "${ac_cv_type_u_short+set}" = set; then
30031.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
30041.45Sjmcelse
30051.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
30061.52Sdbj#line 3006 "configure"
30071.52Sdbj#include "confdefs.h"
30081.45Sjmc$ac_includes_default
30091.45Sjmcint
30101.45Sjmcmain ()
30111.45Sjmc{
30121.45Sjmcif ((u_short *) 0)
30131.45Sjmc  return 0;
30141.45Sjmcif (sizeof (u_short))
30151.45Sjmc  return 0;
30161.45Sjmc  ;
30171.45Sjmc  return 0;
30181.45Sjmc}
30191.45Sjmc_ACEOF
30201.45Sjmcrm -f conftest.$ac_objext
30211.52Sdbjif { (eval echo "$as_me:3021: \"$ac_compile\"") >&5
30221.52Sdbj  (eval $ac_compile) 2>&5
30231.45Sjmc  ac_status=$?
30241.52Sdbj  echo "$as_me:3024: \$? = $ac_status" >&5
30251.45Sjmc  (exit $ac_status); } &&
30261.52Sdbj         { ac_try='test -s conftest.$ac_objext'
30271.52Sdbj  { (eval echo "$as_me:3027: \"$ac_try\"") >&5
30281.45Sjmc  (eval $ac_try) 2>&5
30291.45Sjmc  ac_status=$?
30301.52Sdbj  echo "$as_me:3030: \$? = $ac_status" >&5
30311.45Sjmc  (exit $ac_status); }; }; then
30321.45Sjmc  ac_cv_type_u_short=yes
30331.45Sjmcelse
30341.45Sjmc  echo "$as_me: failed program was:" >&5
30351.52Sdbjcat conftest.$ac_ext >&5
30361.45Sjmcac_cv_type_u_short=no
30371.45Sjmcfi
30381.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
30391.45Sjmcfi
30401.52Sdbjecho "$as_me:3040: result: $ac_cv_type_u_short" >&5
30411.45Sjmcecho "${ECHO_T}$ac_cv_type_u_short" >&6
30421.45Sjmcif test $ac_cv_type_u_short = yes; then
30431.45Sjmc
30441.52Sdbjcat >>confdefs.h <<EOF
30451.45Sjmc#define HAVE_U_SHORT 1
30461.52SdbjEOF
30471.45Sjmc
30481.45Sjmcfi
30491.52Sdbjecho "$as_me:3049: checking for u_int" >&5
30501.45Sjmcecho $ECHO_N "checking for u_int... $ECHO_C" >&6
30511.45Sjmcif test "${ac_cv_type_u_int+set}" = set; then
30521.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
30531.45Sjmcelse
30541.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
30551.52Sdbj#line 3055 "configure"
30561.52Sdbj#include "confdefs.h"
30571.45Sjmc$ac_includes_default
30581.45Sjmcint
30591.45Sjmcmain ()
30601.45Sjmc{
30611.45Sjmcif ((u_int *) 0)
30621.45Sjmc  return 0;
30631.45Sjmcif (sizeof (u_int))
30641.45Sjmc  return 0;
30651.45Sjmc  ;
30661.45Sjmc  return 0;
30671.45Sjmc}
30681.45Sjmc_ACEOF
30691.45Sjmcrm -f conftest.$ac_objext
30701.52Sdbjif { (eval echo "$as_me:3070: \"$ac_compile\"") >&5
30711.52Sdbj  (eval $ac_compile) 2>&5
30721.45Sjmc  ac_status=$?
30731.52Sdbj  echo "$as_me:3073: \$? = $ac_status" >&5
30741.45Sjmc  (exit $ac_status); } &&
30751.52Sdbj         { ac_try='test -s conftest.$ac_objext'
30761.52Sdbj  { (eval echo "$as_me:3076: \"$ac_try\"") >&5
30771.50Sjmc  (eval $ac_try) 2>&5
30781.50Sjmc  ac_status=$?
30791.52Sdbj  echo "$as_me:3079: \$? = $ac_status" >&5
30801.45Sjmc  (exit $ac_status); }; }; then
30811.45Sjmc  ac_cv_type_u_int=yes
30821.45Sjmcelse
30831.45Sjmc  echo "$as_me: failed program was:" >&5
30841.52Sdbjcat conftest.$ac_ext >&5
30851.45Sjmcac_cv_type_u_int=no
30861.45Sjmcfi
30871.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
30881.45Sjmcfi
30891.52Sdbjecho "$as_me:3089: result: $ac_cv_type_u_int" >&5
30901.45Sjmcecho "${ECHO_T}$ac_cv_type_u_int" >&6
30911.45Sjmcif test $ac_cv_type_u_int = yes; then
30921.45Sjmc
30931.52Sdbjcat >>confdefs.h <<EOF
30941.45Sjmc#define HAVE_U_INT 1
30951.52SdbjEOF
30961.45Sjmc
30971.45Sjmcfi
30981.52Sdbjecho "$as_me:3098: checking for u_quad_t" >&5
30991.7Stvecho $ECHO_N "checking for u_quad_t... $ECHO_C" >&6
31001.7Stvif test "${ac_cv_type_u_quad_t+set}" = set; then
31011.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
31021.7Stvelse
31031.7Stv  cat >conftest.$ac_ext <<_ACEOF
31041.52Sdbj#line 3104 "configure"
31051.52Sdbj#include "confdefs.h"
31061.7Stv$ac_includes_default
31071.7Stvint
31081.7Stvmain ()
31091.7Stv{
31101.7Stvif ((u_quad_t *) 0)
31111.7Stv  return 0;
31121.7Stvif (sizeof (u_quad_t))
31131.7Stv  return 0;
31141.7Stv  ;
31151.7Stv  return 0;
31161.7Stv}
31171.7Stv_ACEOF
31181.7Stvrm -f conftest.$ac_objext
31191.52Sdbjif { (eval echo "$as_me:3119: \"$ac_compile\"") >&5
31201.52Sdbj  (eval $ac_compile) 2>&5
31211.7Stv  ac_status=$?
31221.52Sdbj  echo "$as_me:3122: \$? = $ac_status" >&5
31231.7Stv  (exit $ac_status); } &&
31241.52Sdbj         { ac_try='test -s conftest.$ac_objext'
31251.52Sdbj  { (eval echo "$as_me:3125: \"$ac_try\"") >&5
31261.48Sjmc  (eval $ac_try) 2>&5
31271.48Sjmc  ac_status=$?
31281.52Sdbj  echo "$as_me:3128: \$? = $ac_status" >&5
31291.7Stv  (exit $ac_status); }; }; then
31301.7Stv  ac_cv_type_u_quad_t=yes
31311.7Stvelse
31321.7Stv  echo "$as_me: failed program was:" >&5
31331.52Sdbjcat conftest.$ac_ext >&5
31341.7Stvac_cv_type_u_quad_t=no
31351.7Stvfi
31361.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
31371.7Stvfi
31381.52Sdbjecho "$as_me:3138: result: $ac_cv_type_u_quad_t" >&5
31391.7Stvecho "${ECHO_T}$ac_cv_type_u_quad_t" >&6
31401.7Stvif test $ac_cv_type_u_quad_t = yes; then
31411.7Stv
31421.52Sdbjcat >>confdefs.h <<EOF
31431.7Stv#define HAVE_U_QUAD_T 1
31441.52SdbjEOF
31451.7Stv
31461.7Stvfi
31471.35Sthorpej
31481.52Sdbjecho "$as_me:3148: checking for socklen_t" >&5
31491.34Sthorpejecho $ECHO_N "checking for socklen_t... $ECHO_C" >&6
31501.34Sthorpejif test "${ac_cv_type_socklen_t+set}" = set; then
31511.34Sthorpej  echo $ECHO_N "(cached) $ECHO_C" >&6
31521.34Sthorpejelse
31531.34Sthorpej  cat >conftest.$ac_ext <<_ACEOF
31541.52Sdbj#line 3154 "configure"
31551.52Sdbj#include "confdefs.h"
31561.35Sthorpej#include <sys/types.h>
31571.35Sthorpej#include <sys/socket.h>
31581.35Sthorpej
31591.34Sthorpejint
31601.34Sthorpejmain ()
31611.34Sthorpej{
31621.34Sthorpejif ((socklen_t *) 0)
31631.34Sthorpej  return 0;
31641.34Sthorpejif (sizeof (socklen_t))
31651.34Sthorpej  return 0;
31661.34Sthorpej  ;
31671.34Sthorpej  return 0;
31681.34Sthorpej}
31691.34Sthorpej_ACEOF
31701.34Sthorpejrm -f conftest.$ac_objext
31711.52Sdbjif { (eval echo "$as_me:3171: \"$ac_compile\"") >&5
31721.52Sdbj  (eval $ac_compile) 2>&5
31731.34Sthorpej  ac_status=$?
31741.52Sdbj  echo "$as_me:3174: \$? = $ac_status" >&5
31751.34Sthorpej  (exit $ac_status); } &&
31761.52Sdbj         { ac_try='test -s conftest.$ac_objext'
31771.52Sdbj  { (eval echo "$as_me:3177: \"$ac_try\"") >&5
31781.34Sthorpej  (eval $ac_try) 2>&5
31791.34Sthorpej  ac_status=$?
31801.52Sdbj  echo "$as_me:3180: \$? = $ac_status" >&5
31811.34Sthorpej  (exit $ac_status); }; }; then
31821.34Sthorpej  ac_cv_type_socklen_t=yes
31831.34Sthorpejelse
31841.34Sthorpej  echo "$as_me: failed program was:" >&5
31851.52Sdbjcat conftest.$ac_ext >&5
31861.34Sthorpejac_cv_type_socklen_t=no
31871.34Sthorpejfi
31881.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
31891.34Sthorpejfi
31901.52Sdbjecho "$as_me:3190: result: $ac_cv_type_socklen_t" >&5
31911.34Sthorpejecho "${ECHO_T}$ac_cv_type_socklen_t" >&6
31921.34Sthorpejif test $ac_cv_type_socklen_t = yes; then
31931.52Sdbj  cat >>confdefs.h <<\EOF
31941.34Sthorpej#define HAVE_SOCKLEN_T 1
31951.52SdbjEOF
31961.34Sthorpej
31971.34Sthorpejfi
31981.34Sthorpej
31991.52Sdbj	echo "$as_me:3199: checking for uint8_t" >&5
32001.9Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
32011.9Stvif test "${ac_cv_type_uint8_t+set}" = set; then
32021.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32031.6Stvelse
32041.6Stv  cat >conftest.$ac_ext <<_ACEOF
32051.52Sdbj#line 3205 "configure"
32061.52Sdbj#include "confdefs.h"
32071.6Stv$ac_includes_default
32081.6Stvint
32091.6Stvmain ()
32101.6Stv{
32111.9Stvif ((uint8_t *) 0)
32121.6Stv  return 0;
32131.9Stvif (sizeof (uint8_t))
32141.6Stv  return 0;
32151.6Stv  ;
32161.6Stv  return 0;
32171.6Stv}
32181.6Stv_ACEOF
32191.6Stvrm -f conftest.$ac_objext
32201.52Sdbjif { (eval echo "$as_me:3220: \"$ac_compile\"") >&5
32211.52Sdbj  (eval $ac_compile) 2>&5
32221.6Stv  ac_status=$?
32231.52Sdbj  echo "$as_me:3223: \$? = $ac_status" >&5
32241.6Stv  (exit $ac_status); } &&
32251.52Sdbj         { ac_try='test -s conftest.$ac_objext'
32261.52Sdbj  { (eval echo "$as_me:3226: \"$ac_try\"") >&5
32271.6Stv  (eval $ac_try) 2>&5
32281.6Stv  ac_status=$?
32291.52Sdbj  echo "$as_me:3229: \$? = $ac_status" >&5
32301.6Stv  (exit $ac_status); }; }; then
32311.9Stv  ac_cv_type_uint8_t=yes
32321.9Stvelse
32331.9Stv  echo "$as_me: failed program was:" >&5
32341.52Sdbjcat conftest.$ac_ext >&5
32351.9Stvac_cv_type_uint8_t=no
32361.9Stvfi
32371.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
32381.9Stvfi
32391.52Sdbjecho "$as_me:3239: result: $ac_cv_type_uint8_t" >&5
32401.9Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
32411.9Stvif test $ac_cv_type_uint8_t = yes; then
32421.9Stv  :
32431.9Stvelse
32441.9Stv
32451.52Sdbj		echo "$as_me:3245: checking for u_int8_t" >&5
32461.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
32471.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
32481.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
32491.9Stvelse
32501.9Stv  cat >conftest.$ac_ext <<_ACEOF
32511.52Sdbj#line 3251 "configure"
32521.52Sdbj#include "confdefs.h"
32531.9Stv$ac_includes_default
32541.9Stvint
32551.9Stvmain ()
32561.9Stv{
32571.9Stvif ((u_int8_t *) 0)
32581.9Stv  return 0;
32591.9Stvif (sizeof (u_int8_t))
32601.9Stv  return 0;
32611.9Stv  ;
32621.9Stv  return 0;
32631.9Stv}
32641.9Stv_ACEOF
32651.9Stvrm -f conftest.$ac_objext
32661.52Sdbjif { (eval echo "$as_me:3266: \"$ac_compile\"") >&5
32671.52Sdbj  (eval $ac_compile) 2>&5
32681.9Stv  ac_status=$?
32691.52Sdbj  echo "$as_me:3269: \$? = $ac_status" >&5
32701.9Stv  (exit $ac_status); } &&
32711.52Sdbj         { ac_try='test -s conftest.$ac_objext'
32721.52Sdbj  { (eval echo "$as_me:3272: \"$ac_try\"") >&5
32731.48Sjmc  (eval $ac_try) 2>&5
32741.48Sjmc  ac_status=$?
32751.52Sdbj  echo "$as_me:3275: \$? = $ac_status" >&5
32761.9Stv  (exit $ac_status); }; }; then
32771.6Stv  ac_cv_type_u_int8_t=yes
32781.6Stvelse
32791.6Stv  echo "$as_me: failed program was:" >&5
32801.52Sdbjcat conftest.$ac_ext >&5
32811.6Stvac_cv_type_u_int8_t=no
32821.6Stvfi
32831.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
32841.6Stvfi
32851.52Sdbjecho "$as_me:3285: result: $ac_cv_type_u_int8_t" >&5
32861.9Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
32871.9Stvif test $ac_cv_type_u_int8_t = yes; then
32881.52Sdbj  cat >>confdefs.h <<\EOF
32891.9Stv#define uint8_t u_int8_t
32901.52SdbjEOF
32911.9Stv
32921.9Stvelse
32931.52Sdbj  { { echo "$as_me:3293: error: cannot find a suitable type for uint8_t" >&5
32941.9Stvecho "$as_me: error: cannot find a suitable type for uint8_t" >&2;}
32951.9Stv   { (exit 1); exit 1; }; }
32961.9Stvfi
32971.9Stv
32981.9Stvfi
32991.9Stv
33001.52Sdbj	echo "$as_me:3300: checking for u_int8_t" >&5
33011.9Stvecho $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
33021.9Stvif test "${ac_cv_type_u_int8_t+set}" = set; then
33031.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33041.9Stvelse
33051.9Stv  cat >conftest.$ac_ext <<_ACEOF
33061.52Sdbj#line 3306 "configure"
33071.52Sdbj#include "confdefs.h"
33081.9Stv$ac_includes_default
33091.9Stvint
33101.9Stvmain ()
33111.9Stv{
33121.9Stvif ((u_int8_t *) 0)
33131.9Stv  return 0;
33141.9Stvif (sizeof (u_int8_t))
33151.9Stv  return 0;
33161.9Stv  ;
33171.9Stv  return 0;
33181.9Stv}
33191.9Stv_ACEOF
33201.9Stvrm -f conftest.$ac_objext
33211.52Sdbjif { (eval echo "$as_me:3321: \"$ac_compile\"") >&5
33221.52Sdbj  (eval $ac_compile) 2>&5
33231.9Stv  ac_status=$?
33241.52Sdbj  echo "$as_me:3324: \$? = $ac_status" >&5
33251.9Stv  (exit $ac_status); } &&
33261.52Sdbj         { ac_try='test -s conftest.$ac_objext'
33271.52Sdbj  { (eval echo "$as_me:3327: \"$ac_try\"") >&5
33281.9Stv  (eval $ac_try) 2>&5
33291.9Stv  ac_status=$?
33301.52Sdbj  echo "$as_me:3330: \$? = $ac_status" >&5
33311.9Stv  (exit $ac_status); }; }; then
33321.9Stv  ac_cv_type_u_int8_t=yes
33331.9Stvelse
33341.9Stv  echo "$as_me: failed program was:" >&5
33351.52Sdbjcat conftest.$ac_ext >&5
33361.9Stvac_cv_type_u_int8_t=no
33371.9Stvfi
33381.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
33391.9Stvfi
33401.52Sdbjecho "$as_me:3340: result: $ac_cv_type_u_int8_t" >&5
33411.6Stvecho "${ECHO_T}$ac_cv_type_u_int8_t" >&6
33421.6Stvif test $ac_cv_type_u_int8_t = yes; then
33431.6Stv  :
33441.6Stvelse
33451.6Stv
33461.52Sdbj		echo "$as_me:3346: checking for uint8_t" >&5
33471.6Stvecho $ECHO_N "checking for uint8_t... $ECHO_C" >&6
33481.6Stvif test "${ac_cv_type_uint8_t+set}" = set; then
33491.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
33501.6Stvelse
33511.6Stv  cat >conftest.$ac_ext <<_ACEOF
33521.52Sdbj#line 3352 "configure"
33531.52Sdbj#include "confdefs.h"
33541.6Stv$ac_includes_default
33551.6Stvint
33561.6Stvmain ()
33571.6Stv{
33581.6Stvif ((uint8_t *) 0)
33591.6Stv  return 0;
33601.6Stvif (sizeof (uint8_t))
33611.6Stv  return 0;
33621.6Stv  ;
33631.6Stv  return 0;
33641.6Stv}
33651.6Stv_ACEOF
33661.6Stvrm -f conftest.$ac_objext
33671.52Sdbjif { (eval echo "$as_me:3367: \"$ac_compile\"") >&5
33681.52Sdbj  (eval $ac_compile) 2>&5
33691.6Stv  ac_status=$?
33701.52Sdbj  echo "$as_me:3370: \$? = $ac_status" >&5
33711.6Stv  (exit $ac_status); } &&
33721.52Sdbj         { ac_try='test -s conftest.$ac_objext'
33731.52Sdbj  { (eval echo "$as_me:3373: \"$ac_try\"") >&5
33741.48Sjmc  (eval $ac_try) 2>&5
33751.48Sjmc  ac_status=$?
33761.52Sdbj  echo "$as_me:3376: \$? = $ac_status" >&5
33771.6Stv  (exit $ac_status); }; }; then
33781.6Stv  ac_cv_type_uint8_t=yes
33791.4Stvelse
33801.4Stv  echo "$as_me: failed program was:" >&5
33811.52Sdbjcat conftest.$ac_ext >&5
33821.6Stvac_cv_type_uint8_t=no
33831.4Stvfi
33841.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
33851.4Stvfi
33861.52Sdbjecho "$as_me:3386: result: $ac_cv_type_uint8_t" >&5
33871.6Stvecho "${ECHO_T}$ac_cv_type_uint8_t" >&6
33881.6Stvif test $ac_cv_type_uint8_t = yes; then
33891.52Sdbj  cat >>confdefs.h <<\EOF
33901.6Stv#define u_int8_t uint8_t
33911.52SdbjEOF
33921.4Stv
33931.6Stvelse
33941.52Sdbj  { { echo "$as_me:3394: error: cannot find a suitable type for u_int8_t" >&5
33951.6Stvecho "$as_me: error: cannot find a suitable type for u_int8_t" >&2;}
33961.6Stv   { (exit 1); exit 1; }; }
33971.6Stvfi
33981.6Stv
33991.4Stvfi
34001.4Stv
34011.52Sdbj	echo "$as_me:3401: checking for uint16_t" >&5
34021.9Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
34031.9Stvif test "${ac_cv_type_uint16_t+set}" = set; then
34041.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34051.9Stvelse
34061.9Stv  cat >conftest.$ac_ext <<_ACEOF
34071.52Sdbj#line 3407 "configure"
34081.52Sdbj#include "confdefs.h"
34091.9Stv$ac_includes_default
34101.9Stvint
34111.9Stvmain ()
34121.9Stv{
34131.9Stvif ((uint16_t *) 0)
34141.9Stv  return 0;
34151.9Stvif (sizeof (uint16_t))
34161.9Stv  return 0;
34171.9Stv  ;
34181.9Stv  return 0;
34191.9Stv}
34201.9Stv_ACEOF
34211.9Stvrm -f conftest.$ac_objext
34221.52Sdbjif { (eval echo "$as_me:3422: \"$ac_compile\"") >&5
34231.52Sdbj  (eval $ac_compile) 2>&5
34241.9Stv  ac_status=$?
34251.52Sdbj  echo "$as_me:3425: \$? = $ac_status" >&5
34261.9Stv  (exit $ac_status); } &&
34271.52Sdbj         { ac_try='test -s conftest.$ac_objext'
34281.52Sdbj  { (eval echo "$as_me:3428: \"$ac_try\"") >&5
34291.50Sjmc  (eval $ac_try) 2>&5
34301.50Sjmc  ac_status=$?
34311.52Sdbj  echo "$as_me:3431: \$? = $ac_status" >&5
34321.9Stv  (exit $ac_status); }; }; then
34331.9Stv  ac_cv_type_uint16_t=yes
34341.9Stvelse
34351.9Stv  echo "$as_me: failed program was:" >&5
34361.52Sdbjcat conftest.$ac_ext >&5
34371.9Stvac_cv_type_uint16_t=no
34381.9Stvfi
34391.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
34401.9Stvfi
34411.52Sdbjecho "$as_me:3441: result: $ac_cv_type_uint16_t" >&5
34421.9Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
34431.9Stvif test $ac_cv_type_uint16_t = yes; then
34441.9Stv  :
34451.9Stvelse
34461.9Stv
34471.52Sdbj		echo "$as_me:3447: checking for u_int16_t" >&5
34481.9Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
34491.9Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
34501.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
34511.9Stvelse
34521.9Stv  cat >conftest.$ac_ext <<_ACEOF
34531.52Sdbj#line 3453 "configure"
34541.52Sdbj#include "confdefs.h"
34551.9Stv$ac_includes_default
34561.9Stvint
34571.9Stvmain ()
34581.9Stv{
34591.9Stvif ((u_int16_t *) 0)
34601.9Stv  return 0;
34611.9Stvif (sizeof (u_int16_t))
34621.9Stv  return 0;
34631.9Stv  ;
34641.9Stv  return 0;
34651.9Stv}
34661.9Stv_ACEOF
34671.9Stvrm -f conftest.$ac_objext
34681.52Sdbjif { (eval echo "$as_me:3468: \"$ac_compile\"") >&5
34691.52Sdbj  (eval $ac_compile) 2>&5
34701.9Stv  ac_status=$?
34711.52Sdbj  echo "$as_me:3471: \$? = $ac_status" >&5
34721.9Stv  (exit $ac_status); } &&
34731.52Sdbj         { ac_try='test -s conftest.$ac_objext'
34741.52Sdbj  { (eval echo "$as_me:3474: \"$ac_try\"") >&5
34751.9Stv  (eval $ac_try) 2>&5
34761.9Stv  ac_status=$?
34771.52Sdbj  echo "$as_me:3477: \$? = $ac_status" >&5
34781.9Stv  (exit $ac_status); }; }; then
34791.9Stv  ac_cv_type_u_int16_t=yes
34801.9Stvelse
34811.9Stv  echo "$as_me: failed program was:" >&5
34821.52Sdbjcat conftest.$ac_ext >&5
34831.9Stvac_cv_type_u_int16_t=no
34841.9Stvfi
34851.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
34861.9Stvfi
34871.52Sdbjecho "$as_me:3487: result: $ac_cv_type_u_int16_t" >&5
34881.9Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
34891.9Stvif test $ac_cv_type_u_int16_t = yes; then
34901.52Sdbj  cat >>confdefs.h <<\EOF
34911.9Stv#define uint16_t u_int16_t
34921.52SdbjEOF
34931.9Stv
34941.9Stvelse
34951.52Sdbj  { { echo "$as_me:3495: error: cannot find a suitable type for uint16_t" >&5
34961.9Stvecho "$as_me: error: cannot find a suitable type for uint16_t" >&2;}
34971.9Stv   { (exit 1); exit 1; }; }
34981.9Stvfi
34991.9Stv
35001.9Stvfi
35011.9Stv
35021.52Sdbj	echo "$as_me:3502: checking for u_int16_t" >&5
35031.6Stvecho $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
35041.6Stvif test "${ac_cv_type_u_int16_t+set}" = set; then
35051.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35061.1Stvelse
35071.1Stv  cat >conftest.$ac_ext <<_ACEOF
35081.52Sdbj#line 3508 "configure"
35091.52Sdbj#include "confdefs.h"
35101.6Stv$ac_includes_default
35111.6Stvint
35121.6Stvmain ()
35131.6Stv{
35141.6Stvif ((u_int16_t *) 0)
35151.6Stv  return 0;
35161.6Stvif (sizeof (u_int16_t))
35171.6Stv  return 0;
35181.6Stv  ;
35191.6Stv  return 0;
35201.6Stv}
35211.1Stv_ACEOF
35221.6Stvrm -f conftest.$ac_objext
35231.52Sdbjif { (eval echo "$as_me:3523: \"$ac_compile\"") >&5
35241.52Sdbj  (eval $ac_compile) 2>&5
35251.6Stv  ac_status=$?
35261.52Sdbj  echo "$as_me:3526: \$? = $ac_status" >&5
35271.6Stv  (exit $ac_status); } &&
35281.52Sdbj         { ac_try='test -s conftest.$ac_objext'
35291.52Sdbj  { (eval echo "$as_me:3529: \"$ac_try\"") >&5
35301.50Sjmc  (eval $ac_try) 2>&5
35311.50Sjmc  ac_status=$?
35321.52Sdbj  echo "$as_me:3532: \$? = $ac_status" >&5
35331.6Stv  (exit $ac_status); }; }; then
35341.6Stv  ac_cv_type_u_int16_t=yes
35351.1Stvelse
35361.6Stv  echo "$as_me: failed program was:" >&5
35371.52Sdbjcat conftest.$ac_ext >&5
35381.6Stvac_cv_type_u_int16_t=no
35391.6Stvfi
35401.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
35411.1Stvfi
35421.52Sdbjecho "$as_me:3542: result: $ac_cv_type_u_int16_t" >&5
35431.6Stvecho "${ECHO_T}$ac_cv_type_u_int16_t" >&6
35441.6Stvif test $ac_cv_type_u_int16_t = yes; then
35451.6Stv  :
35461.1Stvelse
35471.1Stv
35481.52Sdbj		echo "$as_me:3548: checking for uint16_t" >&5
35491.6Stvecho $ECHO_N "checking for uint16_t... $ECHO_C" >&6
35501.6Stvif test "${ac_cv_type_uint16_t+set}" = set; then
35511.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
35521.6Stvelse
35531.1Stv  cat >conftest.$ac_ext <<_ACEOF
35541.52Sdbj#line 3554 "configure"
35551.52Sdbj#include "confdefs.h"
35561.6Stv$ac_includes_default
35571.6Stvint
35581.6Stvmain ()
35591.6Stv{
35601.6Stvif ((uint16_t *) 0)
35611.6Stv  return 0;
35621.6Stvif (sizeof (uint16_t))
35631.6Stv  return 0;
35641.6Stv  ;
35651.6Stv  return 0;
35661.6Stv}
35671.1Stv_ACEOF
35681.6Stvrm -f conftest.$ac_objext
35691.52Sdbjif { (eval echo "$as_me:3569: \"$ac_compile\"") >&5
35701.52Sdbj  (eval $ac_compile) 2>&5
35711.6Stv  ac_status=$?
35721.52Sdbj  echo "$as_me:3572: \$? = $ac_status" >&5
35731.6Stv  (exit $ac_status); } &&
35741.52Sdbj         { ac_try='test -s conftest.$ac_objext'
35751.52Sdbj  { (eval echo "$as_me:3575: \"$ac_try\"") >&5
35761.6Stv  (eval $ac_try) 2>&5
35771.6Stv  ac_status=$?
35781.52Sdbj  echo "$as_me:3578: \$? = $ac_status" >&5
35791.6Stv  (exit $ac_status); }; }; then
35801.6Stv  ac_cv_type_uint16_t=yes
35811.1Stvelse
35821.6Stv  echo "$as_me: failed program was:" >&5
35831.52Sdbjcat conftest.$ac_ext >&5
35841.6Stvac_cv_type_uint16_t=no
35851.1Stvfi
35861.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
35871.1Stvfi
35881.52Sdbjecho "$as_me:3588: result: $ac_cv_type_uint16_t" >&5
35891.6Stvecho "${ECHO_T}$ac_cv_type_uint16_t" >&6
35901.6Stvif test $ac_cv_type_uint16_t = yes; then
35911.52Sdbj  cat >>confdefs.h <<\EOF
35921.6Stv#define u_int16_t uint16_t
35931.52SdbjEOF
35941.1Stv
35951.1Stvelse
35961.52Sdbj  { { echo "$as_me:3596: error: cannot find a suitable type for u_int16_t" >&5
35971.6Stvecho "$as_me: error: cannot find a suitable type for u_int16_t" >&2;}
35981.6Stv   { (exit 1); exit 1; }; }
35991.1Stvfi
36001.1Stv
36011.1Stvfi
36021.1Stv
36031.52Sdbj	echo "$as_me:3603: checking for uint32_t" >&5
36041.9Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
36051.9Stvif test "${ac_cv_type_uint32_t+set}" = set; then
36061.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36071.9Stvelse
36081.9Stv  cat >conftest.$ac_ext <<_ACEOF
36091.52Sdbj#line 3609 "configure"
36101.52Sdbj#include "confdefs.h"
36111.9Stv$ac_includes_default
36121.9Stvint
36131.9Stvmain ()
36141.9Stv{
36151.9Stvif ((uint32_t *) 0)
36161.9Stv  return 0;
36171.9Stvif (sizeof (uint32_t))
36181.9Stv  return 0;
36191.9Stv  ;
36201.9Stv  return 0;
36211.9Stv}
36221.9Stv_ACEOF
36231.9Stvrm -f conftest.$ac_objext
36241.52Sdbjif { (eval echo "$as_me:3624: \"$ac_compile\"") >&5
36251.52Sdbj  (eval $ac_compile) 2>&5
36261.9Stv  ac_status=$?
36271.52Sdbj  echo "$as_me:3627: \$? = $ac_status" >&5
36281.9Stv  (exit $ac_status); } &&
36291.52Sdbj         { ac_try='test -s conftest.$ac_objext'
36301.52Sdbj  { (eval echo "$as_me:3630: \"$ac_try\"") >&5
36311.9Stv  (eval $ac_try) 2>&5
36321.9Stv  ac_status=$?
36331.52Sdbj  echo "$as_me:3633: \$? = $ac_status" >&5
36341.9Stv  (exit $ac_status); }; }; then
36351.9Stv  ac_cv_type_uint32_t=yes
36361.9Stvelse
36371.9Stv  echo "$as_me: failed program was:" >&5
36381.52Sdbjcat conftest.$ac_ext >&5
36391.9Stvac_cv_type_uint32_t=no
36401.9Stvfi
36411.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
36421.9Stvfi
36431.52Sdbjecho "$as_me:3643: result: $ac_cv_type_uint32_t" >&5
36441.9Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
36451.9Stvif test $ac_cv_type_uint32_t = yes; then
36461.9Stv  :
36471.9Stvelse
36481.9Stv
36491.52Sdbj		echo "$as_me:3649: checking for u_int32_t" >&5
36501.6Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
36511.6Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
36521.6Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
36531.1Stvelse
36541.1Stv  cat >conftest.$ac_ext <<_ACEOF
36551.52Sdbj#line 3655 "configure"
36561.52Sdbj#include "confdefs.h"
36571.9Stv$ac_includes_default
36581.9Stvint
36591.9Stvmain ()
36601.9Stv{
36611.9Stvif ((u_int32_t *) 0)
36621.9Stv  return 0;
36631.9Stvif (sizeof (u_int32_t))
36641.9Stv  return 0;
36651.9Stv  ;
36661.9Stv  return 0;
36671.9Stv}
36681.9Stv_ACEOF
36691.9Stvrm -f conftest.$ac_objext
36701.52Sdbjif { (eval echo "$as_me:3670: \"$ac_compile\"") >&5
36711.52Sdbj  (eval $ac_compile) 2>&5
36721.9Stv  ac_status=$?
36731.52Sdbj  echo "$as_me:3673: \$? = $ac_status" >&5
36741.9Stv  (exit $ac_status); } &&
36751.52Sdbj         { ac_try='test -s conftest.$ac_objext'
36761.52Sdbj  { (eval echo "$as_me:3676: \"$ac_try\"") >&5
36771.48Sjmc  (eval $ac_try) 2>&5
36781.48Sjmc  ac_status=$?
36791.52Sdbj  echo "$as_me:3679: \$? = $ac_status" >&5
36801.9Stv  (exit $ac_status); }; }; then
36811.9Stv  ac_cv_type_u_int32_t=yes
36821.9Stvelse
36831.9Stv  echo "$as_me: failed program was:" >&5
36841.52Sdbjcat conftest.$ac_ext >&5
36851.9Stvac_cv_type_u_int32_t=no
36861.9Stvfi
36871.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
36881.9Stvfi
36891.52Sdbjecho "$as_me:3689: result: $ac_cv_type_u_int32_t" >&5
36901.9Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
36911.9Stvif test $ac_cv_type_u_int32_t = yes; then
36921.52Sdbj  cat >>confdefs.h <<\EOF
36931.9Stv#define uint32_t u_int32_t
36941.52SdbjEOF
36951.9Stv
36961.9Stvelse
36971.52Sdbj  { { echo "$as_me:3697: error: cannot find a suitable type for uint32_t" >&5
36981.9Stvecho "$as_me: error: cannot find a suitable type for uint32_t" >&2;}
36991.9Stv   { (exit 1); exit 1; }; }
37001.9Stvfi
37011.9Stv
37021.9Stvfi
37031.9Stv
37041.52Sdbj	echo "$as_me:3704: checking for u_int32_t" >&5
37051.9Stvecho $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
37061.9Stvif test "${ac_cv_type_u_int32_t+set}" = set; then
37071.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37081.9Stvelse
37091.9Stv  cat >conftest.$ac_ext <<_ACEOF
37101.52Sdbj#line 3710 "configure"
37111.52Sdbj#include "confdefs.h"
37121.6Stv$ac_includes_default
37131.1Stvint
37141.1Stvmain ()
37151.1Stv{
37161.6Stvif ((u_int32_t *) 0)
37171.6Stv  return 0;
37181.6Stvif (sizeof (u_int32_t))
37191.6Stv  return 0;
37201.6Stv  ;
37211.6Stv  return 0;
37221.1Stv}
37231.1Stv_ACEOF
37241.6Stvrm -f conftest.$ac_objext
37251.52Sdbjif { (eval echo "$as_me:3725: \"$ac_compile\"") >&5
37261.52Sdbj  (eval $ac_compile) 2>&5
37271.1Stv  ac_status=$?
37281.52Sdbj  echo "$as_me:3728: \$? = $ac_status" >&5
37291.6Stv  (exit $ac_status); } &&
37301.52Sdbj         { ac_try='test -s conftest.$ac_objext'
37311.52Sdbj  { (eval echo "$as_me:3731: \"$ac_try\"") >&5
37321.1Stv  (eval $ac_try) 2>&5
37331.1Stv  ac_status=$?
37341.52Sdbj  echo "$as_me:3734: \$? = $ac_status" >&5
37351.1Stv  (exit $ac_status); }; }; then
37361.6Stv  ac_cv_type_u_int32_t=yes
37371.1Stvelse
37381.6Stv  echo "$as_me: failed program was:" >&5
37391.52Sdbjcat conftest.$ac_ext >&5
37401.6Stvac_cv_type_u_int32_t=no
37411.1Stvfi
37421.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
37431.1Stvfi
37441.52Sdbjecho "$as_me:3744: result: $ac_cv_type_u_int32_t" >&5
37451.6Stvecho "${ECHO_T}$ac_cv_type_u_int32_t" >&6
37461.6Stvif test $ac_cv_type_u_int32_t = yes; then
37471.6Stv  :
37481.6Stvelse
37491.1Stv
37501.52Sdbj		echo "$as_me:3750: checking for uint32_t" >&5
37511.6Stvecho $ECHO_N "checking for uint32_t... $ECHO_C" >&6
37521.6Stvif test "${ac_cv_type_uint32_t+set}" = set; then
37531.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
37541.1Stvelse
37551.1Stv  cat >conftest.$ac_ext <<_ACEOF
37561.52Sdbj#line 3756 "configure"
37571.52Sdbj#include "confdefs.h"
37581.1Stv$ac_includes_default
37591.6Stvint
37601.6Stvmain ()
37611.6Stv{
37621.6Stvif ((uint32_t *) 0)
37631.6Stv  return 0;
37641.6Stvif (sizeof (uint32_t))
37651.6Stv  return 0;
37661.6Stv  ;
37671.6Stv  return 0;
37681.6Stv}
37691.1Stv_ACEOF
37701.1Stvrm -f conftest.$ac_objext
37711.52Sdbjif { (eval echo "$as_me:3771: \"$ac_compile\"") >&5
37721.52Sdbj  (eval $ac_compile) 2>&5
37731.1Stv  ac_status=$?
37741.52Sdbj  echo "$as_me:3774: \$? = $ac_status" >&5
37751.1Stv  (exit $ac_status); } &&
37761.52Sdbj         { ac_try='test -s conftest.$ac_objext'
37771.52Sdbj  { (eval echo "$as_me:3777: \"$ac_try\"") >&5
37781.48Sjmc  (eval $ac_try) 2>&5
37791.48Sjmc  ac_status=$?
37801.52Sdbj  echo "$as_me:3780: \$? = $ac_status" >&5
37811.1Stv  (exit $ac_status); }; }; then
37821.6Stv  ac_cv_type_uint32_t=yes
37831.1Stvelse
37841.1Stv  echo "$as_me: failed program was:" >&5
37851.52Sdbjcat conftest.$ac_ext >&5
37861.6Stvac_cv_type_uint32_t=no
37871.1Stvfi
37881.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
37891.1Stvfi
37901.52Sdbjecho "$as_me:3790: result: $ac_cv_type_uint32_t" >&5
37911.6Stvecho "${ECHO_T}$ac_cv_type_uint32_t" >&6
37921.6Stvif test $ac_cv_type_uint32_t = yes; then
37931.52Sdbj  cat >>confdefs.h <<\EOF
37941.6Stv#define u_int32_t uint32_t
37951.52SdbjEOF
37961.1Stv
37971.6Stvelse
37981.52Sdbj  { { echo "$as_me:3798: error: cannot find a suitable type for u_int32_t" >&5
37991.6Stvecho "$as_me: error: cannot find a suitable type for u_int32_t" >&2;}
38001.6Stv   { (exit 1); exit 1; }; }
38011.6Stvfi
38021.6Stv
38031.1Stvfi
38041.1Stv
38051.52Sdbj	echo "$as_me:3805: checking for uint64_t" >&5
38061.9Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
38071.9Stvif test "${ac_cv_type_uint64_t+set}" = set; then
38081.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38091.9Stvelse
38101.9Stv  cat >conftest.$ac_ext <<_ACEOF
38111.52Sdbj#line 3811 "configure"
38121.52Sdbj#include "confdefs.h"
38131.9Stv$ac_includes_default
38141.9Stvint
38151.9Stvmain ()
38161.9Stv{
38171.9Stvif ((uint64_t *) 0)
38181.9Stv  return 0;
38191.9Stvif (sizeof (uint64_t))
38201.9Stv  return 0;
38211.9Stv  ;
38221.9Stv  return 0;
38231.9Stv}
38241.9Stv_ACEOF
38251.9Stvrm -f conftest.$ac_objext
38261.52Sdbjif { (eval echo "$as_me:3826: \"$ac_compile\"") >&5
38271.52Sdbj  (eval $ac_compile) 2>&5
38281.9Stv  ac_status=$?
38291.52Sdbj  echo "$as_me:3829: \$? = $ac_status" >&5
38301.9Stv  (exit $ac_status); } &&
38311.52Sdbj         { ac_try='test -s conftest.$ac_objext'
38321.52Sdbj  { (eval echo "$as_me:3832: \"$ac_try\"") >&5
38331.50Sjmc  (eval $ac_try) 2>&5
38341.50Sjmc  ac_status=$?
38351.52Sdbj  echo "$as_me:3835: \$? = $ac_status" >&5
38361.9Stv  (exit $ac_status); }; }; then
38371.9Stv  ac_cv_type_uint64_t=yes
38381.9Stvelse
38391.9Stv  echo "$as_me: failed program was:" >&5
38401.52Sdbjcat conftest.$ac_ext >&5
38411.9Stvac_cv_type_uint64_t=no
38421.9Stvfi
38431.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
38441.9Stvfi
38451.52Sdbjecho "$as_me:3845: result: $ac_cv_type_uint64_t" >&5
38461.9Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
38471.9Stvif test $ac_cv_type_uint64_t = yes; then
38481.9Stv  :
38491.9Stvelse
38501.9Stv
38511.52Sdbj		echo "$as_me:3851: checking for u_int64_t" >&5
38521.9Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
38531.9Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
38541.9Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
38551.9Stvelse
38561.9Stv  cat >conftest.$ac_ext <<_ACEOF
38571.52Sdbj#line 3857 "configure"
38581.52Sdbj#include "confdefs.h"
38591.9Stv$ac_includes_default
38601.9Stvint
38611.9Stvmain ()
38621.9Stv{
38631.9Stvif ((u_int64_t *) 0)
38641.9Stv  return 0;
38651.9Stvif (sizeof (u_int64_t))
38661.9Stv  return 0;
38671.9Stv  ;
38681.9Stv  return 0;
38691.9Stv}
38701.9Stv_ACEOF
38711.9Stvrm -f conftest.$ac_objext
38721.52Sdbjif { (eval echo "$as_me:3872: \"$ac_compile\"") >&5
38731.52Sdbj  (eval $ac_compile) 2>&5
38741.9Stv  ac_status=$?
38751.52Sdbj  echo "$as_me:3875: \$? = $ac_status" >&5
38761.9Stv  (exit $ac_status); } &&
38771.52Sdbj         { ac_try='test -s conftest.$ac_objext'
38781.52Sdbj  { (eval echo "$as_me:3878: \"$ac_try\"") >&5
38791.9Stv  (eval $ac_try) 2>&5
38801.9Stv  ac_status=$?
38811.52Sdbj  echo "$as_me:3881: \$? = $ac_status" >&5
38821.9Stv  (exit $ac_status); }; }; then
38831.9Stv  ac_cv_type_u_int64_t=yes
38841.9Stvelse
38851.9Stv  echo "$as_me: failed program was:" >&5
38861.52Sdbjcat conftest.$ac_ext >&5
38871.9Stvac_cv_type_u_int64_t=no
38881.9Stvfi
38891.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
38901.9Stvfi
38911.52Sdbjecho "$as_me:3891: result: $ac_cv_type_u_int64_t" >&5
38921.9Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
38931.9Stvif test $ac_cv_type_u_int64_t = yes; then
38941.52Sdbj  cat >>confdefs.h <<\EOF
38951.9Stv#define uint64_t u_int64_t
38961.52SdbjEOF
38971.9Stv
38981.9Stvelse
38991.52Sdbj  { { echo "$as_me:3899: error: cannot find a suitable type for uint64_t" >&5
39001.9Stvecho "$as_me: error: cannot find a suitable type for uint64_t" >&2;}
39011.9Stv   { (exit 1); exit 1; }; }
39021.9Stvfi
39031.9Stv
39041.9Stvfi
39051.9Stv
39061.52Sdbj	echo "$as_me:3906: checking for u_int64_t" >&5
39071.6Stvecho $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
39081.6Stvif test "${ac_cv_type_u_int64_t+set}" = set; then
39091.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39101.1Stvelse
39111.1Stv  cat >conftest.$ac_ext <<_ACEOF
39121.52Sdbj#line 3912 "configure"
39131.52Sdbj#include "confdefs.h"
39141.1Stv$ac_includes_default
39151.1Stvint
39161.1Stvmain ()
39171.1Stv{
39181.6Stvif ((u_int64_t *) 0)
39191.1Stv  return 0;
39201.6Stvif (sizeof (u_int64_t))
39211.1Stv  return 0;
39221.1Stv  ;
39231.1Stv  return 0;
39241.1Stv}
39251.1Stv_ACEOF
39261.1Stvrm -f conftest.$ac_objext
39271.52Sdbjif { (eval echo "$as_me:3927: \"$ac_compile\"") >&5
39281.52Sdbj  (eval $ac_compile) 2>&5
39291.1Stv  ac_status=$?
39301.52Sdbj  echo "$as_me:3930: \$? = $ac_status" >&5
39311.1Stv  (exit $ac_status); } &&
39321.52Sdbj         { ac_try='test -s conftest.$ac_objext'
39331.52Sdbj  { (eval echo "$as_me:3933: \"$ac_try\"") >&5
39341.50Sjmc  (eval $ac_try) 2>&5
39351.50Sjmc  ac_status=$?
39361.52Sdbj  echo "$as_me:3936: \$? = $ac_status" >&5
39371.1Stv  (exit $ac_status); }; }; then
39381.6Stv  ac_cv_type_u_int64_t=yes
39391.1Stvelse
39401.1Stv  echo "$as_me: failed program was:" >&5
39411.52Sdbjcat conftest.$ac_ext >&5
39421.6Stvac_cv_type_u_int64_t=no
39431.1Stvfi
39441.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
39451.1Stvfi
39461.52Sdbjecho "$as_me:3946: result: $ac_cv_type_u_int64_t" >&5
39471.6Stvecho "${ECHO_T}$ac_cv_type_u_int64_t" >&6
39481.6Stvif test $ac_cv_type_u_int64_t = yes; then
39491.1Stv  :
39501.1Stvelse
39511.1Stv
39521.52Sdbj		echo "$as_me:3952: checking for uint64_t" >&5
39531.6Stvecho $ECHO_N "checking for uint64_t... $ECHO_C" >&6
39541.6Stvif test "${ac_cv_type_uint64_t+set}" = set; then
39551.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
39561.1Stvelse
39571.1Stv  cat >conftest.$ac_ext <<_ACEOF
39581.52Sdbj#line 3958 "configure"
39591.52Sdbj#include "confdefs.h"
39601.4Stv$ac_includes_default
39611.4Stvint
39621.4Stvmain ()
39631.4Stv{
39641.6Stvif ((uint64_t *) 0)
39651.4Stv  return 0;
39661.6Stvif (sizeof (uint64_t))
39671.4Stv  return 0;
39681.4Stv  ;
39691.4Stv  return 0;
39701.4Stv}
39711.1Stv_ACEOF
39721.4Stvrm -f conftest.$ac_objext
39731.52Sdbjif { (eval echo "$as_me:3973: \"$ac_compile\"") >&5
39741.52Sdbj  (eval $ac_compile) 2>&5
39751.4Stv  ac_status=$?
39761.52Sdbj  echo "$as_me:3976: \$? = $ac_status" >&5
39771.4Stv  (exit $ac_status); } &&
39781.52Sdbj         { ac_try='test -s conftest.$ac_objext'
39791.52Sdbj  { (eval echo "$as_me:3979: \"$ac_try\"") >&5
39801.4Stv  (eval $ac_try) 2>&5
39811.4Stv  ac_status=$?
39821.52Sdbj  echo "$as_me:3982: \$? = $ac_status" >&5
39831.4Stv  (exit $ac_status); }; }; then
39841.6Stv  ac_cv_type_uint64_t=yes
39851.4Stvelse
39861.4Stv  echo "$as_me: failed program was:" >&5
39871.52Sdbjcat conftest.$ac_ext >&5
39881.6Stvac_cv_type_uint64_t=no
39891.4Stvfi
39901.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
39911.4Stvfi
39921.52Sdbjecho "$as_me:3992: result: $ac_cv_type_uint64_t" >&5
39931.6Stvecho "${ECHO_T}$ac_cv_type_uint64_t" >&6
39941.6Stvif test $ac_cv_type_uint64_t = yes; then
39951.52Sdbj  cat >>confdefs.h <<\EOF
39961.6Stv#define u_int64_t uint64_t
39971.52SdbjEOF
39981.4Stv
39991.6Stvelse
40001.52Sdbj  { { echo "$as_me:4000: error: cannot find a suitable type for u_int64_t" >&5
40011.6Stvecho "$as_me: error: cannot find a suitable type for u_int64_t" >&2;}
40021.6Stv   { (exit 1); exit 1; }; }
40031.6Stvfi
40041.4Stv
40051.4Stvfi
40061.4Stv
40071.4Stv# Struct members.
40081.52Sdbjecho "$as_me:4008: checking for DIR.dd_fd" >&5
40091.7Stvecho $ECHO_N "checking for DIR.dd_fd... $ECHO_C" >&6
40101.7Stvif test "${ac_cv_member_DIR_dd_fd+set}" = set; then
40111.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
40121.7Stvelse
40131.7Stv  cat >conftest.$ac_ext <<_ACEOF
40141.52Sdbj#line 4014 "configure"
40151.52Sdbj#include "confdefs.h"
40161.32Sthorpej#include <sys/types.h>
40171.7Stv#include <dirent.h>
40181.7Stv
40191.7Stvint
40201.7Stvmain ()
40211.7Stv{
40221.7Stvstatic DIR ac_aggr;
40231.7Stvif (ac_aggr.dd_fd)
40241.7Stvreturn 0;
40251.7Stv  ;
40261.7Stv  return 0;
40271.7Stv}
40281.7Stv_ACEOF
40291.7Stvrm -f conftest.$ac_objext
40301.52Sdbjif { (eval echo "$as_me:4030: \"$ac_compile\"") >&5
40311.52Sdbj  (eval $ac_compile) 2>&5
40321.7Stv  ac_status=$?
40331.52Sdbj  echo "$as_me:4033: \$? = $ac_status" >&5
40341.7Stv  (exit $ac_status); } &&
40351.52Sdbj         { ac_try='test -s conftest.$ac_objext'
40361.52Sdbj  { (eval echo "$as_me:4036: \"$ac_try\"") >&5
40371.7Stv  (eval $ac_try) 2>&5
40381.7Stv  ac_status=$?
40391.52Sdbj  echo "$as_me:4039: \$? = $ac_status" >&5
40401.7Stv  (exit $ac_status); }; }; then
40411.7Stv  ac_cv_member_DIR_dd_fd=yes
40421.7Stvelse
40431.7Stv  echo "$as_me: failed program was:" >&5
40441.52Sdbjcat conftest.$ac_ext >&5
40451.48Sjmcac_cv_member_DIR_dd_fd=no
40461.48Sjmcfi
40471.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
40481.48Sjmcfi
40491.52Sdbjecho "$as_me:4049: result: $ac_cv_member_DIR_dd_fd" >&5
40501.48Sjmcecho "${ECHO_T}$ac_cv_member_DIR_dd_fd" >&6
40511.48Sjmcif test $ac_cv_member_DIR_dd_fd = yes; then
40521.48Sjmc
40531.52Sdbjcat >>confdefs.h <<EOF
40541.48Sjmc#define HAVE_DIR_DD_FD 1
40551.52SdbjEOF
40561.48Sjmc
40571.48Sjmcfi
40581.52Sdbjecho "$as_me:4058: checking for struct dirent.d_namlen" >&5
40591.48Sjmcecho $ECHO_N "checking for struct dirent.d_namlen... $ECHO_C" >&6
40601.48Sjmcif test "${ac_cv_member_struct_dirent_d_namlen+set}" = set; then
40611.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
40621.48Sjmcelse
40631.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
40641.52Sdbj#line 4064 "configure"
40651.52Sdbj#include "confdefs.h"
40661.32Sthorpej#include <sys/types.h>
40671.8Stv#include <dirent.h>
40681.8Stv
40691.8Stvint
40701.8Stvmain ()
40711.8Stv{
40721.8Stvstatic struct dirent ac_aggr;
40731.52Sdbjif (ac_aggr.d_namlen)
40741.8Stvreturn 0;
40751.8Stv  ;
40761.8Stv  return 0;
40771.8Stv}
40781.8Stv_ACEOF
40791.8Stvrm -f conftest.$ac_objext
40801.52Sdbjif { (eval echo "$as_me:4080: \"$ac_compile\"") >&5
40811.52Sdbj  (eval $ac_compile) 2>&5
40821.8Stv  ac_status=$?
40831.52Sdbj  echo "$as_me:4083: \$? = $ac_status" >&5
40841.8Stv  (exit $ac_status); } &&
40851.52Sdbj         { ac_try='test -s conftest.$ac_objext'
40861.52Sdbj  { (eval echo "$as_me:4086: \"$ac_try\"") >&5
40871.50Sjmc  (eval $ac_try) 2>&5
40881.50Sjmc  ac_status=$?
40891.52Sdbj  echo "$as_me:4089: \$? = $ac_status" >&5
40901.8Stv  (exit $ac_status); }; }; then
40911.8Stv  ac_cv_member_struct_dirent_d_namlen=yes
40921.8Stvelse
40931.8Stv  echo "$as_me: failed program was:" >&5
40941.52Sdbjcat conftest.$ac_ext >&5
40951.8Stvac_cv_member_struct_dirent_d_namlen=no
40961.8Stvfi
40971.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
40981.48Sjmcfi
40991.52Sdbjecho "$as_me:4099: result: $ac_cv_member_struct_dirent_d_namlen" >&5
41001.8Stvecho "${ECHO_T}$ac_cv_member_struct_dirent_d_namlen" >&6
41011.8Stvif test $ac_cv_member_struct_dirent_d_namlen = yes; then
41021.8Stv
41031.52Sdbjcat >>confdefs.h <<EOF
41041.39Sfredb#define HAVE_STRUCT_DIRENT_D_NAMLEN 1
41051.52SdbjEOF
41061.39Sfredb
41071.39Sfredbfi
41081.39Sfredb
41091.52Sdbjecho "$as_me:4109: checking for struct stat.st_flags" >&5
41101.39Sfredbecho $ECHO_N "checking for struct stat.st_flags... $ECHO_C" >&6
41111.39Sfredbif test "${ac_cv_member_struct_stat_st_flags+set}" = set; then
41121.39Sfredb  echo $ECHO_N "(cached) $ECHO_C" >&6
41131.39Sfredbelse
41141.39Sfredb  cat >conftest.$ac_ext <<_ACEOF
41151.52Sdbj#line 4115 "configure"
41161.52Sdbj#include "confdefs.h"
41171.4Stv#include <sys/stat.h>
41181.4Stv
41191.4Stvint
41201.4Stvmain ()
41211.4Stv{
41221.4Stvstatic struct stat ac_aggr;
41231.43Sdbjif (ac_aggr.st_flags)
41241.4Stvreturn 0;
41251.4Stv  ;
41261.4Stv  return 0;
41271.4Stv}
41281.4Stv_ACEOF
41291.4Stvrm -f conftest.$ac_objext
41301.52Sdbjif { (eval echo "$as_me:4130: \"$ac_compile\"") >&5
41311.52Sdbj  (eval $ac_compile) 2>&5
41321.4Stv  ac_status=$?
41331.52Sdbj  echo "$as_me:4133: \$? = $ac_status" >&5
41341.4Stv  (exit $ac_status); } &&
41351.52Sdbj         { ac_try='test -s conftest.$ac_objext'
41361.52Sdbj  { (eval echo "$as_me:4136: \"$ac_try\"") >&5
41371.48Sjmc  (eval $ac_try) 2>&5
41381.48Sjmc  ac_status=$?
41391.52Sdbj  echo "$as_me:4139: \$? = $ac_status" >&5
41401.4Stv  (exit $ac_status); }; }; then
41411.43Sdbj  ac_cv_member_struct_stat_st_flags=yes
41421.4Stvelse
41431.4Stv  echo "$as_me: failed program was:" >&5
41441.52Sdbjcat conftest.$ac_ext >&5
41451.43Sdbjac_cv_member_struct_stat_st_flags=no
41461.39Sfredbfi
41471.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
41481.48Sjmcfi
41491.52Sdbjecho "$as_me:4149: result: $ac_cv_member_struct_stat_st_flags" >&5
41501.43Sdbjecho "${ECHO_T}$ac_cv_member_struct_stat_st_flags" >&6
41511.43Sdbjif test $ac_cv_member_struct_stat_st_flags = yes; then
41521.4Stv
41531.52Sdbjcat >>confdefs.h <<EOF
41541.43Sdbj#define HAVE_STRUCT_STAT_ST_FLAGS 1
41551.52SdbjEOF
41561.4Stv
41571.4Stvfi
41581.52Sdbjecho "$as_me:4158: checking for struct stat.st_gen" >&5
41591.43Sdbjecho $ECHO_N "checking for struct stat.st_gen... $ECHO_C" >&6
41601.43Sdbjif test "${ac_cv_member_struct_stat_st_gen+set}" = set; then
41611.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
41621.40Satatatelse
41631.40Satatat  cat >conftest.$ac_ext <<_ACEOF
41641.52Sdbj#line 4164 "configure"
41651.52Sdbj#include "confdefs.h"
41661.40Satatat#include <sys/stat.h>
41671.40Satatat
41681.40Satatatint
41691.40Satatatmain ()
41701.40Satatat{
41711.40Satatatstatic struct stat ac_aggr;
41721.43Sdbjif (ac_aggr.st_gen)
41731.40Satatatreturn 0;
41741.40Satatat  ;
41751.40Satatat  return 0;
41761.40Satatat}
41771.40Satatat_ACEOF
41781.40Satatatrm -f conftest.$ac_objext
41791.52Sdbjif { (eval echo "$as_me:4179: \"$ac_compile\"") >&5
41801.52Sdbj  (eval $ac_compile) 2>&5
41811.50Sjmc  ac_status=$?
41821.52Sdbj  echo "$as_me:4182: \$? = $ac_status" >&5
41831.50Sjmc  (exit $ac_status); } &&
41841.52Sdbj         { ac_try='test -s conftest.$ac_objext'
41851.52Sdbj  { (eval echo "$as_me:4185: \"$ac_try\"") >&5
41861.50Sjmc  (eval $ac_try) 2>&5
41871.50Sjmc  ac_status=$?
41881.52Sdbj  echo "$as_me:4188: \$? = $ac_status" >&5
41891.50Sjmc  (exit $ac_status); }; }; then
41901.50Sjmc  ac_cv_member_struct_stat_st_gen=yes
41911.50Sjmcelse
41921.50Sjmc  echo "$as_me: failed program was:" >&5
41931.52Sdbjcat conftest.$ac_ext >&5
41941.50Sjmcac_cv_member_struct_stat_st_gen=no
41951.50Sjmcfi
41961.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
41971.50Sjmcfi
41981.52Sdbjecho "$as_me:4198: result: $ac_cv_member_struct_stat_st_gen" >&5
41991.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_gen" >&6
42001.50Sjmcif test $ac_cv_member_struct_stat_st_gen = yes; then
42011.50Sjmc
42021.52Sdbjcat >>confdefs.h <<EOF
42031.50Sjmc#define HAVE_STRUCT_STAT_ST_GEN 1
42041.52SdbjEOF
42051.50Sjmc
42061.50Sjmcfi
42071.52Sdbjecho "$as_me:4207: checking for struct stat.st_birthtime" >&5
42081.50Sjmcecho $ECHO_N "checking for struct stat.st_birthtime... $ECHO_C" >&6
42091.50Sjmcif test "${ac_cv_member_struct_stat_st_birthtime+set}" = set; then
42101.50Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
42111.50Sjmcelse
42121.50Sjmc  cat >conftest.$ac_ext <<_ACEOF
42131.52Sdbj#line 4213 "configure"
42141.52Sdbj#include "confdefs.h"
42151.50Sjmc#include <sys/stat.h>
42161.50Sjmc
42171.50Sjmcint
42181.50Sjmcmain ()
42191.50Sjmc{
42201.50Sjmcstatic struct stat ac_aggr;
42211.50Sjmcif (ac_aggr.st_birthtime)
42221.50Sjmcreturn 0;
42231.50Sjmc  ;
42241.50Sjmc  return 0;
42251.50Sjmc}
42261.50Sjmc_ACEOF
42271.50Sjmcrm -f conftest.$ac_objext
42281.52Sdbjif { (eval echo "$as_me:4228: \"$ac_compile\"") >&5
42291.52Sdbj  (eval $ac_compile) 2>&5
42301.40Satatat  ac_status=$?
42311.52Sdbj  echo "$as_me:4231: \$? = $ac_status" >&5
42321.40Satatat  (exit $ac_status); } &&
42331.52Sdbj         { ac_try='test -s conftest.$ac_objext'
42341.52Sdbj  { (eval echo "$as_me:4234: \"$ac_try\"") >&5
42351.40Satatat  (eval $ac_try) 2>&5
42361.40Satatat  ac_status=$?
42371.52Sdbj  echo "$as_me:4237: \$? = $ac_status" >&5
42381.40Satatat  (exit $ac_status); }; }; then
42391.50Sjmc  ac_cv_member_struct_stat_st_birthtime=yes
42401.40Satatatelse
42411.40Satatat  echo "$as_me: failed program was:" >&5
42421.52Sdbjcat conftest.$ac_ext >&5
42431.50Sjmcac_cv_member_struct_stat_st_birthtime=no
42441.43Sdbjfi
42451.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
42461.43Sdbjfi
42471.52Sdbjecho "$as_me:4247: result: $ac_cv_member_struct_stat_st_birthtime" >&5
42481.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtime" >&6
42491.50Sjmcif test $ac_cv_member_struct_stat_st_birthtime = yes; then
42501.43Sdbj
42511.52Sdbjcat >>confdefs.h <<EOF
42521.50Sjmc#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
42531.52SdbjEOF
42541.40Satatat
42551.43Sdbjfi
42561.52Sdbjecho "$as_me:4256: checking for struct stat.st_birthtimensec" >&5
42571.50Sjmcecho $ECHO_N "checking for struct stat.st_birthtimensec... $ECHO_C" >&6
42581.50Sjmcif test "${ac_cv_member_struct_stat_st_birthtimensec+set}" = set; then
42591.43Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
42601.43Sdbjelse
42611.43Sdbj  cat >conftest.$ac_ext <<_ACEOF
42621.52Sdbj#line 4262 "configure"
42631.52Sdbj#include "confdefs.h"
42641.40Satatat#include <sys/stat.h>
42651.40Satatat
42661.40Satatatint
42671.40Satatatmain ()
42681.40Satatat{
42691.40Satatatstatic struct stat ac_aggr;
42701.50Sjmcif (ac_aggr.st_birthtimensec)
42711.40Satatatreturn 0;
42721.40Satatat  ;
42731.40Satatat  return 0;
42741.40Satatat}
42751.40Satatat_ACEOF
42761.40Satatatrm -f conftest.$ac_objext
42771.52Sdbjif { (eval echo "$as_me:4277: \"$ac_compile\"") >&5
42781.52Sdbj  (eval $ac_compile) 2>&5
42791.40Satatat  ac_status=$?
42801.52Sdbj  echo "$as_me:4280: \$? = $ac_status" >&5
42811.40Satatat  (exit $ac_status); } &&
42821.52Sdbj         { ac_try='test -s conftest.$ac_objext'
42831.52Sdbj  { (eval echo "$as_me:4283: \"$ac_try\"") >&5
42841.50Sjmc  (eval $ac_try) 2>&5
42851.50Sjmc  ac_status=$?
42861.52Sdbj  echo "$as_me:4286: \$? = $ac_status" >&5
42871.40Satatat  (exit $ac_status); }; }; then
42881.50Sjmc  ac_cv_member_struct_stat_st_birthtimensec=yes
42891.40Satatatelse
42901.40Satatat  echo "$as_me: failed program was:" >&5
42911.52Sdbjcat conftest.$ac_ext >&5
42921.50Sjmcac_cv_member_struct_stat_st_birthtimensec=no
42931.40Satatatfi
42941.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
42951.40Satatatfi
42961.52Sdbjecho "$as_me:4296: result: $ac_cv_member_struct_stat_st_birthtimensec" >&5
42971.50Sjmcecho "${ECHO_T}$ac_cv_member_struct_stat_st_birthtimensec" >&6
42981.50Sjmcif test $ac_cv_member_struct_stat_st_birthtimensec = yes; then
42991.40Satatat
43001.52Sdbjcat >>confdefs.h <<EOF
43011.50Sjmc#define HAVE_STRUCT_STAT_ST_BIRTHTIMENSEC 1
43021.52SdbjEOF
43031.40Satatat
43041.40Satatatfi
43051.52Sdbjecho "$as_me:4305: checking for struct stat.st_atim" >&5
43061.40Satatatecho $ECHO_N "checking for struct stat.st_atim... $ECHO_C" >&6
43071.40Satatatif test "${ac_cv_member_struct_stat_st_atim+set}" = set; then
43081.40Satatat  echo $ECHO_N "(cached) $ECHO_C" >&6
43091.40Satatatelse
43101.40Satatat  cat >conftest.$ac_ext <<_ACEOF
43111.52Sdbj#line 4311 "configure"
43121.52Sdbj#include "confdefs.h"
43131.40Satatat#include <sys/stat.h>
43141.40Satatat
43151.40Satatatint
43161.40Satatatmain ()
43171.40Satatat{
43181.40Satatatstatic struct stat ac_aggr;
43191.40Satatatif (ac_aggr.st_atim)
43201.40Satatatreturn 0;
43211.40Satatat  ;
43221.40Satatat  return 0;
43231.40Satatat}
43241.40Satatat_ACEOF
43251.40Satatatrm -f conftest.$ac_objext
43261.52Sdbjif { (eval echo "$as_me:4326: \"$ac_compile\"") >&5
43271.52Sdbj  (eval $ac_compile) 2>&5
43281.40Satatat  ac_status=$?
43291.52Sdbj  echo "$as_me:4329: \$? = $ac_status" >&5
43301.40Satatat  (exit $ac_status); } &&
43311.52Sdbj         { ac_try='test -s conftest.$ac_objext'
43321.52Sdbj  { (eval echo "$as_me:4332: \"$ac_try\"") >&5
43331.40Satatat  (eval $ac_try) 2>&5
43341.40Satatat  ac_status=$?
43351.52Sdbj  echo "$as_me:4335: \$? = $ac_status" >&5
43361.40Satatat  (exit $ac_status); }; }; then
43371.40Satatat  ac_cv_member_struct_stat_st_atim=yes
43381.40Satatatelse
43391.40Satatat  echo "$as_me: failed program was:" >&5
43401.52Sdbjcat conftest.$ac_ext >&5
43411.40Satatatac_cv_member_struct_stat_st_atim=no
43421.40Satatatfi
43431.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
43441.40Satatatfi
43451.52Sdbjecho "$as_me:4345: result: $ac_cv_member_struct_stat_st_atim" >&5
43461.40Satatatecho "${ECHO_T}$ac_cv_member_struct_stat_st_atim" >&6
43471.40Satatatif test $ac_cv_member_struct_stat_st_atim = yes; then
43481.40Satatat
43491.52Sdbjcat >>confdefs.h <<EOF
43501.40Satatat#define HAVE_STRUCT_STAT_ST_ATIM 1
43511.52SdbjEOF
43521.40Satatat
43531.40Satatatfi
43541.52Sdbjecho "$as_me:4354: checking for struct stat.st_mtimensec" >&5
43551.39Sfredbecho $ECHO_N "checking for struct stat.st_mtimensec... $ECHO_C" >&6
43561.39Sfredbif test "${ac_cv_member_struct_stat_st_mtimensec+set}" = set; then
43571.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
43581.7Stvelse
43591.7Stv  cat >conftest.$ac_ext <<_ACEOF
43601.52Sdbj#line 4360 "configure"
43611.52Sdbj#include "confdefs.h"
43621.7Stv#include <sys/stat.h>
43631.7Stv
43641.7Stvint
43651.7Stvmain ()
43661.7Stv{
43671.7Stvstatic struct stat ac_aggr;
43681.39Sfredbif (ac_aggr.st_mtimensec)
43691.7Stvreturn 0;
43701.7Stv  ;
43711.7Stv  return 0;
43721.7Stv}
43731.7Stv_ACEOF
43741.7Stvrm -f conftest.$ac_objext
43751.52Sdbjif { (eval echo "$as_me:4375: \"$ac_compile\"") >&5
43761.52Sdbj  (eval $ac_compile) 2>&5
43771.7Stv  ac_status=$?
43781.52Sdbj  echo "$as_me:4378: \$? = $ac_status" >&5
43791.7Stv  (exit $ac_status); } &&
43801.52Sdbj         { ac_try='test -s conftest.$ac_objext'
43811.52Sdbj  { (eval echo "$as_me:4381: \"$ac_try\"") >&5
43821.48Sjmc  (eval $ac_try) 2>&5
43831.48Sjmc  ac_status=$?
43841.52Sdbj  echo "$as_me:4384: \$? = $ac_status" >&5
43851.7Stv  (exit $ac_status); }; }; then
43861.7Stv  ac_cv_member_struct_stat_st_mtimensec=yes
43871.7Stvelse
43881.7Stv  echo "$as_me: failed program was:" >&5
43891.52Sdbjcat conftest.$ac_ext >&5
43901.7Stvac_cv_member_struct_stat_st_mtimensec=no
43911.7Stvfi
43921.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
43931.7Stvfi
43941.52Sdbjecho "$as_me:4394: result: $ac_cv_member_struct_stat_st_mtimensec" >&5
43951.7Stvecho "${ECHO_T}$ac_cv_member_struct_stat_st_mtimensec" >&6
43961.7Stvif test $ac_cv_member_struct_stat_st_mtimensec = yes; then
43971.7Stv
43981.52Sdbjcat >>confdefs.h <<EOF
43991.7Stv#define HAVE_STRUCT_STAT_ST_MTIMENSEC 1
44001.52SdbjEOF
44011.7Stv
44021.7Stvfi
44031.4Stv
44041.52Sdbjecho "$as_me:4404: checking for struct statvfs.f_iosize" >&5
44051.47Sdbjecho $ECHO_N "checking for struct statvfs.f_iosize... $ECHO_C" >&6
44061.47Sdbjif test "${ac_cv_member_struct_statvfs_f_iosize+set}" = set; then
44071.47Sdbj  echo $ECHO_N "(cached) $ECHO_C" >&6
44081.47Sdbjelse
44091.52Sdbj  cat >conftest.$ac_ext <<_ACEOF
44101.52Sdbj#line 4410 "configure"
44111.52Sdbj#include "confdefs.h"
44121.48Sjmc#include <sys/statvfs.h>
44131.48Sjmc
44141.48Sjmcint
44151.48Sjmcmain ()
44161.48Sjmc{
44171.48Sjmcstatic struct statvfs ac_aggr;
44181.52Sdbjif (ac_aggr.f_iosize)
44191.48Sjmcreturn 0;
44201.48Sjmc  ;
44211.48Sjmc  return 0;
44221.48Sjmc}
44231.48Sjmc_ACEOF
44241.48Sjmcrm -f conftest.$ac_objext
44251.52Sdbjif { (eval echo "$as_me:4425: \"$ac_compile\"") >&5
44261.52Sdbj  (eval $ac_compile) 2>&5
44271.47Sdbj  ac_status=$?
44281.52Sdbj  echo "$as_me:4428: \$? = $ac_status" >&5
44291.47Sdbj  (exit $ac_status); } &&
44301.52Sdbj         { ac_try='test -s conftest.$ac_objext'
44311.52Sdbj  { (eval echo "$as_me:4431: \"$ac_try\"") >&5
44321.47Sdbj  (eval $ac_try) 2>&5
44331.47Sdbj  ac_status=$?
44341.52Sdbj  echo "$as_me:4434: \$? = $ac_status" >&5
44351.47Sdbj  (exit $ac_status); }; }; then
44361.47Sdbj  ac_cv_member_struct_statvfs_f_iosize=yes
44371.47Sdbjelse
44381.47Sdbj  echo "$as_me: failed program was:" >&5
44391.52Sdbjcat conftest.$ac_ext >&5
44401.47Sdbjac_cv_member_struct_statvfs_f_iosize=no
44411.47Sdbjfi
44421.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
44431.47Sdbjfi
44441.52Sdbjecho "$as_me:4444: result: $ac_cv_member_struct_statvfs_f_iosize" >&5
44451.47Sdbjecho "${ECHO_T}$ac_cv_member_struct_statvfs_f_iosize" >&6
44461.47Sdbjif test $ac_cv_member_struct_statvfs_f_iosize = yes; then
44471.47Sdbj
44481.52Sdbjcat >>confdefs.h <<EOF
44491.47Sdbj#define HAVE_STRUCT_STATVFS_F_IOSIZE 1
44501.52SdbjEOF
44511.47Sdbj
44521.47Sdbjfi
44531.47Sdbj
44541.4Stv# Global variable decls.
44551.52Sdbjecho "$as_me:4455: checking whether optind is declared" >&5
44561.7Stvecho $ECHO_N "checking whether optind is declared... $ECHO_C" >&6
44571.7Stvif test "${ac_cv_have_decl_optind+set}" = set; then
44581.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
44591.7Stvelse
44601.7Stv  cat >conftest.$ac_ext <<_ACEOF
44611.52Sdbj#line 4461 "configure"
44621.52Sdbj#include "confdefs.h"
44631.7Stv
44641.7Stv#include <stdio.h>
44651.7Stv#include <stdlib.h>
44661.7Stv#include <unistd.h>
44671.7Stv
44681.7Stvint
44691.7Stvmain ()
44701.7Stv{
44711.7Stv#ifndef optind
44721.7Stv  char *p = (char *) optind;
44731.7Stv#endif
44741.7Stv
44751.7Stv  ;
44761.7Stv  return 0;
44771.7Stv}
44781.7Stv_ACEOF
44791.7Stvrm -f conftest.$ac_objext
44801.52Sdbjif { (eval echo "$as_me:4480: \"$ac_compile\"") >&5
44811.52Sdbj  (eval $ac_compile) 2>&5
44821.7Stv  ac_status=$?
44831.52Sdbj  echo "$as_me:4483: \$? = $ac_status" >&5
44841.7Stv  (exit $ac_status); } &&
44851.52Sdbj         { ac_try='test -s conftest.$ac_objext'
44861.52Sdbj  { (eval echo "$as_me:4486: \"$ac_try\"") >&5
44871.7Stv  (eval $ac_try) 2>&5
44881.7Stv  ac_status=$?
44891.52Sdbj  echo "$as_me:4489: \$? = $ac_status" >&5
44901.7Stv  (exit $ac_status); }; }; then
44911.7Stv  ac_cv_have_decl_optind=yes
44921.7Stvelse
44931.7Stv  echo "$as_me: failed program was:" >&5
44941.52Sdbjcat conftest.$ac_ext >&5
44951.7Stvac_cv_have_decl_optind=no
44961.7Stvfi
44971.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
44981.7Stvfi
44991.52Sdbjecho "$as_me:4499: result: $ac_cv_have_decl_optind" >&5
45001.7Stvecho "${ECHO_T}$ac_cv_have_decl_optind" >&6
45011.7Stvif test $ac_cv_have_decl_optind = yes; then
45021.7Stv
45031.52Sdbjcat >>confdefs.h <<EOF
45041.7Stv#define HAVE_DECL_OPTIND 1
45051.52SdbjEOF
45061.7Stv
45071.7Stvelse
45081.52Sdbj  cat >>confdefs.h <<EOF
45091.7Stv#define HAVE_DECL_OPTIND 0
45101.52SdbjEOF
45111.7Stv
45121.7Stvfi
45131.52Sdbjecho "$as_me:4513: checking whether optreset is declared" >&5
45141.7Stvecho $ECHO_N "checking whether optreset is declared... $ECHO_C" >&6
45151.7Stvif test "${ac_cv_have_decl_optreset+set}" = set; then
45161.7Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45171.7Stvelse
45181.7Stv  cat >conftest.$ac_ext <<_ACEOF
45191.52Sdbj#line 4519 "configure"
45201.52Sdbj#include "confdefs.h"
45211.7Stv
45221.7Stv#include <stdio.h>
45231.7Stv#include <stdlib.h>
45241.7Stv#include <unistd.h>
45251.7Stv
45261.7Stvint
45271.7Stvmain ()
45281.7Stv{
45291.7Stv#ifndef optreset
45301.7Stv  char *p = (char *) optreset;
45311.7Stv#endif
45321.7Stv
45331.7Stv  ;
45341.7Stv  return 0;
45351.7Stv}
45361.7Stv_ACEOF
45371.7Stvrm -f conftest.$ac_objext
45381.52Sdbjif { (eval echo "$as_me:4538: \"$ac_compile\"") >&5
45391.52Sdbj  (eval $ac_compile) 2>&5
45401.7Stv  ac_status=$?
45411.52Sdbj  echo "$as_me:4541: \$? = $ac_status" >&5
45421.7Stv  (exit $ac_status); } &&
45431.52Sdbj         { ac_try='test -s conftest.$ac_objext'
45441.52Sdbj  { (eval echo "$as_me:4544: \"$ac_try\"") >&5
45451.7Stv  (eval $ac_try) 2>&5
45461.7Stv  ac_status=$?
45471.52Sdbj  echo "$as_me:4547: \$? = $ac_status" >&5
45481.7Stv  (exit $ac_status); }; }; then
45491.7Stv  ac_cv_have_decl_optreset=yes
45501.7Stvelse
45511.7Stv  echo "$as_me: failed program was:" >&5
45521.52Sdbjcat conftest.$ac_ext >&5
45531.7Stvac_cv_have_decl_optreset=no
45541.7Stvfi
45551.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
45561.7Stvfi
45571.52Sdbjecho "$as_me:4557: result: $ac_cv_have_decl_optreset" >&5
45581.7Stvecho "${ECHO_T}$ac_cv_have_decl_optreset" >&6
45591.7Stvif test $ac_cv_have_decl_optreset = yes; then
45601.7Stv
45611.52Sdbjcat >>confdefs.h <<EOF
45621.7Stv#define HAVE_DECL_OPTRESET 1
45631.52SdbjEOF
45641.7Stv
45651.7Stvelse
45661.52Sdbj  cat >>confdefs.h <<EOF
45671.7Stv#define HAVE_DECL_OPTRESET 0
45681.52SdbjEOF
45691.7Stv
45701.7Stvfi
45711.7Stv
45721.52Sdbjecho "$as_me:4572: checking whether sys_signame is declared" >&5
45731.4Stvecho $ECHO_N "checking whether sys_signame is declared... $ECHO_C" >&6
45741.4Stvif test "${ac_cv_have_decl_sys_signame+set}" = set; then
45751.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
45761.4Stvelse
45771.4Stv  cat >conftest.$ac_ext <<_ACEOF
45781.52Sdbj#line 4578 "configure"
45791.52Sdbj#include "confdefs.h"
45801.4Stv#include <signal.h>
45811.4Stv
45821.4Stvint
45831.4Stvmain ()
45841.4Stv{
45851.4Stv#ifndef sys_signame
45861.4Stv  char *p = (char *) sys_signame;
45871.4Stv#endif
45881.4Stv
45891.4Stv  ;
45901.4Stv  return 0;
45911.4Stv}
45921.4Stv_ACEOF
45931.4Stvrm -f conftest.$ac_objext
45941.52Sdbjif { (eval echo "$as_me:4594: \"$ac_compile\"") >&5
45951.52Sdbj  (eval $ac_compile) 2>&5
45961.4Stv  ac_status=$?
45971.52Sdbj  echo "$as_me:4597: \$? = $ac_status" >&5
45981.4Stv  (exit $ac_status); } &&
45991.52Sdbj         { ac_try='test -s conftest.$ac_objext'
46001.52Sdbj  { (eval echo "$as_me:4600: \"$ac_try\"") >&5
46011.4Stv  (eval $ac_try) 2>&5
46021.4Stv  ac_status=$?
46031.52Sdbj  echo "$as_me:4603: \$? = $ac_status" >&5
46041.4Stv  (exit $ac_status); }; }; then
46051.4Stv  ac_cv_have_decl_sys_signame=yes
46061.4Stvelse
46071.4Stv  echo "$as_me: failed program was:" >&5
46081.52Sdbjcat conftest.$ac_ext >&5
46091.4Stvac_cv_have_decl_sys_signame=no
46101.4Stvfi
46111.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
46121.4Stvfi
46131.52Sdbjecho "$as_me:4613: result: $ac_cv_have_decl_sys_signame" >&5
46141.4Stvecho "${ECHO_T}$ac_cv_have_decl_sys_signame" >&6
46151.4Stvif test $ac_cv_have_decl_sys_signame = yes; then
46161.4Stv
46171.52Sdbjcat >>confdefs.h <<EOF
46181.4Stv#define HAVE_DECL_SYS_SIGNAME 1
46191.52SdbjEOF
46201.4Stv
46211.4Stvelse
46221.52Sdbj  cat >>confdefs.h <<EOF
46231.4Stv#define HAVE_DECL_SYS_SIGNAME 0
46241.52SdbjEOF
46251.4Stv
46261.4Stvfi
46271.4Stv
46281.4Stv# Library functions (where a .h check isn't enough).
46291.19Sbjh21# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
46301.19Sbjh21# for constant arguments.  Useless!
46311.52Sdbjecho "$as_me:4631: checking for working alloca.h" >&5
46321.19Sbjh21echo $ECHO_N "checking for working alloca.h... $ECHO_C" >&6
46331.19Sbjh21if test "${ac_cv_working_alloca_h+set}" = set; then
46341.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
46351.19Sbjh21else
46361.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
46371.52Sdbj#line 4637 "configure"
46381.52Sdbj#include "confdefs.h"
46391.19Sbjh21#include <alloca.h>
46401.19Sbjh21int
46411.19Sbjh21main ()
46421.19Sbjh21{
46431.19Sbjh21char *p = (char *) alloca (2 * sizeof (int));
46441.19Sbjh21  ;
46451.19Sbjh21  return 0;
46461.19Sbjh21}
46471.19Sbjh21_ACEOF
46481.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
46491.52Sdbjif { (eval echo "$as_me:4649: \"$ac_link\"") >&5
46501.52Sdbj  (eval $ac_link) 2>&5
46511.19Sbjh21  ac_status=$?
46521.52Sdbj  echo "$as_me:4652: \$? = $ac_status" >&5
46531.19Sbjh21  (exit $ac_status); } &&
46541.52Sdbj         { ac_try='test -s conftest$ac_exeext'
46551.52Sdbj  { (eval echo "$as_me:4655: \"$ac_try\"") >&5
46561.50Sjmc  (eval $ac_try) 2>&5
46571.50Sjmc  ac_status=$?
46581.52Sdbj  echo "$as_me:4658: \$? = $ac_status" >&5
46591.19Sbjh21  (exit $ac_status); }; }; then
46601.19Sbjh21  ac_cv_working_alloca_h=yes
46611.19Sbjh21else
46621.19Sbjh21  echo "$as_me: failed program was:" >&5
46631.52Sdbjcat conftest.$ac_ext >&5
46641.19Sbjh21ac_cv_working_alloca_h=no
46651.19Sbjh21fi
46661.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
46671.19Sbjh21fi
46681.52Sdbjecho "$as_me:4668: result: $ac_cv_working_alloca_h" >&5
46691.19Sbjh21echo "${ECHO_T}$ac_cv_working_alloca_h" >&6
46701.19Sbjh21if test $ac_cv_working_alloca_h = yes; then
46711.19Sbjh21
46721.52Sdbjcat >>confdefs.h <<\EOF
46731.19Sbjh21#define HAVE_ALLOCA_H 1
46741.52SdbjEOF
46751.19Sbjh21
46761.19Sbjh21fi
46771.19Sbjh21
46781.52Sdbjecho "$as_me:4678: checking for alloca" >&5
46791.19Sbjh21echo $ECHO_N "checking for alloca... $ECHO_C" >&6
46801.19Sbjh21if test "${ac_cv_func_alloca_works+set}" = set; then
46811.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
46821.19Sbjh21else
46831.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
46841.52Sdbj#line 4684 "configure"
46851.52Sdbj#include "confdefs.h"
46861.19Sbjh21#ifdef __GNUC__
46871.19Sbjh21# define alloca __builtin_alloca
46881.19Sbjh21#else
46891.19Sbjh21# ifdef _MSC_VER
46901.19Sbjh21#  include <malloc.h>
46911.19Sbjh21#  define alloca _alloca
46921.19Sbjh21# else
46931.19Sbjh21#  if HAVE_ALLOCA_H
46941.19Sbjh21#   include <alloca.h>
46951.19Sbjh21#  else
46961.19Sbjh21#   ifdef _AIX
46971.19Sbjh21 #pragma alloca
46981.19Sbjh21#   else
46991.19Sbjh21#    ifndef alloca /* predefined by HP cc +Olibcalls */
47001.19Sbjh21char *alloca ();
47011.19Sbjh21#    endif
47021.19Sbjh21#   endif
47031.19Sbjh21#  endif
47041.19Sbjh21# endif
47051.19Sbjh21#endif
47061.19Sbjh21
47071.19Sbjh21int
47081.19Sbjh21main ()
47091.19Sbjh21{
47101.19Sbjh21char *p = (char *) alloca (1);
47111.19Sbjh21  ;
47121.19Sbjh21  return 0;
47131.19Sbjh21}
47141.19Sbjh21_ACEOF
47151.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
47161.52Sdbjif { (eval echo "$as_me:4716: \"$ac_link\"") >&5
47171.52Sdbj  (eval $ac_link) 2>&5
47181.19Sbjh21  ac_status=$?
47191.52Sdbj  echo "$as_me:4719: \$? = $ac_status" >&5
47201.19Sbjh21  (exit $ac_status); } &&
47211.52Sdbj         { ac_try='test -s conftest$ac_exeext'
47221.52Sdbj  { (eval echo "$as_me:4722: \"$ac_try\"") >&5
47231.50Sjmc  (eval $ac_try) 2>&5
47241.50Sjmc  ac_status=$?
47251.52Sdbj  echo "$as_me:4725: \$? = $ac_status" >&5
47261.19Sbjh21  (exit $ac_status); }; }; then
47271.19Sbjh21  ac_cv_func_alloca_works=yes
47281.19Sbjh21else
47291.19Sbjh21  echo "$as_me: failed program was:" >&5
47301.52Sdbjcat conftest.$ac_ext >&5
47311.19Sbjh21ac_cv_func_alloca_works=no
47321.19Sbjh21fi
47331.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
47341.19Sbjh21fi
47351.52Sdbjecho "$as_me:4735: result: $ac_cv_func_alloca_works" >&5
47361.19Sbjh21echo "${ECHO_T}$ac_cv_func_alloca_works" >&6
47371.19Sbjh21
47381.19Sbjh21if test $ac_cv_func_alloca_works = yes; then
47391.19Sbjh21
47401.52Sdbjcat >>confdefs.h <<\EOF
47411.19Sbjh21#define HAVE_ALLOCA 1
47421.52SdbjEOF
47431.19Sbjh21
47441.19Sbjh21else
47451.19Sbjh21  # The SVR3 libPW and SVR4 libucb both contain incompatible functions
47461.19Sbjh21# that cause trouble.  Some versions do not even contain alloca or
47471.19Sbjh21# contain a buggy version.  If you still want to use their alloca,
47481.19Sbjh21# use ar to extract alloca.o from them instead of compiling alloca.c.
47491.19Sbjh21
47501.19Sbjh21ALLOCA=alloca.$ac_objext
47511.19Sbjh21
47521.52Sdbjcat >>confdefs.h <<\EOF
47531.19Sbjh21#define C_ALLOCA 1
47541.52SdbjEOF
47551.39Sfredb
47561.52Sdbjecho "$as_me:4756: checking whether \`alloca.c' needs Cray hooks" >&5
47571.19Sbjh21echo $ECHO_N "checking whether \`alloca.c' needs Cray hooks... $ECHO_C" >&6
47581.19Sbjh21if test "${ac_cv_os_cray+set}" = set; then
47591.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
47601.19Sbjh21else
47611.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
47621.52Sdbj#line 4762 "configure"
47631.52Sdbj#include "confdefs.h"
47641.19Sbjh21#if defined(CRAY) && ! defined(CRAY2)
47651.19Sbjh21webecray
47661.19Sbjh21#else
47671.19Sbjh21wenotbecray
47681.19Sbjh21#endif
47691.19Sbjh21
47701.19Sbjh21_ACEOF
47711.19Sbjh21if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
47721.52Sdbj  egrep "webecray" >/dev/null 2>&1; then
47731.19Sbjh21  ac_cv_os_cray=yes
47741.19Sbjh21else
47751.19Sbjh21  ac_cv_os_cray=no
47761.19Sbjh21fi
47771.19Sbjh21rm -f conftest*
47781.19Sbjh21
47791.19Sbjh21fi
47801.52Sdbjecho "$as_me:4780: result: $ac_cv_os_cray" >&5
47811.19Sbjh21echo "${ECHO_T}$ac_cv_os_cray" >&6
47821.19Sbjh21if test $ac_cv_os_cray = yes; then
47831.19Sbjh21  for ac_func in _getb67 GETB67 getb67; do
47841.19Sbjh21    as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47851.52Sdbjecho "$as_me:4785: checking for $ac_func" >&5
47861.19Sbjh21echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47871.19Sbjh21if eval "test \"\${$as_ac_var+set}\" = set"; then
47881.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
47891.19Sbjh21else
47901.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
47911.52Sdbj#line 4791 "configure"
47921.52Sdbj#include "confdefs.h"
47931.19Sbjh21/* System header to define __stub macros and hopefully few prototypes,
47941.52Sdbj    which can conflict with char $ac_func (); below.  */
47951.52Sdbj#include <assert.h>
47961.19Sbjh21/* Override any gcc2 internal prototype to avoid an error.  */
47971.19Sbjh21#ifdef __cplusplus
47981.19Sbjh21extern "C"
47991.19Sbjh21#endif
48001.19Sbjh21/* We use char because int might match the return type of a gcc2
48011.19Sbjh21   builtin and then its argument prototype would still apply.  */
48021.19Sbjh21char $ac_func ();
48031.52Sdbjchar (*f) ();
48041.52Sdbj
48051.52Sdbjint
48061.52Sdbjmain ()
48071.52Sdbj{
48081.19Sbjh21/* The GNU C library defines this for functions which it implements
48091.19Sbjh21    to always fail with ENOSYS.  Some functions are actually named
48101.19Sbjh21    something starting with __ and the normal name is an alias.  */
48111.19Sbjh21#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48121.19Sbjh21choke me
48131.19Sbjh21#else
48141.52Sdbjf = $ac_func;
48151.19Sbjh21#endif
48161.19Sbjh21
48171.19Sbjh21  ;
48181.19Sbjh21  return 0;
48191.19Sbjh21}
48201.19Sbjh21_ACEOF
48211.19Sbjh21rm -f conftest.$ac_objext conftest$ac_exeext
48221.52Sdbjif { (eval echo "$as_me:4822: \"$ac_link\"") >&5
48231.52Sdbj  (eval $ac_link) 2>&5
48241.19Sbjh21  ac_status=$?
48251.52Sdbj  echo "$as_me:4825: \$? = $ac_status" >&5
48261.19Sbjh21  (exit $ac_status); } &&
48271.52Sdbj         { ac_try='test -s conftest$ac_exeext'
48281.52Sdbj  { (eval echo "$as_me:4828: \"$ac_try\"") >&5
48291.50Sjmc  (eval $ac_try) 2>&5
48301.50Sjmc  ac_status=$?
48311.52Sdbj  echo "$as_me:4831: \$? = $ac_status" >&5
48321.19Sbjh21  (exit $ac_status); }; }; then
48331.19Sbjh21  eval "$as_ac_var=yes"
48341.19Sbjh21else
48351.19Sbjh21  echo "$as_me: failed program was:" >&5
48361.52Sdbjcat conftest.$ac_ext >&5
48371.19Sbjh21eval "$as_ac_var=no"
48381.19Sbjh21fi
48391.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
48401.19Sbjh21fi
48411.52Sdbjecho "$as_me:4841: result: `eval echo '${'$as_ac_var'}'`" >&5
48421.19Sbjh21echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48431.19Sbjh21if test `eval echo '${'$as_ac_var'}'` = yes; then
48441.19Sbjh21
48451.52Sdbjcat >>confdefs.h <<EOF
48461.19Sbjh21#define CRAY_STACKSEG_END $ac_func
48471.52SdbjEOF
48481.19Sbjh21
48491.19Sbjh21    break
48501.19Sbjh21fi
48511.19Sbjh21
48521.19Sbjh21  done
48531.19Sbjh21fi
48541.19Sbjh21
48551.52Sdbjecho "$as_me:4855: checking stack direction for C alloca" >&5
48561.19Sbjh21echo $ECHO_N "checking stack direction for C alloca... $ECHO_C" >&6
48571.19Sbjh21if test "${ac_cv_c_stack_direction+set}" = set; then
48581.19Sbjh21  echo $ECHO_N "(cached) $ECHO_C" >&6
48591.19Sbjh21else
48601.19Sbjh21  if test "$cross_compiling" = yes; then
48611.19Sbjh21  ac_cv_c_stack_direction=0
48621.19Sbjh21else
48631.19Sbjh21  cat >conftest.$ac_ext <<_ACEOF
48641.52Sdbj#line 4864 "configure"
48651.52Sdbj#include "confdefs.h"
48661.19Sbjh21int
48671.19Sbjh21find_stack_direction ()
48681.19Sbjh21{
48691.19Sbjh21  static char *addr = 0;
48701.19Sbjh21  auto char dummy;
48711.19Sbjh21  if (addr == 0)
48721.19Sbjh21    {
48731.19Sbjh21      addr = &dummy;
48741.19Sbjh21      return find_stack_direction ();
48751.19Sbjh21    }
48761.19Sbjh21  else
48771.19Sbjh21    return (&dummy > addr) ? 1 : -1;
48781.19Sbjh21}
48791.19Sbjh21
48801.43Sdbjint
48811.43Sdbjmain ()
48821.43Sdbj{
48831.43Sdbj  exit (find_stack_direction () < 0);
48841.43Sdbj}
48851.43Sdbj_ACEOF
48861.43Sdbjrm -f conftest$ac_exeext
48871.52Sdbjif { (eval echo "$as_me:4887: \"$ac_link\"") >&5
48881.43Sdbj  (eval $ac_link) 2>&5
48891.43Sdbj  ac_status=$?
48901.52Sdbj  echo "$as_me:4890: \$? = $ac_status" >&5
48911.43Sdbj  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
48921.52Sdbj  { (eval echo "$as_me:4892: \"$ac_try\"") >&5
48931.43Sdbj  (eval $ac_try) 2>&5
48941.43Sdbj  ac_status=$?
48951.52Sdbj  echo "$as_me:4895: \$? = $ac_status" >&5
48961.43Sdbj  (exit $ac_status); }; }; then
48971.43Sdbj  ac_cv_c_stack_direction=1
48981.43Sdbjelse
48991.43Sdbj  echo "$as_me: program exited with status $ac_status" >&5
49001.43Sdbjecho "$as_me: failed program was:" >&5
49011.52Sdbjcat conftest.$ac_ext >&5
49021.43Sdbjac_cv_c_stack_direction=-1
49031.43Sdbjfi
49041.52Sdbjrm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
49051.43Sdbjfi
49061.43Sdbjfi
49071.52Sdbjecho "$as_me:4907: result: $ac_cv_c_stack_direction" >&5
49081.43Sdbjecho "${ECHO_T}$ac_cv_c_stack_direction" >&6
49091.39Sfredb
49101.52Sdbjcat >>confdefs.h <<EOF
49111.43Sdbj#define STACK_DIRECTION $ac_cv_c_stack_direction
49121.52SdbjEOF
49131.39Sfredb
49141.43Sdbjfi
49151.40Satatat
49161.40Satatatfor ac_func in atoll asprintf asnprintf basename devname dirfd dirname \
49171.44Sthorpej	fgetln flock fparseln futimes getopt getopt_long group_from_gid \
49181.49Sjmc	heapsort isblank issetugid lchflags lchmod lchown lutimes mkstemp \
49191.49Sjmc	mkdtemp poll pread putc_unlocked pwcache_userdb pwrite random setenv \
49201.36Sthorpej	setgroupent setprogname setpassent snprintf strlcat strlcpy strsep \
49211.29Slukem	strsuftoll strtoll \
49221.23Sthorpej	user_from_uid vasprintf vasnprintf vsnprintf
49231.1Stvdo
49241.1Stvas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49251.52Sdbjecho "$as_me:4925: checking for $ac_func" >&5
49261.45Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49271.45Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then
49281.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
49291.45Sjmcelse
49301.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
49311.52Sdbj#line 4931 "configure"
49321.52Sdbj#include "confdefs.h"
49331.45Sjmc/* System header to define __stub macros and hopefully few prototypes,
49341.52Sdbj    which can conflict with char $ac_func (); below.  */
49351.52Sdbj#include <assert.h>
49361.45Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
49371.45Sjmc#ifdef __cplusplus
49381.45Sjmcextern "C"
49391.45Sjmc#endif
49401.45Sjmc/* We use char because int might match the return type of a gcc2
49411.45Sjmc   builtin and then its argument prototype would still apply.  */
49421.45Sjmcchar $ac_func ();
49431.52Sdbjchar (*f) ();
49441.52Sdbj
49451.52Sdbjint
49461.52Sdbjmain ()
49471.52Sdbj{
49481.45Sjmc/* The GNU C library defines this for functions which it implements
49491.45Sjmc    to always fail with ENOSYS.  Some functions are actually named
49501.45Sjmc    something starting with __ and the normal name is an alias.  */
49511.45Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49521.45Sjmcchoke me
49531.45Sjmc#else
49541.52Sdbjf = $ac_func;
49551.45Sjmc#endif
49561.45Sjmc
49571.45Sjmc  ;
49581.45Sjmc  return 0;
49591.45Sjmc}
49601.45Sjmc_ACEOF
49611.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
49621.52Sdbjif { (eval echo "$as_me:4962: \"$ac_link\"") >&5
49631.52Sdbj  (eval $ac_link) 2>&5
49641.45Sjmc  ac_status=$?
49651.52Sdbj  echo "$as_me:4965: \$? = $ac_status" >&5
49661.45Sjmc  (exit $ac_status); } &&
49671.52Sdbj         { ac_try='test -s conftest$ac_exeext'
49681.52Sdbj  { (eval echo "$as_me:4968: \"$ac_try\"") >&5
49691.50Sjmc  (eval $ac_try) 2>&5
49701.50Sjmc  ac_status=$?
49711.52Sdbj  echo "$as_me:4971: \$? = $ac_status" >&5
49721.45Sjmc  (exit $ac_status); }; }; then
49731.45Sjmc  eval "$as_ac_var=yes"
49741.45Sjmcelse
49751.45Sjmc  echo "$as_me: failed program was:" >&5
49761.52Sdbjcat conftest.$ac_ext >&5
49771.45Sjmceval "$as_ac_var=no"
49781.45Sjmcfi
49791.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
49801.45Sjmcfi
49811.52Sdbjecho "$as_me:4981: result: `eval echo '${'$as_ac_var'}'`" >&5
49821.45Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49831.45Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then
49841.52Sdbj  cat >>confdefs.h <<EOF
49851.45Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49861.52SdbjEOF
49871.45Sjmc
49881.45Sjmcfi
49891.45Sjmcdone
49901.45Sjmc
49911.51Swizfor ac_func in htobe16 htobe32 htobe64 htole16 htole32 htole64 be16toh be32toh be64toh le16toh le32toh le64toh
49921.45Sjmcdo
49931.45Sjmcas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49941.52Sdbjecho "$as_me:4994: checking for $ac_func" >&5
49951.45Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49961.45Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then
49971.45Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
49981.45Sjmcelse
49991.45Sjmc  cat >conftest.$ac_ext <<_ACEOF
50001.52Sdbj#line 5000 "configure"
50011.52Sdbj#include "confdefs.h"
50021.45Sjmc/* System header to define __stub macros and hopefully few prototypes,
50031.52Sdbj    which can conflict with char $ac_func (); below.  */
50041.52Sdbj#include <assert.h>
50051.45Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
50061.45Sjmc#ifdef __cplusplus
50071.45Sjmcextern "C"
50081.45Sjmc#endif
50091.45Sjmc/* We use char because int might match the return type of a gcc2
50101.45Sjmc   builtin and then its argument prototype would still apply.  */
50111.45Sjmcchar $ac_func ();
50121.52Sdbjchar (*f) ();
50131.52Sdbj
50141.52Sdbjint
50151.52Sdbjmain ()
50161.52Sdbj{
50171.48Sjmc/* The GNU C library defines this for functions which it implements
50181.48Sjmc    to always fail with ENOSYS.  Some functions are actually named
50191.48Sjmc    something starting with __ and the normal name is an alias.  */
50201.48Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50211.48Sjmcchoke me
50221.48Sjmc#else
50231.52Sdbjf = $ac_func;
50241.48Sjmc#endif
50251.45Sjmc
50261.48Sjmc  ;
50271.48Sjmc  return 0;
50281.48Sjmc}
50291.48Sjmc_ACEOF
50301.48Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
50311.52Sdbjif { (eval echo "$as_me:5031: \"$ac_link\"") >&5
50321.52Sdbj  (eval $ac_link) 2>&5
50331.48Sjmc  ac_status=$?
50341.52Sdbj  echo "$as_me:5034: \$? = $ac_status" >&5
50351.48Sjmc  (exit $ac_status); } &&
50361.52Sdbj         { ac_try='test -s conftest$ac_exeext'
50371.52Sdbj  { (eval echo "$as_me:5037: \"$ac_try\"") >&5
50381.48Sjmc  (eval $ac_try) 2>&5
50391.48Sjmc  ac_status=$?
50401.52Sdbj  echo "$as_me:5040: \$? = $ac_status" >&5
50411.48Sjmc  (exit $ac_status); }; }; then
50421.48Sjmc  eval "$as_ac_var=yes"
50431.48Sjmcelse
50441.48Sjmc  echo "$as_me: failed program was:" >&5
50451.52Sdbjcat conftest.$ac_ext >&5
50461.48Sjmceval "$as_ac_var=no"
50471.48Sjmcfi
50481.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
50491.48Sjmcfi
50501.52Sdbjecho "$as_me:5050: result: `eval echo '${'$as_ac_var'}'`" >&5
50511.48Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50521.48Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then
50531.52Sdbj  cat >>confdefs.h <<EOF
50541.48Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50551.52SdbjEOF
50561.48Sjmc
50571.48Sjmcfi
50581.48Sjmcdone
50591.48Sjmc
50601.51Swizfor ac_func in bswap16 bswap32 bswap64
50611.48Sjmcdo
50621.48Sjmcas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50631.52Sdbjecho "$as_me:5063: checking for $ac_func" >&5
50641.48Sjmcecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50651.48Sjmcif eval "test \"\${$as_ac_var+set}\" = set"; then
50661.48Sjmc  echo $ECHO_N "(cached) $ECHO_C" >&6
50671.48Sjmcelse
50681.48Sjmc  cat >conftest.$ac_ext <<_ACEOF
50691.52Sdbj#line 5069 "configure"
50701.52Sdbj#include "confdefs.h"
50711.48Sjmc/* System header to define __stub macros and hopefully few prototypes,
50721.52Sdbj    which can conflict with char $ac_func (); below.  */
50731.52Sdbj#include <assert.h>
50741.48Sjmc/* Override any gcc2 internal prototype to avoid an error.  */
50751.48Sjmc#ifdef __cplusplus
50761.48Sjmcextern "C"
50771.48Sjmc#endif
50781.48Sjmc/* We use char because int might match the return type of a gcc2
50791.48Sjmc   builtin and then its argument prototype would still apply.  */
50801.48Sjmcchar $ac_func ();
50811.52Sdbjchar (*f) ();
50821.52Sdbj
50831.52Sdbjint
50841.52Sdbjmain ()
50851.52Sdbj{
50861.45Sjmc/* The GNU C library defines this for functions which it implements
50871.45Sjmc    to always fail with ENOSYS.  Some functions are actually named
50881.45Sjmc    something starting with __ and the normal name is an alias.  */
50891.45Sjmc#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50901.45Sjmcchoke me
50911.45Sjmc#else
50921.52Sdbjf = $ac_func;
50931.45Sjmc#endif
50941.45Sjmc
50951.45Sjmc  ;
50961.45Sjmc  return 0;
50971.45Sjmc}
50981.45Sjmc_ACEOF
50991.45Sjmcrm -f conftest.$ac_objext conftest$ac_exeext
51001.52Sdbjif { (eval echo "$as_me:5100: \"$ac_link\"") >&5
51011.52Sdbj  (eval $ac_link) 2>&5
51021.45Sjmc  ac_status=$?
51031.52Sdbj  echo "$as_me:5103: \$? = $ac_status" >&5
51041.45Sjmc  (exit $ac_status); } &&
51051.52Sdbj         { ac_try='test -s conftest$ac_exeext'
51061.52Sdbj  { (eval echo "$as_me:5106: \"$ac_try\"") >&5
51071.45Sjmc  (eval $ac_try) 2>&5
51081.45Sjmc  ac_status=$?
51091.52Sdbj  echo "$as_me:5109: \$? = $ac_status" >&5
51101.45Sjmc  (exit $ac_status); }; }; then
51111.45Sjmc  eval "$as_ac_var=yes"
51121.45Sjmcelse
51131.45Sjmc  echo "$as_me: failed program was:" >&5
51141.52Sdbjcat conftest.$ac_ext >&5
51151.45Sjmceval "$as_ac_var=no"
51161.45Sjmcfi
51171.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51181.45Sjmcfi
51191.52Sdbjecho "$as_me:5119: result: `eval echo '${'$as_ac_var'}'`" >&5
51201.45Sjmcecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51211.45Sjmcif test `eval echo '${'$as_ac_var'}'` = yes; then
51221.52Sdbj  cat >>confdefs.h <<EOF
51231.45Sjmc#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51241.52SdbjEOF
51251.45Sjmc
51261.45Sjmcfi
51271.45Sjmcdone
51281.45Sjmc
51291.48Sjmcfor ac_func in fstatvfs
51301.45Sjmcdo
51311.45Sjmcas_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51321.52Sdbjecho "$as_me:5132: checking for $ac_func" >&5
51331.1Stvecho $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51341.1Stvif eval "test \"\${$as_ac_var+set}\" = set"; then
51351.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
51361.1Stvelse
51371.1Stv  cat >conftest.$ac_ext <<_ACEOF
51381.52Sdbj#line 5138 "configure"
51391.52Sdbj#include "confdefs.h"
51401.39Sfredb/* System header to define __stub macros and hopefully few prototypes,
51411.52Sdbj    which can conflict with char $ac_func (); below.  */
51421.52Sdbj#include <assert.h>
51431.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
51441.1Stv#ifdef __cplusplus
51451.1Stvextern "C"
51461.1Stv#endif
51471.1Stv/* We use char because int might match the return type of a gcc2
51481.1Stv   builtin and then its argument prototype would still apply.  */
51491.1Stvchar $ac_func ();
51501.52Sdbjchar (*f) ();
51511.52Sdbj
51521.52Sdbjint
51531.52Sdbjmain ()
51541.52Sdbj{
51551.1Stv/* The GNU C library defines this for functions which it implements
51561.1Stv    to always fail with ENOSYS.  Some functions are actually named
51571.1Stv    something starting with __ and the normal name is an alias.  */
51581.1Stv#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51591.1Stvchoke me
51601.1Stv#else
51611.52Sdbjf = $ac_func;
51621.1Stv#endif
51631.1Stv
51641.1Stv  ;
51651.1Stv  return 0;
51661.1Stv}
51671.1Stv_ACEOF
51681.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
51691.52Sdbjif { (eval echo "$as_me:5169: \"$ac_link\"") >&5
51701.52Sdbj  (eval $ac_link) 2>&5
51711.1Stv  ac_status=$?
51721.52Sdbj  echo "$as_me:5172: \$? = $ac_status" >&5
51731.1Stv  (exit $ac_status); } &&
51741.52Sdbj         { ac_try='test -s conftest$ac_exeext'
51751.52Sdbj  { (eval echo "$as_me:5175: \"$ac_try\"") >&5
51761.1Stv  (eval $ac_try) 2>&5
51771.1Stv  ac_status=$?
51781.52Sdbj  echo "$as_me:5178: \$? = $ac_status" >&5
51791.1Stv  (exit $ac_status); }; }; then
51801.1Stv  eval "$as_ac_var=yes"
51811.1Stvelse
51821.1Stv  echo "$as_me: failed program was:" >&5
51831.52Sdbjcat conftest.$ac_ext >&5
51841.1Stveval "$as_ac_var=no"
51851.1Stvfi
51861.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
51871.1Stvfi
51881.52Sdbjecho "$as_me:5188: result: `eval echo '${'$as_ac_var'}'`" >&5
51891.1Stvecho "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51901.1Stvif test `eval echo '${'$as_ac_var'}'` = yes; then
51911.52Sdbj  cat >>confdefs.h <<EOF
51921.1Stv#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51931.52SdbjEOF
51941.1Stv
51951.1Stvfi
51961.1Stvdone
51971.1Stv
51981.52Sdbjecho "$as_me:5198: checking whether setgroupent is declared" >&5
51991.8Stvecho $ECHO_N "checking whether setgroupent is declared... $ECHO_C" >&6
52001.8Stvif test "${ac_cv_have_decl_setgroupent+set}" = set; then
52011.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
52021.8Stvelse
52031.8Stv  cat >conftest.$ac_ext <<_ACEOF
52041.52Sdbj#line 5204 "configure"
52051.52Sdbj#include "confdefs.h"
52061.8Stv
52071.33Sthorpej#include <sys/types.h>
52081.8Stv#include <grp.h>
52091.8Stv#include <pwd.h>
52101.8Stv
52111.8Stvint
52121.8Stvmain ()
52131.8Stv{
52141.8Stv#ifndef setgroupent
52151.8Stv  char *p = (char *) setgroupent;
52161.8Stv#endif
52171.8Stv
52181.8Stv  ;
52191.8Stv  return 0;
52201.8Stv}
52211.8Stv_ACEOF
52221.8Stvrm -f conftest.$ac_objext
52231.52Sdbjif { (eval echo "$as_me:5223: \"$ac_compile\"") >&5
52241.52Sdbj  (eval $ac_compile) 2>&5
52251.8Stv  ac_status=$?
52261.52Sdbj  echo "$as_me:5226: \$? = $ac_status" >&5
52271.8Stv  (exit $ac_status); } &&
52281.52Sdbj         { ac_try='test -s conftest.$ac_objext'
52291.52Sdbj  { (eval echo "$as_me:5229: \"$ac_try\"") >&5
52301.50Sjmc  (eval $ac_try) 2>&5
52311.50Sjmc  ac_status=$?
52321.52Sdbj  echo "$as_me:5232: \$? = $ac_status" >&5
52331.8Stv  (exit $ac_status); }; }; then
52341.8Stv  ac_cv_have_decl_setgroupent=yes
52351.8Stvelse
52361.8Stv  echo "$as_me: failed program was:" >&5
52371.52Sdbjcat conftest.$ac_ext >&5
52381.8Stvac_cv_have_decl_setgroupent=no
52391.8Stvfi
52401.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
52411.8Stvfi
52421.52Sdbjecho "$as_me:5242: result: $ac_cv_have_decl_setgroupent" >&5
52431.8Stvecho "${ECHO_T}$ac_cv_have_decl_setgroupent" >&6
52441.8Stvif test $ac_cv_have_decl_setgroupent = yes; then
52451.8Stv
52461.52Sdbjcat >>confdefs.h <<EOF
52471.8Stv#define HAVE_DECL_SETGROUPENT 1
52481.52SdbjEOF
52491.8Stv
52501.8Stvelse
52511.52Sdbj  cat >>confdefs.h <<EOF
52521.8Stv#define HAVE_DECL_SETGROUPENT 0
52531.52SdbjEOF
52541.8Stv
52551.8Stvfi
52561.52Sdbjecho "$as_me:5256: checking whether setpassent is declared" >&5
52571.8Stvecho $ECHO_N "checking whether setpassent is declared... $ECHO_C" >&6
52581.8Stvif test "${ac_cv_have_decl_setpassent+set}" = set; then
52591.8Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
52601.8Stvelse
52611.8Stv  cat >conftest.$ac_ext <<_ACEOF
52621.52Sdbj#line 5262 "configure"
52631.52Sdbj#include "confdefs.h"
52641.8Stv
52651.33Sthorpej#include <sys/types.h>
52661.8Stv#include <grp.h>
52671.8Stv#include <pwd.h>
52681.8Stv
52691.8Stvint
52701.8Stvmain ()
52711.8Stv{
52721.8Stv#ifndef setpassent
52731.8Stv  char *p = (char *) setpassent;
52741.8Stv#endif
52751.8Stv
52761.8Stv  ;
52771.8Stv  return 0;
52781.8Stv}
52791.8Stv_ACEOF
52801.8Stvrm -f conftest.$ac_objext
52811.52Sdbjif { (eval echo "$as_me:5281: \"$ac_compile\"") >&5
52821.52Sdbj  (eval $ac_compile) 2>&5
52831.8Stv  ac_status=$?
52841.52Sdbj  echo "$as_me:5284: \$? = $ac_status" >&5
52851.8Stv  (exit $ac_status); } &&
52861.52Sdbj         { ac_try='test -s conftest.$ac_objext'
52871.52Sdbj  { (eval echo "$as_me:5287: \"$ac_try\"") >&5
52881.50Sjmc  (eval $ac_try) 2>&5
52891.50Sjmc  ac_status=$?
52901.52Sdbj  echo "$as_me:5290: \$? = $ac_status" >&5
52911.8Stv  (exit $ac_status); }; }; then
52921.8Stv  ac_cv_have_decl_setpassent=yes
52931.8Stvelse
52941.8Stv  echo "$as_me: failed program was:" >&5
52951.52Sdbjcat conftest.$ac_ext >&5
52961.8Stvac_cv_have_decl_setpassent=no
52971.8Stvfi
52981.52Sdbjrm -f conftest.$ac_objext conftest.$ac_ext
52991.8Stvfi
53001.52Sdbjecho "$as_me:5300: result: $ac_cv_have_decl_setpassent" >&5
53011.8Stvecho "${ECHO_T}$ac_cv_have_decl_setpassent" >&6
53021.8Stvif test $ac_cv_have_decl_setpassent = yes; then
53031.8Stv
53041.52Sdbjcat >>confdefs.h <<EOF
53051.8Stv#define HAVE_DECL_SETPASSENT 1
53061.52SdbjEOF
53071.8Stv
53081.8Stvelse
53091.52Sdbj  cat >>confdefs.h <<EOF
53101.8Stv#define HAVE_DECL_SETPASSENT 0
53111.52SdbjEOF
53121.8Stv
53131.8Stvfi
53141.8Stv
53151.4Stv# regcomp() and regexec() are also names of functions in the old V8
53161.4Stv# regexp package.  To avoid them, we need to find out who has regfree().
53171.4Stv
53181.52Sdbjecho "$as_me:5318: checking for regfree in -lregex" >&5
53191.4Stvecho $ECHO_N "checking for regfree in -lregex... $ECHO_C" >&6
53201.4Stvif test "${ac_cv_lib_regex_regfree+set}" = set; then
53211.4Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
53221.4Stvelse
53231.4Stv  ac_check_lib_save_LIBS=$LIBS
53241.4StvLIBS="-lregex  $LIBS"
53251.4Stvcat >conftest.$ac_ext <<_ACEOF
53261.52Sdbj#line 5326 "configure"
53271.52Sdbj#include "confdefs.h"
53281.4Stv
53291.4Stv/* Override any gcc2 internal prototype to avoid an error.  */
53301.4Stv#ifdef __cplusplus
53311.4Stvextern "C"
53321.4Stv#endif
53331.4Stv/* We use char because int might match the return type of a gcc2
53341.4Stv   builtin and then its argument prototype would still apply.  */
53351.4Stvchar regfree ();
53361.4Stvint
53371.4Stvmain ()
53381.4Stv{
53391.4Stvregfree ();
53401.4Stv  ;
53411.4Stv  return 0;
53421.4Stv}
53431.4Stv_ACEOF
53441.4Stvrm -f conftest.$ac_objext conftest$ac_exeext
53451.52Sdbjif { (eval echo "$as_me:5345: \"$ac_link\"") >&5
53461.52Sdbj  (eval $ac_link) 2>&5
53471.4Stv  ac_status=$?
53481.52Sdbj  echo "$as_me:5348: \$? = $ac_status" >&5
53491.4Stv  (exit $ac_status); } &&
53501.52Sdbj         { ac_try='test -s conftest$ac_exeext'
53511.52Sdbj  { (eval echo "$as_me:5351: \"$ac_try\"") >&5
53521.4Stv  (eval $ac_try) 2>&5
53531.4Stv  ac_status=$?
53541.52Sdbj  echo "$as_me:5354: \$? = $ac_status" >&5
53551.4Stv  (exit $ac_status); }; }; then
53561.4Stv  ac_cv_lib_regex_regfree=yes
53571.4Stvelse
53581.4Stv  echo "$as_me: failed program was:" >&5
53591.52Sdbjcat conftest.$ac_ext >&5
53601.4Stvac_cv_lib_regex_regfree=no
53611.4Stvfi
53621.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
53631.4StvLIBS=$ac_check_lib_save_LIBS
53641.4Stvfi
53651.52Sdbjecho "$as_me:5365: result: $ac_cv_lib_regex_regfree" >&5
53661.4Stvecho "${ECHO_T}$ac_cv_lib_regex_regfree" >&6
53671.4Stvif test $ac_cv_lib_regex_regfree = yes; then
53681.52Sdbj  cat >>confdefs.h <<EOF
53691.4Stv#define HAVE_LIBREGEX 1
53701.52SdbjEOF
53711.4Stv
53721.4Stv  LIBS="-lregex $LIBS"
53731.4Stv
53741.4Stvfi
53751.4Stv
53761.52Sdbjecho "$as_me:5376: checking for library containing regfree" >&5
53771.4Stvecho $ECHO_N "checking for library containing regfree... $ECHO_C" >&6
53781.4Stvif test "${ac_cv_search_regfree+set}" = set; then
53791.1Stv  echo $ECHO_N "(cached) $ECHO_C" >&6
53801.1Stvelse
53811.1Stv  ac_func_search_save_LIBS=$LIBS
53821.4Stvac_cv_search_regfree=no
53831.1Stvcat >conftest.$ac_ext <<_ACEOF
53841.52Sdbj#line 5384 "configure"
53851.52Sdbj#include "confdefs.h"
53861.1Stv
53871.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
53881.1Stv#ifdef __cplusplus
53891.1Stvextern "C"
53901.1Stv#endif
53911.1Stv/* We use char because int might match the return type of a gcc2
53921.1Stv   builtin and then its argument prototype would still apply.  */
53931.4Stvchar regfree ();
53941.1Stvint
53951.1Stvmain ()
53961.1Stv{
53971.4Stvregfree ();
53981.1Stv  ;
53991.1Stv  return 0;
54001.1Stv}
54011.1Stv_ACEOF
54021.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
54031.52Sdbjif { (eval echo "$as_me:5403: \"$ac_link\"") >&5
54041.52Sdbj  (eval $ac_link) 2>&5
54051.1Stv  ac_status=$?
54061.52Sdbj  echo "$as_me:5406: \$? = $ac_status" >&5
54071.1Stv  (exit $ac_status); } &&
54081.52Sdbj         { ac_try='test -s conftest$ac_exeext'
54091.52Sdbj  { (eval echo "$as_me:5409: \"$ac_try\"") >&5
54101.1Stv  (eval $ac_try) 2>&5
54111.1Stv  ac_status=$?
54121.52Sdbj  echo "$as_me:5412: \$? = $ac_status" >&5
54131.1Stv  (exit $ac_status); }; }; then
54141.4Stv  ac_cv_search_regfree="none required"
54151.1Stvelse
54161.1Stv  echo "$as_me: failed program was:" >&5
54171.52Sdbjcat conftest.$ac_ext >&5
54181.1Stvfi
54191.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54201.4Stvif test "$ac_cv_search_regfree" = no; then
54211.4Stv  for ac_lib in rx posix; do
54221.1Stv    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
54231.1Stv    cat >conftest.$ac_ext <<_ACEOF
54241.52Sdbj#line 5424 "configure"
54251.52Sdbj#include "confdefs.h"
54261.1Stv
54271.1Stv/* Override any gcc2 internal prototype to avoid an error.  */
54281.1Stv#ifdef __cplusplus
54291.1Stvextern "C"
54301.1Stv#endif
54311.1Stv/* We use char because int might match the return type of a gcc2
54321.1Stv   builtin and then its argument prototype would still apply.  */
54331.4Stvchar regfree ();
54341.1Stvint
54351.1Stvmain ()
54361.1Stv{
54371.4Stvregfree ();
54381.1Stv  ;
54391.1Stv  return 0;
54401.1Stv}
54411.1Stv_ACEOF
54421.1Stvrm -f conftest.$ac_objext conftest$ac_exeext
54431.52Sdbjif { (eval echo "$as_me:5443: \"$ac_link\"") >&5
54441.52Sdbj  (eval $ac_link) 2>&5
54451.1Stv  ac_status=$?
54461.52Sdbj  echo "$as_me:5446: \$? = $ac_status" >&5
54471.1Stv  (exit $ac_status); } &&
54481.52Sdbj         { ac_try='test -s conftest$ac_exeext'
54491.52Sdbj  { (eval echo "$as_me:5449: \"$ac_try\"") >&5
54501.1Stv  (eval $ac_try) 2>&5
54511.1Stv  ac_status=$?
54521.52Sdbj  echo "$as_me:5452: \$? = $ac_status" >&5
54531.1Stv  (exit $ac_status); }; }; then
54541.4Stv  ac_cv_search_regfree="-l$ac_lib"
54551.1Stvbreak
54561.1Stvelse
54571.1Stv  echo "$as_me: failed program was:" >&5
54581.52Sdbjcat conftest.$ac_ext >&5
54591.1Stvfi
54601.52Sdbjrm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
54611.1Stv  done
54621.1Stvfi
54631.1StvLIBS=$ac_func_search_save_LIBS
54641.1Stvfi
54651.52Sdbjecho "$as_me:5465: result: $ac_cv_search_regfree" >&5
54661.4Stvecho "${ECHO_T}$ac_cv_search_regfree" >&6
54671.4Stvif test "$ac_cv_search_regfree" != no; then
54681.4Stv  test "$ac_cv_search_regfree" = "none required" || LIBS="$ac_cv_search_regfree $LIBS"
54691.1Stv
54701.1Stvfi
54711.1Stv
54721.1Stvcat >confcache <<\_ACEOF
54731.1Stv# This file is a shell script that caches the results of configure
54741.1Stv# tests run on this system so they can be shared between configure
54751.1Stv# scripts and configure runs, see configure's option --config-cache.
54761.1Stv# It is not useful on other systems.  If it contains results you don't
54771.1Stv# want to keep, you may remove or edit it.
54781.1Stv#
54791.1Stv# config.status only pays attention to the cache file if you give it
54801.1Stv# the --recheck option to rerun configure.
54811.1Stv#
54821.52Sdbj# `ac_cv_env_foo' variables (set or unset) will be overriden when
54831.1Stv# loading this file, other *unset* `ac_cv_foo' will be assigned the
54841.1Stv# following values.
54851.1Stv
54861.1Stv_ACEOF
54871.1Stv
54881.1Stv# The following way of writing the cache mishandles newlines in values,
54891.1Stv# but we know of no workaround that is simple, portable, and efficient.
54901.1Stv# So, don't put newlines in cache variables' values.
54911.1Stv# Ultrix sh set writes to stderr and can't be redirected directly,
54921.1Stv# and sets the high bit in the cache file unless we assign to the vars.
54931.1Stv{
54941.1Stv  (set) 2>&1 |
54951.1Stv    case `(ac_space=' '; set | grep ac_space) 2>&1` in
54961.1Stv    *ac_space=\ *)
54971.1Stv      # `set' does not quote correctly, so add quotes (double-quote
54981.1Stv      # substitution turns \\\\ into \\, and sed turns \\ into \).
54991.1Stv      sed -n \
55001.52Sdbj        "s/'/'\\\\''/g;
55011.52Sdbj    	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
55021.1Stv      ;;
55031.1Stv    *)
55041.1Stv      # `set' quotes correctly as required by POSIX, so do not add quotes.
55051.1Stv      sed -n \
55061.52Sdbj        "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
55071.1Stv      ;;
55081.1Stv    esac;
55091.1Stv} |
55101.1Stv  sed '
55111.1Stv     t clear
55121.1Stv     : clear
55131.1Stv     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
55141.1Stv     t end
55151.1Stv     /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
55161.1Stv     : end' >>confcache
55171.52Sdbjif cmp -s $cache_file confcache; then :; else
55181.1Stv  if test -w $cache_file; then
55191.1Stv    test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
55201.1Stv    cat confcache >$cache_file
55211.1Stv  else
55221.1Stv    echo "not updating unwritable cache $cache_file"
55231.1Stv  fi
55241.1Stvfi
55251.1Stvrm -f confcache
55261.1Stv
55271.1Stvtest "x$prefix" = xNONE && prefix=$ac_default_prefix
55281.1Stv# Let make expand exec_prefix.
55291.1Stvtest "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
55301.1Stv
55311.1Stv# VPATH may cause trouble with some makes, so we remove $(srcdir),
55321.1Stv# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
55331.1Stv# trailing colons and then remove the whole line if VPATH becomes empty
55341.1Stv# (actually we leave an empty line to preserve line numbers).
55351.1Stvif test "x$srcdir" = x.; then
55361.52Sdbj  ac_vpsub='/^[ 	]*VPATH[ 	]*=/{
55371.1Stvs/:*\$(srcdir):*/:/;
55381.1Stvs/:*\${srcdir}:*/:/;
55391.1Stvs/:*@srcdir@:*/:/;
55401.52Sdbjs/^\([^=]*=[ 	]*\):*/\1/;
55411.1Stvs/:*$//;
55421.52Sdbjs/^[^=]*=[ 	]*$//;
55431.1Stv}'
55441.1Stvfi
55451.1Stv
55461.1StvDEFS=-DHAVE_CONFIG_H
55471.1Stv
55481.1Stv: ${CONFIG_STATUS=./config.status}
55491.1Stvac_clean_files_save=$ac_clean_files
55501.1Stvac_clean_files="$ac_clean_files $CONFIG_STATUS"
55511.52Sdbj{ echo "$as_me:5551: creating $CONFIG_STATUS" >&5
55521.1Stvecho "$as_me: creating $CONFIG_STATUS" >&6;}
55531.1Stvcat >$CONFIG_STATUS <<_ACEOF
55541.1Stv#! $SHELL
55551.52Sdbj# Generated automatically by configure.
55561.1Stv# Run this file to recreate the current configuration.
55571.1Stv# Compiler output produced by configure, useful for debugging
55581.1Stv# configure, is in config.log if it exists.
55591.1Stv
55601.1Stvdebug=false
55611.1StvSHELL=\${CONFIG_SHELL-$SHELL}
55621.52Sdbjac_cs_invocation="\$0 \$@"
55631.52Sdbj
55641.1Stv_ACEOF
55651.1Stv
55661.1Stvcat >>$CONFIG_STATUS <<\_ACEOF
55671.1Stv# Be Bourne compatible
55681.1Stvif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
55691.1Stv  emulate sh
55701.1Stv  NULLCMD=:
55711.1Stvelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
55721.1Stv  set -o posix
55731.1Stvfi
55741.1Stv
55751.1Stv# Name of the executable.
55761.52Sdbjas_me=`echo "$0" |sed 's,.*[\\/],,'`
55771.1Stv
55781.1Stvif expr a : '\(a\)' >/dev/null 2>&1; then
55791.1Stv  as_expr=expr
55801.1Stvelse
55811.1Stv  as_expr=false
55821.1Stvfi
55831.1Stv
55841.1Stvrm -f conf$$ conf$$.exe conf$$.file
55851.1Stvecho >conf$$.file
55861.1Stvif ln -s conf$$.file conf$$ 2>/dev/null; then
55871.1Stv  # We could just check for DJGPP; but this test a) works b) is more generic
55881.1Stv  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
55891.1Stv  if test -f conf$$.exe; then
55901.1Stv    # Don't use ln at all; we don't have any links
55911.1Stv    as_ln_s='cp -p'
55921.1Stv  else
55931.1Stv    as_ln_s='ln -s'
55941.1Stv  fi
55951.1Stvelif ln conf$$.file conf$$ 2>/dev/null; then
55961.1Stv  as_ln_s=ln
55971.1Stvelse
55981.1Stv  as_ln_s='cp -p'
55991.1Stvfi
56001.1Stvrm -f conf$$ conf$$.exe conf$$.file
56011.1Stv
56021.52Sdbjas_executable_p="test -f"
56031.52Sdbj
56041.52Sdbj# Support unset when possible.
56051.52Sdbjif (FOO=FOO; unset FOO) >/dev/null 2>&1; then
56061.52Sdbj  as_unset=unset
56071.48Sjmcelse
56081.52Sdbj  as_unset=false
56091.48Sjmcfi
56101.48Sjmc
56111.52Sdbj# NLS nuisances.
56121.52Sdbj$as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
56131.52Sdbj$as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
56141.52Sdbj$as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
56151.52Sdbj$as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
56161.52Sdbj$as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
56171.52Sdbj$as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
56181.52Sdbj$as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
56191.52Sdbj$as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
56201.1Stv
56211.1Stv# IFS
56221.1Stv# We need space, tab and new line, in precisely that order.
56231.1Stvas_nl='
56241.1Stv'
56251.1StvIFS=" 	$as_nl"
56261.1Stv
56271.1Stv# CDPATH.
56281.52Sdbj$as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
56291.1Stv
56301.1Stvexec 6>&1
56311.1Stv
56321.1Stv_ACEOF
56331.1Stv
56341.1Stv# Files that config.status was made for.
56351.1Stvif test -n "$ac_config_files"; then
56361.1Stv  echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
56371.1Stvfi
56381.1Stv
56391.1Stvif test -n "$ac_config_headers"; then
56401.1Stv  echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
56411.1Stvfi
56421.1Stv
56431.1Stvif test -n "$ac_config_links"; then
56441.1Stv  echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
56451.1Stvfi
56461.1Stv
56471.1Stvif test -n "$ac_config_commands"; then
56481.1Stv  echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
56491.1Stvfi
56501.1Stv
56511.52Sdbjcat >>$CONFIG_STATUS <<\EOF
56521.1Stv
56531.1Stvac_cs_usage="\
56541.1Stv\`$as_me' instantiates files from templates according to the
56551.1Stvcurrent configuration.
56561.1Stv
56571.1StvUsage: $0 [OPTIONS] [FILE]...
56581.1Stv
56591.1Stv  -h, --help       print this help, then exit
56601.1Stv  -V, --version    print version number, then exit
56611.1Stv  -d, --debug      don't remove temporary files
56621.1Stv      --recheck    update $as_me by reconfiguring in the same conditions
56631.1Stv  --file=FILE[:TEMPLATE]
56641.52Sdbj                   instantiate the configuration file FILE
56651.1Stv  --header=FILE[:TEMPLATE]
56661.52Sdbj                   instantiate the configuration header FILE
56671.1Stv
56681.1StvConfiguration files:
56691.1Stv$config_files
56701.1Stv
56711.1StvConfiguration headers:
56721.1Stv$config_headers
56731.1Stv
56741.1StvReport bugs to <bug-autoconf@gnu.org>."
56751.52SdbjEOF
56761.1Stv
56771.52Sdbjcat >>$CONFIG_STATUS <<EOF
56781.1Stvac_cs_version="\\
56791.1Stvlibnbcompat config.status noversion
56801.52Sdbjconfigured by $0, generated by GNU Autoconf 2.52,
56811.1Stv  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
56821.1Stv
56831.52SdbjCopyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
56841.52SdbjFree Software Foundation, Inc.
56851.1StvThis config.status script is free software; the Free Software Foundation
56861.1Stvgives unlimited permission to copy, distribute and modify it."
56871.1Stvsrcdir=$srcdir
56881.52SdbjEOF
56891.1Stv
56901.52Sdbjcat >>$CONFIG_STATUS <<\EOF
56911.1Stv# If no file are specified by the user, then we need to provide default
56921.1Stv# value.  By we need to know if files were specified by the user.
56931.1Stvac_need_defaults=:
56941.1Stvwhile test $# != 0
56951.1Stvdo
56961.1Stv  case $1 in
56971.1Stv  --*=*)
56981.1Stv    ac_option=`expr "x$1" : 'x\([^=]*\)='`
56991.1Stv    ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
57001.52Sdbj    shift
57011.52Sdbj    set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
57021.52Sdbj    shift
57031.1Stv    ;;
57041.52Sdbj  -*);;
57051.1Stv  *) # This is not an option, so the user has probably given explicit
57061.1Stv     # arguments.
57071.1Stv     ac_need_defaults=false;;
57081.1Stv  esac
57091.1Stv
57101.52Sdbj  case $1 in
57111.1Stv  # Handling of the options.
57121.52SdbjEOF
57131.52Sdbjcat >>$CONFIG_STATUS <<EOF
57141.1Stv  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
57151.52Sdbj    echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
57161.52Sdbj    exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
57171.52SdbjEOF
57181.52Sdbjcat >>$CONFIG_STATUS <<\EOF
57191.1Stv  --version | --vers* | -V )
57201.1Stv    echo "$ac_cs_version"; exit 0 ;;
57211.1Stv  --he | --h)
57221.1Stv    # Conflict between --help and --header
57231.52Sdbj    { { echo "$as_me:5723: error: ambiguous option: $1
57241.1StvTry \`$0 --help' for more information." >&5
57251.1Stvecho "$as_me: error: ambiguous option: $1
57261.1StvTry \`$0 --help' for more information." >&2;}
57271.1Stv   { (exit 1); exit 1; }; };;
57281.1Stv  --help | --hel | -h )
57291.1Stv    echo "$ac_cs_usage"; exit 0 ;;
57301.1Stv  --debug | --d* | -d )
57311.1Stv    debug=: ;;
57321.1Stv  --file | --fil | --fi | --f )
57331.52Sdbj    shift
57341.52Sdbj    CONFIG_FILES="$CONFIG_FILES $1"
57351.1Stv    ac_need_defaults=false;;
57361.1Stv  --header | --heade | --head | --hea )
57371.52Sdbj    shift
57381.52Sdbj    CONFIG_HEADERS="$CONFIG_HEADERS $1"
57391.1Stv    ac_need_defaults=false;;
57401.1Stv
57411.1Stv  # This is an error.
57421.52Sdbj  -*) { { echo "$as_me:5742: error: unrecognized option: $1
57431.1StvTry \`$0 --help' for more information." >&5
57441.1Stvecho "$as_me: error: unrecognized option: $1
57451.1StvTry \`$0 --help' for more information." >&2;}
57461.1Stv   { (exit 1); exit 1; }; } ;;
57471.1Stv
57481.1Stv  *) ac_config_targets="$ac_config_targets $1" ;;
57491.1Stv
57501.1Stv  esac
57511.1Stv  shift
57521.1Stvdone
57531.1Stv
57541.52Sdbjexec 5>>config.log
57551.52Sdbjcat >&5 << _ACEOF
57561.1Stv
57571.52Sdbj## ----------------------- ##
57581.52Sdbj## Running config.status.  ##
57591.52Sdbj## ----------------------- ##
57601.1Stv
57611.52SdbjThis file was extended by $as_me (libnbcompat noversion) 2.52, executed with
57621.52Sdbj  CONFIG_FILES    = $CONFIG_FILES
57631.52Sdbj  CONFIG_HEADERS  = $CONFIG_HEADERS
57641.52Sdbj  CONFIG_LINKS    = $CONFIG_LINKS
57651.52Sdbj  CONFIG_COMMANDS = $CONFIG_COMMANDS
57661.52Sdbj  > $ac_cs_invocation
57671.52Sdbjon `(hostname || uname -n) 2>/dev/null | sed 1q`
57681.1Stv
57691.1Stv_ACEOF
57701.52SdbjEOF
57711.1Stv
57721.52Sdbjcat >>$CONFIG_STATUS <<\EOF
57731.1Stvfor ac_config_target in $ac_config_targets
57741.1Stvdo
57751.1Stv  case "$ac_config_target" in
57761.1Stv  # Handling of arguments.
57771.1Stv  "defs.mk" ) CONFIG_FILES="$CONFIG_FILES defs.mk" ;;
57781.42Slukem  "nbtool_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS nbtool_config.h" ;;
57791.52Sdbj  *) { { echo "$as_me:5779: error: invalid argument: $ac_config_target" >&5
57801.1Stvecho "$as_me: error: invalid argument: $ac_config_target" >&2;}
57811.1Stv   { (exit 1); exit 1; }; };;
57821.1Stv  esac
57831.1Stvdone
57841.1Stv
57851.1Stv# If the user did not use the arguments to specify the items to instantiate,
57861.1Stv# then the envvar interface is used.  Set only those that are not.
57871.1Stv# We use the long form for the default assignment because of an extremely
57881.1Stv# bizarre bug on SunOS 4.1.3.
57891.1Stvif $ac_need_defaults; then
57901.1Stv  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
57911.1Stv  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
57921.1Stvfi
57931.1Stv
57941.1Stv# Create a temporary directory, and hook for its removal unless debugging.
57951.1Stv$debug ||
57961.1Stv{
57971.1Stv  trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
57981.1Stv  trap '{ (exit 1); exit 1; }' 1 2 13 15
57991.1Stv}
58001.1Stv
58011.1Stv# Create a (secure) tmp directory for tmp files.
58021.52Sdbj: ${TMPDIR=/tmp}
58031.1Stv{
58041.52Sdbj  tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
58051.1Stv  test -n "$tmp" && test -d "$tmp"
58061.1Stv}  ||
58071.1Stv{
58081.52Sdbj  tmp=$TMPDIR/cs$$-$RANDOM
58091.1Stv  (umask 077 && mkdir $tmp)
58101.1Stv} ||
58111.1Stv{
58121.52Sdbj   echo "$me: cannot create a temporary directory in $TMPDIR" >&2
58131.1Stv   { (exit 1); exit 1; }
58141.1Stv}
58151.1Stv
58161.52SdbjEOF
58171.1Stv
58181.52Sdbjcat >>$CONFIG_STATUS <<EOF
58191.1Stv
58201.1Stv#
58211.1Stv# CONFIG_FILES section.
58221.1Stv#
58231.1Stv
58241.1Stv# No need to generate the scripts if there are no CONFIG_FILES.
58251.1Stv# This happens for instance when ./config.status config.h
58261.1Stvif test -n "\$CONFIG_FILES"; then
58271.1Stv  # Protect against being on the right side of a sed subst in config.status.
58281.1Stv  sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
58291.1Stv   s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
58301.1Stvs,@SHELL@,$SHELL,;t t
58311.1Stvs,@exec_prefix@,$exec_prefix,;t t
58321.1Stvs,@prefix@,$prefix,;t t
58331.1Stvs,@program_transform_name@,$program_transform_name,;t t
58341.1Stvs,@bindir@,$bindir,;t t
58351.1Stvs,@sbindir@,$sbindir,;t t
58361.1Stvs,@libexecdir@,$libexecdir,;t t
58371.1Stvs,@datadir@,$datadir,;t t
58381.1Stvs,@sysconfdir@,$sysconfdir,;t t
58391.1Stvs,@sharedstatedir@,$sharedstatedir,;t t
58401.1Stvs,@localstatedir@,$localstatedir,;t t
58411.1Stvs,@libdir@,$libdir,;t t
58421.1Stvs,@includedir@,$includedir,;t t
58431.1Stvs,@oldincludedir@,$oldincludedir,;t t
58441.1Stvs,@infodir@,$infodir,;t t
58451.1Stvs,@mandir@,$mandir,;t t
58461.52Sdbjs,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
58471.52Sdbjs,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
58481.52Sdbjs,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
58491.52Sdbjs,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
58501.52Sdbjs,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
58511.1Stvs,@build_alias@,$build_alias,;t t
58521.1Stvs,@host_alias@,$host_alias,;t t
58531.1Stvs,@target_alias@,$target_alias,;t t
58541.1Stvs,@ECHO_C@,$ECHO_C,;t t
58551.1Stvs,@ECHO_N@,$ECHO_N,;t t
58561.1Stvs,@ECHO_T@,$ECHO_T,;t t
58571.52Sdbjs,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
58581.52Sdbjs,@DEFS@,$DEFS,;t t
58591.1Stvs,@LIBS@,$LIBS,;t t
58601.1Stvs,@CC@,$CC,;t t
58611.1Stvs,@CFLAGS@,$CFLAGS,;t t
58621.1Stvs,@LDFLAGS@,$LDFLAGS,;t t
58631.1Stvs,@CPPFLAGS@,$CPPFLAGS,;t t
58641.1Stvs,@ac_ct_CC@,$ac_ct_CC,;t t
58651.1Stvs,@EXEEXT@,$EXEEXT,;t t
58661.1Stvs,@OBJEXT@,$OBJEXT,;t t
58671.1Stvs,@CPP@,$CPP,;t t
58681.45Sjmcs,@BSHELL@,$BSHELL,;t t
58691.19Sbjh21s,@ALLOCA@,$ALLOCA,;t t
58701.1StvCEOF
58711.1Stv
58721.52SdbjEOF
58731.1Stv
58741.52Sdbj  cat >>$CONFIG_STATUS <<\EOF
58751.1Stv  # Split the substitutions into bite-sized pieces for seds with
58761.1Stv  # small command number limits, like on Digital OSF/1 and HP-UX.
58771.1Stv  ac_max_sed_lines=48
58781.1Stv  ac_sed_frag=1 # Number of current file.
58791.1Stv  ac_beg=1 # First line for current file.
58801.1Stv  ac_end=$ac_max_sed_lines # Line after last line for current file.
58811.1Stv  ac_more_lines=:
58821.1Stv  ac_sed_cmds=
58831.1Stv  while $ac_more_lines; do
58841.1Stv    if test $ac_beg -gt 1; then
58851.1Stv      sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
58861.1Stv    else
58871.1Stv      sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
58881.1Stv    fi
58891.1Stv    if test ! -s $tmp/subs.frag; then
58901.1Stv      ac_more_lines=false
58911.1Stv    else
58921.1Stv      # The purpose of the label and of the branching condition is to
58931.1Stv      # speed up the sed processing (if there are no `@' at all, there
58941.1Stv      # is no need to browse any of the substitutions).
58951.1Stv      # These are the two extra sed commands mentioned above.
58961.1Stv      (echo ':t
58971.1Stv  /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
58981.1Stv      if test -z "$ac_sed_cmds"; then
58991.52Sdbj  	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
59001.1Stv      else
59011.52Sdbj  	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
59021.1Stv      fi
59031.1Stv      ac_sed_frag=`expr $ac_sed_frag + 1`
59041.1Stv      ac_beg=$ac_end
59051.1Stv      ac_end=`expr $ac_end + $ac_max_sed_lines`
59061.1Stv    fi
59071.1Stv  done
59081.1Stv  if test -z "$ac_sed_cmds"; then
59091.1Stv    ac_sed_cmds=cat
59101.1Stv  fi
59111.1Stvfi # test -n "$CONFIG_FILES"
59121.1Stv
59131.52SdbjEOF
59141.52Sdbjcat >>$CONFIG_STATUS <<\EOF
59151.1Stvfor ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
59161.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
59171.1Stv  case $ac_file in
59181.1Stv  - | *:- | *:-:* ) # input from stdin
59191.52Sdbj        cat >$tmp/stdin
59201.52Sdbj        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
59211.52Sdbj        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
59221.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
59231.52Sdbj        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
59241.1Stv  * )   ac_file_in=$ac_file.in ;;
59251.1Stv  esac
59261.1Stv
59271.1Stv  # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
59281.52Sdbj  ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59291.52Sdbj         X"$ac_file" : 'X\(//\)[^/]' \| \
59301.52Sdbj         X"$ac_file" : 'X\(//\)$' \| \
59311.52Sdbj         X"$ac_file" : 'X\(/\)' \| \
59321.52Sdbj         .     : '\(.\)' 2>/dev/null ||
59331.1Stvecho X"$ac_file" |
59341.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
59351.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
59361.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
59371.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
59381.1Stv  	  s/.*/./; q'`
59391.52Sdbj  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
59401.52Sdbj    { case "$ac_dir" in
59411.52Sdbj  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
59421.52Sdbj  *)                      as_incr_dir=.;;
59431.50Sjmcesac
59441.52Sdbjas_dummy="$ac_dir"
59451.52Sdbjfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
59461.52Sdbj  case $as_mkdir_dir in
59471.52Sdbj    # Skip DOS drivespec
59481.52Sdbj    ?:) as_incr_dir=$as_mkdir_dir ;;
59491.52Sdbj    *)
59501.52Sdbj      as_incr_dir=$as_incr_dir/$as_mkdir_dir
59511.52Sdbj      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
59521.52Sdbj    ;;
59531.52Sdbj  esac
59541.52Sdbjdone; }
59551.1Stv
59561.52Sdbj    ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`"
59571.52Sdbj    # A "../" for each directory in $ac_dir_suffix.
59581.52Sdbj    ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'`
59591.52Sdbj  else
59601.52Sdbj    ac_dir_suffix= ac_dots=
59611.52Sdbj  fi
59621.1Stv
59631.52Sdbj  case $srcdir in
59641.52Sdbj  .)  ac_srcdir=.
59651.52Sdbj      if test -z "$ac_dots"; then
59661.52Sdbj         ac_top_srcdir=.
59671.52Sdbj      else
59681.52Sdbj         ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'`
59691.52Sdbj      fi ;;
59701.52Sdbj  [\\/]* | ?:[\\/]* )
59711.52Sdbj      ac_srcdir=$srcdir$ac_dir_suffix;
59721.52Sdbj      ac_top_srcdir=$srcdir ;;
59731.52Sdbj  *) # Relative path.
59741.52Sdbj    ac_srcdir=$ac_dots$srcdir$ac_dir_suffix
59751.52Sdbj    ac_top_srcdir=$ac_dots$srcdir ;;
59761.52Sdbj  esac
59771.1Stv
59781.1Stv  if test x"$ac_file" != x-; then
59791.52Sdbj    { echo "$as_me:5979: creating $ac_file" >&5
59801.1Stvecho "$as_me: creating $ac_file" >&6;}
59811.1Stv    rm -f "$ac_file"
59821.1Stv  fi
59831.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
59841.1Stv  # use $as_me), people would be surprised to read:
59851.52Sdbj  #    /* config.h.  Generated automatically by config.status.  */
59861.52Sdbj  configure_input="Generated automatically from `echo $ac_file_in |
59871.52Sdbj                                                 sed 's,.*/,,'` by configure."
59881.1Stv
59891.1Stv  # First look for the input files in the build tree, otherwise in the
59901.1Stv  # src tree.
59911.1Stv  ac_file_inputs=`IFS=:
59921.1Stv    for f in $ac_file_in; do
59931.1Stv      case $f in
59941.1Stv      -) echo $tmp/stdin ;;
59951.1Stv      [\\/$]*)
59961.52Sdbj         # Absolute (can't be DOS-style, as IFS=:)
59971.52Sdbj         test -f "$f" || { { echo "$as_me:5997: error: cannot find input file: $f" >&5
59981.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
59991.1Stv   { (exit 1); exit 1; }; }
60001.52Sdbj         echo $f;;
60011.1Stv      *) # Relative
60021.52Sdbj         if test -f "$f"; then
60031.52Sdbj           # Build tree
60041.52Sdbj           echo $f
60051.52Sdbj         elif test -f "$srcdir/$f"; then
60061.52Sdbj           # Source tree
60071.52Sdbj           echo $srcdir/$f
60081.52Sdbj         else
60091.52Sdbj           # /dev/null tree
60101.52Sdbj           { { echo "$as_me:6010: error: cannot find input file: $f" >&5
60111.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
60121.1Stv   { (exit 1); exit 1; }; }
60131.52Sdbj         fi;;
60141.1Stv      esac
60151.1Stv    done` || { (exit 1); exit 1; }
60161.52SdbjEOF
60171.52Sdbjcat >>$CONFIG_STATUS <<EOF
60181.1Stv  sed "$ac_vpsub
60191.1Stv$extrasub
60201.52SdbjEOF
60211.52Sdbjcat >>$CONFIG_STATUS <<\EOF
60221.1Stv:t
60231.1Stv/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60241.1Stvs,@configure_input@,$configure_input,;t t
60251.1Stvs,@srcdir@,$ac_srcdir,;t t
60261.1Stvs,@top_srcdir@,$ac_top_srcdir,;t t
60271.1Stv" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
60281.1Stv  rm -f $tmp/stdin
60291.1Stv  if test x"$ac_file" != x-; then
60301.1Stv    mv $tmp/out $ac_file
60311.1Stv  else
60321.1Stv    cat $tmp/out
60331.1Stv    rm -f $tmp/out
60341.1Stv  fi
60351.1Stv
60361.1Stvdone
60371.52SdbjEOF
60381.52Sdbjcat >>$CONFIG_STATUS <<\EOF
60391.1Stv
60401.1Stv#
60411.1Stv# CONFIG_HEADER section.
60421.1Stv#
60431.1Stv
60441.1Stv# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
60451.1Stv# NAME is the cpp macro being defined and VALUE is the value it is being given.
60461.1Stv#
60471.1Stv# ac_d sets the value in "#define NAME VALUE" lines.
60481.52Sdbjac_dA='s,^\([ 	]*\)#\([ 	]*define[ 	][ 	]*\)'
60491.52Sdbjac_dB='[ 	].*$,\1#\2'
60501.1Stvac_dC=' '
60511.1Stvac_dD=',;t'
60521.1Stv# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
60531.52Sdbjac_uA='s,^\([ 	]*\)#\([ 	]*\)undef\([ 	][ 	]*\)'
60541.1Stvac_uB='$,\1#\2define\3'
60551.1Stvac_uC=' '
60561.1Stvac_uD=',;t'
60571.1Stv
60581.1Stvfor ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
60591.1Stv  # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
60601.1Stv  case $ac_file in
60611.1Stv  - | *:- | *:-:* ) # input from stdin
60621.52Sdbj        cat >$tmp/stdin
60631.52Sdbj        ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
60641.52Sdbj        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
60651.1Stv  *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
60661.52Sdbj        ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
60671.1Stv  * )   ac_file_in=$ac_file.in ;;
60681.1Stv  esac
60691.1Stv
60701.52Sdbj  test x"$ac_file" != x- && { echo "$as_me:6070: creating $ac_file" >&5
60711.1Stvecho "$as_me: creating $ac_file" >&6;}
60721.1Stv
60731.1Stv  # First look for the input files in the build tree, otherwise in the
60741.1Stv  # src tree.
60751.1Stv  ac_file_inputs=`IFS=:
60761.1Stv    for f in $ac_file_in; do
60771.1Stv      case $f in
60781.1Stv      -) echo $tmp/stdin ;;
60791.1Stv      [\\/$]*)
60801.52Sdbj         # Absolute (can't be DOS-style, as IFS=:)
60811.52Sdbj         test -f "$f" || { { echo "$as_me:6081: error: cannot find input file: $f" >&5
60821.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
60831.1Stv   { (exit 1); exit 1; }; }
60841.52Sdbj         echo $f;;
60851.1Stv      *) # Relative
60861.52Sdbj         if test -f "$f"; then
60871.52Sdbj           # Build tree
60881.52Sdbj           echo $f
60891.52Sdbj         elif test -f "$srcdir/$f"; then
60901.52Sdbj           # Source tree
60911.52Sdbj           echo $srcdir/$f
60921.52Sdbj         else
60931.52Sdbj           # /dev/null tree
60941.52Sdbj           { { echo "$as_me:6094: error: cannot find input file: $f" >&5
60951.1Stvecho "$as_me: error: cannot find input file: $f" >&2;}
60961.1Stv   { (exit 1); exit 1; }; }
60971.52Sdbj         fi;;
60981.1Stv      esac
60991.1Stv    done` || { (exit 1); exit 1; }
61001.1Stv  # Remove the trailing spaces.
61011.52Sdbj  sed 's/[ 	]*$//' $ac_file_inputs >$tmp/in
61021.1Stv
61031.52SdbjEOF
61041.1Stv
61051.1Stv# Transform confdefs.h into two sed scripts, `conftest.defines' and
61061.1Stv# `conftest.undefs', that substitutes the proper values into
61071.1Stv# config.h.in to produce config.h.  The first handles `#define'
61081.1Stv# templates, and the second `#undef' templates.
61091.1Stv# And first: Protect against being on the right side of a sed subst in
61101.1Stv# config.status.  Protect against being in an unquoted here document
61111.1Stv# in config.status.
61121.1Stvrm -f conftest.defines conftest.undefs
61131.1Stv# Using a here document instead of a string reduces the quoting nightmare.
61141.1Stv# Putting comments in sed scripts is not portable.
61151.1Stv#
61161.1Stv# `end' is used to avoid that the second main sed command (meant for
61171.1Stv# 0-ary CPP macros) applies to n-ary macro definitions.
61181.1Stv# See the Autoconf documentation for `clear'.
61191.52Sdbjcat >confdef2sed.sed <<\EOF
61201.1Stvs/[\\&,]/\\&/g
61211.1Stvs,[\\$`],\\&,g
61221.1Stvt clear
61231.1Stv: clear
61241.52Sdbjs,^[ 	]*#[ 	]*define[ 	][ 	]*\(\([^ 	(][^ 	(]*\)([^)]*)\)[ 	]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
61251.1Stvt end
61261.52Sdbjs,^[ 	]*#[ 	]*define[ 	][ 	]*\([^ 	][^ 	]*\)[ 	]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
61271.1Stv: end
61281.52SdbjEOF
61291.1Stv# If some macros were called several times there might be several times
61301.1Stv# the same #defines, which is useless.  Nevertheless, we may not want to
61311.1Stv# sort them, since we want the *last* AC-DEFINE to be honored.
61321.1Stvuniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
61331.1Stvsed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
61341.1Stvrm -f confdef2sed.sed
61351.1Stv
61361.1Stv# This sed command replaces #undef with comments.  This is necessary, for
61371.1Stv# example, in the case of _POSIX_SOURCE, which is predefined and required
61381.1Stv# on some systems where configure will not decide to define it.
61391.52Sdbjcat >>conftest.undefs <<\EOF
61401.52Sdbjs,^[ 	]*#[ 	]*undef[ 	][ 	]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
61411.52SdbjEOF
61421.1Stv
61431.1Stv# Break up conftest.defines because some shells have a limit on the size
61441.1Stv# of here documents, and old seds have small limits too (100 cmds).
61451.1Stvecho '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
61461.52Sdbjecho '  if egrep "^[ 	]*#[ 	]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
61471.1Stvecho '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
61481.1Stvecho '  :' >>$CONFIG_STATUS
61491.1Stvrm -f conftest.tail
61501.1Stvwhile grep . conftest.defines >/dev/null
61511.1Stvdo
61521.1Stv  # Write a limited-size here document to $tmp/defines.sed.
61531.1Stv  echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
61541.1Stv  # Speed up: don't consider the non `#define' lines.
61551.52Sdbj  echo '/^[ 	]*#[ 	]*define/!b' >>$CONFIG_STATUS
61561.1Stv  # Work around the forget-to-reset-the-flag bug.
61571.1Stv  echo 't clr' >>$CONFIG_STATUS
61581.1Stv  echo ': clr' >>$CONFIG_STATUS
61591.1Stv  sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
61601.1Stv  echo 'CEOF
61611.1Stv  sed -f $tmp/defines.sed $tmp/in >$tmp/out
61621.1Stv  rm -f $tmp/in
61631.1Stv  mv $tmp/out $tmp/in
61641.1Stv' >>$CONFIG_STATUS
61651.1Stv  sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
61661.1Stv  rm -f conftest.defines
61671.1Stv  mv conftest.tail conftest.defines
61681.1Stvdone
61691.1Stvrm -f conftest.defines
61701.52Sdbjecho '  fi # egrep' >>$CONFIG_STATUS
61711.1Stvecho >>$CONFIG_STATUS
61721.1Stv
61731.1Stv# Break up conftest.undefs because some shells have a limit on the size
61741.1Stv# of here documents, and old seds have small limits too (100 cmds).
61751.1Stvecho '  # Handle all the #undef templates' >>$CONFIG_STATUS
61761.1Stvrm -f conftest.tail
61771.1Stvwhile grep . conftest.undefs >/dev/null
61781.1Stvdo
61791.1Stv  # Write a limited-size here document to $tmp/undefs.sed.
61801.1Stv  echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
61811.1Stv  # Speed up: don't consider the non `#undef'
61821.52Sdbj  echo '/^[ 	]*#[ 	]*undef/!b' >>$CONFIG_STATUS
61831.1Stv  # Work around the forget-to-reset-the-flag bug.
61841.1Stv  echo 't clr' >>$CONFIG_STATUS
61851.1Stv  echo ': clr' >>$CONFIG_STATUS
61861.1Stv  sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
61871.1Stv  echo 'CEOF
61881.1Stv  sed -f $tmp/undefs.sed $tmp/in >$tmp/out
61891.1Stv  rm -f $tmp/in
61901.1Stv  mv $tmp/out $tmp/in
61911.1Stv' >>$CONFIG_STATUS
61921.1Stv  sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
61931.1Stv  rm -f conftest.undefs
61941.1Stv  mv conftest.tail conftest.undefs
61951.1Stvdone
61961.1Stvrm -f conftest.undefs
61971.1Stv
61981.52Sdbjcat >>$CONFIG_STATUS <<\EOF
61991.1Stv  # Let's still pretend it is `configure' which instantiates (i.e., don't
62001.1Stv  # use $as_me), people would be surprised to read:
62011.52Sdbj  #    /* config.h.  Generated automatically by config.status.  */
62021.1Stv  if test x"$ac_file" = x-; then
62031.52Sdbj    echo "/* Generated automatically by configure.  */" >$tmp/config.h
62041.1Stv  else
62051.52Sdbj    echo "/* $ac_file.  Generated automatically by configure.  */" >$tmp/config.h
62061.1Stv  fi
62071.1Stv  cat $tmp/in >>$tmp/config.h
62081.1Stv  rm -f $tmp/in
62091.1Stv  if test x"$ac_file" != x-; then
62101.52Sdbj    if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
62111.52Sdbj      { echo "$as_me:6211: $ac_file is unchanged" >&5
62121.1Stvecho "$as_me: $ac_file is unchanged" >&6;}
62131.1Stv    else
62141.52Sdbj      ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
62151.52Sdbj         X"$ac_file" : 'X\(//\)[^/]' \| \
62161.52Sdbj         X"$ac_file" : 'X\(//\)$' \| \
62171.52Sdbj         X"$ac_file" : 'X\(/\)' \| \
62181.52Sdbj         .     : '\(.\)' 2>/dev/null ||
62191.1Stvecho X"$ac_file" |
62201.1Stv    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
62211.1Stv  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
62221.1Stv  	  /^X\(\/\/\)$/{ s//\1/; q; }
62231.1Stv  	  /^X\(\/\).*/{ s//\1/; q; }
62241.1Stv  	  s/.*/./; q'`
62251.52Sdbj      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
62261.52Sdbj        { case "$ac_dir" in
62271.52Sdbj  [\\/]* | ?:[\\/]* ) as_incr_dir=;;
62281.52Sdbj  *)                      as_incr_dir=.;;
62291.52Sdbjesac
62301.52Sdbjas_dummy="$ac_dir"
62311.52Sdbjfor as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
62321.52Sdbj  case $as_mkdir_dir in
62331.52Sdbj    # Skip DOS drivespec
62341.52Sdbj    ?:) as_incr_dir=$as_mkdir_dir ;;
62351.52Sdbj    *)
62361.52Sdbj      as_incr_dir=$as_incr_dir/$as_mkdir_dir
62371.52Sdbj      test -d "$as_incr_dir" || mkdir "$as_incr_dir"
62381.52Sdbj    ;;
62391.52Sdbj  esac
62401.52Sdbjdone; }
62411.1Stv
62421.52Sdbj      fi
62431.1Stv      rm -f $ac_file
62441.1Stv      mv $tmp/config.h $ac_file
62451.1Stv    fi
62461.1Stv  else
62471.1Stv    cat $tmp/config.h
62481.1Stv    rm -f $tmp/config.h
62491.1Stv  fi
62501.1Stvdone
62511.52SdbjEOF
62521.1Stv
62531.52Sdbjcat >>$CONFIG_STATUS <<\EOF
62541.1Stv
62551.1Stv{ (exit 0); exit 0; }
62561.52SdbjEOF
62571.1Stvchmod +x $CONFIG_STATUS
62581.1Stvac_clean_files=$ac_clean_files_save
62591.1Stv
62601.1Stv# configure is writing to config.log, and then calls config.status.
62611.1Stv# config.status does its own redirection, appending to config.log.
62621.1Stv# Unfortunately, on DOS this fails, as config.log is still kept open
62631.1Stv# by configure, so config.status won't be able to write to it; its
62641.1Stv# output is simply discarded.  So we exec the FD to /dev/null,
62651.1Stv# effectively closing config.log, so it can be properly (re)opened and
62661.1Stv# appended to by config.status.  When coming back to configure, we
62671.1Stv# need to make the FD available again.
62681.1Stvif test "$no_create" != yes; then
62691.1Stv  ac_cs_success=:
62701.1Stv  exec 5>/dev/null
62711.52Sdbj  $SHELL $CONFIG_STATUS || ac_cs_success=false
62721.1Stv  exec 5>>config.log
62731.1Stv  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
62741.1Stv  # would make configure fail if this is the last instruction.
62751.1Stv  $ac_cs_success || { (exit 1); exit 1; }
62761.1Stvfi
62771.1Stv
6278